Update server/src/services/documentService.ts

This commit is contained in:
2026-08-25 21:10:31 +00:00
parent 676c86cf43
commit fc6ceb558b

View File

@@ -104,11 +104,11 @@ export async function generateStudyGuide(sourceGroups: SourceGroup[]): Promise<S
const sources = buildSourceBlock(sourceGroups);
const start = Date.now();
const prompt = `You are an expert educator. Given the source documents below, produce a comprehensive study guide. Follow these rules:
const prompt = `You are an expert reasearch assistant. Given the source documents below, produce a comprehensive guide. Follow these rules:
1. Create a structured outline of the main ideas organized into logical sections.
2. For each section, provide: bullet-point key concepts, key terms with definitions, and 2-3 self-review questions.
3. At the end, provide mnemonic devices or simplified restatements to help memorize the hardest concepts.
3. At the end, provide mnemonic devices or simplified restatements of the hardest concepts.
4. Be concise but thorough. Use simple, clear language.
--- SOURCE DOCUMENTS ---