-
I'm not sure if this is a semantic kernel issue but when an user asks
for the function
The AI responds
I don't want the user to see the internal working of the funtion. The AI should ideally respond with just "To change the state of the light you need to provide the id of the light and the state you want the light to be in.". Another observation is that when the user asks "I want to change the state of the light" the AI gives the expected response back. I reckon it is the "how" that is throwing the AI off. Any modfication that should be made in the system prompt for this to be achieved? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should be able to do this with system prompts to tell the user the way to respond. For your ideal state "To change the state of the light you need to provide the id of the light and the state you want the light to be in." the function would know it needs an ID as input. You can do examples in the system prompt on how you want it to respond to the user. |
Beta Was this translation helpful? Give feedback.
You should be able to do this with system prompts to tell the user the way to respond. For your ideal state "To change the state of the light you need to provide the id of the light and the state you want the light to be in." the function would know it needs an ID as input. You can do examples in the system prompt on how you want it to respond to the user.