Share via


AIProjectsModelFactory.FileSearchToolCallContent Method

Definition

Initializes a new instance of FileSearchToolCallContent.

public static Azure.AI.Projects.FileSearchToolCallContent FileSearchToolCallContent(Azure.AI.Projects.FileSearchToolCallContentType type = default, string text = default);
static member FileSearchToolCallContent : Azure.AI.Projects.FileSearchToolCallContentType * string -> Azure.AI.Projects.FileSearchToolCallContent
Public Shared Function FileSearchToolCallContent (Optional type As FileSearchToolCallContentType = Nothing, Optional text As String = Nothing) As FileSearchToolCallContent

Parameters

type
FileSearchToolCallContentType

The type of the content.

text
String

The text content of the file.

Returns

A new FileSearchToolCallContent instance for mocking.

Applies to