DigestOps

How do you build a company knowledge base that answers correctly?

24 posts

Playbook

Practitioners build reliable knowledge bases by precomputing context, establishing ground truth layers, and using automated evaluation methods like LLM-generated question-and-answer pairs.

  1. Precompute context in data graphs

    Salesforce Engineering moves identity matching, joins, and entitlement calculations upstream into Data 360 data graphs to provide prejoined JSON views for agents, achieving a median lookup latency below 200 milliseconds . 1

  2. Build a Ground Truth layer

    To prevent agents from querying incorrect tables or definitions, Fin implemented a Ground Truth layer which increased accuracy from 65%-70% to 100% . 3

  3. Rerank merged collections

    Alaan reranks all excerpts after merging collections and tags each with scoreKind to ensure real relevance scores outrank placeholder scores . 2

  4. Label-free search evaluation

    Hamel Husain suggests using an LLM to write one question for every document to create question-and-answer pairs, then testing if the search system retrieves the matching document . 8

  5. Use git for support knowledge

    Ketan suggests keeping support knowledge in a git repo using markdown and YAML headers, where product PR merges trigger a pipeline to propose updates . 6

  6. Decompose complex decisions

    Allie Laabs recommends decomposing decisions into small, fuzzy questions for the model while delegating math and business logic to code . 4

Choosing between approaches

Using a single large LLM 'Choice' question can lead to prompt gymnastics, whereas decomposing decisions into smaller questions makes outcomes more auditable 4.

Not covered yet

The material does not address how to manage the cost or token overhead of these various architectural approaches.

Drawn from the top 10 posts for this question; the numbers match the list below · updated 2026-12-02
Type

Posts

14 more posts to see