text: Summarization | ğŸ¦œï¸�ğŸ”— Langchain
  
  
  
  
  
  Skip to main contentğŸ¦œï¸�ğŸ”— LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKUse casesQA and Chat over DocumentsAnalyzing structured dataExtractionInteracting with APIsChatbotsSummarizationCode UnderstandingAgent simulationsAgentsAutonomous (long-running) agentsMulti-modalUse casesSummarizationSummarizationSummarization involves creating a smaller summary of multiple longer documents.
  This can be useful for distilling long documents into the core pieces of information.The recommended way to get started using a summarization chain is:from langchain.chains.summarize import load_summarize_chainchain = load_summarize_chain(llm, chain_type="map_reduce")chain.run(docs)The following resources exist:Summarization notebook: A notebook walking through how to accomplish this task.Additional related resources include:Modules for working with documents: Core components for working with documents.PreviousVoice AssistantNextCode UnderstandingCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright Â© 2023 LangChain, Inc.