Skip to content

Vanilla Next.js project illustrating how to run a chatbot with PlayFetch

Notifications You must be signed in to change notification settings

yello-xyz/playfetch-chatbot-demo

Repository files navigation

PlayFetch Chatbot Demo

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.

Getting Started

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.

Learn More

To learn more about PlayFetch, take a look at our Substack.

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

Deploy on Vercel

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.

About

Vanilla Next.js project illustrating how to run a chatbot with PlayFetch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published