|
--- |
|
title: Financial Chatbot |
|
emoji: π° |
|
colorFrom: blue |
|
colorTo: green |
|
sdk: streamlit |
|
sdk_version: "1.26.0" |
|
app_file: app.py |
|
pinned: false |
|
--- |
|
|
|
|
|
Financial Chatbot for Infosys Financial Reports |
|
------------------------------------------------ |
|
- This is a Retrieval-Augmented Generation (RAG) chatbot designed to answer questions about Infosys financial statements from the last two years (2022-2024). |
|
- The chatbot uses open-source models and advanced retrieval techniques to provide accurate and concise answers. |
|
|
|
Project Structure |
|
------------------ |
|
- The project is organized as follows: |
|
``` |
|
Financial-Chatbot/ |
|
βββ app.py # Streamlit application interface |
|
βββ chroma_db/ # Chroma vector database storage |
|
βββ Infy financial report/ # Folder containing Infosys financial PDFs |
|
β βββ INFY_2022_2023.pdf |
|
β βββ INFY_2023_2024.pdf |
|
βββ requirements.txt # Python dependencies |
|
βββ utils.py # Core functionality and RAG implementation |
|
βββ README.md # This file |
|
``` |
|
|
|
Installation |
|
-------------- |
|
Python Version: ```Python 3.10.xx``` |
|
|
|
Python lib requirements: ```pip install -r requirements.txt``` |
|
|
|
|
|
Place PDFs: |
|
------------ |
|
- Ensure the Infosys financial reports (INFY_2022_2023.pdf and INFY_2023_2024.pdf) are placed in the Infy financial report/ folder. |
|
|
|
|
|
Running the Application |
|
------------------------ |
|
- To start the chatbot, run the following command: |
|
|
|
```streamlit run app.py --server.enableCORS false``` |
|
|
|
- The application will start and provide a local URL (e.g., http://localhost:8501). Open this URL in your browser to interact with the chatbot. |
|
|
|
|
|
|