I was doing some research into how the some of these frameworks create tasks for the AI to follow. One of the better frameworks I have used is Semantic Kernel, which is opensource, so I figured I’d dive into the code and check it out.
I suspected they were just using AI to create the tasking for itself via prompt templating, and it seems that is exactly what they are doing. Here is the code responsible the task creation. If you take a look at line 10 you will see their prompt.
It is pretty basic, but very effective. I’m thinking there are probably more powerful methods to create really nice task creation. But that is what I will be doing for the next 2 weeks or so in my spare time between work.
I wanted to put it out there just in case anyone was wondering the same thing, but also a semi “call for ideas”. If anyone has any thoughts or papers trying out different things, I’d definitely like to take a look at them. Specifically, if you have any thoughts into how the OpenAI is doing the plugins creation, I’d definitely like to hear your thoughts. I have a feeling they are chopping up the OpenAPI and smooshing it together with the descriptions and function names. When I was looking at the debug console in the plugins development, my function names were reformatted a little bit, so I think the plugin interface description undergoes some sort of descriptive transformation. But it is just guesses at this point.