Embed host: separate EMBED_HOST env, repoint to .69 (Procyon) - .128 dead, .85 is pve
This commit is contained in:
@@ -93,7 +93,7 @@ function searchCatalog(query: string, limit: number): any[] {
|
|||||||
// embedding re-rank. Understands intent ("find a crypto payment tool") even
|
// embedding re-rank. Understands intent ("find a crypto payment tool") even
|
||||||
// when the keywords don't literally appear in the name/description.
|
// when the keywords don't literally appear in the name/description.
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
const EMBED_HOST = process.env.OLLAMA_HOST || 'http://10.30.20.128:11434';
|
const EMBED_HOST = process.env.EMBED_HOST || process.env.OLLAMA_HOST || 'http://10.30.20.128:11434';
|
||||||
const EMBED_MODEL = process.env.EMBED_MODEL || 'nomic-embed-text';
|
const EMBED_MODEL = process.env.EMBED_MODEL || 'nomic-embed-text';
|
||||||
const EMBEDDINGS_PATH = path.join(DATA_DIR, 'mcp_catalog_embeddings.json');
|
const EMBEDDINGS_PATH = path.join(DATA_DIR, 'mcp_catalog_embeddings.json');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user