Open Ai Assistants Api v2 Function Calls in c# .net
Introduction The world of Ai software development is moving faster than most of us can build a product using it. The Open AI SDK is already on V2 for the Assistants API. Although the documentation isn’t bad there is a shortage of examples in c#. Even ChatGPT doesn’t quite know how to use the .net Open AI SDK properly. Interacting with Functions The Open Ai Assistants API is pretty well thought out, although, perhaps a bit over engineered. The idea of functions is that the model will determine when to call the function. Once this occurs you must intercept the call in the pooling loop and determine which function to call. ...