Format the chat template into a list of finalized messages.
format_messages(
self,
**kwargs: Any = {},
) -> list[BaseMessage]| Name | Type | Description |
|---|---|---|
**kwargs | Any | Default: {}Keyword arguments to use for filling in template variables in all the template messages in this chat template. |