An open API service indexing awesome lists of open source software.

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.

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.