AI Insights is a web-based application designed to provide valuable insights for your business using AI-driven analytics. The application leverages multiple data sources to deliver comprehensive reports and visualizations, helping users make data-driven decisions with ease.
- Python 3.x
- Poetry package manager
- Google Sheets API credentials (either through environment variables or a
credentials.json
file)
-
Clone the repository:
git clone https://github.com/dmotts/ai-insights.git cd ai-insights
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Configure the necessary environment variables. You can set them in your environment or create a
.env
file in the root directory. Required variables include:GOOGLE_SHEETS_TYPE
GOOGLE_SHEETS_PROJECT_ID
GOOGLE_SHEETS_PRIVATE_KEY_ID
GOOGLE_SHEETS_PRIVATE_KEY
GOOGLE_SHEETS_CLIENT_EMAIL
GOOGLE_SHEETS_CLIENT_ID
GOOGLE_SHEETS_AUTH_URI
GOOGLE_SHEETS_TOKEN_URI
GOOGLE_SHEETS_AUTH_PROVIDER_X509_CERT_URL
GOOGLE_SHEETS_CLIENT_X509_CERT_URL
OPENAI_API_KEY
PROTONMAIL_ADDRESS
PROTONMAIL_PASSWORD
MONGODB_URI
Alternatively, you can store Google Sheets credentials in a
credentials.json
file in the root directory. -
Run the application:
python app.py
-
Access the application: Open your web browser and go to
http://localhost:5000
to view the application.
Contributions are welcome! It only takes five (5) steps!
To contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b my-feature-branch
. -
Make your changes and commit them:
git commit -m 'Add some feature'
. -
Push to the branch:
git push origin my-feature-branch
. -
Open a pull request.
Please read our Contributing Guidelines to get started! 🚀
🫶 Thank you for your support! 🙌
If you like this project and would like to see more features or show your support.
Feel free to reach out to the developer(s) and give this project a ⭐!