/ai-chat-app

A work-in-progress simple and configurable AI chat app utilizing OpenAI, Anthropic, and GoogleAI APIs.

Primary LanguageTypeScript

This project is a WIP!

This app is a simple but customizable AI chat app that aims to give the user as much control as possible.

Features

  • Swap between OpenAI, Anthropic, and GoogleAI models at any time, even mid-conversation
  • Input your own system prompt
  • Response streaming and option to regenerate responses
  • No account needed, all your conversations are stored locally and are portable
  • Customize model temperature, max tokens, and stop sequences
  • Automatic chat naming
  • Markdown support with syntax highlighting for codeblocks

Todo

  • OpenAI integration
  • Anthropic integration
  • Custom system prompts
  • Response streaming
  • Markdown support
  • Syntax highlighting
  • Advanced model options
  • Regenerating responses
  • Automatic chat naming
  • Export and import conversations
  • GoogleAI integration (non-streaming)
  • One-click experiences
  • Chat icons
  • Message editing
  • Switch between regenerated responses
  • GoogleAI streaming
  • Vision
  • Image generation?

Developing

Create a .env file using the template.
Install dependencies with pnpm i, then run the dev server with pnpm dev.

Pull requests and issues welcome!