Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gurubase.ai/llms.txt

Use this file to discover all available pages before exploring further.

Generic LLMs guess when they should stop. The Gurubase Trust Layer wraps every answer in three product guarantees:
  1. Citations point back to the exact paragraph the answer came from.
  2. A trust score quantifies how well the retrieved context covered the question.
  3. Refusals carry the policy attached when scope is broken or context is too weak.
The result is an AI agent your CISO, your auditor, and your end users can all trust.
For the deeper, multi-layer mechanism behind this guarantee (smart retrieval, multi-pass evaluation, source-grounded generation), read Preventing AI Hallucinations. This page covers the user-visible product surface.

Three Product Guarantees

Cited

Every answer includes source pills linking back to the original document, ticket, page, or paragraph.

Scored

A trust score on every reply reflects retrieval quality and context coverage. Low scores show as warnings; very low scores trigger refusal.

Refused

When context is weak or out of scope, the Guru refuses and surfaces the policy reason instead of guessing.

How a Trusted Answer Looks

Every answer renders three signals together:
  • Body: the answer itself, grounded in the retrieved source paragraphs.
  • Source pills: a list of cited documents (e.g. hr-policy.pdf · p.7, SLA-2024-07).
  • Trust badge: a score between 0 and 1. High (0.85+) means strong retrieval coverage. Low scores warn the user; below the threshold the Guru refuses.
When context is too thin, the Guru produces a refusal instead of an answer: a short message that explains why it cannot answer (out of scope, no source, conflicting sources) and points the user to a human path. Every refusal lands in the audit log next to a normal answer, so a reviewer can see what the Guru did not say and why.

What Triggers a Refusal

Weak retrieval

The Guru could not find source paragraphs above the relevance threshold for the question.

Out-of-scope question

The question is outside the configured topics or sources of this Guru.

Conflicting sources

Multiple sources disagree and the Guru cannot pick a confident answer.

Policy-attached scope

A configured rule (PII, compliance, RBAC) blocks the question from this user or channel.

Trust Score Threshold

You can tune the trust score threshold per Guru. Lower thresholds answer more questions but with weaker grounding. Higher thresholds refuse more aggressively. Regulated teams (finance, healthcare, legal) usually run with a stricter threshold; community support and developer docs typically run looser. Contact us to configure the threshold for your Guru.

Source-Level RBAC and PII Masking

The Trust Layer also enforces what each user is allowed to see:
  • Source-level RBAC: tag sources by audience (e.g. internal-only, finance-only) and the Guru will refuse to cite them outside that audience.
  • PII masking: auto-detect and mask emails, phone numbers, and other personal data before they reach the answer or the audit log.
  • Audit logs: every answer and every refusal is logged with sources, trust score, and the user who asked.

Where to Go Next

Preventing AI Hallucinations

The seven-layer mechanism behind citations, scoring, and refusals

PII Masking

Auto-mask personal data before it leaves the Guru

Audit Logs

Track every answer, refusal, and source on a regulated-deployment timeline

Triage

Clarify ambiguous questions before the Guru ever cites a source