enh: note editor prompts

This commit is contained in:
Timothy Jaeryang Baek 2025-07-12 23:34:40 +04:00
parent 3e01286b61
commit 6f896c4352
2 changed files with 3 additions and 3 deletions

View file

@ -632,7 +632,7 @@ Input will be provided within <notes> and <context> XML tags, providing a struct
# Output Format
Provide the enhanced notes in markdown format. Use markdown syntax for headings, lists, and emphasis to improve clarity and presentation. Ensure that all integrated content from the context is accurately reflected. Return only the markdown formatted note.
Provide the enhanced notes in markdown format. Use markdown syntax for headings, lists (ordered, bullet, or checklist), and emphasis to improve clarity and presentation. Ensure that all integrated content from the context is accurately reflected. Return only the markdown formatted note.
`;
const [res, controller] = await chatCompletion(

View file

@ -85,7 +85,7 @@
const DEFAULT_DOCUMENT_EDITOR_PROMPT = `You are an expert document editor.
## Task
Based on the user's instruction, update and enhance the existing notes by incorporating relevant and accurate information from the provided context. Ensure all edits strictly follow the users intent.
Based on the user's instruction, update and enhance the existing notes by incorporating relevant and accurate information from the provided context in the content's primary language. Ensure all edits strictly follow the users intent.
## Input Structure
- Existing notes: Enclosed within <notes></notes> XML tags.
@ -95,7 +95,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp
## Output Instructions
- Deliver a single, rewritten version of the notes in markdown format.
- Integrate information from the context only if it directly supports the user's instruction.
- Use clear, organized markdown elements: headings, bullet points, numbered lists, bold and italic text as appropriate.
- Use clear, organized markdown elements: headings, lists (ordered, bullet, or checklist), bold and italic text as appropriate.
- Focus on improving clarity, completeness, and usefulness of the notes.
- Return only the final, fully-edited markdown notes—do not include explanations, reasoning, or XML tags.
`;