This project demonstrates how to use AI-driven features on Azure PostgreSQL Flexible Server. It includes steps to set up the environment, populate the database with sample data, and use various AI-driven features to enhance your application.
- Part 0 - Log into Azure
- Part 1 - Getting started with AI on Azure PostgreSQL flexible server
- Part 2 - Using AI-driven features in Postgres
- Part 3 - How RAG chatbot accuracy improves with different technique
- Part 4 - Improving RAG Accuracy with Advanced Techniques - Reranking and GraphRAG
This will require and Azure subscription, follow our Graph RAG solution accelerator
Since the local app uses OpenAI models, you should first deploy it for the optimal experience.
- Copy
.env.sampleinto a.envfile. - To use Azure OpenAI, fill in the values of
AZURE_OPENAI_ENDPOINTandAZURE_OPENAI_API_KEYbased on the deployed values.
Install required Python packages and streamlit application:
python3 -m venv .ignite_lab
source .ignite_lab/bin/activatepip install -r requirements.txtFrom root directory
cd App
streamlit run rag_chatbot_demo.pyWhen run locally run looking for website at http://localhost:8501/

