Spaces:
Runtime error
Runtime error
Commit
Β·
6dd7838
1
Parent(s):
d5cf5de
Updating readme
Browse files
README.md
CHANGED
|
@@ -1,95 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
βββ main/ # Main application modules
|
| 13 |
-
βββ models/ # Data models
|
| 14 |
-
βββ backend-venv/ # Python virtual environment
|
| 15 |
-
|
| 16 |
-
ui/ # Streamlit UI application
|
| 17 |
-
```
|
| 18 |
-
|
| 19 |
-
## Setup Instructions
|
| 20 |
-
|
| 21 |
-
1. Create and activate a Python virtual environment:
|
| 22 |
-
```bash
|
| 23 |
-
python3.12 -m venv backend-venv
|
| 24 |
-
source backend-venv/bin/activate
|
| 25 |
-
```
|
| 26 |
-
|
| 27 |
-
2. Install dependencies:
|
| 28 |
-
```bash
|
| 29 |
-
pip install -r requirements.txt
|
| 30 |
-
```
|
| 31 |
-
|
| 32 |
-
3. Set up environment variables:
|
| 33 |
-
- Create a `.env` file in the root directory
|
| 34 |
-
- Configure environment-specific settings
|
| 35 |
-
- Use python-dotenv for loading environment variables
|
| 36 |
-
|
| 37 |
-
## API
|
| 38 |
-
|
| 39 |
-
### Running the FastAPI Server
|
| 40 |
-
|
| 41 |
-
```bash
|
| 42 |
-
uvicorn api.api:app --reload
|
| 43 |
-
```
|
| 44 |
-
|
| 45 |
-
Access documentation:
|
| 46 |
-
- Swagger UI: http://localhost:8000/docs
|
| 47 |
-
- ReDoc: http://localhost:8000/redoc
|
| 48 |
-
|
| 49 |
-
## UI
|
| 50 |
-
|
| 51 |
-
### Running the Streamlit App
|
| 52 |
-
|
| 53 |
-
```bash
|
| 54 |
-
cd ui
|
| 55 |
-
streamlit run app.py
|
| 56 |
-
```
|
| 57 |
-
|
| 58 |
-
Access the UI at: http://localhost:8501
|
| 59 |
-
|
| 60 |
-
## Configuration
|
| 61 |
-
|
| 62 |
-
- Environment variables via `.env` file
|
| 63 |
-
- YAML configuration in `conf/config.yaml`
|
| 64 |
-
- Environment-specific settings through `APP_ENV`
|
| 65 |
-
|
| 66 |
-
## Development
|
| 67 |
-
|
| 68 |
-
The project follows a modular structure:
|
| 69 |
-
- Backend: Core RAG functionality
|
| 70 |
-
- API: REST endpoints for RAG operations
|
| 71 |
-
- UI: Streamlit-based interface for user interaction
|
| 72 |
-
|
| 73 |
-
## License
|
| 74 |
-
|
| 75 |
-
MIT License
|
| 76 |
-
|
| 77 |
-
## Contributing
|
| 78 |
-
|
| 79 |
-
Contributions are welcome! Please follow standard GitHub workflow.
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
# Questions
|
| 84 |
-
|
| 85 |
-
- why did fairfield cdc issue the rfp
|
| 86 |
-
|
| 87 |
-
Reliable
|
| 88 |
-
The Fairfield CDC issued the RFP to find a banking institution that shares their commitment to community development, redevelopment, and economic development activities. They aim to enhance the physical, economic, health, safety, welfare, and social aspects of life for all residents. The RFP is for banking services.
|
| 89 |
-
|
| 90 |
-
?
|
| 91 |
-
Fairfield CDC issued the RFP to solicit proposals from banking institutions to provide financial services. The RFP aims to find a bank that offers competitive rates and fees while ensuring deposit collateral. The selected bank will partner with Fairfield CDC to advance community development initiatives.
|
| 92 |
-
|
| 93 |
-
Hallucination
|
| 94 |
-
- Fairfield CDC issued the RFP to solicit proposals for a new banking partner. The RFP outlines specific requirements, including competitive rates, FDIC coverage, and customer support. The goal is to find a bank that can provide comprehensive services and support the CDC's community development initiatives.
|
| 95 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Finance QnA Demo
|
| 3 |
+
emoji: π³
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: cyan
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 8000
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Finance QnA Demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|