ToolResultCase

org.llm4s.testkit.ToolResultCase
final case class ToolResultCase(name: String, conversation: Conversation)

One conversation the contract sends: a shape of tool calls and results an agent produces.

Attributes

Source
ToolResultContract.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toolCalls: Int

The tool calls in the conversation; a request must carry each of them.

The tool calls in the conversation; a request must carry each of them.

Attributes

Source
ToolResultContract.scala

The tool results in the conversation; a request must carry each of them as a native result.

The tool results in the conversation; a request must carry each of them as a native result.

Attributes

Source
ToolResultContract.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product