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

PersistentAgentsModelFactory.FileSearchToolCallContent Method

Definition

Initializes a new instance of FileSearchToolCallContent.

public static Azure.AI.Agents.Persistent.FileSearchToolCallContent FileSearchToolCallContent(Azure.AI.Agents.Persistent.FileSearchToolCallContentType type = default, string text = default);
static member FileSearchToolCallContent : Azure.AI.Agents.Persistent.FileSearchToolCallContentType * string -> Azure.AI.Agents.Persistent.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