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 sealed class FunctionResultContent : Microsoft.SemanticKernel.KernelContent
type FunctionResultContent = class
inherit KernelContent
Public NotInheritable Class FunctionResultContent
Inherits KernelContent
- Inheritance
Constructors
FunctionResultContent(FunctionCallContent, FunctionResult) |
Creates a new instance of the FunctionCallContent class. |
FunctionResultContent(FunctionCallContent, Object) |
Creates a new instance of the FunctionCallContent class. |
FunctionResultContent(String, String, String, Object) |
Creates a new instance of the FunctionResultContent class. |
Properties
CallId |
The function call ID. |
FunctionName |
The function name. |
InnerContent |
The inner content representation. Use this to bypass the current abstraction. (Inherited from KernelContent) |
Metadata |
The metadata associated with the content. (Inherited from KernelContent) |
MimeType |
MIME type of the content. (Inherited from KernelContent) |
ModelId |
The model ID used to generate the content. (Inherited from KernelContent) |
PluginName |
The plugin name. |
Result |
The result of the function call, the function invocation exception or the custom error message. |
Methods
ToChatMessage() |
Creates ChatMessageContent and adds the current instance of the class to the Items collection. |