PreChatCompletionEvent Class
- java.
lang. Object - com.
microsoft. semantickernel. hooks. PreChatCompletionEvent
- com.
Implements
public class PreChatCompletionEvent
implements KernelHookEvent
Represents a KernelHookEvent that is raised before a chat completion is invoked.
Constructor Summary
| Constructor | Description |
|---|---|
| PreChatCompletionEvent(ChatCompletionsOptions options) |
Creates a new instance of the PreChatCompletionEvent class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Chat |
getOptions()
Gets the chat completion options. |
Methods inherited from java.lang.Object
Constructor Details
PreChatCompletionEvent
public PreChatCompletionEvent(ChatCompletionsOptions options)
Creates a new instance of the PreChatCompletionEvent class.
Parameters:
Method Details
getOptions
public ChatCompletionsOptions getOptions()
Gets the chat completion options.
Returns: