Share via


AIProjectsModelFactory.RunStepFileSearchToolCallResult Method

Definition

Initializes a new instance of RunStepFileSearchToolCallResult.

public static Azure.AI.Projects.RunStepFileSearchToolCallResult RunStepFileSearchToolCallResult(string fileId = default, string fileName = default, float score = 0, System.Collections.Generic.IEnumerable<Azure.AI.Projects.FileSearchToolCallContent> content = default);
static member RunStepFileSearchToolCallResult : string * string * single * seq<Azure.AI.Projects.FileSearchToolCallContent> -> Azure.AI.Projects.RunStepFileSearchToolCallResult
Public Shared Function RunStepFileSearchToolCallResult (Optional fileId As String = Nothing, Optional fileName As String = Nothing, Optional score As Single = 0, Optional content As IEnumerable(Of FileSearchToolCallContent) = Nothing) As RunStepFileSearchToolCallResult

Parameters

fileId
String

The ID of the file that result was found in.

fileName
String

The name of the file that result was found in.

score
Single

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

content
IEnumerable<FileSearchToolCallContent>

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

Returns

A new RunStepFileSearchToolCallResult instance for mocking.

Applies to