RAG Chat Roadmap
A chat layer is useful after the docs have a stable structure. Build the docs first, then index them.
Let colleagues ask questions such as:
- What does
Needs Hubmean? - How do I launch a worker?
- How do I recover a stuck pending message?
- What is the worker protocol?
- How do I adapt the deploy pipeline to my project?
The assistant should answer from the docs and link to the relevant page.
Source Set
Section titled “Source Set”Initial source set:
- this docs site content
- sanitized README
- architecture docs
- operations docs
- changelog entries
- example incident replays
Do not index private runtime state, worker transcripts, credentials, personal notes, or project-specific customer data.
Suggested Architecture
Section titled “Suggested Architecture”- Export docs content as Markdown or JSON chunks.
- Add stable page URLs and headings as metadata.
- Generate embeddings.
- Store chunks in a small vector store.
- Build a chat UI with cited answers.
- Log unanswered questions as docs backlog.
Guardrails
Section titled “Guardrails”- Refuse to answer from private or unavailable sources.
- Prefer citations to the docs page over confident general advice.
- Mark implementation details as version-specific.
- Keep setup answers separated from production/deploy advice.
When To Build It
Section titled “When To Build It”Build RAG/chat after the docs site covers the normal path, recovery path, and team-adoption path. A chat system over incomplete docs will amplify gaps instead of solving them.