langchain_core.messages.base
.merge_content¶
- langchain_core.messages.base.merge_content(first_content: Union[str, List[Union[str, Dict]]], second_content: Union[str, List[Union[str, Dict]]]) Union[str, List[Union[str, Dict]]] [source]¶
Merge two message contents.
- Parameters
first_content – The first content.
second_content – The second content.
- Returns
The merged content.