Repository navigation
|
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. |
Answered by
evchaki
Sep 16, 2024
Replies: 1 comment
|
KishanJ98 - samples are coming this week to show off how to do function choice behavior. Docs are coming very soon also. |
0 replies
Answer selected by
sophialagerkranspandey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KishanJ98 - samples are coming this week to show off how to do function choice behavior. Docs are coming very soon also.