This repository contains notebooks that explain how Azure AI Search works, RAG with Azure Open AI, building Agent with Azure Open AI Function calling.
The following Azure resources need to be provisioned before running the demo
- Azure AI Search
- Azure Open AI service
-
Create a .env with these variables, with the values taken from
.env.sample
.AZURE_OPENAI_SERVICE="SERVICE-NAME" AZURE_OPENAI_API_KEY=AZURE_OPENAI_API_KEY AZURE_OPENAI_DEPLOYMENT_NAME=DEPLOYMENT-NAME AZURE_OPENAI_EMBEDDING_DEPLOYMENT=AZURE_OPENAI_EMBEDDING_DEPLOYMENT AZURE_SEARCH_SERVICE=SEARCH-SERVICE-NAME AZURE_SEARCH_SERVICE_KEY=AZURE_SEARCH_SERVICE_KEY
-
Create a Python virtual environment or open the project in a container. (Skip if using CodeSpace)
-
Install the requirements (Skip if using CodeSpace):
pip install -r requirements.txt
These are the available notebooks, in suggested order: