Tataco AI
A grounded conversational layer over private company knowledge, engineered so that every answer can be traced back to a source document.
- Year
- 2025
- Type
- Retrieval-grounded assistant platform
- Status
- Live
- Audience
- Support, operations and commercial teams working across large private document sets.

The context.
Tataco AI gives internal teams a single place to ask questions of scattered documentation, contracts and operational records.
The system is retrieval-first: the model is never asked to remember, only to summarise what retrieval has already proven.
Answers ship with citations, and any answer without sufficient supporting context is refused rather than improvised.
What was actually broken.
- Knowledge lived in inboxes, drives and individual memory.
- New team members took months to become independently productive.
- Generic assistants produced confident answers that were quietly wrong.
- Sensitive documents could not be sent to third-party model providers.
Slow response times and inconsistent answers to the same customer question.
Grounding generation in a private corpus while keeping latency conversational and data residency intact.
What was engineered.
- A hybrid retrieval pipeline combining vector similarity with lexical search, then re-ranking before any generation occurs.
- Document ingestion normalises formats, preserves structure, and chunks along semantic boundaries rather than fixed token windows.
- Answer synthesis is constrained to retrieved context, with inline citations and an explicit refusal path.
- Access control is applied at retrieval time, so a user can never be cited a document they cannot open.
Layer by layer.
Streaming conversation interface with citation panel and source preview.
- React
- TypeScript
- Server-sent events
Retrieval orchestration, re-ranking and generation gateway.
- Python
- FastAPI
- LangGraph-style orchestration
Streaming answer endpoint plus ingestion and evaluation APIs.
- REST
- SSE
- OpenAPI
Vector index alongside relational metadata and permission tables.
- PostgreSQL
- pgvector
Lexical index fused with dense retrieval for hybrid recall.
- BM25
- Hybrid fusion
- Cross-encoder re-rank
Containerised inference and API services with autoscaling workers.
- Docker
- Queue workers
- CI/CD
SSO-backed identities with document-level authorisation at query time.
- OIDC
- JWT
- ACL filters
Encrypted document store with versioned ingestion history.
- Object storage
- AES-256
- Versioning
The why behind each trade-off.
Why retrieval-grounded generation instead of fine-tuning?
Company knowledge changes weekly. Retrieval updates in minutes and stays attributable; a fine-tune is a slow, opaque snapshot of yesterday's truth.
Why local and private inference paths?
Some corpora legally cannot leave the customer boundary. Supporting a self-hosted model path meant the same product could serve regulated and unregulated clients.
Why pgvector instead of a dedicated vector database?
Permissions, metadata and embeddings need to be filtered together in one query. Splitting them across stores turns authorisation into a race condition.
Why hybrid retrieval?
Dense retrieval misses exact identifiers; lexical search misses paraphrase. Fusing both raised answerable-question coverage far more than any prompt change did.
What resisted.
- AI limitations
The hardest engineering was teaching the system to decline. Refusal thresholds were tuned against a labelled evaluation set, not vibes.
- Performance
Re-ranking added quality and latency. Streaming the first tokens while re-ranking completed kept the interaction responsive.
- Security
Authorisation is enforced inside the retrieval query, so no permission check can be bypassed by a clever prompt.
- Evaluation
A regression suite of real questions with graded answers runs on every change, because prompt edits are code changes.
What it taught.
- An AI product is a retrieval and evaluation product wearing a conversational interface.
- Citations are not a UI feature; they are the mechanism that makes the output verifiable.
- A system that knows when to stay silent earns more trust than one that always answers.
Measured, not claimed.
1.4s
Answer latency
Median time to first streamed token.
100%
Citation rate
Every generated answer carries sources.
94%
Refusal precision
Correct declines on unanswerable set.
50k+ docs
Corpus
Indexed with permission-aware retrieval.
The system in context.


Technology stack
- React
- TypeScript
- Tailwind CSS
- SSE
- Python
- FastAPI
- Async workers
- Embeddings
- Cross-encoder re-rank
- Local inference
- PostgreSQL
- pgvector
- Redis
- Docker
- CI/CD
- OpenTelemetry