This lab will guide you through creating a RAG application using relational data, Azure OpenAI, and the Azure SQL Database. The workshop utilizes the always free Azure SQL Database and the ability to call external REST endpoints via a system stored procedure (sp_invoke_external_rest_endpoint).
The lab contains 8 chapters:
- The Azure Portal and connecting to your free Azure SQL Database
- Getting started with REST in the database
- Creating embeddings for relational data with Azure OpenAI
- Using Azure SQL's VECTOR_DISTANCE for similarity searches
- Create a chat app on your data with RAG and Azure SQL
- Securing your data
- GraphRAG and the Azure SQL Database
- Extra Credit Activities
- Basic knowledge of SQL databases and RESTful APIs.
- An Azure account with the necessary permissions to create and manage resources.
- Visual Studio Code with mssql extension or Azure Data Studio installed
To begin the lab, clone this repository and follow the instructions in each section. Make sure to check the [deck] directory for additional materials.
Contributions to this lab are welcome! Please read the CONTRIBUTING.md
file for guidelines on how to contribute.
This lab is provided under the MIT License. See the LICENSE
file for more details.
A special thanks to all the contributors and maintainers of this lab.
For any queries or feedback regarding the lab, please open an issue in this repository or contact the lab maintainers directly.
Happy coding and learning!