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
846 stars 510 forks source link

Getting redis.exceptions.ResponseError: unknown command `MODULE`, with args beginning with: `LIST` #90

Closed Shubham-Kr10 closed 1 year ago

Shubham-Kr10 commented 1 year ago

I have generated a redis url redis://:Primary Key from Azure Cache @Hostname for Azure cache:6379 But after running code it gives redis.exceptions.ResponseError: unknown command MODULE, with args beginning with: LIST in connection.py of redis library. Any help will be thankfull.

ecamaj commented 1 year ago

It seems you need to generate ENTERPRISE cache type, which is by the way very expensive.

ruoccofabrizio commented 1 year ago

The solution uses RediSearch and RedisJson modules. You can find the modules for different SKUs here.

https://azure.microsoft.com/en-us/pricing/details/cache/