Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.27 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.27 KB

AI Design Wins 2024 Demos

This repository contains notebooks that explain how Azure AI Search works, RAG with Azure Open AI, building Agent with Azure Open AI Function calling.

Pre-requisites

The following Azure resources need to be provisioned before running the demo

  1. Azure AI Search
  2. Azure Open AI service

Environment setup

  1. 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
  2. Create a Python virtual environment or open the project in a container. (Skip if using CodeSpace)

  3. Install the requirements (Skip if using CodeSpace):

    pip install -r requirements.txt

Notebooks

These are the available notebooks, in suggested order: