
RAG chat on PostgreSQL
azd init -t rag-postgres-openai-python
Use the Azure Developer CLI (azd) to deploy this template. Learn more about azd 
or
About this templateCreates a chat frontend with an API backend using OpenAI chat models to answer questions about rows in a PostgreSQL database.

Prerequisites
Sign up for an Azure account.
Request access to Azure OpenAI Service.
Have the Azure permissions required to deploy.
Architecture
Resources includedThis template deploys the following resources.
Azure Database for PostgreSQLAzure | Fully managed, intelligent, and scalable PostgreSQL. | Databases |
Azure Container AppsAzure | Build and deploy modern apps and microservices using serverless containers. | Compute |
Azure OpenAI ServiceAzure | Apply advanced coding and language models to a variety of use cases. | AI + Machine Learning |
Azure MonitorAzure | Full observability into your applications, infrastructure, and network. | DevOps |
Summary
Created by
Last updated
Languages
Models
Tags
Python, TypeScript
GPT-4 Omni mini, Code Llama
Guided Search
Azure Monitor
Azure Container Apps
Azure OpenAI Service
Azure Database for PostgreSQL
GPT-4 Omni mini
Code Llama
You're only charged when you deploy to Azure. You can try this template locally or in VS Code for the Web at no cost.