AI consultant with a knowledge base
From a business question to an informed decision
Delochat was conceived as a workspace for entrepreneurs: discuss an idea, examine an agreement, prepare an accounting task and keep the outcome. A general business assistant sits alongside legal and accounting modes built around legislation and professional reference materials. Guided prompts, history, templates and documents make consultation part of everyday work.
The challenge
Entrepreneurs need more than an answer: they need to understand its basis, prepare a document and return to the task later. The service had to separate business, legal and accounting questions, guide new users and give the team control over sources and answer quality.
My role
Andrey: product architecture, Next.js and NestJS, AI integration, retrieval, documents and administration.
Work through a business decision
A shop launch, an action plan or the risks of a new offer: the business mode helps break a question into concrete decisions. The answer appears progressively, and the conversation can continue with follow-up questions.

Identify what matters in an agreement
Legal mode has its own instructions and reference base of Russian codes, laws and selected materials. RAG retrieves relevant passages for the model; link and citation checks connect the reasoning to permitted sources. Users can move from a contract review to its legal references.
Prepare records for an accounting question
Accounting has its own instructions and sources. It helps establish the period, tax context, required records and calculation method before working with figures.
Keep the document and inspect its sources
A separate document card offers DOCX export. Source links remain available so users can return to the reference material without searching through the conversation.
Configure models for different tasks
Business, legal and accounting modes have separate models, instructions and limits. Retrieval settings determine which sources to search and how the retrieved context is supplied for the answer.
Maintain the knowledge base
Administrators add legal and professional materials, assign topics, sources and modes, then run and monitor indexing. The catalogue accommodates codes, laws, accounting standards and official guidance. Managing this reference base lets the team update consultation material independently of the chat interface.
The outcome
Delochat connects consultation with the work that follows. Users learn the interface through guided prompts, choose a mode, discuss a task with attachments, inspect sources and save a document. The team manages knowledge, models, templates, feedback and support within the same service.
The product around the conversation
Specialist modes are designed to retrieve from a managed source base, supplying relevant passages and mode-specific instructions to the model. The user journey spans the first visit, company information, documents, saved results and support.
Learn through the first visit
An interactive introduction walks through conversations, the three modes, attachments and the question field. Prompts explain how to continue, copy or share an answer and leave feedback.
Legal and accounting references
Russian legislation, regulations and professional materials are organised by topic and mode. Retrieval, permitted domains and citation checks define how sources are used.
A company workspace
The profile holds company and tax-regime details. Conversations and history search let users revisit earlier tasks, while attachments keep discussion close to its materials.
From discussion to a document
A template catalogue, separate document cards, source links and DOCX export carry consultation results into the next stage of work.
Manage the service
The team configures models and instructions per mode, maintains the source base, monitors indexing, reviews feedback and handles support requests. Plans, balances and administrative analytics support service operations.
Andrey — product architecture and full-stack development of Delochat.
View project source



