Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
21 lines
540 B
TypeScript
21 lines
540 B
TypeScript
export const REFINE_PROMPT_TEMPLATE = `Your job is to produce a final summary
|
|
We have provided an existing summary up to a certain point: "{existing_answer}"
|
|
We have the opportunity to refine the existing summary
|
|
(only if needed) with some more context below.
|
|
------------
|
|
"{text}"
|
|
------------
|
|
|
|
Given the new context, refine the original summary
|
|
If the context isn't useful, return the original summary.
|
|
|
|
REFINED SUMMARY:`;
|
|
|
|
export const DEFAULT_PROMPT_TEMPLATE = `Write a concise summary of the following:
|
|
|
|
|
|
"{text}"
|
|
|
|
|
|
CONCISE SUMMARY:`;
|