langchain/libs/partners/google-genai/langchain_google_genai
Leonid Kuligin 2d0f1cae8c
added history and support for system_message as param (#14824)
- **Description:** added support for chat_history for Google
GenerativeAI (to actually use the `chat` API) plus since Gemini
currently doesn't have a support for SystemMessage, added support for it
only if a user provides additional `convert_system_message_to_human`
flag during model initialization (in this case, SystemMessage would be
prepanded to the first HumanMessage)
  - **Issue:** #14710 
  - **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant
maintainer (see below),
  - **Twitter handle:** lkuligin

---------

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2023-12-18 18:23:14 -08:00
..
__init__.py google-genai[patch], community[patch]: Added support for new Google GenerativeAI models (#14530) 2023-12-14 20:56:46 -08:00
_common.py [Partner] Gemini Embeddings (#14690) 2023-12-13 17:05:31 -08:00
chat_models.py added history and support for system_message as param (#14824) 2023-12-18 18:23:14 -08:00
embeddings.py [Partner] Gemini Embeddings (#14690) 2023-12-13 17:05:31 -08:00
llms.py google-genai[patch], community[patch]: Added support for new Google GenerativeAI models (#14530) 2023-12-14 20:56:46 -08:00
py.typed [Partner] Gemini Embeddings (#14690) 2023-12-13 17:05:31 -08:00