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: v9View latest version
A lightweight chat bot that uses OpenAI's API to generate responses to user messages.
- Clean, minimalist chat interface
- OpenAI-powered responses
- Simple implementation with minimal dependencies
- 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
- Stateless design for reliability
OPENAI_API_KEY
: Your OpenAI API key (required)
If you encounter issues:
- Ensure your OpenAI API key is correctly set in the environment variables
- Check that you have sufficient quota in your OpenAI account
- Try refreshing the page if the interface doesn't load properly