mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
refactor: switch to the new default nomic-embed-text-v1.5 embedding model in LS
This commit is contained in:
parent
f1748e2f92
commit
1d0f0a0d8e
63 changed files with 16170 additions and 186 deletions
|
@ -161,6 +161,7 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "4ad70258",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -180,8 +181,8 @@
|
|||
"# Create a vector database with optimized settings for general use\n",
|
||||
"client.vector_dbs.register(\n",
|
||||
" vector_db_id=VECTOR_DB_ID,\n",
|
||||
" embedding_model=\"all-MiniLM-L6-v2\",\n",
|
||||
" embedding_dimension=384, # This is the dimension for all-MiniLM-L6-v2\n",
|
||||
" embedding_model=\"nomic-embed-text-v1.5\",\n",
|
||||
" embedding_dimension=768, # This is the dimension for nomic-embed-text-v1.5\n",
|
||||
" provider_id=provider_id,\n",
|
||||
")"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue