SecureInfo Concierge is an educational platform simulating a sophisticated financial assistant application. It integrates LLM capabilities with database retrievals, designed to teach secure data handling and interactions.
- FastAPI backend with RESTful services
- Azure OpenAI integration for intelligent responses
- SQLite database for storing financial data
- JWT-based authentication for secure endpoints
- Minimalist web interface for user interactions
-
Install dependencies:
pip install -r requirements.txt
-
Run the application (recommended for development):
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --reload-dir app
This will restart the server automatically when you change code in the
app
directory. -
Access the application in your web browser on port 8000
-
If you want to login, use the following default credentials:
- Username: johndoe
- Password: secret
app/
: Main application directoryapi/
: API routes and endpointsauth/
: Authentication related codedatabase/
: Database connection and queriesmodels/
: LLM service implementationstatic/
: Static assets (CSS, JavaScript)templates/
: HTML templates
data/
: Directory for storing the SQLite databaseDockerfile
: Instructions for building the Docker imagedocker-compose.yml
: Docker Compose configurationrequirements.txt
: Python dependencies
- API Endpoint: The
app/api/secure-query
endpoint processes all financial queries and returns AI-generated responses - LLM Service: The
app/models/llm_service.py
manages OpenAI interactions and query interpretation - Dashboard: The main interface at
app/templates/dashboard.html
for submitting queries and viewing responses - Login Page: The authentication interface at
app/templates/index.html
for user access management