Replies: 2 comments 1 reply
-
Give the code |
Beta Was this translation helpful? Give feedback.
1 reply
-
ok please update to the new version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting this error when running sample notebook in colab. Do we need some fix for RAG node
--- Executing Fetch Node ---
AttributeError Traceback (most recent call last)
in <cell line: 2>()
1 # execute the graph
----> 2 result = graph.execute({
3 "user_prompt": "List me the example with their description",
4 "url": "https://github.com/run-llama/llama_index/tree/main/docs/docs/examples"
5 })
3 frames
/usr/local/lib/python3.10/dist-packages/langchain_community/vectorstores/faiss.py in from_texts(cls, texts, embedding, metadatas, ids, **kwargs)
928 faiss = FAISS.from_texts(texts, embeddings)
929 """
--> 930 embeddings = embedding.embed_documents(texts)
931 return cls.__from(
932 texts,
AttributeError: 'OpenAI' object has no attribute 'embed_documents'
Beta Was this translation helpful? Give feedback.
All reactions