ConversationWindow

org.llm4s.context.ConversationWindow
See theConversationWindow companion class

Attributes

Companion
class
Source
TokenWindow.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(conversation: Conversation, usage: TokenUsageInfo, wasTrimmed: Boolean, removedMessageCount: Int): ConversationWindow

Creates a ConversationWindow.

Creates a ConversationWindow.

Attributes

Source
TokenWindow.scala

Attributes

Source
TokenWindow.scala
def trimmed(conversation: Conversation, usage: TokenUsageInfo, removedCount: Int): ConversationWindow

Attributes

Source
TokenWindow.scala