All Questions
Tagged with large-language-model chromadb
49
questions
2
votes
0
answers
33
views
DSPy can't retrieve passage with text embeddings in ChromaDB
I am working on a RAG application using DSPy and ChromaDB for pdf files.
At first I fetched the text from the pdf and add it to the Chromadb as chunks. Also added the embeddings of the chunks. And ...
0
votes
0
answers
26
views
I am getting this error while building a RAG model
I am getting this error while building a RAG model while using qwen2 model instead of the default llama2 which chroma uses.
My code:
from langchain_community.embeddings import OllamaEmbeddings
from ...
1
vote
0
answers
46
views
ChromaDB terminates Flask without exception
I'm creating an API with Flask. The other side will send me a file and I will save it to chroma database on my side. Chroma.add will terminates my program without any exception. When I save a smaller ...
0
votes
0
answers
133
views
Chroma DB using embedding values
I tried creating a chromadb using embedding values but its not working. I have my own embedding model that I want to deploy on the server. So here if I pass text as list I am getting its embedded ...
0
votes
1
answer
256
views
Chainlit Stream responses from Groq & Langchain
my Chainlit AI chat application uses Groq, OpenAI embeddings, LangChain and Chromadb, and it allows the user to upload a PDF and interact with it. It works fine, but it spits out the whole response.
I'...
0
votes
0
answers
44
views
ChromaDB error when deployed in an OpenShift Container
I have deployed **chromadb **in a openshift container. It was showing error with sqlite3. So I resolved it by Changing the __init__.py file. I added these lines
__import__('pysqlite3')
import ...
-1
votes
2
answers
656
views
Why RAG is slower than LLM?
I used RAG with LLAMA3 for AI bot. I find RAG with chromadb is much slower than call LLM itself.
Following the test result, with just one simple web page about 1000 words, it takes more than 2 seconds ...
0
votes
0
answers
53
views
ChromaDB query documents by datetime
I'm working on some app where I want to query chat conversations I added to ChromaDB.
Each line in such conversation has the following structure:
timestamp - user name - text
I've exported all text ...
0
votes
4
answers
4k
views
ImportError: Could not import chromadb python package. Please install it with `pip install chromadb`
I am trying to build a Chat PDF application using langchain,
During this I installed all the necessary packages, but there is one issue with this chromadb, which no matter what I do, it keeps showing ...
1
vote
0
answers
199
views
How to multiprocess/multithread documents loading in chromadb?
I'm creating an application with langchain, chromadb and ollama with mistral model, where I have dozens of PDF files, each of them with a lot of pages. The problem is that It takes a lot of time (...
0
votes
2
answers
1k
views
'Chroma' object has no attribute 'persist'
I'm persisting the Chroma Database but it's giving me an error.
I'm basically redoing what's in this link.
https://github.com/hwchase17/chroma-langchain/blob/master/persistent-qa.ipynb
Is there any ...
0
votes
0
answers
169
views
How to navigate to previous chats using Langchain much like ChatGPT does?
I am building a RAG-based ChatPDF application. The user can enter the PDF to generate the embeddings for, the embeddings are stored in a vector database (I am using Chromadb). Now all the basic chat ...
0
votes
0
answers
86
views
Unable to install chromadb on Python 3 due to sub-dependency error
I am trying to install the package for chromadb, but always receive the following message:
Collecting chromadb
Using cached chromadb-0.4.24-py3-none-any.whl.metadata (7.3 kB)
Collecting build>=1....
3
votes
0
answers
784
views
Visualizing Vector Embeddings Stored in ChromaDB
I am currently working on a project where I am using ChromaDB to store vector embeddings generated from textual data. The vector embeddings are obtained using Langchain with OpenAI embeddings. However,...
2
votes
0
answers
2k
views
create custom embedding function in chromadb for semantic search
I have the python 3 code below. I have chromadb vector database and I'm trying to create embeddings for chunks of text like the example below, using a custom embedding function. My end goal is to do ...