langchain_community.chat_models.meta
.convert_messages_to_prompt_llama¶
- langchain_community.chat_models.meta.convert_messages_to_prompt_llama(messages: List[BaseMessage]) str [source]¶
Convert a list of messages to a prompt for llama.
- Parameters
messages (List[BaseMessage]) –
- Return type
str