From dd2adb0b0ced69959bce354081db7b47d3e0f66b Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sun, 9 Jun 2024 01:42:51 -0700 Subject: [PATCH] move more tests to gpt-3.5 (#527) --- packages/sample/genaisrc/math-agent-system.genai.js | 1 + packages/sample/genaisrc/rag.genai.js | 1 + packages/sample/genaisrc/run-prompt-summarize.genai.js | 1 + packages/sample/genaisrc/summarize-files-function.genai.js | 1 + packages/sample/genaisrc/summary-of-summary-gpt35.genai.js | 1 + packages/sample/genaisrc/todo.genai.js | 1 + 6 files changed, 6 insertions(+) diff --git a/packages/sample/genaisrc/math-agent-system.genai.js b/packages/sample/genaisrc/math-agent-system.genai.js index cd03105e18..c9c4b55550 100644 --- a/packages/sample/genaisrc/math-agent-system.genai.js +++ b/packages/sample/genaisrc/math-agent-system.genai.js @@ -1,5 +1,6 @@ script({ title: "math-agent-system", + model: "openai:gpt-3.5-turbo", description: "A port of https://ts.llamaindex.ai/examples/agent", system: ["system.math"], parameters: { diff --git a/packages/sample/genaisrc/rag.genai.js b/packages/sample/genaisrc/rag.genai.js index 1232cbdfd1..dc7517167b 100644 --- a/packages/sample/genaisrc/rag.genai.js +++ b/packages/sample/genaisrc/rag.genai.js @@ -1,5 +1,6 @@ script({ title: "rag", + model: "openai:gpt-3.5-turbo", tests: { files: "src/rag/*", keywords: ["lorem", "markdown", "word"], diff --git a/packages/sample/genaisrc/run-prompt-summarize.genai.js b/packages/sample/genaisrc/run-prompt-summarize.genai.js index 4d59c38657..5153b5b4ac 100644 --- a/packages/sample/genaisrc/run-prompt-summarize.genai.js +++ b/packages/sample/genaisrc/run-prompt-summarize.genai.js @@ -1,5 +1,6 @@ script({ title: "run prompt summarize", + model: "openai:gpt-3.5-turbo", tests: [ { files: ["src/rag/markdown.md"], diff --git a/packages/sample/genaisrc/summarize-files-function.genai.js b/packages/sample/genaisrc/summarize-files-function.genai.js index 6436e07bbc..c256da70fe 100644 --- a/packages/sample/genaisrc/summarize-files-function.genai.js +++ b/packages/sample/genaisrc/summarize-files-function.genai.js @@ -1,6 +1,7 @@ script({ title: "summarize-files-function", system: ["system", "system.fs_read_summary"], + model: "openai:gpt-3.5-turbo", tests: { files: ["src/rag/*"], keywords: ["markdown", "lorem", "word"], diff --git a/packages/sample/genaisrc/summary-of-summary-gpt35.genai.js b/packages/sample/genaisrc/summary-of-summary-gpt35.genai.js index 0e798e735e..39f3d0fa5a 100644 --- a/packages/sample/genaisrc/summary-of-summary-gpt35.genai.js +++ b/packages/sample/genaisrc/summary-of-summary-gpt35.genai.js @@ -1,5 +1,6 @@ script({ title: "summary of summary - gp35", + model: "openai:gpt-3.5-turbo", tests: { files: ["src/rag/*"], keywords: ["markdown", "lorem", "microsoft"], diff --git a/packages/sample/genaisrc/todo.genai.js b/packages/sample/genaisrc/todo.genai.js index 89ff7568d2..a2d6407c09 100644 --- a/packages/sample/genaisrc/todo.genai.js +++ b/packages/sample/genaisrc/todo.genai.js @@ -4,6 +4,7 @@ script({ group: "samples", system: ["system", "system.files"], temperature: 0, + model: "openai:gpt-3.5-turbo", tests: { files: "src/fib.ts", asserts: [{