This is the complete source code repository for the Humanloop ChatGPT-clone tutorial.
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=...
Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 in your browser to see the result.
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:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.