chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

[Enhancement] Fix error message in datastore/factory.py

Open dluc opened this issue 1 year ago • 0 comments

  • Add missing storage options in the error message displayed by factory.py
  • Sort names alphabetically, so it's easier to check if the error message is in sync with the options available.

Previous error message:

ValueError: Unsupported vector database: FooBar. Try one of the following: llama, elasticsearch, pinecone, weaviate, milvus, zilliz, redis, azuresearch, or qdrant

New error message:

ValueError: Unsupported vector database: FooBar. Try one of the following: analyticdb, azuresearch, chroma, elasticsearch, llama, milvus, pinecone, postgres, qdrant, redis, supabase, weaviate, or zilliz

dluc avatar Nov 10 '23 19:11 dluc