https://github.com/riccardosenica/synthetic-consumer-data
Generate synthetic consumers and their weekly purchase history using AI. Create synthetic data with detailed profiles, shopping habits, and consistent spending patterns.
https://github.com/riccardosenica/synthetic-consumer-data
anthropic generative-ai nexjs synthetic-data typescript vercel
Last synced: 30 days ago
JSON representation
Generate synthetic consumers and their weekly purchase history using AI. Create synthetic data with detailed profiles, shopping habits, and consistent spending patterns.
- Host: GitHub
- URL: https://github.com/riccardosenica/synthetic-consumer-data
- Owner: RiccardoSenica
- License: mit
- Created: 2024-11-23T20:27:23.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-18T21:17:12.000Z (3 months ago)
- Last Synced: 2025-02-04T20:42:21.641Z (3 months ago)
- Topics: anthropic, generative-ai, nexjs, synthetic-data, typescript, vercel
- Language: TypeScript
- Homepage:
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Synthetic Consumers Data Generator
A NextJS application that makes use of the Anthropic Claude API to generate synthetic consumers and their weekly purchase history. For creating synthetic datasets for retail/e-commerce applications with believable user behaviors and spending patterns.
## 🌟 Features
- Generate detailed synthetic consumers including:
- Consumer demographics and household details
- Daily routines and activities
- Shopping preferences and brand loyalties
- Financial patterns and spending habits
- Contextual behaviors and upcoming events
- Create realistic weekly purchase histories that match consumer profiles## 🚀 Getting Started
1. Install dependencies:
```bash
yarn install
```2. Set up your environment variables:
```bash
cp .env.example .env
```3. Build and start the application:
```bash
yarn build
yarn start
```For development:
```bash
yarn dev
```## 🛠️ Available Scripts
- `yarn start` - Start the production server
- `yarn dev` - Start development server with hot reload
- `yarn build` - Build the TypeScript project
- `yarn lint` - Run ESLint with automatic fixes
- `yarn format` - Format code using Prettier
- `yarn typecheck` - Check TypeScript types
- `yarn prepare` - Install husky
- `yarn audit` - Run audit
- `yarn vercel:link` - Link Vercel project
- `yarn vercel:env` - Pull .env from Vercel## ⚠️ Disclaimer
The consumers and purchase histories generated by this tool are fictional and should not be used as real user data. They are intended for testing and development purposes only.