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.
Lab 2.4 contains a typo in the following code block:
The issue is the extra comma at the end of the code line for
ResponseFormat. Please remove the comma to fix the syntax error.