json-data-ai-template  by enesozturk

Next.js 13 template for JSON data extraction via AI

created 1 year ago
567 stars

Top 57.6% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a template for building AI-powered applications that ingest and structure JSON data based on user prompts. It's designed for developers looking to quickly prototype or deploy data-centric AI solutions, leveraging a modern web stack for a seamless user experience.

How It Works

The template utilizes the Vercel AI SDK to integrate with large language models, specifically OpenAI's GPT-4, to process natural language prompts and generate structured JSON output. It employs React Hook Form for dynamic form creation, Shadcn UI for a polished interface, and Supabase for backend services, including data storage and authentication. Vercel KV is used for implementing rate limiting.

Quick Start & Requirements

  • Install dependencies: bun i
  • Setup environment variables: Create a .env.development file with KV_REST_API_READ_ONLY_TOKEN, KV_REST_API_TOKEN, KV_REST_API_URL, KV_URL, SUPABASE_API_KEY, NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, and OPENAI_API_KEY.
  • Run the app: bun run dev
  • Prerequisites: Node.js, Bun, Vercel KV, Supabase, OpenAI API key.

Highlighted Details

  • Leverages Next.js 13 for modern React development.
  • Integrates Vercel AI SDK for seamless LLM interaction.
  • Utilizes Shadcn UI and React Hook Form for efficient UI development.
  • Includes Vercel KV for rate limiting and Supabase for backend services.

Maintenance & Community

The project is maintained by enesozturk. Further community or roadmap information is not detailed in the README.

Licensing & Compatibility

Licensed under the MIT License. This permissive license allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The project relies on several external services (Vercel KV, Supabase, OpenAI), requiring API keys and potential costs. Setup involves configuring multiple environment variables.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Feedback? Help us improve.