@snf/qa-bot-core 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -418,14 +418,14 @@ The bot fires analytics events via an optional callback prop, allowing you to wi
418
418
 
419
419
  | Event | When Fired | Key Fields |
420
420
  |-------|------------|------------|
421
- | `qa_bot_opened` | Chat window opened | `sessionId` |
422
- | `qa_bot_closed` | Chat window closed | `sessionId`, `messageCount`, `durationMs` |
423
- | `qa_new_chat_started` | User clicks "New Chat" | `sessionId`, `previousMessageCount` |
424
- | `qa_question_asked` | User submits question | `sessionId`, `queryId`, `questionLength` |
425
- | `qa_response_received` | API returns response | `sessionId`, `queryId`, `responseTimeMs`, `responseLength`, `hasMetadata` |
426
- | `qa_response_error` | API call fails | `sessionId`, `queryId`, `errorType` |
427
- | `qa_response_rated` | User rates response | `sessionId`, `queryId`, `rating` |
428
- | `qa_login_prompt_shown` | Login gate displayed | `sessionId` |
421
+ | `chatbot_open` | Chat window opened | `sessionId` |
422
+ | `chatbot_close` | Chat window closed | `sessionId`, `messageCount`, `durationMs` |
423
+ | `chatbot_new_chat` | User clicks "New Chat" | `sessionId`, `previousMessageCount` |
424
+ | `chatbot_question_sent` | User submits question | `sessionId`, `queryId`, `questionLength` |
425
+ | `chatbot_answer_received` | API returns response | `sessionId`, `queryId`, `responseTimeMs`, `responseLength`, `hasMetadata` |
426
+ | `chatbot_answer_error` | API call fails | `sessionId`, `queryId`, `errorType` |
427
+ | `chatbot_rating_sent` | User rates response | `sessionId`, `queryId`, `rating` |
428
+ | `chatbot_login_prompt_shown` | Login gate displayed | `sessionId` |
429
429
 
430
430
  All events include `type` and `timestamp`. The `sessionId` is auto-injected when available.
431
431