Skip to content

Commit 11647d9

Browse files
committed
2 parents d261726 + 8694983 commit 11647d9

File tree

15 files changed

+45
-1950
lines changed

15 files changed

+45
-1950
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# 5-Min RAG SQL Accelerator
2+
3+
Welcome! 🎉 This repository contains two solution accelerators. These tools demonstrate the ease of deployment and the powerful vector search capabilities of Azure SQL.
4+
5+
Credits: Developed by Kushagra Agarwal - Orginal [Repo](https://github.com/Kushagra-2000/ARM_SQL_OpenAI)
6+
---
7+
8+
## 🚀 Step 1: One-Click Deployment Accelerator
9+
10+
**Purpose**: Automatically deploy the entire Azure SQL + OpenAI setup for a Retrieval-Augmented Generation (RAG) application using an ARM template.
11+
12+
**Highlights**:
13+
- One-click deployment via Azure Resource Manager (ARM)
14+
- Sets up Azure SQL Database, OpenAI integration, and supporting resources
15+
- Reduces manual configuration to just click and go
16+
- Completes setup in under 5 minutes
17+
18+
**Setup Instructions**:
19+
1. Navigate to the folder [Step1-OneClick-Deployment](https://github.com/Azure-Samples/azure-sql-db-vector-search/tree/main/5-Min-RAG-SQL-Accelerator/Step1-OneClick-Deployment)
20+
2. Follow the instructions in the README to deploy using the ARM template.
21+
3. Once deployed, your backend RAG infrastructure is ready to use.
22+
23+
---
24+
25+
## 🌐 Step 2: Web-Based Demo for Vector Search
26+
27+
**Purpose**: Launch a Streamlit-based web UI that showcases Azure SQL’s native vector search capabilities.
28+
29+
**Highlights**:
30+
- Visual demo for semantic search scenarios (e.g., product search, resume matching)
31+
- No coding required to explore and validate vector search
32+
- Helps users understand and interact with vector search features in Azure SQL
33+
34+
**Setup Instructions**:
35+
1. Navigate to the [Step2-Deploy-RAG-App](https://github.com/Azure-Samples/azure-sql-db-vector-search/tree/main/5-Min-RAG-SQL-Accelerator/Step2-Deploy-RAG-App)
36+
2. Follow the README to install dependencies and run the Streamlit app.
37+
3. Use the web UI to explore vector search on sample data.
38+
39+
---
40+
41+
42+

5-Min-RAG-SQL-Accelerator/Step2-Deploy-RAG-App/RAG-unstructured-docs/Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This Streamlit app demonstrates how to build a Retrieval-Augmented Generation (R
2929

3030
## Automated Deployments
3131
- **ARM Template Scripts:**
32-
- ARM templates are provided separately to automate the deployment of required resources. Please refer to [this repository](https://github.com/Kushagra-2000/ARM_SQL_OpenAI) for scripts and detailed instructions.
32+
- ARM templates are provided separately to automate the deployment of required resources. Please refer to [this repository](https://github.com/Azure-Samples/azure-sql-db-vector-search/tree/main/5-Min-RAG-SQL-Accelerator/Step1-OneClick-Deployment) for scripts and detailed instructions.
3333
- Follow the RAG for Unstructured Docs for this particular demo.
3434
- **SQL on Fabric:**
3535
- Create a workspace in Fabric, if not existed before.
@@ -52,7 +52,7 @@ This Streamlit app demonstrates how to build a Retrieval-Augmented Generation (R
5252
5. **Run the Streamlit App:**
5353
- Navigate to the cloned repository destination and then run the below command to start the app on `localhost:8501`
5454
```
55-
streamlit run streamlit_unstructured.py
55+
streamlit run <filename.py> --server.maxUploadSize 500
5656
```
5757
6. **Configure Credentials:**
5858
- Launch the app and enter your Azure endpoints, API keys, and SQL connection string in the sidebar.

5-Min-RAG-SQL-Accelerator/Step2-Deploy-RAG-App/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ These demo follow the Jupyter notebook provided in the [azure-sql-db-vector-sear
2525
## Resources Deployment
2626

2727
### One Click Deployment
28-
Automated deployment scripts are available in a separate [GitHub repository](https://github.com/Kushagra-2000/ARM_SQL_OpenAI) that will help to deploy required component.
28+
Automated deployment scripts are available in a separate [GitHub repository](https://github.com/Azure-Samples/azure-sql-db-vector-search/tree/main/5-Min-RAG-SQL-Accelerator/Step1-OneClick-Deployment) that will help to deploy required component.
2929

3030
This includes ARM templates to provision:
3131
- Azure SQL DB

azure-sql-db-vector-search/5-Min-RAG-SQL-Accelerator/Step1-OneClick-Deployment/OpenAI_deployment.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

azure-sql-db-vector-search/5-Min-RAG-SQL-Accelerator/Step1-OneClick-Deployment/RAG_deployment.json

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)