Knowledge Base Domain
Knowledge bases are either external endpoints or managed deployments.
Core Fields
All knowledge bases share these core fields:
- identity: id, name
- presentation: icon, description, tags
- classification: mode
- content: documents
- placement: stack
KB Document
Each document includes:
- identity and relation: id, kb
- presentation: name, description, tags
- file metadata: type, sizeBytes, source
- chunking configuration: chunking
- optional indexing status
Document Types
Supported document types:
- text
- markdown
- html
- pdf
- docx
External Knowledge Base
External knowledge bases include:
- mode: external
- optional availability status
Managed Knowledge Base
Managed knowledge bases include:
- optional embedding model reference
- optional reranker model reference
- runtime template
- optional ingestion runtime template
- optional egestion runtime template
- optional deployment status
Knowledge Base Union
- KnowledgeBase = ManagedKB | ExternalKB