Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 5.48 KB

File metadata and controls

20 lines (16 loc) · 5.48 KB

Chat

A historical representation of a series of chat messages a user had with Glean Assistant.

Fields

Field Type Required Description Example
id Optional[str] ➖ The opaque id of the Chat.
create_time Optional[int] ➖ Server Unix timestamp of the creation time (in seconds since epoch UTC).
created_by Optional[models.Person] ➖ N/A {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
update_time Optional[int] ➖ Server Unix timestamp of the update time (in seconds since epoch UTC).
name Optional[str] ➖ The name of the Chat.
application_id Optional[str] ➖ The ID of the AI App that this Chat is associated to.
application_name Optional[str] ➖ The display name of the AI App that this Chat is associated to.
icon Optional[models.IconConfig] ➖ Defines how to render an icon {
"color": "#343CED",
"key": "person_icon",
"iconType": "GLYPH",
"name": "user"
}
permissions Optional[models.ObjectPermissions] ➖ N/A
messages List[models.ChatMessage] ➖ The chat messages within a Chat.
roles List[models.UserRoleSpecification] ➖ A list of roles for this Chat.