Questions tagged [chromadb]

69 questions
0
votes
0 answers

Can I configure both ElasticSearch and ChromaDB in a single django application?

I have read the documenations https://docs.djangoproject.com/en/4.2/topics/db/multi-db/ but this page https://django-elasticsearch-dsl.readthedocs.io/en/latest/ describes how to use ElasticSearch. That doesn't seem to allow multi db with elastic…
Mike Oliver
  • 163
  • 1
  • 3
  • 14
0
votes
0 answers

Trouble deleting ChromaDB documents

I can't seem to delete documents from my Chroma vector database. I would appreciate any insight as to why this example does not work, and what modifications can/should be made to get it functioning correctly. import dotenv import os import…
0
votes
0 answers

How vector search is able to match exact keyword (even words which are randomly generated and have no meaning)

I'm doing some POC for my LLM based project, and for that I'm using Vector Database for Document Retrieval (IR). Recently, I came across a few blogs from some of the most famous Vector Databases which suggested using hybrid search (Vector Search +…
0
votes
1 answer

ChromaDB limit queries by metadata

I have a ChromaDB that has "source_type" = 'guideline' | 'practice' | 'open_letter'. If my k/p_value is the default of 6, is there a way I can limit my similarity search first based on "source_type", THEN get the 6 pieces of evidence? Is this a…
Mark
  • 241
  • 3
  • 14
0
votes
0 answers

ChromaDB Management

Is there an efficient way of managing ChromaDB instances in place - specifically using metadata to delete documents? Inserts/upserts are supported. Deletes by collection are supported, but I can't find much in their API for deleting specific…
Mark
  • 241
  • 3
  • 14
0
votes
1 answer

How to use a Llama model with langchain? It gives an error: Pipeline cannot infer suitable model classes from: - HuggingFace

finetuned a model (https://huggingface.co/decapoda-research/llama-7b-hf) using peft and lora and saved as https://huggingface.co/lucas0/empath-llama-7b. Now im getting Pipeline cannot infer suitable model classes from when trying to use it along…
Lucas Azevedo
  • 1,867
  • 22
  • 39
0
votes
0 answers

Issue using Chromadb with Typescript

I am trying to use Chromadb with langchain. I have a docker running and installed everything it says to on the documentation. I keep getting these errors when running the code if the docker is on Generated documents: [ Document { pageContent:…
-1
votes
0 answers

I had a functional gpt-4 model using only data from a chroma duckdb, now it no longer works and just functions as a regular chat model

Here is the code import os import constants import chromadb import PySimpleGUI as sg from langchain.chat_models import ChatOpenAI from langchain.chains import ConversationalRetrievalChain from langchain.vectorstores import Chroma from…
-1
votes
1 answer

ChromaDB API deployment does not work with Python LangChain on Windows Machine

I have installed chromaDB via pip using command: pip install chromadb LangChain integration with other libraries seem to be working fine. I get the following error:
1 2 3 4
5