Spaces:
Sleeping
Sleeping
File size: 1,847 Bytes
06671aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 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,
},
];
|