Module: Engram::Ports::Extractor
- Included in:
- Extractors::LLMExtractor
- Defined in:
- lib/engram/ports/extractor.rb
Overview
PLACEHOLDER (v0.2). Contract for deriving candidate facts from a conversation turn. Declared now so the differentiator (extract -> consolidate) slots in without reworking the core. Not implemented in v0.1.
Instance Method Summary collapse
-
#extract(messages:, scope:) ⇒ Object
Given conversation messages, return Array<Record> of candidate memories.
Instance Method Details
#extract(messages:, scope:) ⇒ Object
Given conversation messages, return Array<Record> of candidate memories.
10 11 12 |
# File 'lib/engram/ports/extractor.rb', line 10 def extract(messages:, scope:) raise NotImplementedError, "Extractor arrives in v0.2" end |