Share via


PostChatCompletionEvent Class

  • java.lang.Object
    • com.microsoft.semantickernel.hooks.PostChatCompletionEvent

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
ChatCompletions getChatCompletions()

Gets the chat completions.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PostChatCompletionEvent

public PostChatCompletionEvent(ChatCompletions chatCompletions)

Creates a new instance of the PostChatCompletionEvent class.

Parameters:

chatCompletions - the chat completions

Method Details

getChatCompletions

public ChatCompletions getChatCompletions()

Gets the chat completions.

Returns:

the chat completions

Applies to