-
I have a YAML prompt and a GenerateImage KernelFunction which uses Dall-E to generate an image. However I want the SK to determine to call this function based on the intent of the user if it wants to generate an image.
This is the code I use to create the KernelFunction from YAML:
But this is not calling the method. If I put this in the prompt: {{ChatPlugin.GenerateImage}}, then the method is called, but it is called everytime regardless of the user wanting to generate an image or not. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@KishanJ98 - samples are coming this week to show off how to do function choice behavior. Docs are coming very soon also. |
Beta Was this translation helpful? Give feedback.
@KishanJ98 - samples are coming this week to show off how to do function choice behavior. Docs are coming very soon also.