- Python 3.8 or higher
- Azure OpenAI service subscription
- Semantic Kernel Python SDK
- Install the required packages:
pip install semantic-kernel
- Create a
.env
file in your project directory with the following content:
AZURE_OPENAI_DEPLOYMENT_NAME=your-deployment-name
AZURE_OPENAI_ENDPOINT=https://your-resource-name.openai.azure.com/
AZURE_OPENAI_API_KEY=your-api-key
Run the scripts:
python 01_simple_agent.py
For chainlit samples, you will also need to install
pip install chainlit
and run with, e.g.
chainlit run 03_agent_with_ui.py