From fa141c183e4930dbdfdcb78672a58870f23da9b4 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 31 May 2024 04:04:19 +0000 Subject: [PATCH] use gpt3.5 for summarize --- packages/sample/genaisrc/summarize.genai.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/sample/genaisrc/summarize.genai.js b/packages/sample/genaisrc/summarize.genai.js index 203fb96ca3..4dddbc967c 100644 --- a/packages/sample/genaisrc/summarize.genai.js +++ b/packages/sample/genaisrc/summarize.genai.js @@ -1,6 +1,7 @@ script({ title: "summarize all files", - system: [], + model: "openai:gpt-3.5-turbo", + files: "src/rag/markdown.md", tests: [ { files: "src/rag/markdown.md", @@ -15,7 +16,5 @@ def("FILE", env.files) $` Summarize each FILE with one paragraph. -- Be concise. -- Answer in plain text. - Use less than 20 words. `