Class PreChatCompletionEvent

  • All Implemented Interfaces:
    KernelHookEvent

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

      • PreChatCompletionEvent

        public PreChatCompletionEvent​(com.azure.ai.openai.models.ChatCompletionsOptions options)
        Creates a new instance of the PreChatCompletionEvent class.
        Parameters:
        options - the chat completion options
    • Method Detail

      • getOptions

        public com.azure.ai.openai.models.ChatCompletionsOptions getOptions()
        Gets the chat completion options.
        Returns:
        the options