ManagedConversation

org.llm4s.context.ManagedConversation
See theManagedConversation companion object
@Stable
final case class ManagedConversation

Final result of context management pipeline

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def summary: String
def totalTokensSaved: Int

Sets the managed conversation.

Sets the managed conversation.

Attributes

def withFinalTokens(finalTokens: Int): ManagedConversation

Sets the token count after management.

Sets the token count after management.

Attributes

def withOriginalTokens(originalTokens: Int): ManagedConversation

Sets the token count before management.

Sets the token count before management.

Attributes

Sets the pipeline steps.

Sets the pipeline steps.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product