Respec
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v2View latest version
A simple chat bot that uses OpenAI's API to generate responses to user messages.
- Web-based chat interface
- OpenAI-powered responses
- Message history tracking
- Visit the HTTP endpoint of this Val
- Type your message in the chat input
- Receive AI-generated responses
- Frontend: HTML, CSS (Tailwind), and JavaScript
- Backend: TypeScript with OpenAI integration
- Uses Val Town's blob storage to maintain conversation history
OPENAI_API_KEY
: Your OpenAI API key (required)