IGenAIAssistantSlots
Customizations for the Gen AI assistant.
export interface IGenAIAssistantSlots
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
ComponentType<ISlotProps<IGenAIAssistantAgentChooserProps>> | (ALPHA) (Optional) Custom React component rendered for the agent chooser. | ||
ComponentType<ISlotProps<IGenAIAssistantAgentItemProps>> | (Optional) Custom React component rendered for each agent in the agent chooser dropdown. | ||
ComponentType<ISlotProps<IGenAIAssistantAssistantMessageProps>> | (ALPHA) (Optional) Custom React component rendered for each assistant message. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationDateGroupingProps>> | (ALPHA) (Optional) Custom React component rendered for date grouped conversation sections. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationDrawerHeaderProps>> | (ALPHA) (Optional) Custom React component rendered as the drawer header for conversation history. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationFooterProps>> | (ALPHA) (Optional) Custom React component rendered below each conversation history list section. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationHeaderProps>> | (ALPHA) (Optional) Custom React component rendered above each conversation history list section. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationItemProps>> | (ALPHA) (Optional) Custom React component rendered for each conversation item in the history list. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationKdaContentProps>> | (ALPHA) (Optional) Custom React component rendered for a key driver analysis part in multipart content. | ||
ComponentType<ISlotProps<IGenAIAssistantConversationVisualizationContentProps>> | (ALPHA) (Optional) Custom React component rendered for a visualization part in multipart content. | ||
ComponentType<ISlotProps<IGenAIAssistantDisclaimerProps>> | (Optional) Custom React component rendered below the input as a disclaimer. | ||
ComponentType<ISlotProps<IGenAIAssistantFeedbackProps>> | (ALPHA) (Optional) Custom React component rendered for feedback buttons of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantFollowUpButtonsProps>> | (ALPHA) (Optional) Custom React component rendered for follow up buttons of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantFollowUpQuestionProps>> | (ALPHA) (Optional) Custom React component rendered for follow up question of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantLandingScreenProps>> | (Optional) Custom React node rendered when no conversation exists yet or user has click on “New conversation” button. | ||
ComponentType<ISlotProps<IGenAIAssistantMessageErrorContentProps>> | (ALPHA) (Optional) Custom React component rendered for error content of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantMessageMultipartContentProps>> | (ALPHA) (Optional) Custom React component rendered for multipart content of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantMessageReasoningContentProps>> | (ALPHA) (Optional) Custom React component rendered for reasoning content of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantMessageTextContentProps>> | (ALPHA) (Optional) Custom React component rendered for text content of a message. | ||
ComponentType<ISlotProps<IGenAIAssistantUserMessageProps>> | (ALPHA) (Optional) Custom React component rendered for each user message. |
Property details
IGenAIAssistantSlots.AgentChooserpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for the agent chooser.
AgentChooser?: ComponentType<ISlotProps<IGenAIAssistantAgentChooserProps>>;
IGenAIAssistantSlots.AgentItemproperty
Custom React component rendered for each agent in the agent chooser dropdown.
AgentItem?: ComponentType<ISlotProps<IGenAIAssistantAgentItemProps>>;
IGenAIAssistantSlots.AssistantMessagepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for each assistant message.
AssistantMessage?: ComponentType<ISlotProps<IGenAIAssistantAssistantMessageProps>>;
IGenAIAssistantSlots.ConversationDateGroupingpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for date grouped conversation sections.
ConversationDateGrouping?: ComponentType<ISlotProps<IGenAIAssistantConversationDateGroupingProps>>;
IGenAIAssistantSlots.ConversationDrawerHeaderpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered as the drawer header for conversation history.
ConversationDrawerHeader?: ComponentType<ISlotProps<IGenAIAssistantConversationDrawerHeaderProps>>;
IGenAIAssistantSlots.ConversationFooterpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered below each conversation history list section.
ConversationFooter?: ComponentType<ISlotProps<IGenAIAssistantConversationFooterProps>>;
IGenAIAssistantSlots.ConversationHeaderpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered above each conversation history list section.
ConversationHeader?: ComponentType<ISlotProps<IGenAIAssistantConversationHeaderProps>>;
IGenAIAssistantSlots.ConversationItempropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for each conversation item in the history list.
ConversationItem?: ComponentType<ISlotProps<IGenAIAssistantConversationItemProps>>;
IGenAIAssistantSlots.ConversationKdaContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for a key driver analysis part in multipart content.
ConversationKdaContent?: ComponentType<ISlotProps<IGenAIAssistantConversationKdaContentProps>>;
IGenAIAssistantSlots.ConversationVisualizationContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for a visualization part in multipart content.
ConversationVisualizationContent?: ComponentType<ISlotProps<IGenAIAssistantConversationVisualizationContentProps>>;
IGenAIAssistantSlots.Disclaimerproperty
Custom React component rendered below the input as a disclaimer.
Disclaimer?: ComponentType<ISlotProps<IGenAIAssistantDisclaimerProps>>;
IGenAIAssistantSlots.FeedbackpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for feedback buttons of a message.
Feedback?: ComponentType<ISlotProps<IGenAIAssistantFeedbackProps>>;
IGenAIAssistantSlots.FollowUpButtonspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for follow up buttons of a message.
FollowUpButtons?: ComponentType<ISlotProps<IGenAIAssistantFollowUpButtonsProps>>;
IGenAIAssistantSlots.FollowUpQuestionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for follow up question of a message.
FollowUpQuestion?: ComponentType<ISlotProps<IGenAIAssistantFollowUpQuestionProps>>;
IGenAIAssistantSlots.LandingScreenproperty
Custom React node rendered when no conversation exists yet or user has click on “New conversation” button.
LandingScreen?: ComponentType<ISlotProps<IGenAIAssistantLandingScreenProps>>;
IGenAIAssistantSlots.MessageErrorContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for error content of a message.
MessageErrorContent?: ComponentType<ISlotProps<IGenAIAssistantMessageErrorContentProps>>;
IGenAIAssistantSlots.MessageMultipartContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for multipart content of a message.
MessageMultipartContent?: ComponentType<ISlotProps<IGenAIAssistantMessageMultipartContentProps>>;
IGenAIAssistantSlots.MessageReasoningContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for reasoning content of a message.
MessageReasoningContent?: ComponentType<ISlotProps<IGenAIAssistantMessageReasoningContentProps>>;
IGenAIAssistantSlots.MessageTextContentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for text content of a message.
MessageTextContent?: ComponentType<ISlotProps<IGenAIAssistantMessageTextContentProps>>;
IGenAIAssistantSlots.UserMessagepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Custom React component rendered for each user message.
UserMessage?: ComponentType<ISlotProps<IGenAIAssistantUserMessageProps>>;