Streamlit / README.md
B
Update README.md
1a4d9d3 verified

A newer version of the Streamlit SDK is available: 1.43.2

Upgrade
metadata
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.