Skip to content

bodhi-realtime-agent / ProcessedKnowledgeBase

Interface: ProcessedKnowledgeBase ​

Defined in: src/types/knowledge-base.ts:117

Result of processing a KnowledgeBaseConfig: prompt text to inject and an optional search tool for the tool-routed documents.

Properties ​

promptInjection ​

promptInjection: string

Defined in: src/types/knowledge-base.ts:119

Text to append to the agent's system instructions (prompt-mode docs).


searchTool? ​

optional searchTool?: ToolDefinition

Defined in: src/types/knowledge-base.ts:126

Auto-generated inline tool (execution: 'inline') with fixed name search_knowledge_base, only present when at least one document uses the tool-routed path. Invokes the framework’s in-process chunk index (not vector DB). Undefined when all documents are prompt-injected.

Built with VitePress