Trilivy.AI Platform · Boty Full · The hidden gem

Click DEV. The chatbot becomes a classroom

On the surface, Boty Full is the page that lets you run as many working chatbot instances as you need. That was the original goal, and it does it well. But an administrator, data expert or IT lead who clicks the small DEV tag at the bottom of the page gets something no brochure lists: a live laboratory wired into every gear of the answer machine.

Pick the model. Pick the mode. Cut the knowledge base by group. Lower your clearance. Let two agents loose. Then open the hood and read the exact system prompt and the exact payload that went to the LLM. Same chat window.
The promise From “the AI is wrong” to “This AI is great” in five steps
One page, two faces

The same chatbot your users talk to, with the walls made of glass

Nothing is copied into a separate test tool. DEV is the production page, on the production instance, with the production knowledge base, plus a second row of controls and a door into the internals. What you learn in DEV is what really happens in PROD.

PROD

What your users see

  • A clean chat, the persona picker (when personas are on), new chat, upload, voice.
  • Answers shaped by the instance configuration: its model, mode, groups, guardrails.
  • No knobs, no internals, nothing to break.
DEV

What you see after one click

  • A second control row: instance, RAG table, LLM, mode, group, clearance, Agent, Agentic RAG, guardrails, Look and Feel.
  • A ? next to every control that explains what it does and where it lives in production.
  • The Debug payload button: every call of the last message, the system prompt and the exact LLM request.

Who gets the DEV row: a platform administrator on a DEV instance. The gate is enforced on the server. An ordinary user on the same instance gets the production page, and the debug data is never sent to their browser at all.

Why this matters

Most AI tools let you watch the answer. This one lets you watch the answer being made

Retrieval-augmented generation is usually taught with diagrams. Here you learn it with your own documents, your own questions and your own models, and you see the result of every change in the next reply. That makes the DEV view three things at once.

A test bench

Change one variable, ask the same question again, compare. Model against model, mode against mode, group against group.

An X-ray

See the four calls behind every message, the passages retrieved, the system prompt section by section, and the exact JSON sent to the LLM.

A training ground

Find out why the bot answered the way it did, then change the setting that caused it. That is how a data expert tames the bot.

Hands in the dough. You do not read about RAG. You knead it.

Control by control

Eleven stations, one tutor

For each control: what it does, an experiment you can run in two minutes, and where the same setting lives for production. Unless stated otherwise, a DEV change applies to your session only. Your users keep the instance configuration.

01Instance

The instance badge

The dark badge tells you which bot you are actually talking to.

It shows the instance database (for example inst_basic) and its friendly name. Every setting, persona, guardrail and chat history on the page comes from that database. When the two names disagree, the badge shows both, because that mismatch is exactly the kind of thing you want to catch.

Try it

Open two browser tabs on two instances. Ask both the same question. The badge proves which configuration produced which answer.

You learn

An "instance" is a full, separate bot: its own config, personas, guardrails and history. Multi-bot is real isolation, not a label.

Production: the link or embed code you give users decides the instance. Create instances in Instances › Instance Manager.

02Knowledge

RAG table

Swap the whole library the bot reads from.

A knowledge base is a family of tables (documents, Answer Bank, code, data) searched together. The selector lists every knowledge base on the server. Pick another and the next question is searched there. It is hidden in LLM Only mode, which does not search.

Try it

Ask a policy question against your HR knowledge base, then against a general one. Watch the citations change, and watch the bot admit it does not know when the right library is missing.

You learn

Most "the AI is wrong" complaints are "the AI was reading the wrong shelf". The model can only be as good as what it retrieves.
The one exception to session-only. Changing the RAG table here is also saved to the instance. It changes what the production bot answers from. Switch it back when you finish testing.

Production: ICP › Rules › Instance Rules › AI Model & Knowledge tab › RAG Table. Add content with RAG Maker, manage it in Doc Vault.

03Model

LLM: a model bake-off without leaving the chat

Every model registered on the platform, one dropdown away.

The list comes from the platform's model registry, so whatever you have set up (hosted models from the big providers, a self-hosted model, a cheap fast one and an expensive careful one) is available here. Switch, ask the same question again in the same thread, and compare. The search is identical whatever model you pick. Only the writing changes, so the comparison is fair.

