You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console.WriteLine(awaitkernel.InvokePromptAsync("Given the current time of day and weather, what is the likely color of the sky in Boston?",new(settings)));
75
+
Console.WriteLine(awaitkernel.InvokePromptAsync("What is the likely color of the sky in Boston today?",new(settings)));
76
76
77
77
// Expected output: "Boston is currently experiencing a rainy day, hence, the likely color of the sky in Boston is grey."
78
78
}
@@ -104,7 +104,7 @@ public async Task RunPromptWithNoneFunctionChoiceBehaviorAdvertisingAllKernelFun
Console.WriteLine(awaitkernel.InvokePromptAsync("Tell me which provided functions I would need to call to get the color of the sky in Boston on a specified date.",new(settings)));
107
+
Console.WriteLine(awaitkernel.InvokePromptAsync("Tell me which provided functions I would need to call to get the color of the sky in Boston for today.",new(settings)));
108
108
109
109
// Expected output: "You would first call the `HelperFunctions-GetCurrentUtcDateTime` function to get the current date time in UTC. Then, you would use the `HelperFunctions-GetWeatherForCity` function,
110
110
// passing in the city name as 'Boston' and the retrieved UTC date time. Note, however, that these functions won't directly tell you the color of the sky.
@@ -122,7 +122,7 @@ public async Task RunPromptTemplateConfigWithAutoFunctionChoiceBehaviorAdvertisi
122
122
// The `function_choice_behavior.functions` property is omitted which is equivalent to providing all kernel functions to the AI model.
123
123
stringpromptTemplateConfig="""
124
124
template_format: semantic-kernel
125
-
template: Given the current time of day and weather, what is the likely color of the sky in Boston?
125
+
template: What is the likely color of the sky in Boston today?
126
126
execution_settings:
127
127
default:
128
128
function_choice_behavior:
@@ -177,7 +177,7 @@ public async Task RunNonStreamingChatCompletionApiWithAutomaticFunctionInvocatio
Console.WriteLine(awaitkernel.InvokePromptAsync("Given the current time of day and weather, what is the likely color of the sky in Boston?",new(settings)));
414
+
Console.WriteLine(awaitkernel.InvokePromptAsync("What is the likely color of the sky in Boston today?",new(settings)));
415
415
416
416
// Expected output: "Sorry, I cannot answer this question as it requires real-time information which I, as a text-based model, cannot access."
0 commit comments