Yonom / assistant-ui

React Components for AI Chat 馃挰 馃殌
https://www.assistant-ui.com
MIT License
1.61k stars 269 forks source link
ai-chatbot chatbot conversational-ai copilot hacktoberfest hacktoberfest2024 radix-ui react-chatbot shadcn ui-components vercel-ai-sdk

assistant-ui Header

ProductDocumentationExamplesDiscord CommunityContact Sales

assistant-ui is a set of React components for AI chat, with integrations Langchain, Vercel AI SDK, TailwindCSS, shadcn-ui, react-markdown, react-syntax-highlighter, React Hook Form and more!

Wide model provider support (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) out of the box and the ability to integrate custom APIs.

Quick Start

assistant-ui starter template

Step 1: Create a new project with assistant-ui pre-configured:

npx assistant-ui@latest create my-app
cd my-app

Step 2: Update the .env file with your OpenAI API key.

Step 3: Run the app:

npm run dev