Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home 🦜🔗 LangChain  documentation - Home
  • Reference
Ctrl+K
Docs
OSZAR »
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
Docs
OSZAR »
  • GitHub
  • X / Twitter

Section Navigation

Base packages

  • Core
  • Langchain
  • Text Splitters
  • Community
  • Experimental

Integrations

  • AI21
  • Anthropic
  • AstraDB
  • AWS
  • Azure Ai
  • Azure Dynamic Sessions
  • Cerebras
  • Chroma
  • Cohere
    • chains
      • create_summarize_prompt
      • load_summarize_chain
    • chat_models
    • common
    • embeddings
    • llms
    • rag_retrievers
    • react_multi_hop
    • rerank
    • sql_agent
  • Deepseek
  • Elasticsearch
  • Exa
  • Fireworks
  • Google Community
  • Google GenAI
  • Google VertexAI
  • Groq
  • Huggingface
  • IBM
  • Milvus
  • MistralAI
  • MongoDB
  • Neo4J
  • Nomic
  • Nvidia Ai Endpoints
  • Ollama
  • OpenAI
  • Perplexity
  • Pinecone
  • Postgres
  • Prompty
  • Qdrant
  • Redis
  • Sema4
  • Snowflake
  • Sqlserver
  • Standard Tests
  • Tavily
  • Together
  • Unstructured
  • Upstage
  • VoyageAI
  • Weaviate
  • XAI
  • LangChain Python API Reference
  • langchain-cohere: 0.4.4
  • chains

chains#

Functions

chains.summarize.summarize_chain.create_summarize_prompt([...])

Create prompt for this agent. :param system_message: Message to use as the system message that will be the first in the prompt. :param extra_prompt_messages: Prompt messages that will be placed between the system message and the new human input.

chains.summarize.summarize_chain.load_summarize_chain(llm)

© Copyright 2025, LangChain Inc.

OSZAR »