Skip to content

This applications implements a simple chat bot mimicking Ophelia's personality powered by OpenAI. This project was bespokely created for an art exhibition in collaboration with the artist themselves.

Notifications You must be signed in to change notification settings

Beenyaa/ophelia

Repository files navigation

Ophelia's Chatroom

This applications implements a simple chat bot mimicking Ophelia's personality using Next.js, API Routes, and OpenAI ChatGPT API.

This project was bespokely created for an art exhibition in collaboration with the artist themselves.

Components

  • Next.js
  • OpenAI API (ChatGPT) - streaming
  • API Routes (Edge runtime) - streaming

How to Use

Set up environment variables

Rename .env.example to .env.local:

cp .env.example .env.local

then, update OPENAI_API_KEY with your OpenAI secret key.

Next, run Next.js in development mode:

pnpm dev

The app should be up and running at http://localhost:3000.

Deploy it to the cloud with Vercel (Documentation).

Credits

This project was initially based off of Vercel's ai-gpt3-chatbot Example project which has massively sped up the development of this bespoke web application.

About

This applications implements a simple chat bot mimicking Ophelia's personality powered by OpenAI. This project was bespokely created for an art exhibition in collaboration with the artist themselves.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published