langchain/libs
Rajesh Thallam 6bc6d64a12
langchain_google_vertexai[patch]: Add support for SystemMessage for Gemini chat model (#15933)
- **Description:** In Google Vertex AI, Gemini Chat models currently
doesn't have a support for SystemMessage. This PR adds support for it
only if a user provides additional convert_system_message_to_human flag
during model initialization (in this case, SystemMessage would be
prepended to the first HumanMessage). **NOTE:** The implementation is
similar to #14824


- **Twitter handle:** rajesh_thallam

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-01-18 10:22:07 -08:00
..
cli Make packages optional (#15727) 2024-01-08 17:09:21 -08:00
community infra: Use dotenv in langchain-community's integration tests (#16137) 2024-01-17 18:18:26 -08:00
core core[patch]: testing add chat model for unit-tests (#16209) 2024-01-18 11:30:53 -05:00
experimental core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00
langchain Add revision identifier to run_on_dataset (#16167) 2024-01-17 20:27:43 -08:00
partners langchain_google_vertexai[patch]: Add support for SystemMessage for Gemini chat model (#15933) 2024-01-18 10:22:07 -08:00