ThreadMetadata

org.llm4s.agent.graph.ThreadMetadata
See theThreadMetadata companion class

Attributes

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

Members list

Type members

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

Value members

Concrete methods

def apply(entries: Map[String, String]): ThreadMetadata

The metadata entries; an IllegalArgumentException naming every problem if they break a limit.

The metadata entries; an IllegalArgumentException naming every problem if they break a limit.

Attributes

def apply(entries: (String, String)*): ThreadMetadata
def fromJson(json: Value): Result[ThreadMetadata]

Metadata a store kept as a JSON object (ThreadMetadata.toJson), checked again as it is read.

Metadata a store kept as a JSON object (ThreadMetadata.toJson), checked again as it is read.

Attributes

def of(entries: Map[String, String]): Result[ThreadMetadata]

The metadata entries, or a ValidationError naming every limit they break.

The metadata entries, or a ValidationError naming every limit they break.

Attributes

Concrete fields

val MaxEntries: Int
val MaxKeyLength: Int
val MaxValueLength: Int