Update Function Choice Behavior for a chat completion function #9660
Replies: 1 comment
-
Hi @HuskyDanny, I am looking into this further and I am running the following Python sample: The FunctionChoiceBehavior settings have the type set as This code clears the advertised tools and tool choice so that the model, using its Chat History, can respond with a final answer. In the sample code I linked to above, the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi SK Team,
I added the function with the req setting and prompt template as default:





Now I want to update the req_setting when calling to this:
What I have tried it to pass in the arguments for kernel.invoke
But the result is weird, the included function is executed but the qa_with_context chat completion function itself is only returning empty string, Is there something wrong? Things works fine with the default, but I want the plug in to always get invoked so I update to the new one.
Here is the debug snapshot of the returned response
here is the request snapshot:
Beta Was this translation helpful? Give feedback.
All reactions