Module: Phronomy::KnowledgeSource
- Defined in:
- lib/phronomy/knowledge_source.rb
Overview
KnowledgeSource provides the interface for supplying context region 3 (Knowledge) to the Context::Assembler.
Each implementation returns an array of knowledge chunks via #fetch(query:). Each chunk is a Hash with :content (String) and :type (Symbol) keys. The Assembler wraps each chunk in an XML context tag before injecting it.