Skip to content

Typo in Lab 2.4 Code Block #152

@brianrandell

Description

@brianrandell

Lab 2.4 contains a typo in the following code block:

var executionSettings = new AzureOpenAIPromptExecutionSettings{
    MaxTokens = 500,
    Temperature = 0.5,
    TopP = 1.0,
    FrequencyPenalty = 0.0,
    PresencePenalty = 0.0,
    FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(),
    ResponseFormat = typeof(ArtistSuggestions), // <<--- add this line
};

The issue is the extra comma at the end of the code line for ResponseFormat. Please remove the comma to fix the syntax error.

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