FunctionResultContent Class
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.
Represents the result of a function call.
public ref class FunctionResultContent sealed : Microsoft::Extensions::AI::AIContent
public sealed class FunctionResultContent : Microsoft.Extensions.AI.AIContent
type FunctionResultContent = class
inherit AIContent
Public NotInheritable Class FunctionResultContent
Inherits AIContent
- Inheritance
Constructors
FunctionResultContent(String, String, Object) |
Initializes a new instance of the FunctionResultContent class. |
Properties
AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
CallId |
Gets or sets the ID of the function call for which this is the result. |
Exception |
Gets or sets an exception that occurred if the function call failed. |
Name |
Gets or sets the name of the function that was called. |
RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |
Result |
Gets or sets the result of the function call, or a generic error message if the function call failed. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |