Chat bot web MVP for single-turn AI dialogue
Top 70.6% on sourcepulse
This project provides a minimal viable product (MVP) web frontend for AI chatbots, targeting developers who need a quick start for building large language model (LLM) applications. It offers a clean, modular structure and integrates with various LLM APIs, simplifying the development of chat interfaces with features like streaming output and markdown rendering.
How It Works
The project leverages a modern Vue 3, Vite 6, and TypeScript stack, with Naive UI for components and Pinia for state management. It employs a single-turn conversation model, meaning each user query is processed independently without maintaining chat history. The architecture is designed for flexibility, allowing easy integration of different LLM APIs through a unified mapping mechanism and response transformation functions.
Quick Start & Requirements
pnpm i
pnpm dev
.env.template
to .env
and fill in API keys for desired LLM services.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The current implementation strictly supports single-turn conversations and does not retain chat history, though future multi-turn support is mentioned as a possibility without a concrete plan. The proxy configuration is only for development environments; production deployment requires separate CORS or reverse proxy setup.
6 days ago
1 day