The AI Financial Chatbot is a web-based financial assistant designed to help users with budget planning, investment suggestions, EMI calculations, and goal-based savings. The chatbot uses Google's Gemini API to provide intelligent financial insights and recommendations. The frontend is built using HTML, CSS, JavaScript, and Bootstrap, while the backend is powered by Python with Flask.
- Budget Planner – Helps users plan their monthly or yearly budget efficiently.
- EMI Calculator – Calculates EMI payments for loans based on principal, interest rate, and tenure.
- Goal-Based Savings – Assists users in setting and tracking their financial goals.
- Investment Suggestions – Provides personalized investment recommendations.
- Ghost Mode – Enables users to browse financial suggestions anonymously.
- AI Chatbot – A chatbot that provides real-time financial insights and answers queries using the Gemini API.
- HTML
- CSS
- JavaScript
- Bootstrap
- Python
- Flask
- Gemini API (Google's AI-powered API for financial insights)
Ensure you have the following installed on your system:
- Python 3.x
- Flask (
pip install flask) - Requests (
pip install requests)
- Clone the repository:
git clone https://github.com/your-repo/ai-financial-chatbot.git cd ai-financial-chatbot - Install dependencies:
pip install -r requirements.txt
- Set up your Gemini API key in the
.envfile:GEMINI_API_KEY=your_api_key_here
- Run the Flask server:
python app.py
- Open
index.htmlin your browser or navigate tohttp://127.0.0.1:5000/.
- Users can interact with the chatbot by entering queries related to financial planning.
- The budget planner, EMI calculator, and savings tracker can be accessed from the navigation bar.
- Ghost mode allows anonymous browsing of financial insights.
- Integration with more financial APIs for real-time stock & crypto market insights.
- User authentication and profile-based financial tracking.
- Mobile app version for better accessibility.
Contributions are welcome! Feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.