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