ChatToolDefinition class

A model-callable tool declared by an Ensemble application.

Constructors

ChatToolDefinition({required String name, required String description, required Map<String, dynamic> inputs, required ChatToolKind kind, EnsembleAction? action, Map<String, dynamic> options = const {}})

Properties

action → EnsembleAction?
final
confirmation → dynamic
no setter
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
inputs → Map<String, dynamic>
final
kind → ChatToolKind
final
name → String
final
options → Map<String, dynamic>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeoutSeconds → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareInputs(Map<String, dynamic> supplied) → Map<String, dynamic>
toOpenAITool() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited