chatgpt-artifacts  by ozgrozer

Web app for ChatGPT artifacts

created 1 year ago
508 stars

Top 62.2% on sourcepulse

GitHubView on GitHub
Project Summary

This project brings Anthropic's "Artifacts" feature to ChatGPT, enabling users to define structured outputs for AI models. It targets developers and power users seeking more predictable and programmatic interactions with LLMs, facilitating the integration of AI-generated data into applications.

How It Works

The project leverages the OpenAI Node.js library to interact with LLM APIs. It intercepts model responses and processes them to extract structured data, mirroring Claude's Artifacts functionality. This approach allows for custom model configurations, including local Ollama instances, Groq, and Azure OpenAI, by modifying API endpoints and model names within the pages/api/chat.js file.

Quick Start & Requirements

  • Install dependencies: npm install
  • Configure API key: Duplicate .env.example to .env and add your OpenAI API key.
  • Build and start: npm run build and npm start.
  • Supports local LLMs via Ollama, Groq, and Azure OpenAI with code modifications.

Highlighted Details

  • Replicates Claude's Artifacts feature for structured AI output.
  • Supports multiple LLM backends: OpenAI, Ollama, Groq, Azure OpenAI.
  • Allows customization of API endpoints and model names for different providers.

Maintenance & Community

No specific information on contributors, sponsorships, or community channels is provided in the README.

Licensing & Compatibility

  • License: GPL-3.0.
  • Compatibility: The GPL-3.0 license may impose copyleft restrictions on derivative works, potentially impacting commercial or closed-source integrations.

Limitations & Caveats

The project requires manual code modification to switch between different LLM providers and models. The GPL-3.0 license may present compatibility challenges for certain commercial use cases.

Health Check
Last commit

1 year ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.