Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 4.07 KB

File metadata and controls

15 lines (11 loc) · 4.07 KB

ChatResponse

A single response from the /chat backend.

Fields

Field Type Required Description Example
messages List[models.ChatMessage] N/A
chat_id Optional[str] The id of the associated Chat the messages belong to, if one exists.
chat Optional[models.ChatMetadata] Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content.
follow_up_prompts List[str] Follow-up prompts for the user to potentially use
backend_time_millis Optional[int] Time in milliseconds the backend took to respond to the request. 1100
chat_session_tracking_token Optional[str] A token that is used to track the session.