ContextStage

org.llm4s.context.ContextStage
@Experimental

The stages of the ContextManager pipeline, in the order they run.

Attributes

Source
ContextManager.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

Older turns are dropped until the conversation fits (TokenWindow).

Older turns are dropped until the conversation fits (TokenWindow).

Attributes

Source
ContextManager.scala

Older history is replaced by digests (HistoryCompressor).

Older history is replaced by digests (HistoryCompressor).

Attributes

Source
ContextManager.scala

The digests are compressed further by a model (LLMCompressor).

The digests are compressed further by a model (LLMCompressor).

Attributes

Source
ContextManager.scala

Tool outputs are compacted and capped (DeterministicCompressor).

Tool outputs are compacted and capped (DeterministicCompressor).

Attributes

Source
ContextManager.scala