Answer

org.llm4s.javaapi.Answer
See theAnswer companion class
object Answer

Attributes

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

Members list

Value members

Concrete methods

def approve(interruptId: String): Answer

Approves the pending tool call interruptId.

Approves the pending tool call interruptId.

Attributes

def edit(interruptId: String, argumentsJson: String): Answer

Approves the pending tool call interruptId with new arguments, a JSON object as a String.

Approves the pending tool call interruptId with new arguments, a JSON object as a String.

Attributes

def proceed(interruptId: String): Answer

Continues the task the breakpoint interruptId holds.

Continues the task the breakpoint interruptId holds.

Attributes

def reject(interruptId: String, reason: String): Answer

Rejects the pending tool call interruptId: the model sees Rejected: <reason> as its result.

Rejects the pending tool call interruptId: the model sees Rejected: <reason> as its result.

Attributes

def reply(interruptId: String, json: String): Answer

Answers the question interruptId - a tool's or a middleware's - with json, the asker's answer type as JSON.

Answers the question interruptId - a tool's or a middleware's - with json, the asker's answer type as JSON.

Attributes