mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 21:31:46 +00:00
fix: update Ollama embedding model version to 8b in code and documentation
This commit is contained in:
@@ -22,7 +22,7 @@ export default tool({
|
|||||||
|
|
||||||
// Initialize embeddings
|
// Initialize embeddings
|
||||||
const embeddings = new OllamaEmbeddings({
|
const embeddings = new OllamaEmbeddings({
|
||||||
model: "qwen3-embedding:0.6b",
|
model: "qwen3-embedding:8b",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Connect to LanceDB
|
// Connect to LanceDB
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ If you prefer to configure manually:
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- **Bun**: Version 1.0.0 or higher ([install](https://bun.sh/docs/installation))
|
- **Bun**: Version 1.0.0 or higher ([install](https://bun.sh/docs/installation))
|
||||||
- **Ollama**: Installed with `qwen3-embedding:0.6b` \
|
- **Ollama**: Installed with `qwen3-embedding:8b` \
|
||||||
(`ollama pull qwen3-embedding:0.6b`)
|
(`ollama pull qwen3-embedding:8b`)
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ export const CODE_DIR = "./engine262/src";
|
|||||||
export const GRAPH_FILE = "./graphology/graph.json";
|
export const GRAPH_FILE = "./graphology/graph.json";
|
||||||
|
|
||||||
// Model configurations
|
// 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";
|
export const RERANKER_MODEL = "dengcao/Qwen3-Reranker-0.6B:Q8_0";
|
||||||
|
|
||||||
// Embedding provider configuration
|
// Embedding provider configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user