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 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 tool question interruptId with json, the asking tool's answer type as JSON.

Answers the tool question interruptId with json, the asking tool's answer type as JSON.

Attributes