ToolOutput 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
ToolOutput() |
Initializes a new instance of ToolOutput. |
ToolOutput(RequiredToolCall) |
Initializes a new instance of ToolOutput. |
ToolOutput(String) |
Initializes a new instance of ToolOutput. |
ToolOutput(RequiredToolCall, String) |
Initializes a new instance of ToolOutput. |
ToolOutput(String, String) |
Initializes a new instance of ToolOutput. |
ToolOutput()
- Source:
- ToolOutput.cs
Initializes a new instance of ToolOutput.
public ToolOutput ();
Public Sub New ()
Applies to
ToolOutput(RequiredToolCall)
- Source:
- ToolOutput.cs
Initializes a new instance of ToolOutput.
public ToolOutput (Azure.AI.Projects.RequiredToolCall toolCall);
new Azure.AI.Projects.ToolOutput : Azure.AI.Projects.RequiredToolCall -> Azure.AI.Projects.ToolOutput
Public Sub New (toolCall As RequiredToolCall)
Parameters
- toolCall
- RequiredToolCall
The tool call the output will resolve, as provided in a required action from a run.
Remarks
When using this constructor, the Output property should be set prior to submission.
Applies to
ToolOutput(String)
- Source:
- ToolOutput.cs
Initializes a new instance of ToolOutput.
public ToolOutput (string toolCallId);
new Azure.AI.Projects.ToolOutput : string -> Azure.AI.Projects.ToolOutput
Public Sub New (toolCallId As String)
Parameters
- toolCallId
- String
The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.
Remarks
When using this constructor, the Output property should be set prior to submission.
Applies to
ToolOutput(RequiredToolCall, String)
- Source:
- ToolOutput.cs
Initializes a new instance of ToolOutput.
public ToolOutput (Azure.AI.Projects.RequiredToolCall toolCall, string output);
new Azure.AI.Projects.ToolOutput : Azure.AI.Projects.RequiredToolCall * string -> Azure.AI.Projects.ToolOutput
Public Sub New (toolCall As RequiredToolCall, output As String)
Parameters
- toolCall
- RequiredToolCall
The tool call the output will resolve, as provided in a required action from a run.
- output
- String
The output from the tool to be submitted.
Remarks
When using this constructor, the Output property should be set prior to submission.
Applies to
ToolOutput(String, String)
- Source:
- ToolOutput.cs
Initializes a new instance of ToolOutput.
public ToolOutput (string toolCallId, string output);
new Azure.AI.Projects.ToolOutput : string * string -> Azure.AI.Projects.ToolOutput
Public Sub New (toolCallId As String, output As String)
Parameters
- toolCallId
- String
The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.
- output
- String
The output from the tool to be submitted.
Applies to
Azure SDK for .NET