Skip to main content
The 2024 Developer Survey results are live! See the results

All 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 ...
Anandu Aji's user avatar
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 ...
Dakshi R's user avatar
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 ...
StaEx_G's user avatar
  • 13
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 ...
SG-01's user avatar
  • 1
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'...
Obi's user avatar
  • 303
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 ...
Abijith P Y's user avatar
-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 ...
code farmer's user avatar
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 ...
Ben's user avatar
  • 423
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 ...
neverexperience's user avatar
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 (...
Yuri Costa's user avatar
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 ...
fneiwfwiem's user avatar
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 ...
usama hussain's user avatar
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....
Philipp Stäter's user avatar
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,...
Anay's user avatar
  • 845
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 ...
modLmakur's user avatar
  • 563

15 30 50 per page