There is a new repository that covers the latest Azure AI code-first experiences. Navigate to and star this one instead: https://github.com/Azure-Samples/rag-data-openai-python-promptflow/tree/main |
---|
Warning
Features used in this repository are in preview. Preview versions are provided without a service level agreement, and they are not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.
This repository contains a copilot quickstart sample that can be used with the Azure AI Studio preview. Explore these resources to learn more about this supports:
- Azure AI Studio - build, evaluate & deploy AI solutions from one space.
- Azure AI services - AI models & APIs accessible from Azure AI Studio.
- Azure AI SDK - access to Azure AI services from code (programmatic).
- Azure AI CLI - access to Azure AI services from command-line (shell).
The sample walks through creating a copilot enterprise chat API that uses custom Python code to ground the copilot responses in your company data and APIs. The sample is meant to provide a starting point that you can further customize to add additional intelligence or capabilities. Following the steps in the sample tutorial, you will be able to:
- setup your development environment (pre-built or custom options)
- create Azure AI resources and project to build the copilot
- create an Azure Search index containing product information
- run your copilot with a sample question, and evaluate it
In the process, you will get familiar with the Azure AI CLI for setting up and configuring your copilot from the commandline. And you'll learn to use the Azure AI SDK (from Python code or from Jupyter Notebooks) to interact programmatically with your copilot.
Note
We do not guarantee the quality of responses produced by this sample copilot or its suitability for use in your scenario, and responses will vary as development of this sample is ongoing. You must perform your own validation the outputs of the copilot and its suitability for use within your company.
Ready to get started on the tutorial? The quickest way is to use a pre-built development environment. Click the button below to open the repo in GitHub Codespaces. Then continue with the README directions.
- Start Here if you want an overview of project and key concepts first.
- Jump Here if just want to get started with the development steps.
This tutorial provides a quickstart using the Azure AI SDK from Python, to build a basic copilot application. Want to explore advanced samples using specific frameworks? Try these samples next:
- Azure AI Studio: Semantic Kernel Quickstart
- Azure AI Studio: PromptFlow Quickstart
- Azure AI Studio: Langchain Quickstart
- Azure AI Studio - UI to explore, build & manage AI solutions.
- Azure AI Studio Docs - Azure AI Studio documentation.
- Azure AI Services - Azure AI Services documentation.
- Training: Using vector search in Azure Cognitive Search
- Tutorial: Deploy a web app for chat on your data
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.