Answer

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

Attributes

Companion
class
Source
Answer.scala
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

Source
Answer.scala
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

Source
Answer.scala
def proceed(interruptId: String): Answer

Continues the task the breakpoint interruptId holds.

Continues the task the breakpoint interruptId holds.

Attributes

Source
Answer.scala
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

Source
Answer.scala
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

Source
Answer.scala