PromptRenderingEvent Class
- java.
lang. Object - com.
microsoft. semantickernel. hooks. PromptRenderingEvent
- com.
Implements
public class PromptRenderingEvent
implements KernelHookEvent
Represents a KernelHookEvent that is raised after a prompt is rendered.
Constructor Summary
| Constructor | Description |
|---|---|
| PromptRenderingEvent(KernelFunction<?> function, KernelFunctionArguments arguments) |
Creates a new instance of the PromptRenderingEvent class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Kernel |
getArguments()
Gets the arguments that were passed to the function. |
|
Kernel |
getFunction()
Gets the function that was invoked. |
Methods inherited from java.lang.Object
Constructor Details
PromptRenderingEvent
public PromptRenderingEvent(KernelFunction function, KernelFunctionArguments arguments)
Creates a new instance of the PromptRenderingEvent class.
Parameters:
Method Details
getArguments
public KernelFunctionArguments getArguments()
Gets the arguments that were passed to the function.
Returns:
getFunction
public KernelFunction getFunction()
Gets the function that was invoked.
Returns: