Class InteractionFunctionTool
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
A function declaration (function).
public sealed class InteractionFunctionTool : InteractionTool
- Inheritance
-
InteractionFunctionTool
- Inherited Members
- Extension Methods
Constructors
InteractionFunctionTool()
Initializes a new instance of the InteractionFunctionTool class.
public InteractionFunctionTool()
Properties
Description
A description of the function.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Name
The name of the function.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Parameters
The JSON Schema of the function's parameters.
[JsonPropertyName("parameters")]
public JsonNode? Parameters { get; set; }