Class PostChatCompletionEvent

  • All Implemented Interfaces:
    KernelHookEvent

    public class PostChatCompletionEvent
    extends Object
    implements KernelHookEvent
    Represents a KernelHookEvent that is raised after a chat completion is invoked.
    • Constructor Detail

      • PostChatCompletionEvent

        public PostChatCompletionEvent​(com.azure.ai.openai.models.ChatCompletions chatCompletions)
        Creates a new instance of the PostChatCompletionEvent class.
        Parameters:
        chatCompletions - the chat completions
    • Method Detail

      • getChatCompletions

        public com.azure.ai.openai.models.ChatCompletions getChatCompletions()
        Gets the chat completions.
        Returns:
        the chat completions