Chatbot
-
kimaai_chatbot_blocked
Fires when the chatbot’s gate blocks a visitor’s message.
-
kimaai_chatbot_rate_limited
Fires when a visitor reaches the chatbot’s daily message limit.
-
kimaai_chatbot_before_request
Fires before the chatbot sends a request to the AI provider.
-
kimaai_chatbot_error
Fires when the AI provider fails on an answer, streamed or not.
-
kimaai_chatbot_after_response
Fires after the chatbot answered, streamed or not.
-
kimaai_chatbot_theme
Changes the six colours of the chatbot’s older theme; deprecated for kimaai_chatbot_theme_vars.
-
kimaai_chatbot_prompt
Changes the visitor’s message before the gate, the masking and the AI provider see it.
-
kimaai_chatbot_gate
Blocks a visitor’s message before anything is sent to the AI provider.
-
kimaai_chatbot_ai_payload
Changes the request the chatbot sends to the AI provider.
-
kimaai_chatbot_response_payload
Changes the JSON answer of a chatbot request that does not stream.
-
kimaai_chat_response_saved
Fires when an answer was saved to the chat history, streamed or not, with the provider’s raw response.
-
kimaai_chatbot_content_awareness_post_types
Changes which post types the chatbot may describe as the page the visitor is on.
-
kimaai_chatbot_csat_saved
Fires when a visitor’s rating of a whole conversation, one to five stars, was saved.
-
kimaai_chatbot_daily_message_limit
Changes how many messages a visitor may send the chatbot a day.
-
kimaai_chatbot_final_message
Changes the answer text before it is saved and shown, streamed or not.
-
kimaai_chatbot_guardrails_violation
Fires when an answer contains a term of the banned terms list, before the term is masked.
-
kimaai_chatbot_handoff
Fires when a conversation went to the team, with the ticket or reference it got.
-
kimaai_chatbot_instructions
Changes the chatbot’s instructions for one request, for example by the page the visitor is on.
-
kimaai_chatbot_message_feedback_saved
Fires when a visitor’s rating of an answer, helpful or not, was saved.
-
kimaai_chatbot_quick_actions
Changes the quick actions the chatbot offers at the start of a conversation and below each answer.
-
kimaai_chatbot_session_retention_after_cleanup
Fires after a run of the cleanup of old chatbot conversations, with what it deleted.
-
kimaai_chatbot_session_retention_before_cleanup
Fires before a run of the cleanup deletes old chatbot conversations.
-
kimaai_chatbot_session_retention_days
Changes how many days the chatbot’s conversations are kept before the cleanup deletes them.
-
kimaai_chatbot_session_retention_should_run
Pauses a run of the cleanup that deletes old chatbot conversations.
-
kimaai_chatbot_should_load
Switches the floating chat off on chosen pages, or on where the setting leaves it off.
-
kimaai_chatbot_theme_vars
Changes the chatbot’s colours by code, per colour mode, as CSS custom properties.
-
kimaai_chatbot_ungrounded_answer
Fires when the groundedness check finds that an answer is not supported by the sources it was built from.
-
kimaai_trusted_proxies
Names the proxies or CDN in front of the site whose X-Forwarded-For header gives the visitor’s address.
-
kimaai:chatbot
A browser event for analytics and Google Tag Manager when a visitor opens the chat, sends a message, gets an…