From 7c7408770ec9806e031ba5188182bd661e823b8a Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sun, 9 Feb 2025 04:28:06 +0900 Subject: [PATCH] chore: update deep-research.ts infromation -> information --- src/deep-research.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deep-research.ts b/src/deep-research.ts index cdb4100..b5a0d0f 100644 --- a/src/deep-research.ts +++ b/src/deep-research.ts @@ -87,7 +87,7 @@ async function processSerpResult({ model: o3MiniModel, abortSignal: AbortSignal.timeout(60_000), system: systemPrompt(), - prompt: `Given the following contents from a SERP search for the query ${query}, generate a list of learnings from the contents. Return a maximum of ${numLearnings} learnings, but feel free to return less if the contents are clear. Make sure each learning is unique and not similar to each other. The learnings should be concise and to the point, as detailed and infromation dense as possible. Make sure to include any entities like people, places, companies, products, things, etc in the learnings, as well as any exact metrics, numbers, or dates. The learnings will be used to research the topic further.\n\n${contents + prompt: `Given the following contents from a SERP search for the query ${query}, generate a list of learnings from the contents. Return a maximum of ${numLearnings} learnings, but feel free to return less if the contents are clear. Make sure each learning is unique and not similar to each other. The learnings should be concise and to the point, as detailed and information dense as possible. Make sure to include any entities like people, places, companies, products, things, etc in the learnings, as well as any exact metrics, numbers, or dates. The learnings will be used to research the topic further.\n\n${contents .map(content => `\n${content}\n`) .join('\n')}`, schema: z.object({