@quatrain/chat
v1.0.3
Published
Conversational memory, prompt template orchestration, and LLM communication logic for the Quatrain framework
Readme
@quatrain/chat
The core conversational engine for the Quatrain framework.
This package provides a headless, UI-agnostic implementation of conversational agents, handling message history, prompt templating, context injection (RAG), and integration with LLM providers (Gemini, OpenAI, Ollama).
Architecture
@quatrain/chat is decoupled from the frontend presentation layer.
- Logical controllers like
ChatControllermanage session state and interactions. - Visual presentation (chat bubbles, input boxes) is managed separately in the
CoreUXworkspace.
License
AGPL-3.0-only
