langchain_community.chat_message_histories.sql
.create_message_model¶
- langchain_community.chat_message_histories.sql.create_message_model(table_name: str, DynamicBase: Any) Any [source]¶
Create a message model for a given table name.
- Parameters
table_name (str) – The name of the table to use.
DynamicBase (Any) – The base class to use for the model.
- Returns
The model class.
- Return type
Any