From 335c613cb810d5006ba8b6069acf99ad4f61cff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20G=C3=B3mez?= Date: Wed, 6 Nov 2024 23:48:59 +0100 Subject: [PATCH] feat: update image examples with llama3.2-vision --- examples/ai-core/src/generate-text/ollama-image-base64.ts | 2 +- examples/ai-core/src/generate-text/ollama-image-url.ts | 2 +- examples/ai-core/src/generate-text/ollama-image.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ai-core/src/generate-text/ollama-image-base64.ts b/examples/ai-core/src/generate-text/ollama-image-base64.ts index f5e66c5..f37221a 100755 --- a/examples/ai-core/src/generate-text/ollama-image-base64.ts +++ b/examples/ai-core/src/generate-text/ollama-image-base64.ts @@ -28,4 +28,4 @@ async function main(model: Parameters[0]) { console.log(result.text) } -buildProgram('llava-llama3', main).catch(console.error) +buildProgram('llama3.2-vision', main).catch(console.error) diff --git a/examples/ai-core/src/generate-text/ollama-image-url.ts b/examples/ai-core/src/generate-text/ollama-image-url.ts index 6e53f62..bfb3c3f 100755 --- a/examples/ai-core/src/generate-text/ollama-image-url.ts +++ b/examples/ai-core/src/generate-text/ollama-image-url.ts @@ -28,4 +28,4 @@ async function main(model: Parameters[0]) { console.log(result.text) } -buildProgram('llava-llama3', main).catch(console.error) +buildProgram('llama3.2-vision', main).catch(console.error) diff --git a/examples/ai-core/src/generate-text/ollama-image.ts b/examples/ai-core/src/generate-text/ollama-image.ts index d69e1d8..5619a13 100755 --- a/examples/ai-core/src/generate-text/ollama-image.ts +++ b/examples/ai-core/src/generate-text/ollama-image.ts @@ -25,4 +25,4 @@ async function main(model: Parameters[0]) { console.log(result.text) } -buildProgram('llava-llama3', main).catch(console.error) +buildProgram('llama3.2-vision', main).catch(console.error)