You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am trying to use your examples. Thanks for sharing.
In the PDf notebook, we have this gist:
# Use FAISS to index the embeddings. This will allow us to perform a similarity search on the texts using the embeddings.
# https://python.langchain.com/en/latest/modules/indexes/vectorstores/examples/faiss.html
pdfDocSearch = FAISS.from_texts(textTexts, embeddings)
I am getting this error: InvalidRequestError: "Must provide an 'engine' or 'deployment_id' parameter to create a".
I am using OPENAI_EMBEDDING_MODEL_NAME = "text-embedding-ada-002 (Version 2)"
but I think that this is wrong. I should specify a deployment that is based on a embedding model such as this above, correct?
Please advice.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello. I am trying to use your examples. Thanks for sharing.
In the PDf notebook, we have this gist:
# Use FAISS to index the embeddings. This will allow us to perform a similarity search on the texts using the embeddings.
# https://python.langchain.com/en/latest/modules/indexes/vectorstores/examples/faiss.html
pdfDocSearch = FAISS.from_texts(textTexts, embeddings)
I am getting this error: InvalidRequestError: "Must provide an 'engine' or 'deployment_id' parameter to create a". I am using OPENAI_EMBEDDING_MODEL_NAME = "text-embedding-ada-002 (Version 2)" but I think that this is wrong. I should specify a deployment that is based on a embedding model such as this above, correct?
OPENAI_EMBEDDING_MODEL_NAME is "text-embedding-ada-002" and OPENAI_EMBEDDING_DEPLOYMENT_NAME is the name of my specific model deployment in Azure OpenAI.
Hello. I am trying to use your examples. Thanks for sharing.
In the PDf notebook, we have this gist:
I am getting this error: InvalidRequestError:
"Must provide an 'engine' or 'deployment_id' parameter to create a".
I am using OPENAI_EMBEDDING_MODEL_NAME = "text-embedding-ada-002 (Version 2)"
but I think that this is wrong. I should specify a deployment that is based on a embedding model such as this above, correct?
Please advice.
Thank you.
The text was updated successfully, but these errors were encountered: