📚 Documentation • 🖥️ Application • 🏠 Home
This is a Next.js app that uses openai and Autoblocks to power and monitor a chatbot.
View the deployed application at https://chatbot-example.autoblocks.ai
- Sign up for an Autoblocks account at https://app.autoblocks.ai
- Grab your Autoblocks ingestion key from https://app.autoblocks.ai/settings/api-keys
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named
.env
in this folder and include the following environment variables:
OPENAI_API_KEY=<your-openai-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-autoblocks-ingestion-key>
npm install
npm run dev
Visit http://localhost:3000 to see the app.
As you interact with the app, you will see traces appear in the Autoblocks explore page.