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

Unsupported vector database: "azuresearch"

Open baskialdensys opened this issue 2 years ago • 3 comments

documentation mentions about azuresearch datastore, but when I run the server, getting 'Unsupported vector database: "azuresearch"

baskialdensys avatar Jul 14 '23 15:07 baskialdensys

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?

pablocastro avatar Jul 19 '23 01:07 pablocastro

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

baskialdensys avatar Jul 19 '23 13:07 baskialdensys

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 into https://.search.windows.net)

pablocastro avatar Jul 19 '23 16:07 pablocastro