AI Chat
Sections
AI Chat
AI Chat Module
The chat module provides an AI conversational assistant integrated into the application, with real-time streaming.
Features
- Conversational chat — Messaging interface with history
- SSE streaming — Real-time responses via Server-Sent Events
- Business context — The assistant understands your accounting data, invoices, payroll and documents
- Semantic search — Document querying via pgvector
- Multi-provider — Compatible with:
- Cloud API (via altiusone-ai SDK)
- Ollama (local models)
- vLLM (GPU inference)
- Any OpenAI-compatible provider
Architecture
User → Chat UI → Django View (SSE)
↓
AI Backend
├── altiusone-ai (cloud)
├── Ollama (local)
└── OpenAI-compatible
↓
Business context
├── Embeddings (pgvector)
├── Accounting data
└── Documents (OCR)
Mobile app
The AI chat is available on the iOS/Android mobile app with the same SSE streaming and business context access.
Interactions
- Documents — Semantic search in the DMS
- Accounting — Questions about entries and accounts
- Graph — Natural language exploration of the relationship graph
- Core — Permissions: only authorised roles can access the chat