13 questions with no answers
0
votes
0
answers
104
views
How can I persist a db for MultiVectorRetriever?
I am trying to build a RAG from pdfs where I extract the text and tables. I want to use a persistent db in order to store the chunks, tables, embeddings e.t.c. and then reload the db and use the ...
0
votes
0
answers
113
views
How to expand context window based on metadata of the vector-store collection
I have a working RAG code, using Langchain and Milvus. Now I'd like to add the feature to look at the metadata of each of the extracted k documents, and do the following:
find the paragraph_id of ...
0
votes
0
answers
73
views
Error embedding content: 504 Deadline Exceeded
So when i try to generate embeddings from two different types of codes -
here is the one which is mentioned on the langchain site but this gives me deadline exceed
@lru_cache
def get_settings():
...
0
votes
0
answers
116
views
Llama Index Vector Store: filter a list of documents with a NOT feature
I have a vector store of documents, each document is a json document with features. I'd like to filter the documents according to some criteria. The problem is that some of the documents contain a NOT ...
0
votes
0
answers
25
views
How do I use MergeDataLoader to tolerate multiple files that could be in either PDF or docx format?
I am writing a RAG chatbot that retrieves information from a given list of documents. The documents can be found in a set folder, and they could be either .pdf or .docx. I want to merge all the ...
1
vote
0
answers
242
views
Vector dimensions mismatch in OpenSearch vector store using BedrockEmbeddings
I'm using a vector store that I've created in AWS OpenSearch serverless. It has one index that has below configurations:
- Engine: faiss
- Precision: Binary
- Dimensions: 1024
- Distance Type: ...
0
votes
0
answers
171
views
OPENSSL_internal:CERTIFICATE_VERIFY_FAILED error when vector_store retriever is invoked
I'm in the midst of developing Genai app with
private data stored in vertex ai vector db
llm as gpt4
langhain as orchestrator
When I invoke vector_store retriever I get error:
OPENSSL_internal:...
3
votes
0
answers
350
views
Error creating single-field vector index in Firestore with gcloud CLI
I'm trying to create a single-field vector index in my Firestore database using the gcloud command-line interface (CLI) to enable vector search functionality.
However, I keep getting this error:
...
0
votes
0
answers
526
views
Not able to create asynchronous chromadb
I'd like to create a status_checker api endpoint in fastapi to track the creation of chromadb embeddings. Also I'd like to create these embeddings in async mode. Below is the code, but it is giving ...
2
votes
0
answers
311
views
Random"IndexError: list index out of range issue" OpenAI's "messages = list(client.beta.threads.messages.list(thread_id=thread.id, run_id = run.id))"
The code works a few iterations of the following:
Creating vector store
Upload individual file (to ensure clean and singular context)
Call OpenAI's "client.beta.threads.runs.create_and_poll"...
1
vote
0
answers
180
views
AttributeError: 'Tensor' object has no attribute 'embed_documents'
I have uploaded PDF file and split file into chunks, then apply tokenizer to each chunck and created embeddings. But when i try to store my embedding in FIASS, it give me AttributeError: 'Tensor' ...
1
vote
0
answers
1k
views
Load Chroma vectorstore from disk
I have created a vectorstore using Chroma and Langchain with three different collections and stored it in a persistent directory using the following code:
def create_embeddings_vectorstorage(splitted):...
1
vote
0
answers
1k
views
AttributeError: 'function' object has no attribute 'embed_query' using Langchain FAISS vectorstore
I'm following AWS Bedrock workshop here - https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/03_QuestionAnswering/01_qa_w_rag_claude.ipynb. Everything is working fine until I go to the ...