Skip to content

Commit fac4f36

Browse files
authored
Update models used for embeddings in the weaviate example (langchain-ai#3594)
Use text-embedding-ada-002 because it [outperforms all other models](https://openai.com/blog/new-and-improved-embedding-model).
1 parent 440c98e commit fac4f36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/modules/indexes/vectorstores/examples/weaviate.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@
7575
" \"vectorizer\": \"text2vec-openai\",\n",
7676
" \"moduleConfig\": {\n",
7777
" \"text2vec-openai\": {\n",
78-
" \"model\": \"babbage\",\n",
78+
" \"model\": \"ada\",\n",
79+
" \"modelVersion\": \"002\",\n",
7980
" \"type\": \"text\"\n",
8081
" }\n",
8182
" },\n",

0 commit comments

Comments
 (0)