autogen
autogen.ChatResult
ChatResult
(Experimental) The result of a chat. Almost certain to be changed.
Parameters:Name | Description |
---|---|
chat_id | Type: int Default: None |
chat_history | Type: list[dict[str, typing.Any]] Default: None |
summary | Type: str Default: None |
cost | Type: dict[str, dict[str, typing.Any]] Default: None |
human_input | Type: list[str] Default: None |
Class 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.