Skip to content

HTTPSConnection object at 0x00000244F06ABA10>: Failed to resolve 'https' ([Errno 11001] getaddrinfo failed) #93

@cetmca

Description

@cetmca

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: <urllib3.connection.HTTPSConnection object at 0x00000244F06ABA10>: 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=""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions