mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-27 06:18:05 +00:00
core[patch]: add google genai to serialization (#26154)
This commit is contained in:
@@ -18,6 +18,7 @@ DEFAULT_NAMESPACES = [
|
|||||||
"langchain_community",
|
"langchain_community",
|
||||||
"langchain_anthropic",
|
"langchain_anthropic",
|
||||||
"langchain_groq",
|
"langchain_groq",
|
||||||
|
"langchain_google_genai",
|
||||||
]
|
]
|
||||||
|
|
||||||
ALL_SERIALIZABLE_MAPPINGS = {
|
ALL_SERIALIZABLE_MAPPINGS = {
|
||||||
|
@@ -303,6 +303,11 @@ SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = {
|
|||||||
"bedrock",
|
"bedrock",
|
||||||
"ChatBedrock",
|
"ChatBedrock",
|
||||||
),
|
),
|
||||||
|
("langchain_google_genai", "chat_models", "ChatGoogleGenerativeAI"): (
|
||||||
|
"langchain_google_genai",
|
||||||
|
"chat_models",
|
||||||
|
"ChatGoogleGenerativeAI",
|
||||||
|
),
|
||||||
("langchain", "schema", "output", "ChatGenerationChunk"): (
|
("langchain", "schema", "output", "ChatGenerationChunk"): (
|
||||||
"langchain_core",
|
"langchain_core",
|
||||||
"outputs",
|
"outputs",
|
||||||
|
Reference in New Issue
Block a user