gemma_messages_to_prompt#
- langchain_google_vertexai.gemma.gemma_messages_to_prompt(history: List[BaseMessage]) str [source]#
Converts a list of messages to a chat prompt for Gemma.
- Parameters:
history (List[BaseMessage]) –
- Return type:
str
Converts a list of messages to a chat prompt for Gemma.
history (List[BaseMessage]) –
str