refactor: switch to the new default nomic-embed-text-v1.5 embedding model in LS

This commit is contained in:
r3v5 2025-08-18 10:34:46 +01:00
parent f1748e2f92
commit 1d0f0a0d8e
No known key found for this signature in database
GPG key ID: C7611ACB4FECAD54
63 changed files with 16170 additions and 186 deletions

View file

@ -47,7 +47,7 @@ class VectorDBsRoutingTable(CommonRoutingTableImpl, VectorDBs):
self,
vector_db_id: str,
embedding_model: str,
embedding_dimension: int | None = 384,
embedding_dimension: int | None = 768,
provider_id: str | None = None,
provider_vector_db_id: str | None = None,
vector_db_name: str | None = None,

View file

@ -66,8 +66,8 @@ def rag_chat_page():
llama_stack_api.client.vector_dbs.register(
vector_db_id=vector_db_name, # Use the user-provided name
embedding_dimension=384,
embedding_model="all-MiniLM-L6-v2",
embedding_dimension=768,
embedding_model="nomic-embed-text-v1.5",
provider_id=vector_io_provider,
)