AiToolFunctionWithArgumentsTArguments - класс

Типизированный функциональный инструмент, который может быть вызван LLM-моделью в рамках Function Calling.

Definition

Пространство имён: Tessa.Ai.Agent.Models
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
public class AiToolFunctionWithArguments<TArguments> : AiToolFunction
Inheritance
Object    AiToolFunction    AiToolFunctionWithArgumentsTArguments

Параметры типа

TArguments
Тип аргументов инструмента.

Конструкторы

AiToolFunctionWithArgumentsTArguments Типизированный функциональный инструмент, который может быть вызван LLM-моделью в рамках Function Calling.

Свойства

Description Описание назначения функционального инструмента. Используется моделью для определения необходимости вызова.
(Унаследован от AiToolFunction)
Name Имя функционального инструмента. Используется моделью при генерации вызова.
(Унаследован от AiToolFunction)
Parameters JSON Schema параметров функционального инструмента.
(Унаследован от AiToolFunction)

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
InvokeAsync Выполняет вызов функционального инструмента.
(Унаследован от AiToolFunction)
InvokeCoreAsync Выполняет вызов функционального инструмента.
(Переопределяет AiToolFunctionInvokeCoreAsync(DictionaryString, Object, IValidationResultBuilder, CancellationToken))
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также