-
Copy
.env.sample
into a.env
file. -
Run these commands to install the web app as a local package (named
rag_app
), set up the local database, and seed it with test data:python -m pip install -e src/backend python ./src/backend/rag_app/setup_postgres_database.py python ./src/backend/rag_app/setup_postgres_seeddata.py
-
Run the FastAPI backend (with hot reloading). This should be run from the root of the project:
python -m uvicorn rag_app:create_app --factory --reload
-
Notifications
You must be signed in to change notification settings - Fork 497
A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
License
Azure-Samples/rag-postgres-openai-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
Topics
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published