FactRetrievalHistoryCompressionStrategy

constructor(concepts: List<Concept>, fallback: HistoryCompressionStrategy = NoCompression)(source)

Parameters

concepts

A list of Concept objects that define the topics for which facts should be extracted.

fallback

Strategy used when no facts are extracted for any concept. Defaults to NoCompression.


constructor(vararg concepts: Concept)(source)

Secondary constructor for FactRetrievalHistoryCompressionStrategy that initializes the instance with a variable number of Concept objects, converting them into a list.

Parameters

concepts

A variable number of Concept objects to be used for fact retrieval.