Options
All
  • Public
  • Public/Protected
  • All
Menu

A user sends a message to Art Assistant, the conversational search flow.

conversation_id is generated on the client when the chat opens (and again when the user starts a new chat), so every message in the same chat shares it. message_id joins to [[receivedArtAssistantResponse]] and [[artAssistantTurnFailed]] via their prompt_message_id.

message carries the user's own words, so it is only populated while message content tracking is enabled; the rest of the event is always sent.

This schema describes events sent to Segment from [[sentArtAssistantMessage]]

example
 {
   action: "sentArtAssistantMessage",
   character_count: 42,
   context_module: "artAssistant",
   context_screen_owner_type: "artAssistant",
   conversation_id: "6f1b8b0e-1f27-4a0e-9d6f-2c2f2a3d1f45",
   message: "large black and white paintings under $5K",
   message_id: "a12c9d3e-6a41-4a59-8c0b-5f9b0a1d2e77",
   message_index: 0,
   type: "suggestion"
 }

Hierarchy

  • SentArtAssistantMessage

Index

Properties

action

action: sentArtAssistantMessage

character_count

character_count: number

Number of characters in the message the user sent

context_module

context_module: artAssistant

context_screen_owner_type

context_screen_owner_type: artAssistant

conversation_id

conversation_id: string

Client-generated id shared by every message in the same chat

Optional message

message: undefined | string

The user's message. Only populated while message content tracking is enabled

message_id

message_id: string

Client-generated id of this message

message_index

message_index: number

Zero-based index of this message among the user's messages in the conversation

type

type: "suggestion" | "typed"

Whether the text came from a tapped suggestion or was typed by the user

Generated using TypeDoc