Try it

  1. Ask a hard multi-part question with model A.
  2. Switch to model B, paste the same question.
  3. Switch to model C. Open Debug payload: its banner names the model that really answered each turn, and warns you if the picker changed after you sent.

You learn

Which model follows your guardrails best, which one hallucinates when the documents are thin, which one is fast enough for your users, and whether the premium model is worth its price on your content.

Production: ICP › Rules › Instance Rules › AI Model & Knowledge tab › LLM Model. Server-wide model list: Manage LLM.

04Grounding

Mode: how much the bot may think for itself

Four positions on the dial between "only what the documents say" and "a plain chatbot".

ModeSearches documentsModel's own knowledgeGuardrails and personaUse it for
Smart AI RAGLLMYes, firstMay fill gaps and add analysisAppliedMost assistants
Doc Only RAGONLYYes, only sourceNo. Says so when documents do not cover itAppliedPolicies, compliance, legal
LLM Only NORAGNoEverythingAppliedSeeing what the model knows without you
Like Chat LIKECHATNoEverythingBypassedTesting only. The raw model

Try it: the grounding ladder

Ask one question four times, once per mode. Like Chat shows the raw model. LLM Only adds your rules. Smart AI adds your documents. Doc Only removes everything that is not in your documents.

You learn

Exactly how much of each answer comes from your knowledge base and how much from the model. It is the clearest lesson in RAG you will ever get, and it uses your own data.

Production: ICP › Rules › Instance Rules › AI Model & Knowledge tab › RAG Mode (RAG + LLM, RAG Only, No RAG). Like Chat has no production setting on purpose.

05Scope

Group: many tables inside one RAG table

One knowledge base, sliced into as many virtual libraries as you need.

Groups are labels on documents (finance, hr, legal...). A document can carry several. The bot searches a document when it carries any of the allowed groups. The effect is that one physical RAG table behaves like many separate tables: an HR bot, a Finance bot and a Board bot can share one store and still never read each other's shelves.

ragt_company (one physical table)
budget_2026leave_policynda_template travel_expensesq3_forecastonboardingcontract_rules
finance sees budget, forecast, travel
hr sees leave, onboarding, travel
legal sees nda, contract rules

Try it

Ask "what can I claim for travel?" with group legal, then hr, then finance, hr. DEV even lets you test a group outside the bot's allowed list, so you can preview a new department bot before you build it.

You learn

Whether your documents are tagged correctly. A wrong answer under one group and a right one under another points straight at a tagging problem, not a model problem.

Production: ICP › Rules › Instance Rules › AI Model & Knowledge tab › Group Filter (empty = all). Tag documents in RAG Maker (groups field) or in Doc Vault.

06Security

Simulate clearance: become a junior employee for a minute

See exactly what a user with a lower clearance would get.

The bot only searches documents at or below the level in effect. The level in effect is the lowest of three: your own clearance on this instance, the instance's confidentiality ceiling, and the simulation. A small "in effect" label next to the selector shows the result. You can only go down, never above your own clearance. Answer-key content is always excluded.

Try it

Ask about salaries or a confidential project at your own level. Drop to the lowest level and ask again. The answer should go quiet. If it does not, you have found a document with the wrong label.

You learn

Your confidentiality model works before a real user ever tests it for you. This is a compliance audit you can run in a coffee break.

Production: user clearance in Manage Users › Edit user › Instance access › Clearance. Ceiling in ICP › Rules › Instance Rules › AI Model & Knowledge tab › Confidentiality ceiling. Levels come from Manage Triade.

07Live data

Agent ON / OFF: let the bot touch live systems

The questions no document can answer: "What is the margin of customer CUST003 this month?"

The Agent works with live systems: SQL databases, APIs and custom scripts from the instance's Agent Tools list. It plans, picks a tool, runs it, reads the result, decides whether it needs another one, and decides when it is done. It runs in parallel with the document search, so one answer can combine live numbers with your documents. If it used no tool, its output is thrown away. It never adds guesses.

Try it

Ask an order-status question with Agent OFF (the bot should say it has no live data), then ON. Open Debug payload and read which tool it chose and what came back.

You learn

Whether your tools are described well enough for the model to choose them, and how live data and documents blend in one answer.

The button appears only in DEV and only when Agent Tools is ON in the LLM & RAG tab. Tools: ICP › Controls › Agents › Agent Tools; try them in Test Agents. In PROD the last toggled value still applies to that browser session.

08Research

Agentic RAG: a researcher instead of a single search

The second agent. Its scope is your content, not your live systems.

Standard RAG searches once. Agentic RAG searches, reads, searches again in its own words, can read a whole document, and stops when every part of the question is covered. It never widens the scope: same knowledge base, groups, clearance and effective dates. It only gathers passages; the normal answer step still writes the reply.

SettingBehaviourCost
Bot settingUses whatever the instance is set toAs configured
OffOne search per questionFastest, cheapest
AutoGoes multi-step only for comparisons, multi-part questions, changes over time, or a weak best matchPays only when needed
AlwaysMulti-step on every questionRoughly 3 to 10 times the cost. For testing

Try it

Ask "How did the leave policy change between 2024 and 2026?" with Off, then Always. A purple badge at the top of the answer shows searches made, documents read and time. Click it to see every search. In DEV a grey badge also tells you when it did not run and why.

You learn

Which of your questions really need deep research, and whether Auto is the right default for your users.

Two independent agents: switch either on or off, or run both on the same question. Production: ICP › Rules › Instance Rules › Answers & Links tab › Agentic RAG (Search Depth). Server limits: Environment Vars OBTX_AGENTIC_RAG_*.

09Rules

Show Guardrails: why did the bot refuse?

Every rule sent to the model, where it comes from, and which one fired.

The panel lists every guardrail of the instance (active and inactive) with priority, name and the exact rule text sent to the model, plus the persona-specific rules. It reads your last answer and highlights the rule whose fixed reply appears in it. It also tells the plain truth about how guardrails work: they are instructions, not filters. No code blocks an answer. A refusal is the model obeying the rule text. The Type column is a label only. To change behaviour, change the Prompt Text, Enabled or Priority.

Try it

Ask for personal investment advice. When the bot refuses, open Show Guardrails: the "No Financial Advice" row lights up as Last answer. Switch Mode to Like Chat and the panel warns that guardrails are not sent at all.

You learn

Where a behaviour comes from, in one click. No more guessing whether a refusal came from the model vendor or from your own rules.
10Settings

Manage Look and Feel: the whole configuration on one sheet

Every setting of this bot, its current value, and what it does to the answers.

Opens a read-only page in a new tab. It lists every instance setting with its value and its effect, and next to them your own session overrides (persona, Agent toggle, DEV model, mode and search picks). Those overrides are the usual reason "the bot behaves differently for me than for my users". This page shows that in one view.

Try it

Change three DEV controls, then open Look and Feel. Compare the instance value column with your override column.

You learn

The difference between "what I am testing" and "what is configured", before you report a bug that is really a session setting.

Changes are made in the instance control panel, on tabs with the same names.

11Internals

Debug payload: open the hood

The button in the footer. The single best lesson in how an AI answer is built.

One question is not one request. It is four. The panel records the last message's calls, newest first, with the real values that were sent, never a reconstruction.

CALL 1 · browser → CFget_context

Loads the instance settings, persona, groups, clearance.

CALL 2 · server side/retrieve/retrieve_rag

The knowledge search. Never touches the browser; relayed back so you can still see it.

CALL 3 · browser → Python/api/stream/chat

The LLM writes the answer, streamed.

CALL 4 · browser → CFsave_message

The turn is stored in the chat history.

View system prompt

The highlighted button. Opens the full system prompt with real line breaks, split into sections (identity, guardrails, persona, retrieved context, format rules). With "show where each section comes from" on, every section names the file and setting that produced it.

Show payload sent to LLM

The whole request body sent for inference: model, temperature and settings, system prompt and every message. "Copy exact JSON" gives you the bytes on the wire to replay or share.

Try it

Ask a question. Open Debug payload. Use the find box to search for a phrase from the answer, and see which retrieved passage it came from. Then open the system prompt and find your persona's instructions.

You learn

