ruoccofabrizio / azure-open-ai-embeddings-qna

A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3, GPT-3.5 or GPT-4 to extract the matching answer for the question.
https://azure.microsoft.com/en-us/products/cognitive-services/openai-service
MIT License
842 stars 510 forks source link

redis error #74

Closed micuentadecasa closed 1 year ago

micuentadecasa commented 1 year ago

Hi, I'm receiving this error:

| redis.exceptions.ConnectionError: Error -2 connecting to your_redis_instance.your_region.redisenterprise.cache.azure.net:10000. Name or service not known.

Based on my understanding, this error suggests that a Redis setup is required in Azure. However, I couldn't find any information about this infrastructure in the project's readme. I'm also curious about the presence of a Redis Docker container in the setup, and how it relates to the Azure setup.

Regards.

ruoccofabrizio commented 1 year ago

Depending on the deployment method you're using, the "Deploy to Azure" button will instantiate different components for the Vector Store:

Deploy on Azure (WebApp + Azure Cache for Redis + Batch Processing)

Deploy on Azure (WebApp + Redis Stack + Batch Processing)

You can also avoid creating a Redis instance when you already have one, with other options. For your specific error, check the environmental settings as you're pointing to an invalid Azure Cache for Redis address.

micuentadecasa commented 1 year ago

thanks @ruoccofabrizio

regards.