Share via


ActivityFunctionDefinition Class

Definition

The activity definition information for a function.

public class ActivityFunctionDefinition : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.ActivityFunctionDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.ActivityFunctionDefinition>
type ActivityFunctionDefinition = class
    interface IJsonModel<ActivityFunctionDefinition>
    interface IPersistableModel<ActivityFunctionDefinition>
Public Class ActivityFunctionDefinition
Implements IJsonModel(Of ActivityFunctionDefinition), IPersistableModel(Of ActivityFunctionDefinition)
Inheritance
ActivityFunctionDefinition
Implements

Properties

Description

A description of what the function does, used by the model to choose when and how to call the function.

Parameters

The parameters the functions accepts, described as a JSON Schema object.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ActivityFunctionDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ActivityFunctionDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ActivityFunctionDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ActivityFunctionDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ActivityFunctionDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to