DecisionLens is an innovative AI-powered application designed to assist businesses in making data-driven strategic decisions. It combines market analysis, business strategy assistance, and data strategy simulation to provide comprehensive insights for decision-makers.
Access Link here 👉 https://decisionlens.streamlit.app/
YoTube Demo : https://youtu.be/2AM8H-cqd6c
- User Authentication: Secure login and signup functionality using Firebase.
- Market Analysis: Analyze commodity and company stock data with interactive visualizations.
- Business Strategy Assistant: AI-powered query system for strategic business insights.
- Data Strategy Simulator: Upload and analyze business data, connect to databases, and get AI-generated strategic recommendations.
Before you begin, ensure you have met the following requirements:
- Python 3.7+
- pip (Python package manager)
- A Firebase account and project
- A Groq API key
- MySQL database (for the Data Strategy Simulator feature)
- Clone the repository: git clone https://github.com/yourusername/decisionlens.git cd decisionlens
- Create a virtual environment (optional but recommended): python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate
- Install the required packages: pip install -r requirements.txt
- Set up your Firebase configuration:
- Create a Firebase project at Firebase Console
- Generate a new private key for your service account
- Save the JSON file as
prithvi-45d3f-firebase-adminsdk-o4c77-62e1d077aa.json
in the project root directory
- Set up your Groq API key:
- Sign up for a Groq account and obtain an API key
- You'll enter this key in the application's sidebar when running the app
To run the DecisionLens application:
-
Ensure you're in the project directory and your virtual environment is activated (if you're using one).
-
Run the Streamlit app: streamlit run app.py
-
Open your web browser and go to
http://localhost:8501
(or the URL provided in the terminal). -
Log in or sign up to access the DecisionLens features.
Update the firebase_config
dictionary in app.py
with your Firebase project details:
firebase_config = {
"apiKey": "YOUR_API_KEY",
"authDomain": "YOUR_AUTH_DOMAIN",
"projectId": "YOUR_PROJECT_ID",
"storageBucket": "YOUR_STORAGE_BUCKET",
"messagingSenderId": "YOUR_MESSAGING_SENDER_ID",
"appId": "YOUR_APP_ID",
"databaseURL": "YOUR_DATABASE_URL"
}
Project Structure:
decisionlens/
│
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── README.md # Project documentation
└── prithvi-45d3f-firebase-adminsdk-o4c77-62e1d077aa.json # Firebase admin SDK key
License This project is licensed under the MIT License - see the LICENSE.md file for details.