The Financial Analysis Chatbot is a rule-based chatbot built using Python, Pandas, and Gradio.
It analyzes financial statement data of Microsoft, Apple, and Tesla for fiscal years 2023–2025 and answers financial queries through a conversational interface.
This project does not use any external AI APIs or Large Language Models (LLMs). Instead, it uses a modular rule-based Natural Language Processing (NLP) approach to understand user queries.
- 📊 Company financial reports
- 📈 Revenue, Net Income, Assets, Liabilities and Operating Cash Flow lookup
- 🔍 Company comparisons
- 🏆 Highest and Lowest financial metrics
- 📉 Financial trend summaries
- 💡 Financial insights
- 📚 Financial term definitions
- 💬 Interactive Gradio interface
- Python
- Pandas
- Gradio
- OpenPyXL
The chatbot uses financial statement data extracted from annual reports of:
- Microsoft
- Apple
- Tesla
Fiscal Years:
- 2023
- 2024
- 2025
- Tell me Apple's revenue
- Compare Microsoft and Apple revenue
- Highest revenue
- Lowest liabilities
- Apple financial report
- Tesla financial health
- Apple revenue trend
- What is operating cash flow?
- Open the notebook in Google Colab or Jupyter Notebook.
- Upload the Excel dataset when prompted.
- Run all cells.
- Launch the Gradio chatbot.
- Ask financial questions using the chat interface.
Harsh Kumar Satyarthi




