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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET