Azure Open AI (Use your data (preview)) git project Error encountered while running project after sending 'Hi' message"

Syedbabar Ali 380 Reputation points
2023-07-06T08:56:06.6666667+00:00

I am try to make a "Chat with Azure OpenAI models using your own data" I get github repo which provided microsoft official site

https://learn.microsoft.com/en-us/azure/cognitive-services/openai/use-your-data-quickstart?tabs=command-line&pivots=rest-api

Github Project Link

https://github.com/microsoft/sample-app-aoai-chatGPT/tree/main

I am trying to run this project, but I encountered an error after sending the "Hi" message.

Error

HTTPSConnectionPool(host='https', port=443): Max retries exceeded

with url: //dummy.openai.azure.com/.openai.azure.com/openai/deployments/dummy-gpt-35-turbo/extensions/chat/completions?api-version=2023-03-15-preview

(Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000017BFF2529B0>: Failed to resolve 'https' ([Errno 11001] getaddrinfo failed)"))

I have set the following parameters in my app.py

Git Repository Project Settings

ACS Integration Settings

AZURE_SEARCH_SERVICE = ""

AZURE_SEARCH_INDEX = ""

AZURE_SEARCH_KEY =""

AOAI Integration Settings

AZURE_OPENAI_RESOURCE = ""

AZURE_OPENAI_MODEL = ""

AZURE_OPENAI_KEY = ""

Note

My Azure Open AI chatplayground working fine with my data

Please, can anybody help me?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,510 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.