Uses of Class
com.microsoft.semantickernel.orchestration.FunctionResultMetadata
-
-
Uses of FunctionResultMetadata in com.microsoft.semantickernel.orchestration
Methods in com.microsoft.semantickernel.orchestration that return FunctionResultMetadata Modifier and Type Method Description static FunctionResultMetadataFunctionResultMetadata. build(String id)Create a new instance of FunctionResultMetadata.static FunctionResultMetadataFunctionResultMetadata. build(String id, com.azure.ai.openai.models.CompletionsUsage usage, OffsetDateTime createdAt)Create a new instance of FunctionResultMetadata.static FunctionResultMetadataFunctionResultMetadata. empty()Create a new instance of FunctionResultMetadata with no metadata.FunctionResultMetadataFunctionResult. getMetadata()Get the metadata about the result of the function invocation.Constructors in com.microsoft.semantickernel.orchestration with parameters of type FunctionResultMetadata Constructor Description FunctionResult(ContextVariable<T> result, FunctionResultMetadata metadata, Object unconvertedResult)Create a new instance of FunctionResult. -
Uses of FunctionResultMetadata in com.microsoft.semantickernel.services
Methods in com.microsoft.semantickernel.services that return FunctionResultMetadata Modifier and Type Method Description FunctionResultMetadataKernelContent. getMetadata()Gets the metadata associated with the content.Constructors in com.microsoft.semantickernel.services with parameters of type FunctionResultMetadata Constructor Description KernelContent(T innerContent, String modelId, FunctionResultMetadata metadata)Initializes a new instance of theKernelContentclass. -
Uses of FunctionResultMetadata in com.microsoft.semantickernel.services.chatcompletion
Methods in com.microsoft.semantickernel.services.chatcompletion with parameters of type FunctionResultMetadata Modifier and Type Method Description voidChatHistory. addMessage(AuthorRole authorRole, String content, Charset encoding, FunctionResultMetadata metadata)Add a message to the chat historyConstructors in com.microsoft.semantickernel.services.chatcompletion with parameters of type FunctionResultMetadata Constructor Description ChatMessageContent(AuthorRole authorRole, String content, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata)Creates a new instance of theChatMessageContentclass.ChatMessageContent(AuthorRole authorRole, List<KernelContent<T>> items, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata)Creates a new instance of theChatMessageContentclass. -
Uses of FunctionResultMetadata in com.microsoft.semantickernel.services.textcompletion
Constructors in com.microsoft.semantickernel.services.textcompletion with parameters of type FunctionResultMetadata Constructor Description TextContent(String content, String modelId, FunctionResultMetadata metadata)Initializes a new instance of theTextContentclass with a provided content, model ID, and metadata.
-