chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
Unsupported vector database: "azuresearch"
documentation mentions about azuresearch datastore, but when I run the server, getting 'Unsupported vector database: "azuresearch"
Odd, I see the entry for "azuresearch" in the match statement in factory.py is still there. Do you have a piece of code that reproduces the issue?
Okay, I see the problem. I set the environment variable with quotes, like this: set DATASTORE="azuresearch"
However, I realized that the quotes were not necessary, so I removed them, and it worked fine set DATASTORE=azuresearch.
Now, I am encountering another issue azure.core.exceptions.ServiceRequestError: <urllib3.connection.HTTPSConnection object at 0x00000274C268EA50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
Seems like an issue with your search service name (the error says it failed to resolve the DNS address of the search service endpoint). Your AZURESEARCH_SERVICE env var should we set to name of your Cognitive Search resource in Azure (just the name, not the full DNS address, the plugin will expand your