How to connect Custom GPT to live data warehouses. Implementation Guide
Published: October 24, 2024
Note - Jan 2025 : Update post and codes here

NEW !
Custom GPT hub on REX AI Co Analyst site
- Full templates
- How-to guides
- Backend code
- Technical breakdowns
- Resource Links
In this guide, I show how to connect a Custom GPT to live data warehouses .. AWS RDS MySQL and Azure MySQL ...simultaneously.
Just change database connections to connect to any other warehouse.
Run queries, transform, analyze and create charts with this Custom GPT. With text prompt, voice mode ...including in Hindi / Hinglish. A powerful analytics assistant.
Detailed implementation guide available at links below:
Medium.com: Analytics Assistant CustomGPT Implementation Guide
GitHub Repo: aws-azure-llm-assistant
✡ OpenAI's Custom Actions are a very powerful feature, allowing a GPT to connect to any data warehouse or web resource outside with just a simple API call. With two way transfer of data. I show an easy way to setup and generate the OpenAPI JSON schema required for Custom Actions.
Custom Actions transform a GPT into an LLM powered user interface for your customers as well as employees connected to all your backend, web and digital resources
✡ Analytics Assistant LLM App - Deployed on Public Website - Outside GPT Store
In my last post I demoed Analytics Assistant LLM Aapp deployed on a public website outside of GPT store. Connected to a FastAPI server. Along with a detailed step-by-step guide on how to build and deploy one
I use a modular flexible FastAPI architecture. All I did here was just plug in Custom GPT to the same FastAPI Server. And I was all set (shared in the guide)
I have successfully implemented both frameworks for clients... different clients / different use cases for both.
✡ WHAT IS COVERED IN THE IMPLEMENTATION GUIDE:
- Analytics Assistant CustomGPT: How it works - Architecture and Process Flow
- Implementation: Step 1 - FastAPI Server - Code
- Implementation: Step 2 - FastAPI Server - Deploy
- Implementation: Step 3 - Custom GPT: Setup Custom Function
- Data Warehouse - Azure - AWS - Others
- Additional Consideration: Security, Monitoring, Tracing, Feedback
- Cost Considerations
- Resources