Releases: akazwz/workersai
Releases · akazwz/workersai
Release v0.0.2 Complete Rewrite
Release v0.0.2
This release marks a complete rewrite of the Cloudflare AI Chat Demo application, rebuilt from the ground up leveraging the full power of the Cloudflare stack.
Highlights
- Complete Rewrite: The entire codebase (frontend and backend) has been rewritten for improved structure, performance, and maintainability.
- Cloudflare-Native: Built entirely using Cloudflare services:
- Compute: Cloudflare Workers
- Real-time: Durable Objects (via WebSockets)
- AI: Cloudflare AI (Text Generation, TTS, STT) & AI Gateway
- Storage: Cloudflare KV (for session tokens)
- Core Features Implemented:
- AI-powered chat conversations.
- Text-to-Speech (TTS) audio output.
- Speech-to-Text (STT) voice input.
- Real-time message streaming.
- Basic conversation management (list, create, delete, rename, pin).
- Anonymous user sessions.
- Modern Stack: Utilizes TypeScript, React (Vite), ConnectRPC, and Protocol Buffers for a robust development experience.
Known Issues / Future Work
- Known Issues:
- Speech-to-Text accuracy may vary depending on background noise.
- Occasional UI glitches during rapid message exchanges.
- Future Work:
- Implementation of persistent user accounts (beyond anonymous sessions).
- Adding support for selecting different TTS voices.
- Improved context handling for longer conversations.
- Potential integration with Drizzle ORM for more robust data storage.