Using Semantic Kernel with an OpenAI model
The AI experts who build LLMs tend to use Linux as their operating system and Python for programming. Tutorials and documentation tend to assume developers will use those platforms, too. Using another programming language or framework that’s not natively designed for .NET, and dealing with cross-language or cross-framework issues can introduce complexity and reduce the maintainability of your project.
Understanding Semantic Kernel
Semantic Kernel is designed with the .NET ecosystem in mind, providing integration with C# and other .NET languages. This means it’s naturally easier to work with from a .NET developer’s perspective, offering libraries or packages that are idiomatic to C# developers.
Semantic Kernel can leverage the asynchronous programming model of .NET to handle input/output (I/O)-bound tasks more efficiently, which is crucial when integrating network-bound services like an LLM API. This results...