This is a Next.js project bootstrapped with create-next-app
and illustrating how to run a simple chatbot with PlayFetch.
If you would like to join the waitlist for access to PlayFetch, you can do so here. If you would like to get in touch with us directly, please send an email to hello at playfetch dot ai.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Add the following environment variables to .env.local
:
PLAYFETCH_API_KEY=sk-[...]
PLAYFETCH_URL=https://playfetch.ai/[...]
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
To learn more about PlayFetch, take a look at our Substack.
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.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.