Skip to content
saas · ai platform

Znai.cloud

RAG-as-a-Service platform. Upload your knowledge base, configure the prompt — get an AI Telegram bot in minutes. No code required.

Role
Full-Stack
Period
2025–2026
Status
Production

Znai.cloud is a RAG-as-a-Service platform that lets anyone create an AI-powered Telegram bot from their own knowledge base — without writing code.

Users register, upload documents (PDF, TXT, DOCX), and the platform automatically splits them into chunks, generates embeddings via OpenAI text-embedding-3-large, and indexes them in Qdrant. Then they provide a Telegram bot token, customize the system prompt — the bot is live.

Every query goes through a 3-stage enrichment pipeline: insights from the async ExtractionAgent (topics, entities from prior conversations), context from recent chat history, and semantic triggers that expand queries about prices, delivery, contacts.

The platform includes per-user quota management, chat session tracking, conversation insights, and a React frontend with landing page, admin panel, and chat interface.

Key Decisions
Self-service Telegram bot provisioning — token to live bot in minutes
3-stage query enrichment: DB insights → chat history → semantic triggers
Async ExtractionAgent for conversation insights (topics, entities, intent)
Per-user RAG isolation with Qdrant filtering + quota management
Tech Stack
FastAPI React Qdrant PostgreSQL OpenAI Telegram Bot API
Gallery