Questions tagged [chromadb]

69 questions
0
votes
1 answer

disk I/O error using crhomadb with databricks

I am using chromadb version '0.4.5'. I can store my chromadb vector store locally. However, when I tried to store it in DBFS I get the "OperationalError: disk I/O error" just by running vector_db_path =…
David Makovoz
  • 1,766
  • 2
  • 16
  • 27
0
votes
0 answers

ProtocolError in Chroma Client Mode

I deploy the Chroma server in container, while i using function "collection.add()", it shows ProtocolError: ('Connection aborted.', ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host', None, 10054,…
0
votes
0 answers

Time Spatial Component for LangChain and Vector Databases?

I've been working recently with PrivateGPT and have build content scrapers to pull articles of reference to load. Currently my project wipes PrivateGPT each day to load and summarize the prior day's set of articles. This seems like the best way to…
0
votes
2 answers

"ERROR: Failed building wheel for chroma-hnswlib" trying to install chromadb on Mac / VScode

I tried to install chromadb on my .venv and I got the ERROR: Failed building wheel for chroma-hnswlib. More info about the error below: [Building wheel for chroma-hnswlib (pyproject.toml) ... error error: subprocess-exited-with-error Building wheel…
0
votes
0 answers

How to have my RetrievalQA search though embedding vectors of cleaned text, but pass in the uncleaned text for chat context?

I am writing a customQA chatbot using Langchain, Chroma, and the GPT-API. Below you will see the function I use for instantiating a peristed database for my vectors. def create_db(pdf_file): all_splits = split_and_clean_text(pdf_file) …
0
votes
2 answers

llama index vectorstore querying with specific filtering

I have this simple code to query from files thats saved in a chroma vector store. Now if each file belongs to some user and each user can only query with data from their files and not others, how can I achieve this? I was thinking maybe save userId…
son
  • 7
  • 1
  • 2
0
votes
0 answers

Langchain vectorstore for chat history

I am trying to make a simple QA chatbot which is able to remember the past conversation and answer question about previous messages. I use Chromadb as a vectorstore to store the chat history and search relevant pieces of information when…
prime
  • 25
  • 4
0
votes
1 answer

How ChromaDB querying system works?

I am currently learning ChromaDB vector DB. I can't understand how the querying process works. When I try to query using text, it's returning all documents. collection.add( documents=["This is a document about cat", "This is a document about…
RagAnt
  • 1,064
  • 2
  • 17
  • 35
0
votes
0 answers

ModuleNotFoundError: No module named '_ctypes' when installing chromadb via pip

I'm trying to install chromadb via pip on Ubuntu. When I run the command pip install chromadb I get the error Traceback (most recent call last): File…
0
votes
0 answers

How do I create multiple chroma db's and query individual dbs?

I am doing that with multiple text files, so that each text files get 1 db. And then query them individually I would want to query then individually. from langchain.vectorstores import Chroma from langchain.embeddings import OpenAIEmbeddings from…
0
votes
0 answers

Python TypeError: Can't instantiate abstract class with abstract methods

I am implementing this code class ChromaProductRetriever(BaseRetriever, BaseModel): vectorstore: VectorStore class Config: arbitrary_types_allowed = True def combine_metadata(self, doc) -> str: metadata =…
user1753640
  • 193
  • 1
  • 2
  • 11
0
votes
1 answer

How long does it take to install chromadb on Ubuntu?

I have developed a django project and am trying to deploy to AWS EC2 Instance. My project uses chromadb so I try to install with this command. pip install chromadb Then it installs all the related dependencies but when it starts to install hnswlib,…
0
votes
1 answer

Python Installation of chromadb failing

I tried installing chromadb but After a couple of seconds this showed up: Building wheels for collected packages: hnswlib Building wheel for hnswlib (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for hnswlib…
IkonoDim
  • 21
  • 4
0
votes
0 answers

Chroma db persist to local - bad allocation error

I'm currently working on loading pre-vectorized text data into a Chroma vector database with jupyter notebook. However, I've encountered an issue where I'm receiving a "bad allocation" error. To provide some context, I have an existing collection in…
Mike
  • 15
  • 1
0
votes
0 answers

In ChromaDB, when querying, can I see how many items match the "filter"?

I'm using Chroma as my vector database in LangChain. I query using filters, using LangChain's wrapper around the collection.query() function in Chroma. vectordb.similarity_search_with_score(query_document, k=n_results, filter = {...}) I want to find…
Valdegg
  • 9
  • 3