Table of Contents

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

string

Name

The name of the function.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Parameters

The JSON Schema of the function's parameters.

[JsonPropertyName("parameters")]
public JsonNode? Parameters { get; set; }

Property Value

JsonNode