In depth
A knowledge base is whatever corpus the agent searches. It can be your product docs, your internal wiki, a slice of the company codebase, support tickets, or all of the above. On Digitorn the rag module manages knowledge bases as named collections per app, with optional sharing across apps when it makes sense.
Related concepts
RAGA pattern where relevant documents are fetched from a knowledge base and pasted into context before the LLM answers.Vector databaseA database optimised for storing and querying high-dimensional vectors, typically for similarity search.ChunkingSplitting source documents into smaller pieces (paragraphs, sections) before embedding them for retrieval.
Newsletter
Get the next post in your inbox.
Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.