通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FunctionCallOutputItemParam Class

Definition

Function tool call output.

public class FunctionCallOutputItemParam : Azure.AI.AgentServer.Responses.Models.Item, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.FunctionCallOutputItemParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.FunctionCallOutputItemParam>
type FunctionCallOutputItemParam = class
    inherit Item
    interface IJsonModel<FunctionCallOutputItemParam>
    interface IPersistableModel<FunctionCallOutputItemParam>
Public Class FunctionCallOutputItemParam
Inherits Item
Implements IJsonModel(Of FunctionCallOutputItemParam), IPersistableModel(Of FunctionCallOutputItemParam)
Inheritance
FunctionCallOutputItemParam
Implements

Constructors

Name Description
FunctionCallOutputItemParam(String, BinaryData)

Initializes a new instance of FunctionCallOutputItemParam.

Properties

Name Description
CallId

The unique ID of the function tool call generated by the model.

Id

Gets or sets the Id.

Output

Text, image, or file output of the function tool call.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

<remarks> Supported types:

</remarks>

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

Status

Gets or sets the Status.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<FunctionCallOutputItemParam>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<FunctionCallOutputItemParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<Item>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from Item)
IJsonModel<Item>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from Item)
IPersistableModel<FunctionCallOutputItemParam>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<FunctionCallOutputItemParam>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<FunctionCallOutputItemParam>.Write(ModelReaderWriterOptions)
IPersistableModel<Item>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from Item)
IPersistableModel<Item>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from Item)
IPersistableModel<Item>.Write(ModelReaderWriterOptions) (Inherited from Item)

Applies to