Freigeben über


RunStepFileSearchToolCallResult Class

Definition

File search tool call result.

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

Properties

Content

The content of the result that was found. The content is only included if requested via the include query parameter.

FileId

The ID of the file that result was found in.

FileName

The name of the file that result was found in.

Score

The score of the result. All values must be a floating point number between 0 and 1.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunStepFileSearchToolCallResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepFileSearchToolCallResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepFileSearchToolCallResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepFileSearchToolCallResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepFileSearchToolCallResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to