microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
21.38k stars 3.14k forks source link

.Net: Bug: HomeAutomation demo not working #7307

Open iroy2000 opened 2 months ago

iroy2000 commented 2 months ago

Describe the bug I'm trying to use the demo code https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples/Demos/HomeAutomation

I didn't make any customization, and use the code as is.

Expected behavior It should invoke the function in MyLightPlugin

"Actual"

Result: I'm sorry, as an AI language model, I do not have the capability to directly interact with physical devices such as a porch light. However, if you have a smart home system set up with an API or voice control, you may be able to use the system's tools, functions, or voice commands to turn on the porch light.

Screenshots If applicable, add screenshots to help explain your problem.

Platform

markwallace-microsoft commented 1 month ago

@iroy2000 Can you try using gpt-4o? The model you use must support function calling for this demo to work.