> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.ChatResult

<h2 id="autogen.ChatResult" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">ChatResult</span>
</h2>

```python theme={null}
ChatResult(
    chat_id: int = None,
    chat_history: list[dict[str, Any]] = None,
    summary: str = None,
    cost: dict[str, dict[str, Any]] = None,
    human_input: list[str] = None
)
```

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

<b>Parameters:</b>

| Name           | Description                                                               |
| -------------- | ------------------------------------------------------------------------- |
| `chat_id`      | **Type:** int<br /><br />**Default:** None                                |
| `chat_history` | **Type:** list\[dict\[str, typing.Any]]<br /><br />**Default:** None      |
| `summary`      | **Type:** str<br /><br />**Default:** None                                |
| `cost`         | **Type:** dict\[str, dict\[str, typing.Any]]<br /><br />**Default:** None |
| `human_input`  | **Type:** list\[str]<br /><br />**Default:** None                         |

### Instance Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### chat\_history

<br />

The chat history.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### chat\_id

<br />

chat id

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### cost

<br />

The cost of the chat.<br />The value for each usage type is a dictionary containing cost information for that specific type.<br />    - "usage\_including\_cached\_inference": Cost information on the total usage, including the tokens in cached inference.<br />    - "usage\_excluding\_cached\_inference": Cost information on the usage of tokens, excluding the tokens in cache. No larger than "usage\_including\_cached\_inference".

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### human\_input

<br />

A list of human input solicited during the chat.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### summary

<br />

A summary obtained from the chat.
