-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from btkcodedev/staging
Main release: v1.0.10:
- Loading branch information
Showing
36 changed files
with
721 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,59 @@ | ||
# Analysr - Business Analytics Platform 📊 | ||
|
||
<div align="center"> | ||
<img src="https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&q=80" width="800" alt="Analysr Banner" /> | ||
|
||
<p align="center"> | ||
<strong>Transform your business with powerful analytics and data-driven insights</strong> | ||
</p> | ||
</div> | ||
# Analysr - Review Analytics Platform 📊 | ||
|
||
 | ||
|
||
<b>Transform your business with <code>Analysr</code></b> | ||
|
||
## ⚡ One Liner | ||
This is my submission for <code>Airbyte-Motherduck Hackathon - December 2024 - January 2025</code> | ||
|
||
For all you speedy folks out there, here’s the summary: | ||
|
||
- **1.0.0** | ||
- With your customer reviews in Motherduck, along with your chosen business stack and areas of interest, Analysr is ready to dish out some insightful analytics. To sweeten the deal, Groq is also integrated to help you navigate all your growth phases. | ||
- Your analytics lineup features Aspect Analysis, a Word Sentiment Heatmap (for those feelings), Advanced Text Analysis, Groq Business Analytics, Keyphrase Analysis, and a handy Competitor Comparison. | ||
|
||
## 🏗️ Architecture | ||
 | ||
|
||
|
||
## 🚶Walkthrough | ||
|
||
1) To obtain customer review insights, sync your data to Motherduck with the schema: <code>{ "review_text": "string", "stars": "number" }</code> (More schemas will be supported soon). We recommend using Airbyte due to its extensive list of sources and seamless data movement.  | ||
 | ||
2) Visit the Analysr website at (growwithanalysr.web.app) and click on the "Get Started Now" button for onboarding. | ||
 | ||
3) Select your business stack and substack; Groq and queries will use this information to fetch insights. | ||
 | ||
4) Input your Motherduck token and wait for the connection to be established (the time required will depend on your network bandwidth). | ||
 | ||
5) Select the database and table where your customer reviews or any related reviews exist, and set the data limit. | ||
 | ||
6) Input your Groq token (recommended) to obtain AI-based insights. | ||
 | ||
7) Optionally provide your Airbyte bearer token (from the cloud.airbyte.com settings page) and connection ID (from the connections tab URL) to trigger a sync for updating your Motherduck table. | ||
 | ||
 | ||
8) Finally, input your area of interest for insights, such as customer satisfaction, and click "Continue to Dashboard." | ||
9) Wait a few seconds until all queries are executed and visualized. | ||
 | ||
10) Voilà! Your dashboard will be ready, featuring all Analysr's capabilities to support your next big step! | ||
 | ||
|
||
Need dataset and example method to test? | ||
1. Hugging face dataset URL which I used, https://huggingface.co/datasets/Yelp/yelp_review_full | ||
2. Import it to motherduck via airbyte (Set huggingface as source and motherduck as destination) | ||
3. Get Groq token at, https://console.groq.com/keys | ||
4. Click on continue to dashboard! That's it. Please try yourself, its fun! | ||
|
||
## ✨ Features | ||
|
||
### 🎯 Smart Business Insights | ||
- AI-powered analysis of customer feedback and market trends | ||
- Sentiment analysis and emotion tracking | ||
- Key phrase extraction and topic modeling | ||
- Competitive benchmarking and industry comparisons | ||
|
||
### 📈 Advanced Analytics | ||
- Real-time data processing and visualization | ||
- Customizable dashboards and reports | ||
- Trend analysis and forecasting | ||
- Performance metrics and KPIs | ||
|
||
### 🔍 Deep Customer Understanding | ||
- Customer sentiment tracking | ||
- Demographic analysis | ||
- Behavior pattern recognition | ||
- Satisfaction metrics and NPS tracking | ||
|
||
### 🚀 Growth Opportunities | ||
- Market opportunity identification | ||
- Customer pain point analysis | ||
- Competitive advantage analysis | ||
- Strategic recommendations | ||
- **Aspect Analysis:** Gain insights into different aspects of customer feedback. | ||
- **Word Sentiment Heatmap:** Visualize sentiment trends in your reviews. | ||
- **Advanced Text Analysis:** Delve deeper into the nuances of customer language. | ||
- **Groq Business Analytics:** Access data-driven insights to inform your growth strategy. | ||
- **Keyphrase Analysis:** Identify and analyze key phrases that matter to your customers. | ||
- **Competitor Comparison:** Benchmark your performance against competitors. | ||
|
||
## 🛠️ Technology Stack | ||
|
||
|
@@ -42,39 +63,38 @@ | |
- **Visualization**: Recharts | ||
- **State Management**: Zustand | ||
- **Animations**: Framer Motion | ||
- **Hosting**: Firebase (Production), Vercel (Experiment) | ||
- **Proxy**: Supabase edge functions | ||
- **CI/CD**: GitHub Actions for automated deployment | ||
|
||
## Future roadmap | ||
|
||
- **Microservice for generating queries**: Currently all queries for analytics are highly coupled with code, seperation of concerns to microservice | ||
- [x] Create mock express server and deployed as supabase functions | ||
- [ ] Separate DuckDB queries for as an api call | ||
- [ ] Enhance microservice with GPT Wrapper | ||
- [ ] Enhance business insights from Groq: Currently it hallucinates as the mixtral model is not powerful (Requires funding) | ||
|
||
## 🚀 Getting Started | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/yourusername/analysr.git | ||
git clone https://github.com/btkcodedev/airbyte-motherduck-hackathon.git | ||
``` | ||
|
||
2. Install dependencies: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
3. Set up environment variables: | ||
```env | ||
MOTHERDUCK_TOKEN=your_token | ||
GROQ_API_KEY=your_key | ||
``` | ||
3. Start the development server: | ||
|
||
4. Start the development server: | ||
```bash | ||
npm run dev | ||
``` | ||
|
||
## 📊 Dashboard Features | ||
|
||
- **Real-time Analytics**: Monitor business performance in real-time | ||
- **Sentiment Analysis**: Track customer sentiment and emotions | ||
- **Competitive Analysis**: Compare performance against industry benchmarks | ||
- **Text Analysis**: Extract insights from customer feedback | ||
- **Trend Visualization**: Track metrics over time with interactive charts | ||
- **AI Insights**: Get AI-powered recommendations for business growth | ||
|
||
## 🔒 Security | ||
|
||
- Secure token management | ||
|
@@ -84,18 +104,18 @@ npm run dev | |
|
||
## 📄 License | ||
|
||
MIT License - feel free to use this project for your own purposes! | ||
MIT License - feel free to use this project for your purposes! | ||
|
||
## 🤝 Contributing | ||
|
||
Contributions are welcome! Please feel free to submit a Pull Request. | ||
|
||
## 📬 Contact | ||
|
||
For questions and support, please open an issue or contact us at [email protected] | ||
For questions and support, please open an issue or contact at [email protected] | ||
|
||
--- | ||
|
||
<div align="center"> | ||
<strong>Built with ❤️ for growing businesses</strong> | ||
</div> | ||
<strong>Built with ❤️ for growing businesses by bktcodedev</strong> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.