diff --git a/docs/docs/concepts/messages.mdx b/docs/docs/concepts/messages.mdx index 811396883af..e2f459d2446 100644 --- a/docs/docs/concepts/messages.mdx +++ b/docs/docs/concepts/messages.mdx @@ -145,7 +145,7 @@ An `AIMessage` has the following attributes. The attributes which are **standard | `content` | Raw | Usually a string, but can be a list of content blocks. See [content](#content) for details. | | `tool_calls` | Standardized | Tool calls associated with the message. See [tool calling](/docs/concepts/tool_calling) for details. | | `invalid_tool_calls` | Standardized | Tool calls with parsing errors associated with the message. See [tool calling](/docs/concepts/tool_calling) for details. | -| `usage_metadata` | Standardized | Usage metadata for a message, such as [token counts](/docs/concepts/tokens). See [Usage Metadata API Reference](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.ai.UsageMetadata.html) | +| `usage_metadata` | Standardized | Usage metadata for a message, such as [token counts](/docs/concepts/tokens). See [Usage Metadata API Reference](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.ai.UsageMetadata.html). | | `id` | Standardized | An optional unique identifier for the message, ideally provided by the provider/model that created the message. | | `response_metadata` | Raw | Response metadata, e.g., response headers, logprobs, token counts. | @@ -241,4 +241,4 @@ chat_model.invoke([ At the moment, the output of the model will be in terms of LangChain messages, so you will need to convert the output to the OpenAI format if you need OpenAI format for the output as well. -The [convert_to_openai_messages](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.utils.convert_to_openai_messages.html) utility function can be used to convert from LangChain messages to OpenAI format. \ No newline at end of file +The [convert_to_openai_messages](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.utils.convert_to_openai_messages.html) utility function can be used to convert from LangChain messages to OpenAI format.