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

FileSearchToolCallItemParamResult Class

Definition

The FileSearchToolCallItemParamResult.

public class FileSearchToolCallItemParamResult : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemParamResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemParamResult>
type FileSearchToolCallItemParamResult = class
    interface IUtf8JsonSerializable
    interface IJsonModel<FileSearchToolCallItemParamResult>
    interface IPersistableModel<FileSearchToolCallItemParamResult>
Public Class FileSearchToolCallItemParamResult
Implements IJsonModel(Of FileSearchToolCallItemParamResult), IPersistableModel(Of FileSearchToolCallItemParamResult), IUtf8JsonSerializable
Inheritance
FileSearchToolCallItemParamResult
Implements

Constructors

Name Description
FileSearchToolCallItemParamResult()

Initializes a new instance of FileSearchToolCallItemParamResult.

FileSearchToolCallItemParamResult(String, String, String, VectorStoreFileAttributes, Nullable<Single>, IDictionary<String,BinaryData>)

Initializes a new instance of FileSearchToolCallItemParamResult.

Properties

Name Description
Attributes

Gets or sets the attributes.

FileId

The unique ID of the file.

Filename

The name of the file.

Score

The relevance score of the file - a value between 0 and 1.

Text

The text that was retrieved from the file.

Methods

Name Description
DeserializeFileSearchToolCallItemParamResult(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<FileSearchToolCallItemParamResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FileSearchToolCallItemParamResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileSearchToolCallItemParamResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileSearchToolCallItemParamResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FileSearchToolCallItemParamResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to