The ConversationDict represents a Chainlit App conversation.

Attributes

id
str

The conversation ID.

createdAt
int

The date of the conversation creation.

elementCount
int

The total number of conversation elements.

messageCount
int

The total number of conversation messages.

appUser
Optional[AppUser]

The conversation author, if available.

messages
List[MessageDict]

The messages exchanged in the conversation.

elements
Optional[List[ElementDict]]

The elements exchanged in the conversation, if available.