# BaseChatPromptTemplate

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate)

Base class for chat prompt templates.

## Signature

```python
BaseChatPromptTemplate(
    self,
    *args: Any = (),
    **kwargs: Any = {},
)
```

## Extends

- `BasePromptTemplate`
- `ABC`

## Properties

- `lc_attributes`

## Methods

- [`format()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/format)
- [`aformat()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/aformat)
- [`format_prompt()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/format_prompt)
- [`aformat_prompt()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/aformat_prompt)
- [`format_messages()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/format_messages)
- [`aformat_messages()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/aformat_messages)
- [`pretty_repr()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/pretty_repr)
- [`pretty_print()`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate/pretty_print)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/core/langchain_core/prompts/chat.py#L691)