Fix 'embeddings is not defined' (#2468)

Nothing major. The docs just give an error when you try to use
`embeddings` instead of `llama`.
doc
Matt Royer 1 year ago committed by GitHub
parent fd69cc7e42
commit ad87584c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@
"metadata": {},
"outputs": [],
"source": [
"query_result = embeddings.embed_query(text)"
"query_result = llama.embed_query(text)"
]
},
{
@ -60,7 +60,7 @@
"metadata": {},
"outputs": [],
"source": [
"doc_result = embeddings.embed_documents([text])"
"doc_result = llama.embed_documents([text])"
]
}
],

Loading…
Cancel
Save