Spaces:
Sleeping
Sleeping
Download backend/src/lib/builtinWorkflows.ts from bardd/mike-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.85 kB
-
https://huggingface.co/spaces/bardd/mike-backend/resolve/main/backend/src/lib/builtinWorkflows.ts
- Command line
-
hf download hf://spaces/bardd/mike-backend/backend/src/lib/builtinWorkflows.ts
-
curl -L -o builtinWorkflows.ts https://huggingface.co/spaces/bardd/mike-backend/resolve/main/backend/src/lib/builtinWorkflows.ts
1.85 kB
| import { PLAYBOOK_BUYER_PROMPT } from "../prompts/playbook/content/buyer"; | |
| import { PLAYBOOK_SELLER_PROMPT } from "../prompts/playbook/content/seller"; | |
| import { assemblePlaybookPrompt } from "../prompts/playbook/builders/assemblePlaybookPrompt"; | |
| import { BUILTIN_CP_CHECKLIST_PROMPT } from "../prompts/workflows/assistant/builtin-cp-checklist"; | |
| import { BUILTIN_CREDIT_SUMMARY_PROMPT } from "../prompts/workflows/assistant/builtin-credit-summary"; | |
| import { BUILTIN_SHA_SUMMARY_PROMPT } from "../prompts/workflows/assistant/builtin-sha-summary"; | |
| export const BUILTIN_WORKFLOWS: { | |
| id: string; | |
| title: string; | |
| prompt_md: string; | |
| edit_mode_prompt_md?: string; | |
| }[] = [ | |
| { | |
| id: "builtin-playbook-buyer", | |
| title: "Zamil Buyer-Side Review", | |
| prompt_md: assemblePlaybookPrompt({ | |
| content: PLAYBOOK_BUYER_PROMPT, | |
| trackChanges: false, | |
| }), | |
| edit_mode_prompt_md: assemblePlaybookPrompt({ | |
| content: PLAYBOOK_BUYER_PROMPT, | |
| trackChanges: true, | |
| }), | |
| }, | |
| { | |
| id: "builtin-playbook-seller", | |
| title: "Zamil Seller-Side Review", | |
| prompt_md: assemblePlaybookPrompt({ | |
| content: PLAYBOOK_SELLER_PROMPT, | |
| trackChanges: false, | |
| }), | |
| edit_mode_prompt_md: assemblePlaybookPrompt({ | |
| content: PLAYBOOK_SELLER_PROMPT, | |
| trackChanges: true, | |
| }), | |
| }, | |
| { | |
| id: "builtin-cp-checklist", | |
| title: "Generate CP Checklist", | |
| prompt_md: BUILTIN_CP_CHECKLIST_PROMPT, | |
| }, | |
| { | |
| id: "builtin-credit-summary", | |
| title: "Credit Agreement Summary", | |
| prompt_md: BUILTIN_CREDIT_SUMMARY_PROMPT, | |
| }, | |
| { | |
| id: "builtin-sha-summary", | |
| title: "Shareholder Agreement Summary", | |
| prompt_md: BUILTIN_SHA_SUMMARY_PROMPT, | |
| }, | |
| ]; | |