/hl-chatgpt-clone-typescript

Repo for ChatGPT clone tutorial in Next.js using Humanloop.

Primary LanguageTypeScript

This is the complete source code repository for the Humanloop Add user feedback tutorial.

Getting Started

Clone the repository and run npm i to install dependencies.

Add a .env.local file at the root of the project and include your Humanloop API key:

HUMANLOOP_API_KEY=...
# Optionally setup OpenAI API key, if you haven't already
OPENAI_API_KEY=

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

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

Learn More

To learn more about using Humanloop, check out the tutorials and guides in our documentation.

To learn more about Next.js, take a look at the following resources: