Uses of Class
com.microsoft.semantickernel.orchestration.InvocationContext
-
-
Uses of InvocationContext in com.microsoft.semantickernel.orchestration
Methods in com.microsoft.semantickernel.orchestration that return InvocationContext Modifier and Type Method Description InvocationContextInvocationContext.Builder. build()Methods in com.microsoft.semantickernel.orchestration with parameters of type InvocationContext Modifier and Type Method Description static InvocationContext.BuilderInvocationContext. copy(InvocationContext context)Create a new instance of InvocationContext by copying the values from another instance.FunctionInvocation<T>FunctionInvocation. withInvocationContext(InvocationContext invocationContext)Use an invocation context variable to supply the types, tool call behavior, prompt execution settings, and kernel hooks to the function invocation. -
Uses of InvocationContext in com.microsoft.semantickernel.semanticfunctions
Methods in com.microsoft.semantickernel.semanticfunctions with parameters of type InvocationContext Modifier and Type Method Description 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.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 InvocationContext in com.microsoft.semantickernel.services.chatcompletion
Methods in com.microsoft.semantickernel.services.chatcompletion with parameters of type InvocationContext 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 InvocationContext in com.microsoft.semantickernel.templateengine.handlebars
Methods in com.microsoft.semantickernel.templateengine.handlebars with parameters of type InvocationContext Modifier and Type Method Description reactor.core.publisher.Mono<String>HandlebarsPromptTemplate. renderAsync(Kernel kernel, KernelFunctionArguments arguments, InvocationContext context)
-