Overview
This guide provides a quickstart for building your first Generative UI application with C1.Components
C1 provides two components for building Generative UI applications:<C1Component>
: A component that renders the Generative UI.<C1Chat>
: A pre-built chat component that includes a chat history, a message composer, and a loading indicator.
NextJS
The easiest way to begin is by using C1 within a NextJS projectCreate with the CLI
- Create a new app called
my-c1-project
cd my-c1-project
and start the dev server- Visit http://localhost:3000
System requirements
- Node.js 20.9 or later
- macOS, Windows or Linux
Python
Start the python server
Start the frontend server
System requirements
- Node.js 20.9 or later (for the frontend server)
- Python 3.x version (for the backend server)
- macOS, Windows or Linux