Now shipping generative AI chatbots and calling agents.

AI services · LLM integration

LLM integration servicesChat over your company's documents, with sources and permissions.

In short

LLM integration means connecting a large language model such as Claude or GPT to your own documents and systems so it answers from your facts rather than the open internet. Diorbit builds retrieval-augmented generation, or RAG, that searches your manuals, policies, contracts and past tickets, shows the source of every answer and respects who is allowed to see what. It ships inside the tools your team already uses.

Last updated: 

A language model on its own knows the internet up to a date and nothing about your company. Integration is the work of giving it the right page of your own knowledge at the moment of the question, keeping it away from pages the person asking should not see, and proving that its answers are right before anyone relies on them.

Most companies already have the answers their staff and customers ask for. They sit in PDFs, shared drives, policy documents, price sheets, a helpdesk and the heads of two senior people. The cost is the time spent finding them, and the mistakes made when someone answers from memory instead. Chat over company documents turns that pile into something you can ask in plain language, with a link to the paragraph the answer came from.

We treat this as software engineering, not a demo. The search layer, the permissions, the evaluation set and the logs matter more than the choice of model, and they are what decide whether people trust the answers after the first week.

How does retrieval-augmented generation work?

Your documents are split into passages and indexed for search. When someone asks a question, the system finds the most relevant passages, gives only those to the model, and the model writes an answer that cites them. If nothing relevant is found, it says so.

StageWhat we buildWhy it matters
IngestConnectors that read PDFs, documents, web pages, helpdesk tickets and database recordsAnswers can only be as current as the content behind them
Chunk and indexPassages split on headings and meaning, stored with embeddings in PostgreSQL and pgvectorGood passages make good answers; bad splits lose context
RetrieveHybrid search on meaning and keywords, filtered by the user's permissionsThe model never sees what the person may not see
GenerateClaude, OpenAI or an open-weight model writes the answer from the retrieved passagesThe model is grounded instead of guessing
Cite and logEvery answer links to its sources and is stored with the passages usedPeople can check, and you can audit

What can chat over company documents be used for?

Anywhere people look up answers in documents many times a day: staff policies, product manuals, contracts, standard operating procedures, price lists and past support tickets.

  • Internal help desk: staff ask about leave rules, expense limits or procedures and get the policy paragraph.
  • Sales support: product specifications, pricing rules and approved answers to common objections.
  • Customer support: answers drafted from manuals and past tickets for an agent to send.
  • Operations: standard operating procedures searchable on a phone on the floor.
  • Contracts and compliance: find the clause, compare versions, list obligations and dates.
  • Onboarding: new joiners ask questions instead of reading every document on day one.

How do you handle permissions and confidential documents?

Permissions are applied at search time, before the model sees anything. Each passage carries the access rules of the document it came from, so a person only gets answers built from documents they could open themselves.

Your documents stay in your own database or cloud region. The model receives only the passages needed for each answer, and we never train models on your data. Where data must not leave your infrastructure at all, an open-weight model can run inside it. Every question, the passages used and the answer are logged so you can audit who asked what.

How do you know the answers are right?

With an evaluation set: a list of real questions your team asks, with the correct answer and source for each. It runs before launch and after every change to the content, the search or the model, and the results are numbers, not impressions.

  • Retrieval accuracy: did the search find the passage that holds the answer?
  • Answer accuracy: does the answer match what the passage says?
  • Citation accuracy: do the sources shown actually support the answer?
  • Refusal rate: does the system say it does not know when the answer is not in the documents?
  • Drift checks: the same set reruns when documents change, so quality does not quietly fall.

Where does the LLM integration live once it is built?

Inside the tools your team already opens: a search box in your intranet or admin panel, a chat panel in your CRM, a website assistant, WhatsApp, or a connector for an assistant such as Claude.

Diorbit's own CRM, Cerebro, is an example of the connector approach: it carries a Claude connector, so the team can ask Claude about leads, conversations and documents held in the CRM and get answers from the live records. The same pattern gives your staff answers from your systems in the assistant they already use, without copying data into a separate tool.

Which language model should we use?

The one that answers your evaluation set best at a cost and data location you accept. We work with Anthropic Claude, OpenAI and open-weight models, and keep the integration independent of any one of them.

Model choice changes faster than any document set, so we treat it as a setting rather than a foundation. The search layer, permissions and evaluation set stay the same when the model changes, and the evaluation set tells you whether a newer or cheaper model is actually as good on your questions before you switch. Hosted models suit most companies. An open-weight model inside your own infrastructure suits those whose data must never leave it, at the cost of running the hardware.

What does an LLM integration project look like?

A small, real slice first: one set of documents, one group of users, and an evaluation set of their actual questions. A prototype answering with sources is usually ready within a week, and production use within a month.

  • Collect the documents and twenty to fifty real questions with their correct answers.
  • Build ingestion, indexing and permission filters for that document set.
  • Prototype the chat with citations and run the evaluation set.
  • Tune chunking, search and instructions until the numbers hold.
  • Release to the first group in the tool they use, with logs reviewed weekly.
  • Add document sets and users one at a time.
Cerebro CRM admin dashboard

Case study · B2B Sales

Cerebro CRM. A CRM built by builders.

Cerebro runs Diorbit. It's the dashboard we look at when we wake up. We're now shipping it to other small teams that want a CRM they don't have to apologise for.

Cerebro's Claude connector lets the Diorbit team ask questions of the live CRM from inside Claude.

8
Team members
28
Live leads
10
Active projects
Read the Cerebro CRM case study ›

Questions

Asked before, answered plainly.

What is RAG in simple terms?
Retrieval-augmented generation. The system first searches your documents for the passages that answer a question, then has the language model write an answer from only those passages, with links back to them.
Is RAG better than fine-tuning a model on our documents?
For answering from documents, usually yes. RAG uses your latest content the moment it changes, shows its sources and respects permissions. Fine-tuning changes how a model writes, not what it reliably knows.
Which file types can the system read?
PDFs, Word and text documents, web pages, spreadsheets, helpdesk tickets and database records. Scanned documents are read with text recognition first, and we check the quality before indexing them.
Can staff only see answers from documents they have access to?
Yes. Each passage keeps the access rules of its source document, and search filters by the person's permissions before the model sees anything.
What happens when a policy document is updated?
The changed document is re-indexed automatically, and the old passages are removed, so answers follow the current version. The evaluation set reruns to confirm nothing broke.
Can the model run inside our own servers?
Yes. Where data must not leave your infrastructure, we deploy an open-weight model inside it. Hosted models such as Claude or OpenAI are used where your data rules allow.

Next step

Where do your answers live today?

Tell us which documents your team searches most. We reply within the hour on working days with how we would make them askable.

Headquartered in Mathura, India. Monday to Friday, 10:00 to 19:00 IST (UTC+5:30). +91 80692 77211

The right software pays for itself.

A free thirty-minute call. No pitch, no deck.