From 8c3cff4ea0088bb8217915ef3e78b67ded3d8782 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Thu, 23 Apr 2026 12:07:23 +0530 Subject: [PATCH] fix: update Ollama embedding model version to 8b in code and documentation --- .opencode/tools/ask262-search-spec-sections.ts | 2 +- Readme.md | 4 ++-- src/constants.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.opencode/tools/ask262-search-spec-sections.ts b/.opencode/tools/ask262-search-spec-sections.ts index e78fac3..72cc647 100644 --- a/.opencode/tools/ask262-search-spec-sections.ts +++ b/.opencode/tools/ask262-search-spec-sections.ts @@ -22,7 +22,7 @@ export default tool({ // Initialize embeddings const embeddings = new OllamaEmbeddings({ - model: "qwen3-embedding:0.6b", + model: "qwen3-embedding:8b", }); // Connect to LanceDB diff --git a/Readme.md b/Readme.md index 57e3883..5b5ed2d 100644 --- a/Readme.md +++ b/Readme.md @@ -70,8 +70,8 @@ If you prefer to configure manually: ### Prerequisites - **Bun**: Version 1.0.0 or higher ([install](https://bun.sh/docs/installation)) -- **Ollama**: Installed with `qwen3-embedding:0.6b` \ -(`ollama pull qwen3-embedding:0.6b`) +- **Ollama**: Installed with `qwen3-embedding:8b` \ +(`ollama pull qwen3-embedding:8b`) ### Setup diff --git a/src/constants.ts b/src/constants.ts index 25d27a9..8407dd5 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -4,7 +4,7 @@ export const CODE_DIR = "./engine262/src"; export const GRAPH_FILE = "./graphology/graph.json"; // Model configurations -export const OLLAMA_EMBEDDING_MODEL = "qwen3-embedding:0.6b"; +export const OLLAMA_EMBEDDING_MODEL = "qwen3-embedding:8b"; export const RERANKER_MODEL = "dengcao/Qwen3-Reranker-0.6B:Q8_0"; // Embedding provider configuration