Uses of Class
com.microsoft.semantickernel.Kernel
-
-
Uses of Kernel in com.microsoft.semantickernel
Methods in com.microsoft.semantickernel that return Kernel Modifier and Type Method Description KernelKernel.Builder. build()Builds a new instance ofKernelwith the services and plugins provided.Methods in com.microsoft.semantickernel with parameters of type Kernel Modifier and Type Method Description static Kernel.BuilderKernel. from(Kernel kernel)Creates a Builder that can create a copy of theKernel. -
Uses of Kernel in com.microsoft.semantickernel.orchestration
Constructors in com.microsoft.semantickernel.orchestration with parameters of type Kernel Constructor Description FunctionInvocation(Kernel kernel, KernelFunction<?> function, ContextVariableType<T> resultType)Create a new function invocation.FunctionInvocation(Kernel kernel, KernelFunction<T> function)Create a new function invocation. -
Uses of Kernel in com.microsoft.semantickernel.semanticfunctions
Methods in com.microsoft.semantickernel.semanticfunctions with parameters of type Kernel Modifier and Type Method Description FunctionResult<T>KernelFunction. invoke(Kernel kernel)Invokes this KernelFunction.FunctionResult<T>KernelFunction. invoke(Kernel kernel, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)Invokes this KernelFunction.default FunctionResult<T>KernelFunctionFromMethod.ImplementationFunc. invoke(Kernel kernel, KernelFunction<T> function, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)Invokes the function.FunctionInvocation<T>KernelFunction. invokeAsync(Kernel kernel)Invokes this KernelFunction.abstract reactor.core.publisher.Mono<FunctionResult<T>>KernelFunction. invokeAsync(Kernel kernel, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)Invokes this KernelFunction.reactor.core.publisher.Mono<FunctionResult<T>>KernelFunctionFromMethod.ImplementationFunc. invokeAsync(Kernel kernel, KernelFunction<T> function, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)Invokes the function.reactor.core.publisher.Mono<FunctionResult<T>>KernelFunctionFromMethod. invokeAsync(Kernel kernel, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)Concrete implementation of the abstract method in KernelFunction.reactor.core.publisher.Mono<FunctionResult<T>>KernelFunctionFromPrompt. invokeAsync(Kernel kernel, KernelFunctionArguments arguments, ContextVariableType<T> variableType, InvocationContext invocationContext)reactor.core.publisher.Mono<String>PromptTemplate. renderAsync(Kernel kernel, KernelFunctionArguments arguments, InvocationContext context)Renders the template using the suppliedKernel,KernelFunctionArguments, andInvocationContext. -
Uses of Kernel in com.microsoft.semantickernel.services.chatcompletion
Methods in com.microsoft.semantickernel.services.chatcompletion with parameters of type Kernel Modifier and Type Method Description reactor.core.publisher.Mono<List<ChatMessageContent<?>>>ChatCompletionService. getChatMessageContentsAsync(ChatHistory chatHistory, Kernel kernel, InvocationContext invocationContext)Gets the chat message contents asynchronously usingChatHistoryto support a turn-based conversation.reactor.core.publisher.Mono<List<ChatMessageContent<?>>>ChatCompletionService. getChatMessageContentsAsync(String prompt, Kernel kernel, InvocationContext invocationContext)Gets the chat message contents asynchronously using a prompt. -
Uses of Kernel in com.microsoft.semantickernel.services.textcompletion
Methods in com.microsoft.semantickernel.services.textcompletion with parameters of type Kernel Modifier and Type Method Description reactor.core.publisher.Flux<StreamingTextContent>TextGenerationService. getStreamingTextContentsAsync(String prompt, PromptExecutionSettings executionSettings, Kernel kernel)Get streaming results for the prompt using the specified execution settings.reactor.core.publisher.Mono<List<TextContent>>TextGenerationService. getTextContentsAsync(String prompt, PromptExecutionSettings executionSettings, Kernel kernel)Creates a completion for the prompt and settings. -
Uses of Kernel in com.microsoft.semantickernel.templateengine.handlebars
Methods in com.microsoft.semantickernel.templateengine.handlebars with parameters of type Kernel Modifier and Type Method Description reactor.core.publisher.Mono<String>HandlebarsPromptTemplate. renderAsync(Kernel kernel, KernelFunctionArguments arguments, InvocationContext context)
-