Session
DePythonze my OpenAI C# Code
Anyone who wants to extend a chat with their own functionality using the OpenAI SDK for C# cannot avoid the ChatTools. This instructs OpenAI to use pre-prepared functions, such as for database access, in case a correct answer cannot be given. This is super practical but also incredibly cumbersome. Apparently, someone at Microsoft decided to transfer parts of the Python API into the C# code. What is absolutely understandable in Python becomes bad smelling code in C#.
In my presentation, I will introduce the library, which is still under development, that improves the ChatClient with ChatTools, without magic strings and confusing options. What will be particularly highlighted is the fact that my efforts have been rendered absurd by the existence of Semantic Kernel. I will present both solutions in comparison so that you can decide which is the better choice for you.
(AI generated translation ;))
Janek Fellien
Domain-Driven Design Enthusiast, Microsoft MVP but also father and rebel at work
Berlin, Germany
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top