Recommended setup
- Create one workspace per company, customer, or tenant.
- Pick scopes for hard knowledge lanes.
- Pick projects for document collections inside those scopes.
- Ingest documents with consistent scope and project values.
- Add curated company facts for important context that is not documented yet.
- Search with
hybridmode while evaluating retrieval quality. - Show evidence citations and curated-fact provenance in your product UI.
- Let users submit feedback and corrections.
Example model
| Workspace | Scope | Project | Documents |
|---|---|---|---|
acme | hr | onboarding | handbook, benefits, PTO |
acme | engineering | api-platform | API docs, runbooks |
acme | billing | pricing | plans, trials, refunds |
acme | support | playbooks | escalation guides |
Retrieval pattern
Usehybrid mode for most assistant experiences. Pass source chunks and
extracted memories into your answer-generation layer as separate context blocks.
Curated company facts should be passed as workspace-approved context and labeled
separately from document citations.
Use documents mode when the answer needs source wording. Use memories mode
when the answer needs short extracted facts or curated company context.
Correction pattern
When a user flags a retrieved memory as wrong, ask for:- the corrected memory text
- the reason for correction
- whether the source chunk should also be updated
correctedChunkContent when the cited chunk
should be updated too.