Azure-Samples / Azure-Samples/ai-rag-chat-evaluator
HTTPSConnection object at 0x00000244F06ABA10>: Failed to resolve 'https' ([Errno 11001] getaddrinfo failed)
- Dominant language
- Python
- Stars
- 335
- Forks
- 114
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 1
Description
I am getting the below error like this, any thoughts
>python -m scripts generate --output=example_input/qa.jsonl --numquestions=200 --persource=5
File "C:\ragevaluator\.venv\Lib\site-packages\azure\core\pipeline\transport\_requests_basic.py", line 401, in send
raise error
azure.core.exceptions.ServiceRequestError: : Failed to resolve 'https' ([Errno 11001] getaddrinfo failed)
my .env looks like this
OPENAI_HOST="azure"
OPENAI_GPT_MODEL="gpt-35"
# For Azure OpenAI only:
AZURE_OPENAI_EVAL_DEPLOYMENT="gpt-35-turbo"
AZURE_OPENAI_SERVICE="https://openai-xxxxxzammoai-dev-xxxx.openai.azure.com/"
AZURE_OPENAI_KEY="42db2466e"
# For generating QA based on search index:
AZURE_SEARCH_SERVICE="https://acxxs-xxxxx-311zammoai-dev.search.windows.net"
AZURE_SEARCH_INDEX="index-xxxx-zmobot-dev"
AZURE_SEARCH_KEY=""
Contributor guide
Research direction
Start with the `python -m scripts generate --output=example_input/qa.jsonl --numquestions=200 --persource=5` entry point and compare the reported request failure with the values in `.env`, especially the Azure service settings. Done means the generation command can resolve the configured service and complete successfully; the issue does not name a test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100