Replies: 1 comment
-
It seems like the issue with the vectorstore being empty, despite successful embedding generation, might be due to a few potential areas that need checking:
To further diagnose and resolve the issue, I recommend adding logging at critical points in your code. This will help you track the successful completion of each step, especially focusing on the generation of embeddings and their insertion into the vectorstore. Directly querying the vectorstore to check for the presence of vectors can also help determine if the issue lies in the insertion or retrieval process. If the problem persists after implementing these steps, providing more detailed information about any error messages or unusual behavior observed would be very helpful for further diagnosis.
|
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
Hi,
I am trying to create a simple vectorstore as the above codes.
The embedding function alone works well, i.e., it can produce embeddings for text but the vectorstore is empty.
Why is there such a problem?
Yen
System Info
langchain==0.1.5
langchain-community==0.0.17
langchain-core==0.1.17
langchain-experimental==0.0.50
langchain-openai==0.0.5
langchainhub==0.1.14
Beta Was this translation helpful? Give feedback.
All reactions