Universal internal knowledge search
A single search interface that lets anyone in the company ask questions and get answers drawn from across the firm's knowledge sources — wikis, shared drives, past project archives, Slack threads, ticket history. Returns a synthesized answer with citations linking back to source documents. The pattern's value is less about finding documents and more about finding the answer across documents that don't always sit in the same system. Replaces the typical 'I know we wrote that down somewhere' expedition with something that takes ten seconds.
Requirements describe capabilities the pattern needs in your environment, not the vendors you must buy. Any system that fills a requirement satisfies it — that’s what makes the catalog portable across the long tail of SMB tooling.
knowledge_corpus_setThe collection of sources the pattern indexes and searches. Plural because most firms have several disjoint stores.
- internal wiki
- shared document drive
- archived project folders
- internal blog or announcements
- historical support tickets
- past chat threads in select channels
user_query_surfaceWhere people actually ask. Has to be where they already are, not a separate tool they have to remember to use.
- chat slash command or DM to a bot
- search bar embedded in the wiki
- browser extension that activates on highlight
- command palette in the firm's working tools
permission_resolverDetermines which sources and documents the asking user is allowed to see. Critical: the pattern must never return content the user doesn't have access to in the source system.
- SSO identity tied to source-system permissions
- permission groups maintained per source
- permission inheritance from the source systems themselves (preferred)
answer_destinationWhere the synthesized answer with citations goes back to the user.
- reply in chat thread or DM
- answer panel in the wiki
- browser extension overlay
- command palette result
feedback_capturePer-answer thumbs-up/down or correction. Without this, the pattern's accuracy is invisible.
- thumbs widget under each answer
- follow-up chat reaction the user can use
- weekly digest of queries asking for ratings
user_role_contextWhat role the asking user has. Lets the answer adjust depth and framing — engineers get technical detail, salespeople get the business-facing version.
- HR system role lookup
- directory or org chart
- user profile in the firm's working tools
- 01User asks a question through the query surface
user_query_surface - 02Resolve user permissions across the indexed corpus set
permission_resolver - 03Search the permissioned subset of the corpus via semantic search
knowledge_corpus_set - 04Look up user role context to tailor answer framing
user_role_contextDECISION Skip if user_role_context not filled. - 05Synthesize an answer grounded on retrieved passages, with inline citations
- 06If confidence is low or no good sources found, return 'I don't have a good answer for that' with what was triedDECISION Honest don't-know is better than confident wrong.
- 07Deliver the answer to the user through the answer destination
answer_destination - 08Capture feedback if provided
feedback_capture
Structured outputs this pattern produces. Other patterns and client systems can subscribe to them, which is how the catalog composes over time.
query_pattern_signalWhat people actually ask about, aggregated. Tells you where knowledge gaps and documentation pain points are.
- knowledge management workflows
- documentation prioritization
- training material development
stale_content_signalSources that get cited but get flagged as outdated, candidates for refresh.
- wiki maintenance workflows
- content owner alerts
answer_quality_signalPer-query feedback aggregated, used to tune retrieval and synthesis.
- pattern quality dashboards
- prompt refinement