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 FunctionResultMetadata<?>FunctionResultMetadata. build(String id)Create a new instance of FunctionResultMetadata.static <UsageType>
FunctionResultMetadata<UsageType>FunctionResultMetadata. build(String id, UsageType usage, OffsetDateTime createdAt)Create a new instance of FunctionResultMetadata.static FunctionResultMetadata<?>FunctionResultMetadata. empty()Create a new instance of FunctionResultMetadata with no metadata.FunctionResultMetadata<?>FunctionResult. 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 ChatHistoryChatHistory. 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, String content, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata, ChatMessageContentType contentType)Creates a new instance of theChatMessageContentclass.ChatMessageContent(AuthorRole authorRole, List<KernelContent<T>> items, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata, ChatMessageContentType contentType)Creates a new instance of theChatMessageContentclass. -
Uses of FunctionResultMetadata in com.microsoft.semantickernel.services.chatcompletion.message
Methods in com.microsoft.semantickernel.services.chatcompletion.message with parameters of type FunctionResultMetadata Modifier and Type Method Description ChatMessageTextContent.BuilderChatMessageTextContent.Builder. withMetadata(FunctionResultMetadata metadata)Set the metadata associated with the contentConstructors in com.microsoft.semantickernel.services.chatcompletion.message with parameters of type FunctionResultMetadata Constructor Description ChatMessageTextContent(AuthorRole authorRole, String content, String modelId, Charset encoding, FunctionResultMetadata metadata)Creates a new instance of theChatMessageTextContentclass. -
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.
-