Simple understanding of Pega Knowledge Buddy functionality
Pega Knowledge Buddy (KB) converts documents into searchable semantic chunks, stores their embeddings in a vector database, retrieves the most relevant chunks for a user's question, and gives those chunks to the LLM through RAG to generate a grounded answer. Step1: Ingestion — Build the Knowledge Base Document → Chunks → Embeddings → Vector Storage Source content Pega Knowledge articles PDFs/documents SharePoint content, etc. Chunking Knowledge Buddy breaks large content into smaller pieces called chunks . For example, the default SIZE approach uses 1,000 characters with 200-character overlap. Pega also supports TITLE and NONE chunking methods. Semantic/Embedding processing Each chunk is sent through the Pega GenAI Gateway . An embedding is generated — a numerical representation of the meaning of that chunk. Additional attributes/metadata can also be associated with the chunk, improving semantic retrieval. Vector storage The embeddings and associated chunk information are store...