Replies: 1 comment
-
Tagging @markwallace-microsoft for visibility. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to implement a very simple use case where the conversational AI has access to a set of custom "skills" that I've imported into the kernel. At an API level, this would be done by passing the
functions
array to the/completions
endpoint, containing all the defined functions and their descriptions.However, after running the code below and intercepting the HTTP messages, it seems like the library isn't sending the functions to the OpenAI server:
I have seen samples in this repo where a prompt is invoked against a specific skill in the kernel, but I want GPT to intelligently choose which skill to use based on their description, and my prompt.
I know this is possible with the API, because in the past I've used a different OpenAI wrapper to achieve exactly this, except I had to manually write the skill parsing engine using reflection to extract all the skill methods and their descriptions with a custom attribute (similar to
SKFunction
).Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions