JTool

org.llm4s.javaapi.JTool
See theJTool companion class
object JTool

Attributes

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

Members list

Type members

Classlikes

final class Builder

A tool under construction. Immutable: every method returns a new builder.

A tool under construction. Immutable: every method returns a new builder.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def builder(name: String, description: String): Builder

A builder for a tool called name, which description explains to the model.

A builder for a tool called name, which description explains to the model.

Attributes

def fromAnnotated(target: Object): LlmResult[List[JTool]]

A tool for each public Tool-annotated method of target, sorted by name, each calling the method on target. A method whose parameter has an unsupported type, or no name (no Param name, and not compiled with javac -parameters), or a target with no such method, is a failed result naming it.

A tool for each public Tool-annotated method of target, sorted by name, each calling the method on target. A method whose parameter has an unsupported type, or no name (no Param name, and not compiled with javac -parameters), or a target with no such method, is a failed result naming it.

Attributes