OutputFormat

org.llm4s.agent.graph.toolloop.OutputFormat
See theOutputFormat companion class
object OutputFormat

Attributes

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

Members list

Value members

Concrete methods

def of[O : ReadWriter](definition: SchemaDefinition[O]): OutputFormat

The format of O: definition's strict JSON schema, and O's reader. A schema derived with llm4s-schema-derivation is SchemaOf[O].definition.

The format of O: definition's strict JSON schema, and O's reader. A schema derived with llm4s-schema-derivation is SchemaOf[O].definition.

Attributes

Concrete fields

Longest the invalid answer is when it is sent back to the model in the corrective request.

Longest the invalid answer is when it is sent back to the model in the corrective request.

Attributes

val MaxErrorChars: Int

Longest a reported problem is; a longer one is cut.

Longest a reported problem is; a longer one is cut.

Attributes

val MaxErrors: Int

Most problems an answer is reported with: to the model in the corrective request, and in OutputInvalid.

Most problems an answer is reported with: to the model in the corrective request, and in OutputInvalid.

Attributes