Class PreChatCompletionEvent
- java.lang.Object
-
- com.microsoft.semantickernel.hooks.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 Summary
Constructors Constructor Description PreChatCompletionEvent(com.azure.ai.openai.models.ChatCompletionsOptions options)Creates a new instance of thePreChatCompletionEventclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.ai.openai.models.ChatCompletionsOptionsgetOptions()Gets the chat completion options.
-
-
-
Constructor Detail
-
PreChatCompletionEvent
public PreChatCompletionEvent(com.azure.ai.openai.models.ChatCompletionsOptions options)
Creates a new instance of thePreChatCompletionEventclass.- Parameters:
options- the chat completion options
-
-