Knowledge Base & RAG
The Knowledge Base is the foundation of RankWriting's RAG (Retrieval-Augmented Generation) system. Upload your content and the AI will reference it when writing — instead of relying solely on generic training data.
What to upload
Good candidates for your Knowledge Base:
- ·Product documentation
- ·Brand FAQs
- ·Service description pages
- ·Historical blog articles
- ·Case studies
- ·Internal knowledge base articles
How RAG works
- ·When you upload a document, the system splits it into small passages and generates vector embeddings
- ·At generation time, the system queries the vector store using your article's topic, finding the 5 most relevant passages
- ·Those passages are injected into the AI prompt as grounding context
This means generated articles contain your real product details, accurate figures, and brand-specific language.
Create a knowledge base
- ·Go to Dashboard → Knowledge Base → New KB
- ·Give it a name (ideally named by site or business line)
- ·Upload files (
.txt,.md,.pdf, or paste text directly) - ·Wait for processing to complete (usually a few seconds to a few minutes)
Use in article generation
On the Generate page, expand the advanced options and select a Knowledge Base. The AI will automatically retrieve and reference relevant content during generation.
Tips
- ·Specific, detailed content works better than high-level summaries
- ·Keep your Knowledge Base updated as your product or services evolve
- ·One Knowledge Base can be shared across multiple sites