-
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
forked from pamelafox/rag-postgres-openai-python-ghu
-
Notifications
You must be signed in to change notification settings - Fork 0
A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
License
bijx/rag-postgres-openai-python-ghu
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.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 57.1%
- Bicep 19.9%
- TypeScript 16.2%
- CSS 3.5%
- Shell 1.5%
- PowerShell 1.0%
- Other 0.8%