Skip to content

embeddings model #1

Open
Open
@fabianocastello

Description

@fabianocastello

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions