MessageAttachment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MessageAttachment(IEnumerable<BinaryData>)
- Source:
- MessageAttachment.cs
Initializes a new instance of MessageAttachment.
public MessageAttachment(System.Collections.Generic.IEnumerable<BinaryData> tools);
new Azure.AI.Projects.MessageAttachment : seq<BinaryData> -> Azure.AI.Projects.MessageAttachment
Public Sub New (tools As IEnumerable(Of BinaryData))
Parameters
- tools
- IEnumerable<BinaryData>
The tools to add to this file.
Exceptions
tools
is null.
Applies to
MessageAttachment(VectorStoreDataSource, List<ToolDefinition>)
- Source:
- MessageAttachment.cs
public MessageAttachment(Azure.AI.Projects.VectorStoreDataSource ds, System.Collections.Generic.List<Azure.AI.Projects.ToolDefinition> tools);
new Azure.AI.Projects.MessageAttachment : Azure.AI.Projects.VectorStoreDataSource * System.Collections.Generic.List<Azure.AI.Projects.ToolDefinition> -> Azure.AI.Projects.MessageAttachment
Public Sub New (ds As VectorStoreDataSource, tools As List(Of ToolDefinition))
Parameters
- tools
- List<ToolDefinition>
Applies to
MessageAttachment(String, List<ToolDefinition>)
- Source:
- MessageAttachment.cs
public MessageAttachment(string fileId, System.Collections.Generic.List<Azure.AI.Projects.ToolDefinition> tools);
new Azure.AI.Projects.MessageAttachment : string * System.Collections.Generic.List<Azure.AI.Projects.ToolDefinition> -> Azure.AI.Projects.MessageAttachment
Public Sub New (fileId As String, tools As List(Of ToolDefinition))
Parameters
- fileId
- String
- tools
- List<ToolDefinition>
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET