https://github.com/fairooz14/financial-policy-bot
https://github.com/fairooz14/financial-policy-bot
chatbot
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fairooz14/financial-policy-bot
- Owner: Fairooz14
- Created: 2025-08-21T15:23:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-23T16:33:03.000Z (11 months ago)
- Last Synced: 2025-08-24T06:17:15.507Z (11 months ago)
- Topics: chatbot
- Language: Python
- Homepage: https://financial-policy-bot.streamlit.app/
- Size: 228 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Financial Policy Chatbot
A simple local chatbot for the provided financial policy PDF.
## Setup
```bash
python -m venv .venv
.venv\Scripts\Activate.ps1 # on Windows
pip install -r requirements.txt
```
## Build index (once)
```bash
python -m src.build_index --pdf "data/For Task - Policy file.pdf"
```
## Run the Streamlit app
```bash
streamlit run app.py
```
Then open http://localhost:8501 in your browser.
## Features
- Local PDF ingestion and chunking with page + section metadata.
- Vector search via FAISS + Sentence-Transformers (fallback: TF-IDF).
- Conversation memory: short/pronoun follow-ups are linked to prior topic.
---
Built 2025-08-21