PromptRenderContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class with data related to prompt rendering.
public sealed class PromptRenderContext
type PromptRenderContext = class
Public NotInheritable Class PromptRenderContext
- Inheritance
-
PromptRenderContext
Properties
| Arguments |
Gets the arguments associated with the operation. |
| CancellationToken |
The CancellationToken to monitor for cancellation requests. The default is None. |
| ExecutionSettings |
The execution settings associated with the operation. |
| Function |
Gets the KernelFunction with which this filter is associated. |
| IsStreaming |
Boolean flag which indicates whether a filter is invoked within streaming or non-streaming mode. |
| Kernel |
Gets the Kernel containing services, plugins, and other state for use throughout the operation. |
| RenderedPrompt |
Gets or sets the rendered prompt. |
| Result |
Gets or sets the result of the function's invocation.
Setting Result to a non- |