Laptop with the letters AI made of points of light
  1. Home
  2. Case studies
  3. Adoption adviser

An AI adviser that knows what it does not know

Towarzystwo Opieki nad Zwierzętami wanted fewer mismatched adoptions. Instead of another FAQ chatbot we built an adviser that learns how a person lives and says which traits to look for in a shelter dog, and which to avoid.

TOZ, animal welfare
line of code to embed the chat on any page
1
a day the whole configuration is saved
2×
days of configuration history, restored with one click
20
breeds suggested: shelters hold mostly mixed-breed dogs
0
The challenge

Fewer adoptions that do not work out

The adviser talks with a person, learns how they live and tells them which traits to look for in a shelter dog and which to avoid. It does not suggest breeds, because shelters hold mostly mixed-breed dogs.

When it has to, it advises against adoption or points the person to a behaviourist.

Architecture

The model talks, the code decides

The recommendation is not invented by a language model. It is calculated by a deterministic engine covered by tests: hard exclusions first (a cat at home and a strong chase instinct, for example), then weighted scoring.

The AI leads the conversation, builds the person’s profile in the background and tells the result in human terms, but it cannot change it. The same profile always gives the same result, and a specialist can verify every rule.

Veterinary staff and a young visitor with a brown cat
Knowledge

Epistemic regulation

A separate module decides what the adviser may claim and how sure it may sound.

Two modes of knowledge

Short, key content is in front of the model in every conversation. Longer material is searched in a hybrid way: by full text and by meaning.

Allowed sources

The knowledge base was built from TOZ’s own material. The module sets which sources the adviser may use.

Signalling uncertainty

It defines how the adviser shows that it is not sure, and the moment at which it has to say “I do not know”.

Conflicting material

When two documents disagree, the module says how the conflict is settled.

Prohibitions

No diagnoses, no promises, no judging a dog by its breed.

Open to review

Every one of these settings can be read and changed by the team.

Learning

Taught without training a model

The TOZ team teaches the adviser itself, in the panel.

Correct and keep

A poorly rated answer is corrected and saved as a pattern.

Question into knowledge

A question without an answer becomes a new knowledge document with one click.

Immediate and reversible

Each correction works from the next message, is visible and can be undone.

The adviser reports to the team what needs attention, on its own.

When people in conversations pointed out an outdated shelter address, the report reached the panel without anyone filing it.

Self-reflection

What it notices in a conversation

It recognizes these things as it talks and reports them quietly, with a quote and a link to the conversation.

GapsThings it was asked and did not know.
SuggestionsWhat the people it talks with propose.
Its own mistakesAnswers it got wrong.
Technical problemsServer and browser errors join the same list automatically.
RepeatsRepeated reports merge into one, with a counter.
Configuration

In the client’s hands

The system prompt is built in layers, from identity to style, and each layer has a version history. The model, the matching weights, the exclusion rules, the greeting and the API keys are changed in the panel, without a programmer.

The mechanism of self-reporting worked during construction as well, so the client’s own tests pointed to what needed fixing.

Status today

Built and configured together with the TOZ team. The chat can be embedded on any page with one line of code.

Built with
  • Next.js
  • TypeScript
  • Claude
  • PostgreSQL
  • Voyage AI
  • Material Design
  • Railway
In every application

Systems that watch themselves

All of these applications carry self-reflective diagnostics. They do not wait for someone to notice that something is wrong.

People report on the spot

Anyone can report an error in the place where they saw it. The report joins the same diagnostic system.

The system looks on its own

It searches for errors and irregularities by itself, without being asked.

Fixes come as proposals

For what it finds it proposes corrective actions, which go to people for approval or discussion.

More case studies

Start with the process that matters most.

One critical process is enough to begin.

How we startTalk to us