Skip to main content

ChatResult

(Experimental) The result of a chat. Almost certain to be changed. Parameters:

Instance Attributes

chat_history


The chat history.

chat_id


chat id

cost


The cost of the chat.
The value for each usage type is a dictionary containing cost information for that specific type.
- “usage_including_cached_inference”: Cost information on the total usage, including the tokens in cached inference.
- “usage_excluding_cached_inference”: Cost information on the usage of tokens, excluding the tokens in cache. No larger than “usage_including_cached_inference”.

human_input


A list of human input solicited during the chat.

summary


A summary obtained from the chat.