Technical requirements
To complete this chapter, you will need to have a recent, supported version of your preferred Python or C# development environment:
- For Python, the minimum supported version is Python 3.10, and the recommended version is Python 3.11
- For C#, the minimum supported version is .NET 8
In this chapter, we will call OpenAI services. Given the amount that companies spend on training these LLMs, it’s no surprise that using these services is not free. You will need an OpenAI API key, either directly through OpenAI or Microsoft, via the Azure OpenAI service.
If you are using .NET, the code for this chapter is at https://github.com/PacktPublishing/Building-AI-Applications-with-Microsoft-Semantic-Kernel/tree/main/dotnet/ch5.
If you are using Python, the code for this chapter is at https://github.com/PacktPublishing/Building-AI-Applications-with-Microsoft-Semantic-Kernel/tree/main/python/ch5.
You can install the required packages by going to the GitHub repository and using the following: pip install -
r requirements.txt
.