Knowledge Management
The character system supports two knowledge modes:
Classic Mode (Default)
Direct string knowledge added to character's context
No chunking or semantic search
Enabled by default (
settings.ragKnowledge: false
)Only processes string knowledge entries
Simpler but less sophisticated
RAG Mode
Advanced knowledge processing with semantic search
Chunks content and uses embeddings
Must be explicitly enabled (
settings.ragKnowledge: true
)Supports three knowledge types:
Direct string knowledge
Single file references:
{ "path": "path/to/file.md", "shared": false }
Directory references:
{ "directory": "knowledge/dir", "shared": false }
Supported file types: .md, .txt, .pdf
Optional
shared
flag for knowledge reuse across characters
Knowledge Path Configuration
Knowledge files are relative to the
characters/knowledge
directoryPaths should not contain
../
(sanitized for security)Both shared and private knowledge supported
Files automatically reloaded if content changes
Knowledge Tips
Focus on relevant information
Organize in digestible chunks
Update regularly to maintain relevance
Use the provided tools to convert documents into knowledge:
Last updated