LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
LangChain Assistant
New
History
Ask a question to get started
Enter
to send
•
Shift+Enter
new line
Menu
Navigation
Projects
Community
Anthropic
AWS
Azure CosmosDB
Azure Dynamic Sessions
Baidu Qianfan
Cerebras
Cloudflare
Cohere
DeepSeek
Exa
Google Cloud SQL PG
Google Common
Google GAuth
Google GenAI
Overview
Chat Models
Embeddings
Google Vertex AI
Google Vertex AI Web
Google WebAuth
Groq
Mistral AI
Mixedbread AI
MongoDB
Nomic
Ollama
OpenAI
OpenRouter
Pinecone
Qdrant
Redis
Tavily
Turbopuffer
Weaviate
xAI
Yandex
Language
Python
JavaScript
Theme
Light
Dark
JavaScript
@langchain/google-genai
ChatGoogleGenerativeAI
serialize
Method
v2.1.20 (latest)
●
Since v1.0
Deprecated
serialize
Copy
serialize
(
)
:
SerializedLLM
View source on GitHub
Version History