Skip to content

Latest commit

 

History

History

README.md

C1 App Template

This is a C1 by Thesys project bootstrapped with create-next-app

Built with Thesys

Getting Started

First, generate a new API key from Thesys Console and then set it your environment variable.

export THESYS_API_KEY=<your-api-key>

Install dependencies:

npm i

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing your responses by modifying the system prompt in src/app/api/chat/route.ts.

Sample usage

To see a sample usage of the app, you can use the following query:

  • Hi.
  • Hi, I want to buy a hat.
  • How many hats do you have?
  • Check my order.

Learn More

To learn more about Thesys C1, take a look at the C1 Documentation - learn about Thesys C1.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform.