GraphSnapshot

org.llm4s.agent.graph.GraphSnapshot
See theGraphSnapshot companion class
object GraphSnapshot

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Activation(joinId: String, fanOutTask: String, expected: Vector[String], arrived: Vector[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ParkedContinuation(interruptId: String, resumeNode: String, question: VersionedJson, originTask: String, originNode: String, joinId: Option[String], fanOutTask: Option[String], breakpoint: Option[BreakpointPhase], heldRoutes: Vector[EncodedRoute])

A parked continuation. For a task a static breakpoint holds, breakpoint is its phase and resumeNode the held task's node: before it runs, question is the task's input; after it ran, question is JSON null and heldRoutes are the routes it returned.

A parked continuation. For a task a static breakpoint holds, breakpoint is its phase and resumeNode the held task's node: before it runs, question is the task's input; after it ran, question is JSON null and heldRoutes are the routes it returned.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PendingTask(taskId: String, nodeId: String, input: VersionedJson, joinId: Option[String], fanOutTask: Option[String], originTask: Option[String], originNode: Option[String], passedBefore: Boolean, replay: Option[Vector[EncodedRoute]])

A ready task. passedBefore marks the continuation of a task an interruptBefore breakpoint held; replay holds the routes of a task an interruptAfter breakpoint held, whose continuation runs nothing (its input is then JSON null).

A ready task. passedBefore marks the continuation of a task an interruptBefore breakpoint held; replay holds the routes of a task an interruptAfter breakpoint held, whose continuation runs nothing (its input is then JSON null).

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class StaticArrivals(joinId: String, arrived: Vector[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Givens

Givens

given derived$ReadWriter: ReadWriter[GraphSnapshot]