Skip to content

Positional argument error for default connection in Health & Fitness Evals notebook #73

@aprilgittens

Description

@aprilgittens

For the Health & Fitness Evaluations with Azure AI Foundry notebook, when running the Cloud Evaluation with AIProjectClient code cell, a positional argument error is returned for step 3: Prepare an Azure OpenAI connection for AI-assisted evaluators.

The code currently says:

default_conn = project_client.connections.get_default(ConnectionType.AZURE_OPEN_AI)

However, if you modify to the following, it works:

default_conn = project_client.connections.get_default(connection_type=ConnectionType.AZURE_OPEN_AI)

If you'd prefer I submit a PR for the fix, just let me know - thanks!

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