Everything. Whether the right passage was retrieved, whether it reached the prompt, whether the prompt said what you think it said, and which model and temperature wrote the reply.

Safe by design: credentials are redacted when they are captured, so a key never reaches a screenshot. The payload is withheld on the server for non-DEV users; changing the page in browser devtools reveals nothing.

Plus the ? buttons: every control in the DEV view has one. Each opens a short card with what it does, its options, and the exact production menu path. The page documents itself.

The curriculum

Six labs that turn an admin into a RAG expert

Each lab takes ten to twenty minutes on your own content. Run them in order with a new team member and they will understand your AI better than most vendors explain theirs.

Lab A · Models

The bake-off

  1. Pick five real user questions.
  2. Ask each with every model in the LLM list.
  3. Check Debug payload for the model and settings of each turn.
Outcome: a model choice backed by your own evidence, with cost in mind.
Lab B · Grounding

The four-mode ladder

  1. One question, four modes: Like Chat, LLM Only, Smart AI, Doc Only.
  2. Compare the system prompt in each.
Outcome: you can explain RAG to anyone, and choose the right mode per bot.
Lab C · Scope

Slice the library

  1. Ask a cross-department question.
  2. Repeat under each group and combinations.
  3. Fix any document that shows up in the wrong group.
Outcome: clean tagging and department bots on one knowledge base.
Lab D · Security

The clearance drill

  1. Ask about something confidential at your level.
  2. Step down level by level.
  3. Note the level where it disappears.
Outcome: proof that your confidentiality labels work.
Lab E · Agents

Two agents, one answer

  1. Ask a question that needs live data and documents.
  2. Try Agent and Agentic RAG off, each alone, then both.
  3. Read the tool calls and the purple badge.
Outcome: you know which agent to switch on for which bot, and what it costs.
Lab F · Rules

Trace a refusal

  1. Provoke a refusal.
  2. Find the rule in Show Guardrails.
  3. Find the same text in the system prompt.
  4. Reword the rule, ask again.
Outcome: you control the bot's boundaries in plain language.
Taming the bot

From “the AI is wrong” to “this AI is great” in five steps

The DEV view turns fine-tuning into a loop you can repeat until the bot behaves exactly the way you want. No retraining, no vendor ticket.

Observea bad answer
Open the hoodDebug payload
Isolateone DEV control
Fixin the ICP
Re-askand compare
SymptomWhere you look in DEVUsual fix
Invents factsMode: switch to Doc Only. Debug: were passages retrieved?Set RAG Only for this bot, or add the missing documents
Answers from the wrong departmentGroup selectorRetag the document in Doc Vault, or narrow the Group Filter
Misses half of a complex questionAgentic RAG: Off vs AlwaysSet Search Depth to Auto
Refuses too muchShow Guardrails, "Last answer" rowReword the Prompt Text, or lower its priority
Wrong tone or too longView system prompt: persona and format sectionsEdit the persona instructions
Leaks to junior staffSimulate clearanceRelabel the document's confidentiality
"Works for me, not for users"Manage Look and Feel, override columnReset your DEV picks to "Bot setting"
Slow or expensiveLLM picker plus Debug payloadA faster model, or Agentic RAG off
Know the edges

What to keep in mind

Session only, with one exception

LLM, mode, group, clearance and Agentic RAG picks stay in your session. The RAG table selector also writes to the instance.

Desktop only

The DEV row is not drawn on mobile browsers. Use a desktop to test.

Agents are not fully repeatable

Even with temperature at zero, an LLM agent can choose slightly different searches run to run. Compare patterns, not single words.

Always and Like Chat are lab settings

Agentic RAG "Always" costs 3 to 10 times more. Like Chat drops every rule. Neither belongs in production.
The case in one paragraph

Every Trilivy.AI bot ships with its own tutor

Other platforms give you a chatbot and a settings page, and leave you guessing what connects the two. Trilivy.AI puts the connection on the screen. One click on DEV and the people who own the bot can compare models, move the grounding dial, slice the knowledge base, test security, run two kinds of agents, trace every rule, and read the exact bytes sent to the model. It is how your team learns AI, and it is how they make the bot answer exactly the way the business needs.

Find the small DEV tag at the bottom of Boty Full. Click it. Start with Lab B.