From 0a01073b31f2e11daceffbd4117d696cf5f64f03 Mon Sep 17 00:00:00 2001 From: Ryan Holinshead <> Date: Thu, 16 Nov 2023 16:01:42 -0500 Subject: [PATCH] Add Video to Cookbook README --- cookbooks/llama/typescript/README.md | 6 ++++++ cookbooks/llama/typescript/ask-llama.ts | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cookbooks/llama/typescript/README.md b/cookbooks/llama/typescript/README.md index 04f68b85d..7219dfa81 100644 --- a/cookbooks/llama/typescript/README.md +++ b/cookbooks/llama/typescript/README.md @@ -42,3 +42,9 @@ Run with ``` npx ts-node ask-llama.ts ``` + +

+ +

diff --git a/cookbooks/llama/typescript/ask-llama.ts b/cookbooks/llama/typescript/ask-llama.ts index 5894f58ab..c506c200b 100644 --- a/cookbooks/llama/typescript/ask-llama.ts +++ b/cookbooks/llama/typescript/ask-llama.ts @@ -28,11 +28,9 @@ async function main() { const options = { stream: true, callbacks }; await config.run("prompt7b", undefined, options); - await config.run("prompt7b_chat", options); - await config.run("prompt13b", options); - - const codeResponse = await config.run("prompt13b_code"); - console.log(codeResponse); + await config.run("prompt7b_chat", undefined, options); + await config.run("prompt13b", undefined, options); + await config.run("prompt13b_code", undefined, options); } main();