PipelineStep

org.llm4s.context.PipelineStep
See thePipelineStep companion object
@Stable
final case class PipelineStep

Represents a single step in the new 4-stage 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 withApplied(applied: Boolean): PipelineStep

Sets whether the step changed the conversation.

Sets whether the step changed the conversation.

Attributes

def withMessages(messages: Seq[Message]): PipelineStep

Sets the messages after the step.

Sets the messages after the step.

Attributes

def withName(name: String): PipelineStep

Sets the step name.

Sets the step name.

Attributes

def withTokensAfter(tokensAfter: Int): PipelineStep

Sets the token count after the step.

Sets the token count after the step.

Attributes

def withTokensBefore(tokensBefore: Int): PipelineStep

Sets the token count before the step.

Sets the token count before the step.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product