openai / chatgpt-retrieval-plugin

The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.
MIT License
20.96k stars 3.68k forks source link

Trouble Configuring ChromaDB for chatgpt-retrieval-plugin #425

Open HardCoding0417 opened 4 months ago

HardCoding0417 commented 4 months ago

I attempted to set up a server for using the chatgpt-retrieval-plugin, configuring the vector database to Chroma as per the instructions in the README.md

However, I encountered a failure in this process. When I configured the server with Pinecone, it worked successfully. But switching to Chroma led to the following error:

2024-02-22 13:08:16.597 | ERROR | server.main:query_main:104 - Number of requested results 0, cannot be negative, or zero. INFO: 127.0.0.1:61763 - "POST /query HTTP/1.1" 500 Internal Server Error

It seems that the issue lies with datastore.query not returning any values, indicating a possible problem with the database side.

how can I successfully build a server using Chroma?