id
stringlengths 14
17
| text
stringlengths 42
2.1k
|
---|---|
4e9727215e95-0 | Page Title: Get started | 🦜️🔗 Langchain
Paragraphs:
Skip to main content🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLKGet startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedGet startedGet started with LangChain📄️ Introduction📄️ Installation📄️ QuickstartInstallationNextIntroductionCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
Skip to main content
🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLK
🦜️🔗 LangChainDocsUse casesAPI
LangSmithPython DocsCTRLK
CTRLK
Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedGet startedGet started with LangChain📄️ Introduction📄️ Installation📄️ QuickstartInstallationNextIntroduction
Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI reference
Get started
Modules
Model I/O
Data connection
Chains
Memory
Agents
Callbacks
Guides
Ecosystem
Additional resources
API reference
Get startedGet startedGet started with LangChain📄️ Introduction📄️ Installation📄️ QuickstartInstallationNextIntroduction
Get started with LangChain
Installation
Next
Introduction
CommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
CommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlog
CommunityDiscordTwitter
Community
GitHubPythonJS/TS
GitHub
MoreHomepageBlog
More |
4e9727215e95-1 | Community
GitHubPythonJS/TS
GitHub
MoreHomepageBlog
More
Copyright © 2023 LangChain, Inc.
Page Title: 🦜️🔗 Langchain
Paragraphs:
Paragraphs:
Page Title: Introduction | 🦜️🔗 Langchain
Paragraphs:
Skip to main content🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLKGet startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedIntroductionIntroductionLangChain is a framework for developing applications powered by language models. It enables applications that are:Data-aware: connect a language model to other sources of dataAgentic: allow a language model to interact with its environmentThe main value props of LangChain are:Components: abstractions for working with language models, along with a collection of implementations for each abstraction. Components are modular and easy-to-use, whether you are using the rest of the LangChain framework or notOff-the-shelf chains: a structured assembly of components for accomplishing specific higher-level tasksOff-the-shelf chains make it easy to get started. For more complex applications and nuanced use-cases, components make it easy to customize existing chains or build new ones.Get startedHere’s how to install LangChain, set up your environment, and start building.We recommend following our Quickstart guide to familiarize yourself with the framework by building your first LangChain application.Note: These docs are for the LangChain JS/TS package. |
4e9727215e95-2 | For documentation on the Python version, head here.ModulesLangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:Model I/OInterface with language modelsData connectionInterface with application-specific dataChainsConstruct sequences of callsAgentsLet chains choose which tools to use given high-level directivesMemoryPersist application state between runs of a chainCallbacksLog and stream intermediate steps of any chainExamples, ecosystem, and resourcesUse casesWalkthroughs and best-practices for common end-to-end use cases, like:ChatbotsAnswering questions using sourcesAnalyzing structured dataand much more...Additional resourcesOur community is full of prolific developers, creative builders, and fantastic teachers. Check out the Gallery for a list of awesome LangChain projects, compiled by the folks at KyroLabs. Support Join us on GitHub or Discord to ask questions, share feedback, meet other developers building with LangChain, and dream about the future of LLM’s.PreviousGet startedNextInstallationCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc. |
4e9727215e95-3 | Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedIntroductionIntroductionLangChain is a framework for developing applications powered by language models. It enables applications that are:Data-aware: connect a language model to other sources of dataAgentic: allow a language model to interact with its environmentThe main value props of LangChain are:Components: abstractions for working with language models, along with a collection of implementations for each abstraction. Components are modular and easy-to-use, whether you are using the rest of the LangChain framework or notOff-the-shelf chains: a structured assembly of components for accomplishing specific higher-level tasksOff-the-shelf chains make it easy to get started. For more complex applications and nuanced use-cases, components make it easy to customize existing chains or build new ones.Get startedHere’s how to install LangChain, set up your environment, and start building.We recommend following our Quickstart guide to familiarize yourself with the framework by building your first LangChain application.Note: These docs are for the LangChain JS/TS package. |
4e9727215e95-4 | For documentation on the Python version, head here.ModulesLangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:Model I/OInterface with language modelsData connectionInterface with application-specific dataChainsConstruct sequences of callsAgentsLet chains choose which tools to use given high-level directivesMemoryPersist application state between runs of a chainCallbacksLog and stream intermediate steps of any chainExamples, ecosystem, and resourcesUse casesWalkthroughs and best-practices for common end-to-end use cases, like:ChatbotsAnswering questions using sourcesAnalyzing structured dataand much more...Additional resourcesOur community is full of prolific developers, creative builders, and fantastic teachers. Check out the Gallery for a list of awesome LangChain projects, compiled by the folks at KyroLabs. Support Join us on GitHub or Discord to ask questions, share feedback, meet other developers building with LangChain, and dream about the future of LLM’s.PreviousGet startedNextInstallation |
4e9727215e95-5 | Get startedIntroductionIntroductionLangChain is a framework for developing applications powered by language models. It enables applications that are:Data-aware: connect a language model to other sources of dataAgentic: allow a language model to interact with its environmentThe main value props of LangChain are:Components: abstractions for working with language models, along with a collection of implementations for each abstraction. Components are modular and easy-to-use, whether you are using the rest of the LangChain framework or notOff-the-shelf chains: a structured assembly of components for accomplishing specific higher-level tasksOff-the-shelf chains make it easy to get started. For more complex applications and nuanced use-cases, components make it easy to customize existing chains or build new ones.Get startedHere’s how to install LangChain, set up your environment, and start building.We recommend following our Quickstart guide to familiarize yourself with the framework by building your first LangChain application.Note: These docs are for the LangChain JS/TS package. |
4e9727215e95-6 | For documentation on the Python version, head here.ModulesLangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:Model I/OInterface with language modelsData connectionInterface with application-specific dataChainsConstruct sequences of callsAgentsLet chains choose which tools to use given high-level directivesMemoryPersist application state between runs of a chainCallbacksLog and stream intermediate steps of any chainExamples, ecosystem, and resourcesUse casesWalkthroughs and best-practices for common end-to-end use cases, like:ChatbotsAnswering questions using sourcesAnalyzing structured dataand much more...Additional resourcesOur community is full of prolific developers, creative builders, and fantastic teachers. Check out the Gallery for a list of awesome LangChain projects, compiled by the folks at KyroLabs. Support Join us on GitHub or Discord to ask questions, share feedback, meet other developers building with LangChain, and dream about the future of LLM’s.PreviousGet startedNextInstallation |
4e9727215e95-7 | IntroductionLangChain is a framework for developing applications powered by language models. It enables applications that are:Data-aware: connect a language model to other sources of dataAgentic: allow a language model to interact with its environmentThe main value props of LangChain are:Components: abstractions for working with language models, along with a collection of implementations for each abstraction. Components are modular and easy-to-use, whether you are using the rest of the LangChain framework or notOff-the-shelf chains: a structured assembly of components for accomplishing specific higher-level tasksOff-the-shelf chains make it easy to get started. For more complex applications and nuanced use-cases, components make it easy to customize existing chains or build new ones.Get startedHere’s how to install LangChain, set up your environment, and start building.We recommend following our Quickstart guide to familiarize yourself with the framework by building your first LangChain application.Note: These docs are for the LangChain JS/TS package. |
4e9727215e95-8 | For documentation on the Python version, head here.ModulesLangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:Model I/OInterface with language modelsData connectionInterface with application-specific dataChainsConstruct sequences of callsAgentsLet chains choose which tools to use given high-level directivesMemoryPersist application state between runs of a chainCallbacksLog and stream intermediate steps of any chainExamples, ecosystem, and resourcesUse casesWalkthroughs and best-practices for common end-to-end use cases, like:ChatbotsAnswering questions using sourcesAnalyzing structured dataand much more...Additional resourcesOur community is full of prolific developers, creative builders, and fantastic teachers. Check out the Gallery for a list of awesome LangChain projects, compiled by the folks at KyroLabs. Support Join us on GitHub or Discord to ask questions, share feedback, meet other developers building with LangChain, and dream about the future of LLM’s.
LangChain is a framework for developing applications powered by language models. It enables applications that are:
The main value props of LangChain are:
Off-the-shelf chains make it easy to get started. For more complex applications and nuanced use-cases, components make it easy to customize existing chains or build new ones.
Here’s how to install LangChain, set up your environment, and start building.
We recommend following our Quickstart guide to familiarize yourself with the framework by building your first LangChain application.
Note: These docs are for the LangChain JS/TS package. For documentation on the Python version, head here.
LangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:
Interface with language models
Interface with application-specific data
Construct sequences of calls
Let chains choose which tools to use given high-level directives |
4e9727215e95-9 | Construct sequences of calls
Let chains choose which tools to use given high-level directives
Persist application state between runs of a chain
Log and stream intermediate steps of any chain
Walkthroughs and best-practices for common end-to-end use cases, like:
Our community is full of prolific developers, creative builders, and fantastic teachers. Check out the Gallery for a list of awesome LangChain projects, compiled by the folks at KyroLabs.
Join us on GitHub or Discord to ask questions, share feedback, meet other developers building with LangChain, and dream about the future of LLM’s.
Previous
Page Title: Use cases | 🦜️🔗 Langchain
Paragraphs: |
4e9727215e95-10 | Page Title: Use cases | 🦜️🔗 Langchain
Paragraphs:
Skip to main content🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLKUse casesQA and Chat over DocumentsTabular Question AnsweringInteracting with APIsSummarizationAgent SimulationsAutonomous AgentsChatbotsExtractionUse casesUse casesWalkthroughs of common end-to-end use cases🗃️ QA and Chat over Documents2 items📄️ Tabular Question AnsweringLots of data and information is stored in tabular data, whether it be csvs, excel sheets, or SQL tables.📄️ Interacting with APIsLots of data and information is stored behind APIs.📄️ SummarizationA common use case is wanting to summarize long documents.🗃️ Agent Simulations1 items🗃️ Autonomous Agents2 items📄️ ChatbotsLanguage models are good at producing text, which makes them ideal for creating chatbots.📄️ ExtractionMost APIs and databases still deal with structured information. Therefore, in order to better work with those, it can be useful to extract structured information from text. Examples of this include:NextQA and Chat over DocumentsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc. |
4e9727215e95-11 | Use casesQA and Chat over DocumentsTabular Question AnsweringInteracting with APIsSummarizationAgent SimulationsAutonomous AgentsChatbotsExtractionUse casesUse casesWalkthroughs of common end-to-end use cases🗃️ QA and Chat over Documents2 items📄️ Tabular Question AnsweringLots of data and information is stored in tabular data, whether it be csvs, excel sheets, or SQL tables.📄️ Interacting with APIsLots of data and information is stored behind APIs.📄️ SummarizationA common use case is wanting to summarize long documents.🗃️ Agent Simulations1 items🗃️ Autonomous Agents2 items📄️ ChatbotsLanguage models are good at producing text, which makes them ideal for creating chatbots.📄️ ExtractionMost APIs and databases still deal with structured information. Therefore, in order to better work with those, it can be useful to extract structured information from text. Examples of this include:NextQA and Chat over Documents
Use casesQA and Chat over DocumentsTabular Question AnsweringInteracting with APIsSummarizationAgent SimulationsAutonomous AgentsChatbotsExtraction
Use cases
QA and Chat over Documents
Agent Simulations
Autonomous Agents |
4e9727215e95-12 | Use cases
QA and Chat over Documents
Agent Simulations
Autonomous Agents
Use casesUse casesWalkthroughs of common end-to-end use cases🗃️ QA and Chat over Documents2 items📄️ Tabular Question AnsweringLots of data and information is stored in tabular data, whether it be csvs, excel sheets, or SQL tables.📄️ Interacting with APIsLots of data and information is stored behind APIs.📄️ SummarizationA common use case is wanting to summarize long documents.🗃️ Agent Simulations1 items🗃️ Autonomous Agents2 items📄️ ChatbotsLanguage models are good at producing text, which makes them ideal for creating chatbots.📄️ ExtractionMost APIs and databases still deal with structured information. Therefore, in order to better work with those, it can be useful to extract structured information from text. Examples of this include:NextQA and Chat over Documents
Walkthroughs of common end-to-end use cases
2 items
Lots of data and information is stored in tabular data, whether it be csvs, excel sheets, or SQL tables.
Lots of data and information is stored behind APIs.
A common use case is wanting to summarize long documents.
1 items
Language models are good at producing text, which makes them ideal for creating chatbots.
Most APIs and databases still deal with structured information. Therefore, in order to better work with those, it can be useful to extract structured information from text. Examples of this include:
Page Title: langchain | 🦜️🔗 Langchain
Paragraphs: |
4e9727215e95-13 | Skip to main content🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLKGet startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI |
4e9727215e95-14 | referencelangchain/agentslangchain/agents/loadlangchain/agents/toolkitslangchain/agents/toolkits/aws_sfnlangchain/agents/toolkits/sqllangchain/base_languagelangchain/cachelangchain/cache/ioredislangchain/cache/momentolangchain/cache/redislangchain/cache/upstash_redislangchain/callbackslangchain/chainslangchain/chains/loadlangchain/chains/openai_functionslangchain/chain |
4e9727215e95-15 | ionslangchain/chains/query_constructorlangchain/chains/query_constructor/irlangchain/chains/sql_dblangchain/chat_models/anthropiclangchain/chat_models/baiduwenxinlangchain/chat_models/baselangchain/chat_models/googlepalmlangchain/chat_models/googlevertexailangchain/chat_models/ollamalangchain/chat_models/openailangchain/documentlangchain/document_loaders/baselangchain/docu |
4e9727215e95-16 | baselangchain/document_loaders/fs/bufferlangchain/document_loaders/fs/csvlangchain/document_loaders/fs/directorylangchain/document_loaders/fs/docxlangchain/document_loaders/fs/epublangchain/document_loaders/fs/jsonlangchain/document_loaders/fs/notionlangchain/document_loaders/fs/pdflangchain/document_loaders/fs/srtlangchain/document_loaders/fs/textlangchain/document |
4e9727215e95-17 | tlangchain/document_loaders/fs/unstructuredlangchain/document_loaders/web/apify_datasetlangchain/document_loade |
4e9727215e95-18 | rs/web/assemblyailangchain/document_loaders/web/azure_blob_storage_containerlangchain/document_loaders/web/azure_blob_storage_filelangchain/document_loaders/web/cheeriolangchain/document_loaders/web/college_confidentiallangchain/document_loaders/web/confluencelangchain/document_loaders/web/figmalangchain/document_loaders/web/gitbooklangchain/document_loaders/web/githubla |
4e9727215e95-19 | aders/web/githublangchain/document_loaders/web/hnlangchain/document_loaders/web/imsdblangchain/document_loaders/web/notionapilangchain/document_loaders/web/notiondblangchain/document_loaders/web/playwrightlangchain/document_loaders/web/puppeteerlangchain/document_loaders/web/s3langchain/document_loaders/web/serpapilangchain/document_loaders/web/sonix_audiolangchain/do |
4e9727215e95-20 | x_audiolangchain/document_loaders/web/sort_xyz_blockchainlangchain/document_loaders/web/youtubelangchain/document_transformers/html_to_textlangchain/document_transformers/mozilla_readabilitylangchain/document_transformers/openai_functionslangchain/embeddings/baselangchain/embeddings/cache_backedlangchain/embeddings/coherelangchain/embeddings/fakelangchain/embeddings/googlepal |
4e9727215e95-21 | mbeddings/googlepalmlangchain/embeddings/googlevertexailangchain/embeddings/hflangchain/embeddings/openailangchain/embeddings/tensorflowlangchain/evaluationlangchain/experimental/autogptlangchain/experimental/babyagilangchain/experimental/generative_agentslangchain/experimental/multimodal_embeddings/googlevertexailangchain/experimental/pl |
4e9727215e95-22 | an_and_executelangchainlangchain/llms/ai21langchain/llms/aleph_alphalangchain/llms/baselangchain/llms/bedrocklangchain/llms/coherelangchain/llms/googlepalmlangchain/llms/googlevertexailangchain/llms/hflangchain/llms/loadlangchain/llms/ollamalangchain/llms/openailangchain/llms/raycastlangchain/llms/replicatelangchain/llms/sagemaker_endpointlangchain/loadlangchain/load |
4e9727215e95-23 | loadlangchain/load/serializablelangchain/memorylangchain/memory/zeplangchain/output_parserslangchain/output_parsers/expressionlangchain/promptslangchain/prompts/loadlangchain/retrievers/amazon_kendralangchain/retrievers/contextual_compressionlangchain/retrievers/databerrylangchain/retrievers/document_compressorslangchain/retrievers/document_compressors/chain_extractlangchain |
4e9727215e95-24 | ain_extractlangchain/retrievers/hydelangchain/retrievers/metallangchain/retrievers/parent_documentlangchain/retrievers/remotelangchain/retrievers/self_querylangchain/retrievers/self_query/chromalangchain/retrievers/self_query/functionallangchain/retrievers/self_query/pineconelangchain/retrievers/self_query/supabaselangchain/retrievers/self_query/weaviatelangchain/retrieve |
4e9727215e95-25 | elangchain/retrievers/supabaselangchain/retrievers/time_weightedlangchain/retrievers/vespalangchain/retrievers/zeplangchain/schemalangchain/schema/output_parserlangchain/schema/query_constructorlangchain/schema/retrieverlangchain/schema/runnablelangchain/schema/storagelangchain/sql_dblangchain/storage/in_memorylangchain/storage/ioredis |
4e9727215e95-26 | langchain/stores/doc/gcslangchain/stores/doc/in_memorylangchain/stores/file/in_memorylangchain/stores/file/nodelangchain/stores/message/dynamodblangchain/stores/message/firestorelangchain/stores/message/in_memorylangchain/stores/message/ioredislangchain/stores/message/momentolangchain/stores/message/planetscalelangchain/stores/message/redislangchain/stores/messa |
4e9727215e95-27 | chain/stores/message/upstash_redislangchain/stores/message/xatalangchain/text_splitterlangchain/toolslangchain/tools/aws_lambdalangchain/tools/aws_sfnlangchain/tools/calculatorlangchain/tools/sqllangchain/tools/webbrowserlangchain/util/mathlangchain/vectorstores/analyticdblangchain/vectorstores/baselangchain/vectorstores/chromalangchain/vectorstores/elasticsearchlangcha |
4e9727215e95-28 | elasticsearchlangchain/vectorstores/faisslangchain/vectorstores/hnswliblangchain/vectorstores/lancedblangchain/vectorstores/memorylangchain/vectorstores/milvuslangchain/vectorstores/mongolangchain/vectorstores/mongodb_atlaslangchain/vectorstores/myscalelangchain/vectorstores/opensearchlangchain/vectorstores/pineconelangchain/vectorstores/prismalangchain/vectorstores/qdrantl |
4e9727215e95-29 | ectorstores/qdrantlangchain/vectorstores/redislangchain/vectorstores/singlestorelangchain/vectorstores/supabaselangchain/vectorstores/tigrislangchain/vectorstores/typeormlangchain/vectorstores/typesenselangchain/vectorstores/usearchlangchain/vectorstores/vectaralangchain/vectorstores/weaviatelangchain/vectorstores/xatalangchain/vectorsto |
4e9727215e95-30 | res/zepAPI referenceOn this pagelangchainIndexModulesagentsagents/loadagents/toolkitsagents/toolkits/aws_sfnagents/toolkits/sqlbase_languagecachecache/iorediscache/momentocache/rediscache/upstash_rediscallbackschainschains/loadchains/openai_functionschains/query_constructorchains/query_constructor/irchains/sql_dbchat_models/anthropicchat_models/baiduwenxinchat_models/basechat_models/googlepalmchat_models/googlevertexaichat_models/ollamachat_models/openaidocumentdocument_loaders/basedocument_loaders/fs/bufferdocument_loaders/fs/csvdocument_loaders/fs/directorydocument_loaders/fs/docxdocument_loaders/fs/epubdocument_loaders/fs/jsondocument_loaders/fs/notiondocument_loaders/fs/pdfdocument_loaders/fs/srtdocument_loaders/fs/textdocument_loaders/fs/unstructureddocument_loaders/web/apify_datasetdocument_loaders/web/assemblyaidocument_loaders/web/azure_blob_storage_containerdocument_loaders/web/azure_blob_storage_filedocument_loaders/web/cheeriodocument_loaders/web/college_confidentialdocument_loaders/web/confluencedocument_loaders/web/figmadocument_loaders/web/gitbookdocument_loaders/web/githubdocument_loaders/web/hndocument_loaders/web/imsdbdocument_loaders/web/notionapidocument_loaders/web/notiondbdocument_loaders/web/playwrightdocument_loaders/web/puppeteerdocument_loaders/web/s3document_loaders/web/serpapidocument_loaders/web/sonix_audiodocument_loaders/web/sort_xyz_blockchaindocument_loaders/web/youtubedocument_transformers/html_to_textdocument_transformers/mozilla_readabili |
4e9727215e95-31 | tydocument_transformers/openai_functionsembeddings/baseembeddings/cache_backedembeddings/cohereembeddings/fakeembeddings/googlepalmembeddings/googlevertexaiembeddings/hfembeddings/openaiembeddings/tensorflowevaluationexperimental/autogptexperimental/babyagiexperimental/generative_agentsexperimental/multimodal_embeddings/googlevertexaiexperimental/plan_and_executellms/ai21llms/aleph_alphallms/basellms/bedrockllms/coherellms/googlepalmllms/googlevertexaillms/hfllms/loadllms/ollamallms/openaillms/raycastllms/replicatellms/sagemaker_endpointloadload/serializablememorymemory/zepoutput_parsersoutput_parsers/expressionpromptsprompts/loadretrievers/amazon_kendraretrievers/contextual_compressionretrievers/databerryretrievers/document_compressorsretrievers/document_compressors/chain_extractretrievers/hyderetrievers/metalretrievers/parent_documentretrievers/remoteretrievers/self_queryretrievers/self_query/chromaretrievers/self_query/functionalretrievers/self_query/pineconeretrievers/self_query/supabaseretrievers/self_query/weaviateretrievers/supabaseretrievers/time_weightedretrievers/vesparetrievers/zepschemaschema/output_parserschema/query_constructorschema/retrieverschema/runnableschema/storagesql_dbstorage/in_memorystorage/ioredisstores/doc/gcsstores/doc/in_memorystores/file/in_memorystores/file/nodestores/message/dynamodbstores/message/firestorestores/message/in_memorystores/message/ioredisstores/message/momentostores/message/planetscalestores/message/redisstores/message/upstash_red |
4e9727215e95-32 | isstores/message/xatatext_splittertoolstools/aws_lambdatools/aws_sfntools/calculatortools/sqltools/webbrowserutil/mathvectorstores/analyticdbvectorstores/basevectorstores/chromavectorstores/elasticsearchvectorstores/faissvectorstores/hnswlibvectorstores/lancedbvectorstores/memoryvectorstores/milvusvectorstores/mongovectorstores/mongodb_atlasvectorstores/myscalevectorstores/opensearchvectorstores/pineconevectorstores/prismavectorstores/qdrantvectorstores/redisvectorstores/singlestorevectorstores/supabasevectorstores/tigrisvectorstores/typeormvectorstores/typesensevectorstores/usearchvectorstores/vectaravectorstores/weaviatevectorstores/xatavectorstores/zepPreviousCommunity navigatorNextlangchain/agentsIndexModulesCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc. |
4e9727215e95-33 | Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI |
4e9727215e95-34 | referencelangchain/agentslangchain/agents/loadlangchain/agents/toolkitslangchain/agents/toolkits/aws_sfnlangchain/agents/toolkits/sqllangchain/base_languagelangchain/cachelangchain/cache/ioredislangchain/cache/momentolangchain/cache/redislangchain/cache/upstash_redislangchain/callbackslangchain/chainslangchain/chains/loadlangchain/chains/openai_functionslangchain/chain |
4e9727215e95-35 | ionslangchain/chains/query_constructorlangchain/chains/query_constructor/irlangchain/chains/sql_dblangchain/chat_models/anthropiclangchain/chat_models/baiduwenxinlangchain/chat_models/baselangchain/chat_models/googlepalmlangchain/chat_models/googlevertexailangchain/chat_models/ollamalangchain/chat_models/openailangchain/documentlangchain/document_loaders/baselangchain/docu |
4e9727215e95-36 | baselangchain/document_loaders/fs/bufferlangchain/document_loaders/fs/csvlangchain/document_loaders/fs/directorylangchain/document_loaders/fs/docxlangchain/document_loaders/fs/epublangchain/document_loaders/fs/jsonlangchain/document_loaders/fs/notionlangchain/document_loaders/fs/pdflangchain/document_loaders/fs/srtlangchain/document_loaders/fs/textlangchain/document |
4e9727215e95-37 | tlangchain/document_loaders/fs/unstructuredlangchain/document_loaders/web/apify_datasetlangchain/document_loaders/web/assemblyailangchain/document_loaders/web/azure_blob_storage_co |
4e9727215e95-38 | ntainerlangchain/document_loaders/web/azure_blob_storage_filelangchain/document_loaders/web/cheeriolangchain/document_loaders/web/college_confidentiallangchain/document_loaders/web/confluencelangchain/document_loaders/web/figmalangchain/document_loaders/web/gitbooklangchain/document_loaders/web/githublangchain/document_loaders/web/hnlangchain/document_loaders/web/imsdbl |
4e9727215e95-39 | loaders/web/imsdblangchain/document_loaders/web/notionapilangchain/document_loaders/web/notiondblangchain/document_loaders/web/playwrightlangchain/document_loaders/web/puppeteerlangchain/document_loaders/web/s3langchain/document_loaders/web/serpapilangchain/document_loaders/web/sonix_audiolangchain/document_loaders/web/sort_xyz_blockchainlangchain/document_loaders/web/ |
4e9727215e95-40 | ument_loaders/web/youtubelangchain/document_transformers/html_to_textlangchain/document_transformers/mozilla_readabilitylangchain/document_transformers/openai_functionslangchain/embeddings/baselangchain/embeddings/cache_backedlangchain/embeddings/coherelangchain/embeddings/fakelangchain/embeddings/googlepalmlangchain/embeddings/googlevertexailangchain/embeddings/hflangchain/ |
4e9727215e95-41 | dings/hflangchain/embeddings/openailangchain/embeddings/tensorflowlangchain/evaluationlangchain/experimental/autogptlangchain/experimental/babyagilangchain/experimental/generative_agentslangchain/experimental/multimodal_embeddings/googlevertexailangchain/experimental/plan_and_executelangchainlangchain/llms/ai21langchain/llms/aleph_alphala |
4e9727215e95-42 | ngchain/llms/baselangchain/llms/bedrocklangchain/llms/coherelangchain/llms/googlepalmlangchain/llms/googlevertexailangchain/llms/hflangchain/llms/loadlangchain/llms/ollamalangchain/llms/openailangchain/llms/raycastlangchain/llms/replicatelangchain/llms/sagemaker_endpointlangchain/loadlangchain/load/serializablelangchain/memorylangchain/memory/zeplangchain/output_par |
4e9727215e95-43 | angchain/output_parserslangchain/output_parsers/expressionlangchain/promptslangchain/prompts/loadlangchain/retrievers/amazon_kendralangchain/retrievers/contextual_compressionlangchain/retrievers/databerrylangchain/retrievers/document_compressorslangchain/retrievers/document_compressors/chain_extractlangchain/retrievers/hydelangchain/retrievers/metallangchain/retrievers/paren |
4e9727215e95-44 | n/retrievers/parent_documentlangchain/retrievers/remotelangchain/retrievers/self_querylangchain/retrievers/self_query/chromalangchain/retrievers/self_query/functionallangchain/retrievers/self_query/pineconelangchain/retrievers/self_query/supabaselangchain/retrievers/self_query/weaviatelangchain/retrievers/supabaselangchain/retrievers/time_weightedlangchain/retrievers/ves |
4e9727215e95-45 | ain/retrievers/vespalangchain/retrievers/zeplangchain/schemalangchain/schema/output_parserlangchain/schema/query_constructorlangchain/schema/retrieverlangchain/schema/runnablelangchain/schema/storagelangchain/sql_dblangchain/storage/in_memorylangchain/storage/ioredislangchain/stores/doc/gcslangchain/stores/doc/in_memorylangchain/sto |
4e9727215e95-46 | res/file/in_memorylangchain/stores/file/nodelangchain/stores/message/dynamodblangchain/stores/message/firestorelangchain/stores/message/in_memorylangchain/stores/message/ioredislangchain/stores/message/momentolangchain/stores/message/planetscalelangchain/stores/message/redislangchain/stores/message/upstash_redislangchain/stores/message/xatalangchain/text_splitterl |
4e9727215e95-47 | hain/text_splitterlangchain/toolslangchain/tools/aws_lambdalangchain/tools/aws_sfnlangchain/tools/calculatorlangchain/tools/sqllangchain/tools/webbrowserlangchain/util/mathlangchain/vectorstores/analyticdblangchain/vectorstores/baselangchain/vectorstores/chromalangchain/vectorstores/elasticsearchlangchain/vectorstores/faisslangchain/vectorstores/hnswliblangchain/vectorst |
4e9727215e95-48 | blangchain/vectorstores/lancedblangchain/vectorstores/memorylangchain/vectorstores/milvuslangchain/vectorstores/mongolangchain/vectorstores/mongodb_atlaslangchain/vectorstores/myscalelangchain/vectorstores/opensearchlangchain/vectorstores/pineconelangchain/vectorstores/prismalangchain/vectorstores/qdrantlangchain/vectorstores/redislangchain/vectorstores/singlestorelangchain |
4e9727215e95-49 | singlestorelangchain/vectorstores/supabaselangchain/vectorstores/tigrislangchain/vectorstores/typeormlangchain/vectorstores/typesenselangchain/vectorstores/usearchlangchain/vectorstores/vectaralangchain/vectorstores/weaviatelangchain/vectorstores/xatalangchain/vectorstores/zepAPI |
4e9727215e95-50 | referenceOn this pagelangchainIndexModulesagentsagents/loada |
4e9727215e95-51 | gents/toolkitsagents/toolkits/aws_sfnagents/toolkits/sqlbase_languagecachecache/iorediscache/momentocache/rediscache/upstash_rediscallbackschainschains/loadchains/openai_functionschains/query_constructorchains/query_constructor/irchains/sql_dbchat_models/anthropicchat_models/baiduwenxinchat_models/basechat_models/googlepalmchat_models/googlevertexaichat_models/ollamachat_models/openaidocumentdocument_loaders/basedocument_loaders/fs/bufferdocument_loaders/fs/csvdocument_loaders/fs/directorydocument_loaders/fs/docxdocument_loaders/fs/epubdocument_loaders/fs/jsondocument_loaders/fs/notiondocument_loaders/fs/pdfdocument_loaders/fs/srtdocument_loaders/fs/textdocument_loaders/fs/unstructureddocument_loaders/web/apify_datasetdocument_loaders/web/assemblyaidocument_loaders/web/azure_blob_storage_containerdocument_loaders/web/azure_blob_storage_filedocument_loaders/web/cheeriodocument_loaders/web/college_confidentialdocument_loaders/web/confluencedocument_loaders/web/figmadocument_loaders/web/gitbookdocument_loaders/web/githubdocument_loaders/web/hndocument_loaders/web/imsdbdocument_loaders/web/notionapidocument_loaders/web/notiondbdocument_loaders/web/playwrightdocument_loaders/web/puppeteerdocument_loaders/web/s3document_loaders/web/serpapidocument_loaders/web/sonix_audiodocument_loaders/web/sort_xyz_blockchaindocument_loaders/web/youtubedocument_transformers/html_to_textdocument_transformers/mozilla_readabilitydocument_transformers/openai_functionsembeddings/baseembeddings/cache_ba |
4e9727215e95-52 | ckedembeddings/cohereembeddings/fakeembeddings/googlepalmembeddings/googlevertexaiembeddings/hfembeddings/openaiembeddings/tensorflowevaluationexperimental/autogptexperimental/babyagiexperimental/generative_agentsexperimental/multimodal_embeddings/googlevertexaiexperimental/plan_and_executellms/ai21llms/aleph_alphallms/basellms/bedrockllms/coherellms/googlepalmllms/googlevertexaillms/hfllms/loadllms/ollamallms/openaillms/raycastllms/replicatellms/sagemaker_endpointloadload/serializablememorymemory/zepoutput_parsersoutput_parsers/expressionpromptsprompts/loadretrievers/amazon_kendraretrievers/contextual_compressionretrievers/databerryretrievers/document_compressorsretrievers/document_compressors/chain_extractretrievers/hyderetrievers/metalretrievers/parent_documentretrievers/remoteretrievers/self_queryretrievers/self_query/chromaretrievers/self_query/functionalretrievers/self_query/pineconeretrievers/self_query/supabaseretrievers/self_query/weaviateretrievers/supabaseretrievers/time_weightedretrievers/vesparetrievers/zepschemaschema/output_parserschema/query_constructorschema/retrieverschema/runnableschema/storagesql_dbstorage/in_memorystorage/ioredisstores/doc/gcsstores/doc/in_memorystores/file/in_memorystores/file/nodestores/message/dynamodbstores/message/firestorestores/message/in_memorystores/message/ioredisstores/message/momentostores/message/planetscalestores/message/redisstores/message/upstash_redisstores/message/xatatext_splittertoolstools/aws_lambdatools/aws_sfntools/ |
4e9727215e95-53 | calculatortools/sqltools/webbrowserutil/mathvectorstores/analyticdbvectorstores/basevectorstores/chromavectorstores/elasticsearchvectorstores/faissvectorstores/hnswlibvectorstores/lancedbvectorstores/memoryvectorstores/milvusvectorstores/mongovectorstores/mongodb_atlasvectorstores/myscalevectorstores/opensearchvectorstores/pineconevectorstores/prismavectorstores/qdrantvectorstores/redisvectorstores/singlestorevectorstores/supabasevectorstores/tigrisvectorstores/typeormvectorstores/typesensevectorstores/usearchvectorstores/vectaravectorstores/weaviatevectorstores/xatavectorstores/zepPreviousCommunity navigatorNextlangchain/agentsIndexModules |
4e9727215e95-54 | Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI |
4e9727215e95-55 | referencelangchain/agentslangchain/agents/loadlangchain/agents/toolkitslangchain/agents/toolkits/aws_sfnlangchain/agents/toolkits/sqllangchain/base_languagelangchain/cachelangchain/cache/ioredislangchain/cache/momentolangchain/cache/redislangchain/cache/upstash_redislangchain/callbackslangchain/chainslangchain/chains/loadlangchain/chains/openai_functionslangchain/chain |
4e9727215e95-56 | ionslangchain/chains/query_constructorlangchain/chains/query_constructor/irlangchain/chains/sql_dblangchain/chat_models/anthropiclangchain/chat_models/baiduwenxinlangchain/chat_models/baselangchain/chat_models/googlepalmlangchain/chat_models/googlevertexailangchain/chat_models/ollamalangchain/chat_models/openailangchain/documentlangchain/document_loaders/baselangchain/docu |
4e9727215e95-57 | baselangchain/document_loaders/fs/bufferlangchain/document_loaders/fs/csvlangchain/document_loaders/fs/directorylangchain/document_loaders/fs/docxlangchain/document_loaders/fs/epublangchain/document_loaders/fs/jsonlangchain/document_loaders/fs/notionlangchain/document_loaders/fs/pdflangchain/document_loaders/fs/srtlangchain/document_loaders/fs/textlangchain/document |
4e9727215e95-58 | tlangchain/document_loaders/fs/unstructuredlangchain/document_loaders/web/apify_datasetlangchain/document_loaders/web/assemblyailangchain/document_loaders/web/azure_blob_storage_co |
4e9727215e95-59 | ntainerlangchain/document_loaders/web/azure_blob_storage_filelangchain/document_loaders/web/cheeriolangchain/document_loaders/web/college_confidentiallangchain/document_loaders/web/confluencelangchain/document_loaders/web/figmalangchain/document_loaders/web/gitbooklangchain/document_loaders/web/githublangchain/document_loaders/web/hnlangchain/document_loaders/web/imsdbl |
4e9727215e95-60 | loaders/web/imsdblangchain/document_loaders/web/notionapilangchain/document_loaders/web/notiondblangchain/document_loaders/web/playwrightlangchain/document_loaders/web/puppeteerlangchain/document_loaders/web/s3langchain/document_loaders/web/serpapilangchain/document_loaders/web/sonix_audiolangchain/document_loaders/web/sort_xyz_blockchainlangchain/document_loaders/web/ |
4e9727215e95-61 | ument_loaders/web/youtubelangchain/document_transformers/html_to_textlangchain/document_transformers/mozilla_readabilitylangchain/document_transformers/openai_functionslangchain/embeddings/baselangchain/embeddings/cache_backedlangchain/embeddings/coherelangchain/embeddings/fakelangchain/embeddings/googlepalmlangchain/embeddings/googlevertexailangchain/embeddings/hflangchain/ |
4e9727215e95-62 | dings/hflangchain/embeddings/openailangchain/embeddings/tensorflowlangchain/evaluationlangchain/experimental/autogptlangchain/experimental/babyagilangchain/experimental/generative_agentslangchain/experimental/multimodal_embeddings/googlevertexailangchain/experimental/plan_and_executelangchainlangchain/llms/ai21langchain/llms/aleph_alphala |
4e9727215e95-63 | ngchain/llms/baselangchain/llms/bedrocklangchain/llms/coherelangchain/llms/googlepalmlangchain/llms/googlevertexailangchain/llms/hflangchain/llms/loadlangchain/llms/ollamalangchain/llms/openailangchain/llms/raycastlangchain/llms/replicatelangchain/llms/sagemaker_endpointlangchain/loadlangchain/load/serializablelangchain/memorylangchain/memory/zeplangchain/output_par |
4e9727215e95-64 | angchain/output_parserslangchain/output_parsers/expressionlangchain/promptslangchain/prompts/loadlangchain/retrievers/amazon_kendralangchain/retrievers/contextual_compressionlangchain/retrievers/databerrylangchain/retrievers/document_compressorslangchain/retrievers/document_compressors/chain_extractlangchain/retrievers/hydelangchain/retrievers/metallangchain/retrievers/paren |
4e9727215e95-65 | n/retrievers/parent_documentlangchain/retrievers/remotelangchain/retrievers/self_querylangchain/retrievers/self_query/chromalangchain/retrievers/self_query/functionallangchain/retrievers/self_query/pineconelangchain/retrievers/self_query/supabaselangchain/retrievers/self_query/weaviatelangchain/retrievers/supabaselangchain/retrievers/time_weightedlangchain/retrievers/ves |
4e9727215e95-66 | ain/retrievers/vespalangchain/retrievers/zeplangchain/schemalangchain/schema/output_parserlangchain/schema/query_constructorlangchain/schema/retrieverlangchain/schema/runnablelangchain/schema/storagelangchain/sql_dblangchain/storage/in_memorylangchain/storage/ioredislangchain/stores/doc/gcslangchain/stores/doc/in_memorylangchain/sto |
4e9727215e95-67 | res/file/in_memorylangchain/stores/file/nodelangchain/stores/message/dynamodblangchain/stores/message/firestorelangchain/stores/message/in_memorylangchain/stores/message/ioredislangchain/stores/message/momentolangchain/stores/message/planetscalelangchain/stores/message/redislangchain/stores/message/upstash_redislangchain/stores/message/xatalangchain/text_splitterl |
4e9727215e95-68 | hain/text_splitterlangchain/toolslangchain/tools/aws_lambdalangchain/tools/aws_sfnlangchain/tools/calculatorlangchain/tools/sqllangchain/tools/webbrowserlangchain/util/mathlangchain/vectorstores/analyticdblangchain/vectorstores/baselangchain/vectorstores/chromalangchain/vectorstores/elasticsearchlangchain/vectorstores/faisslangchain/vectorstores/hnswliblangchain/vectorst |
4e9727215e95-69 | blangchain/vectorstores/lancedblangchain/vectorstores/memorylangchain/vectorstores/milvuslangchain/vectorstores/mongolangchain/vectorstores/mongodb_atlaslangchain/vectorstores/myscalelangchain/vectorstores/opensearchlangchain/vectorstores/pineconelangchain/vectorstores/prismalangchain/vectorstores/qdrantlangchain/vectorstores/redislangchain/vectorstores/singlestorelangchain |
4e9727215e95-70 | singlestorelangchain/vectorstores/supabaselangchain/vectorstores/tigrislangchain/vectorstores/typeormlangchain/vectorstores/typesenselangchain/vectorstores/usearchlangchain/vectorstores/vectaralangchain/vectorstores/weaviatelangchain/vectorstores/xatalangchain/vectorstores/zep |
4e9727215e95-71 | langchain/agents
langchain/agents/load
langchain/agents/toolkits
langchain/agents/toolkits/aws_sfn
langchain/agents/toolkits/sql
langchain/base_language
langchain/cache
langchain/cache/ioredis
langchain/cache/momento
langchain/cache/redis
langchain/cache/upstash_redis
langchain/callbacks
langchain/chains
langchain/chains/load
langchain/chains/openai_functions
langchain/chains/query_constructor
langchain/chains/query_constructor/ir
langchain/chains/sql_db
langchain/chat_models/anthropic
langchain/chat_models/baiduwenxin
langchain/chat_models/base
langchain/chat_models/googlepalm
langchain/chat_models/googlevertexai
langchain/chat_models/ollama
langchain/chat_models/openai
langchain/document
langchain/document_loaders/base
langchain/document_loaders/fs/buffer
langchain/document_loaders/fs/csv
langchain/document_loaders/fs/directory
langchain/document_loaders/fs/docx
langchain/document_loaders/fs/epub
langchain/document_loaders/fs/json
langchain/document_loaders/fs/notion
langchain/document_loaders/fs/pdf
langchain/document_loaders/fs/srt |
4e9727215e95-72 | langchain/document_loaders/fs/srt
langchain/document_loaders/fs/text
langchain/document_loaders/fs/unstructured
langchain/document_loaders/web/apify_dataset
langchain/document_loaders/web/assemblyai
langchain/document_loaders/web/azure_blob_storage_container
langchain/document_loaders/web/azure_blob_storage_file
langchain/document_loaders/web/cheerio
langchain/document_loaders/web/college_confidential
langchain/document_loaders/web/confluence
langchain/document_loaders/web/figma
langchain/document_loaders/web/gitbook
langchain/document_loaders/web/github
langchain/document_loaders/web/hn
langchain/document_loaders/web/imsdb
langchain/document_loaders/web/notionapi
langchain/document_loaders/web/notiondb
langchain/document_loaders/web/playwright
langchain/document_loaders/web/puppeteer
langchain/document_loaders/web/s3
langchain/document_loaders/web/serpapi
langchain/document_loaders/web/sonix_audio
langchain/document_loaders/web/sort_xyz_blockchain
langchain/document_loaders/web/youtube
langchain/document_transformers/html_to_text
langchain/document_transformers/mozilla_readability |
4e9727215e95-73 | langchain/document_transformers/mozilla_readability
langchain/document_transformers/openai_functions
langchain/embeddings/base
langchain/embeddings/cache_backed
langchain/embeddings/cohere
langchain/embeddings/fake
langchain/embeddings/googlepalm
langchain/embeddings/googlevertexai
langchain/embeddings/hf
langchain/embeddings/openai
langchain/embeddings/tensorflow
langchain/evaluation
langchain/experimental/autogpt
langchain/experimental/babyagi
langchain/experimental/generative_agents
langchain/experimental/multimodal_embeddings/googlevertexai
langchain/experimental/plan_and_execute
langchain/llms/ai21
langchain/llms/aleph_alpha
langchain/llms/base
langchain/llms/bedrock
langchain/llms/cohere
langchain/llms/googlepalm
langchain/llms/googlevertexai
langchain/llms/hf
langchain/llms/load
langchain/llms/ollama
langchain/llms/openai
langchain/llms/raycast
langchain/llms/replicate
langchain/llms/sagemaker_endpoint
langchain/load
langchain/load/serializable
langchain/memory
langchain/memory/zep
langchain/output_parsers
langchain/output_parsers/expression |
4e9727215e95-74 | langchain/output_parsers
langchain/output_parsers/expression
langchain/prompts
langchain/prompts/load
langchain/retrievers/amazon_kendra
langchain/retrievers/contextual_compression
langchain/retrievers/databerry
langchain/retrievers/document_compressors
langchain/retrievers/document_compressors/chain_extract
langchain/retrievers/hyde
langchain/retrievers/metal
langchain/retrievers/parent_document
langchain/retrievers/remote
langchain/retrievers/self_query
langchain/retrievers/self_query/chroma
langchain/retrievers/self_query/functional
langchain/retrievers/self_query/pinecone
langchain/retrievers/self_query/supabase
langchain/retrievers/self_query/weaviate
langchain/retrievers/supabase
langchain/retrievers/time_weighted
langchain/retrievers/vespa
langchain/retrievers/zep
langchain/schema
langchain/schema/output_parser
langchain/schema/query_constructor
langchain/schema/retriever
langchain/schema/runnable
langchain/schema/storage
langchain/sql_db
langchain/storage/in_memory
langchain/storage/ioredis
langchain/stores/doc/gcs |
4e9727215e95-75 | langchain/stores/doc/gcs
langchain/stores/doc/in_memory
langchain/stores/file/in_memory
langchain/stores/file/node
langchain/stores/message/dynamodb
langchain/stores/message/firestore
langchain/stores/message/in_memory
langchain/stores/message/ioredis
langchain/stores/message/momento
langchain/stores/message/planetscale
langchain/stores/message/redis
langchain/stores/message/upstash_redis
langchain/stores/message/xata
langchain/text_splitter
langchain/tools
langchain/tools/aws_lambda
langchain/tools/aws_sfn
langchain/tools/calculator
langchain/tools/sql
langchain/tools/webbrowser
langchain/util/math
langchain/vectorstores/analyticdb
langchain/vectorstores/base
langchain/vectorstores/chroma
langchain/vectorstores/elasticsearch
langchain/vectorstores/faiss
langchain/vectorstores/hnswlib
langchain/vectorstores/lancedb
langchain/vectorstores/memory
langchain/vectorstores/milvus
langchain/vectorstores/mongo
langchain/vectorstores/mongodb_atlas
langchain/vectorstores/myscale
langchain/vectorstores/opensearch
langchain/vectorstores/pinecone |
4e9727215e95-76 | langchain/vectorstores/pinecone
langchain/vectorstores/prisma
langchain/vectorstores/qdrant
langchain/vectorstores/redis
langchain/vectorstores/singlestore
langchain/vectorstores/supabase
langchain/vectorstores/tigris
langchain/vectorstores/typeorm
langchain/vectorstores/typesense
langchain/vectorstores/usearch
langchain/vectorstores/vectara
langchain/vectorstores/weaviate
langchain/vectorstores/xata
langchain/vectorstores/zep |
4e9727215e95-77 | langchain/vectorstores/zep
API referenceOn this pagelangchainIndexModulesagentsagents/loadagents/toolkitsagents/toolkits/aws_sfnagents/toolkits/sqlbase_languagecachecache/iorediscache/momentocache/rediscache/upstash_rediscallbackschainschains/loadchains/openai_functionschains/query_constructorchains/query_constructor/irchains/sql_dbchat_models/anthropicchat_models/baiduwenxinchat_models/basechat_models/googlepalmchat_models/googlevertexaichat_models/ollamachat_models/openaidocumentdocument_loaders/basedocument_loaders/fs/bufferdocument_loaders/fs/csvdocument_loaders/fs/directorydocument_loaders/fs/docxdocument_loaders/fs/epubdocument_loaders/fs/jsondocument_loaders/fs/notiondocument_loaders/fs/pdfdocument_loaders/fs/srtdocument_loaders/fs/textdocument_loaders/fs/unstructureddocument_loaders/web/apify_datasetdocument_loaders/web/assemblyaidocument_loaders/web/azure_blob_storage_containerdocument_loaders/web/azure_blob_storage_filedocument_loaders/web/cheeriodocument_loaders/web/college_confidentialdocument_loaders/web/confluencedocument_loaders/web/figmadocument_loaders/web/gitbookdocument_loaders/web/githubdocument_loaders/web/hndocument_loaders/web/imsdbdocument_loaders/web/notionapidocument_loaders/web/notiondbdocument_loaders/web/playwrightdocument_loaders/web/puppeteerdocument_loaders/web/s3document_loaders/web/serpapidocument_loaders/web/sonix_audiodocument_loaders/web/sort_xyz_blockchaindocument_loaders/web/youtubedocument_transformers/html_to_textdocument_transformers/mozilla_readabilitydocume |
4e9727215e95-78 | nt_transformers/openai_functionsembeddings/baseembeddings/cache_backedembeddings/cohereembeddings/fakeembeddings/googlepalmembeddings/googlevertexaiembeddings/hfembeddings/openaiembeddings/tensorflowevaluationexperimental/autogptexperimental/babyagiexperimental/generative_agentsexperimental/multimodal_embeddings/googlevertexaiexperimental/plan_and_executellms/ai21llms/aleph_alphallms/basellms/bedrockllms/coherellms/googlepalmllms/googlevertexaillms/hfllms/loadllms/ollamallms/openaillms/raycastllms/replicatellms/sagemaker_endpointloadload/serializablememorymemory/zepoutput_parsersoutput_parsers/expressionpromptsprompts/loadretrievers/amazon_kendraretrievers/contextual_compressionretrievers/databerryretrievers/document_compressorsretrievers/document_compressors/chain_extractretrievers/hyderetrievers/metalretrievers/parent_documentretrievers/remoteretrievers/self_queryretrievers/self_query/chromaretrievers/self_query/functionalretrievers/self_query/pineconeretrievers/self_query/supabaseretrievers/self_query/weaviateretrievers/supabaseretrievers/time_weightedretrievers/vesparetrievers/zepschemaschema/output_parserschema/query_constructorschema/retrieverschema/runnableschema/storagesql_dbstorage/in_memorystorage/ioredisstores/doc/gcsstores/doc/in_memorystores/file/in_memorystores/file/nodestores/message/dynamodbstores/message/firestorestores/message/in_memorystores/message/ioredisstores/message/momentostores/message/planetscalestores/message/redisstores/message/upstash_redisstores |
4e9727215e95-79 | /message/xatatext_splittertoolstools/aws_lambdatools/aws_sfntools/calculatortools/sqltools/webbrowserutil/mathvectorstores/analyticdbvectorstores/basevectorstores/chromavectorstores/elasticsearchvectorstores/faissvectorstores/hnswlibvectorstores/lancedbvectorstores/memoryvectorstores/milvusvectorstores/mongovectorstores/mongodb_atlasvectorstores/myscalevectorstores/opensearchvectorstores/pineconevectorstores/prismavectorstores/qdrantvectorstores/redisvectorstores/singlestorevectorstores/supabasevectorstores/tigrisvectorstores/typeormvectorstores/typesensevectorstores/usearchvectorstores/vectaravectorstores/weaviatevectorstores/xatavectorstores/zepPreviousCommunity navigatorNextlangchain/agentsIndexModules |
4e9727215e95-80 | API referenceOn this pagelangchainIndexModulesagentsagents/loadagents/toolkitsagents/toolkits/aws_sfnagents/toolkits/sqlbase_languagecachecache/iorediscache/momentocache/rediscache/upstash_rediscallbackschainschains/loadchains/openai_functionschains/query_constructorchains/query_constructor/irchains/sql_dbchat_models/anthropicchat_models/baiduwenxinchat_models/basechat_models/googlepalmchat_models/googlevertexaichat_models/ollamachat_models/openaidocumentdocument_loaders/basedocument_loaders/fs/bufferdocument_loaders/fs/csvdocument_loaders/fs/directorydocument_loaders/fs/docxdocument_loaders/fs/epubdocument_loaders/fs/jsondocument_loaders/fs/notiondocument_loaders/fs/pdfdocument_loaders/fs/srtdocument_loaders/fs/textdocument_loaders/fs/unstructureddocument_loaders/web/apify_datasetdocument_loaders/web/assemblyaidocument_loaders/web/azure_blob_storage_containerdocument_loaders/web/azure_blob_storage_filedocument_loaders/web/cheeriodocument_loaders/web/college_confidentialdocument_loaders/web/confluencedocument_loaders/web/figmadocument_loaders/web/gitbookdocument_loaders/web/githubdocument_loaders/web/hndocument_loaders/web/imsdbdocument_loaders/web/notionapidocument_loaders/web/notiondbdocument_loaders/web/playwrightdocument_loaders/web/puppeteerdocument_loaders/web/s3document_loaders/web/serpapidocument_loaders/web/sonix_audiodocument_loaders/web/sort_xyz_blockchaindocument_loaders/web/youtubedocument_transformers/html_to_textdocument_transformers/mozilla_readabilitydocume |
4e9727215e95-81 | nt_transformers/openai_functionsembeddings/baseembeddings/cache_backedembeddings/cohereembeddings/fakeembeddings/googlepalmembeddings/googlevertexaiembeddings/hfembeddings/openaiembeddings/tensorflowevaluationexperimental/autogptexperimental/babyagiexperimental/generative_agentsexperimental/multimodal_embeddings/googlevertexaiexperimental/plan_and_executellms/ai21llms/aleph_alphallms/basellms/bedrockllms/coherellms/googlepalmllms/googlevertexaillms/hfllms/loadllms/ollamallms/openaillms/raycastllms/replicatellms/sagemaker_endpointloadload/serializablememorymemory/zepoutput_parsersoutput_parsers/expressionpromptsprompts/loadretrievers/amazon_kendraretrievers/contextual_compressionretrievers/databerryretrievers/document_compressorsretrievers/document_compressors/chain_extractretrievers/hyderetrievers/metalretrievers/parent_documentretrievers/remoteretrievers/self_queryretrievers/self_query/chromaretrievers/self_query/functionalretrievers/self_query/pineconeretrievers/self_query/supabaseretrievers/self_query/weaviateretrievers/supabaseretrievers/time_weightedretrievers/vesparetrievers/zepschemaschema/output_parserschema/query_constructorschema/retrieverschema/runnableschema/storagesql_dbstorage/in_memorystorage/ioredisstores/doc/gcsstores/doc/in_memorystores/file/in_memorystores/file/nodestores/message/dynamodbstores/message/firestorestores/message/in_memorystores/message/ioredisstores/message/momentostores/message/planetscalestores/message/redisstores/message/upstash_redisstores |
4e9727215e95-82 | /message/xatatext_splittertoolstools/aws_lambdatools/aws_sfntools/calculatortools/sqltools/webbrowserutil/mathvectorstores/analyticdbvectorstores/basevectorstores/chromavectorstores/elasticsearchvectorstores/faissvectorstores/hnswlibvectorstores/lancedbvectorstores/memoryvectorstores/milvusvectorstores/mongovectorstores/mongodb_atlasvectorstores/myscalevectorstores/opensearchvectorstores/pineconevectorstores/prismavectorstores/qdrantvectorstores/redisvectorstores/singlestorevectorstores/supabasevectorstores/tigrisvectorstores/typeormvectorstores/typesensevectorstores/usearchvectorstores/vectaravectorstores/weaviatevectorstores/xatavectorstores/zepPreviousCommunity navigatorNextlangchain/agents
On this page |
4e9727215e95-83 | On this page
langchainIndexModulesagentsagents/loadagents/toolkitsagents/toolkits/aws_sfnagents/toolkits/sqlbase_languagecachecache/iorediscache/momentocache/rediscache/upstash_rediscallbackschainschains/loadchains/openai_functionschains/query_constructorchains/query_constructor/irchains/sql_dbchat_models/anthropicchat_models/baiduwenxinchat_models/basechat_models/googlepalmchat_models/googlevertexaichat_models/ollamachat_models/openaidocumentdocument_loaders/basedocument_loaders/fs/bufferdocument_loaders/fs/csvdocument_loaders/fs/directorydocument_loaders/fs/docxdocument_loaders/fs/epubdocument_loaders/fs/jsondocument_loaders/fs/notiondocument_loaders/fs/pdfdocument_loaders/fs/srtdocument_loaders/fs/textdocument_loaders/fs/unstructureddocument_loaders/web/apify_datasetdocument_loaders/web/assemblyaidocument_loaders/web/azure_blob_storage_containerdocument_loaders/web/azure_blob_storage_filedocument_loaders/web/cheeriodocument_loaders/web/college_confidentialdocument_loaders/web/confluencedocument_loaders/web/figmadocument_loaders/web/gitbookdocument_loaders/web/githubdocument_loaders/web/hndocument_loaders/web/imsdbdocument_loaders/web/notionapidocument_loaders/web/notiondbdocument_loaders/web/playwrightdocument_loaders/web/puppeteerdocument_loaders/web/s3document_loaders/web/serpapidocument_loaders/web/sonix_audiodocument_loaders/web/sort_xyz_blockchaindocument_loaders/web/youtubedocument_transformers/html_to_textdocument_transformers/mozilla_readabilitydocument_transformers/openai_fu |
4e9727215e95-84 | nctionsembeddings/baseembeddings/cache_backedembeddings/cohereembeddings/fakeembeddings/googlepalmembeddings/googlevertexaiembeddings/hfembeddings/openaiembeddings/tensorflowevaluationexperimental/autogptexperimental/babyagiexperimental/generative_agentsexperimental/multimodal_embeddings/googlevertexaiexperimental/plan_and_executellms/ai21llms/aleph_alphallms/basellms/bedrockllms/coherellms/googlepalmllms/googlevertexaillms/hfllms/loadllms/ollamallms/openaillms/raycastllms/replicatellms/sagemaker_endpointloadload/serializablememorymemory/zepoutput_parsersoutput_parsers/expressionpromptsprompts/loadretrievers/amazon_kendraretrievers/contextual_compressionretrievers/databerryretrievers/document_compressorsretrievers/document_compressors/chain_extractretrievers/hyderetrievers/metalretrievers/parent_documentretrievers/remoteretrievers/self_queryretrievers/self_query/chromaretrievers/self_query/functionalretrievers/self_query/pineconeretrievers/self_query/supabaseretrievers/self_query/weaviateretrievers/supabaseretrievers/time_weightedretrievers/vesparetrievers/zepschemaschema/output_parserschema/query_constructorschema/retrieverschema/runnableschema/storagesql_dbstorage/in_memorystorage/ioredisstores/doc/gcsstores/doc/in_memorystores/file/in_memorystores/file/nodestores/message/dynamodbstores/message/firestorestores/message/in_memorystores/message/ioredisstores/message/momentostores/message/planetscalestores/message/redisstores/message/upstash_redisstores/message/xatatext_splitte |
4e9727215e95-85 | rtoolstools/aws_lambdatools/aws_sfntools/calculatortools/sqltools/webbrowserutil/mathvectorstores/analyticdbvectorstores/basevectorstores/chromavectorstores/elasticsearchvectorstores/faissvectorstores/hnswlibvectorstores/lancedbvectorstores/memoryvectorstores/milvusvectorstores/mongovectorstores/mongodb_atlasvectorstores/myscalevectorstores/opensearchvectorstores/pineconevectorstores/prismavectorstores/qdrantvectorstores/redisvectorstores/singlestorevectorstores/supabasevectorstores/tigrisvectorstores/typeormvectorstores/typesensevectorstores/usearchvectorstores/vectaravectorstores/weaviatevectorstores/xatavectorstores/zep
Community navigator
langchain/agents
IndexModules
Page Title: Installation | 🦜️🔗 Langchain
Paragraphs: |
4e9727215e95-86 | Page Title: Installation | 🦜️🔗 Langchain
Paragraphs:
Skip to main content🦜️🔗 LangChainDocsUse casesAPILangSmithPython DocsCTRLKGet startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedInstallationInstallationinfoUpdating from <0.0.52? See this section for instructions.Supported EnvironmentsLangChain is written in TypeScript and can be used in:Node.js (ESM and CommonJS) - 18.x, 19.x, 20.xCloudflare WorkersVercel / Next.js (Browser, Serverless and Edge functions)Supabase Edge FunctionsBrowserDenoInstallationTo get started, install LangChain with the following command:npmYarnpnpmnpm install -S langchainyarn add langchainpnpm add langchainTypeScriptLangChain is written in TypeScript and provides type definitions for all of its public APIs.Loading the libraryESMLangChain provides an ESM build targeting Node.js environments. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";If you are using TypeScript in an ESM project we suggest updating your tsconfig.json to include the following:tsconfig.json{ "compilerOptions": { ... "target": "ES2020", // or higher "module": "nodenext", }}CommonJSLangChain provides a CommonJS build targeting Node.js environments. You can import it using the following syntax:const { OpenAI } = require("langchain/llms/openai");Cloudflare WorkersLangChain can be used in Cloudflare Workers. |
4e9727215e95-87 | You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Vercel / Next.jsLangChain can be used in Vercel / Next.js. We support using LangChain in frontend components, in Serverless functions and in Edge functions. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Deno / Supabase Edge FunctionsLangChain can be used in Deno / Supabase Edge Functions. You can import it using the following syntax:import { OpenAI } from "https://esm.sh/langchain/llms/openai";We recommend looking at our Supabase Template for an example of how to use LangChain in Supabase Edge Functions.BrowserLangChain can be used in the browser. In our CI we test bundling LangChain with Webpack and Vite, but other bundlers should work too. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Updating from <0.0.52If you are updating from a version of LangChain prior to 0.0.52, you will need to update your imports to use the new path structure.For example, if you were previously doingimport { OpenAI } from "langchain/llms";you will now need to doimport { OpenAI } from "langchain/llms/openai";This applies to all imports from the following 6 modules, which have been split into submodules for each integration. |
4e9727215e95-88 | The combined modules are deprecated, do not work outside of Node.js, and will be removed in a future version.If you were using langchain/llms, see LLMs for updated import paths.If you were using langchain/chat_models, see Chat Models for updated import paths.If you were using langchain/embeddings, see Embeddings for updated import paths.If you were using langchain/vectorstores, see Vector Stores for updated import paths.If you were using langchain/document_loaders, see Document Loaders for updated import paths.If you were using langchain/retrievers, see Retrievers for updated import paths.Other modules are not affected by this change, and you can continue to import them from the same path.Additionally, there are some breaking changes that were needed to support new environments:import { Calculator } from "langchain/tools"; now moved toimport { Calculator } from "langchain/tools/calculator";import { loadLLM } from "langchain/llms"; now moved toimport { loadLLM } from "langchain/llms/load";import { loadAgent } from "langchain/agents"; now moved toimport { loadAgent } from "langchain/agents/load";import { loadPrompt } from "langchain/prompts"; now moved toimport { loadPrompt } from "langchain/prompts/load";import { loadChain } from "langchain/chains"; now moved toimport { loadChain } from "langchain/chains/load";Unsupported: Node.js 16We do not support Node.js 16, but if you still want to run LangChain on Node.js 16, you will need to follow the instructions in this section. |
4e9727215e95-89 | We do not guarantee that these instructions will continue to work in the future.You will have to make fetch available globally, either:run your application with NODE_OPTIONS='--experimental-fetch' node ..., orinstall node-fetch and follow the instructions hereAdditionally you'll have to polyfill structuredClone, eg. by installing core-js and following the instructions here.If you are running this on Node.js 18+, you do not need to do anything.PreviousIntroductionNextQuickstartCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc. |
4e9727215e95-90 | Get startedIntroductionInstallationQuickstartModulesModel I/OData connectionChainsMemoryAgentsCallbacksModulesGuidesEcosystemAdditional resourcesCommunity navigatorAPI referenceGet startedInstallationInstallationinfoUpdating from <0.0.52? See this section for instructions.Supported EnvironmentsLangChain is written in TypeScript and can be used in:Node.js (ESM and CommonJS) - 18.x, 19.x, 20.xCloudflare WorkersVercel / Next.js (Browser, Serverless and Edge functions)Supabase Edge FunctionsBrowserDenoInstallationTo get started, install LangChain with the following command:npmYarnpnpmnpm install -S langchainyarn add langchainpnpm add langchainTypeScriptLangChain is written in TypeScript and provides type definitions for all of its public APIs.Loading the libraryESMLangChain provides an ESM build targeting Node.js environments. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";If you are using TypeScript in an ESM project we suggest updating your tsconfig.json to include the following:tsconfig.json{ "compilerOptions": { ... "target": "ES2020", // or higher "module": "nodenext", }}CommonJSLangChain provides a CommonJS build targeting Node.js environments. You can import it using the following syntax:const { OpenAI } = require("langchain/llms/openai");Cloudflare WorkersLangChain can be used in Cloudflare Workers. |
4e9727215e95-91 | You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Vercel / Next.jsLangChain can be used in Vercel / Next.js. We support using LangChain in frontend components, in Serverless functions and in Edge functions. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Deno / Supabase Edge FunctionsLangChain can be used in Deno / Supabase Edge Functions. You can import it using the following syntax:import { OpenAI } from "https://esm.sh/langchain/llms/openai";We recommend looking at our Supabase Template for an example of how to use LangChain in Supabase Edge Functions.BrowserLangChain can be used in the browser. In our CI we test bundling LangChain with Webpack and Vite, but other bundlers should work too. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Updating from <0.0.52If you are updating from a version of LangChain prior to 0.0.52, you will need to update your imports to use the new path structure.For example, if you were previously doingimport { OpenAI } from "langchain/llms";you will now need to doimport { OpenAI } from "langchain/llms/openai";This applies to all imports from the following 6 modules, which have been split into submodules for each integration. |
4e9727215e95-92 | The combined modules are deprecated, do not work outside of Node.js, and will be removed in a future version.If you were using langchain/llms, see LLMs for updated import paths.If you were using langchain/chat_models, see Chat Models for updated import paths.If you were using langchain/embeddings, see Embeddings for updated import paths.If you were using langchain/vectorstores, see Vector Stores for updated import paths.If you were using langchain/document_loaders, see Document Loaders for updated import paths.If you were using langchain/retrievers, see Retrievers for updated import paths.Other modules are not affected by this change, and you can continue to import them from the same path.Additionally, there are some breaking changes that were needed to support new environments:import { Calculator } from "langchain/tools"; now moved toimport { Calculator } from "langchain/tools/calculator";import { loadLLM } from "langchain/llms"; now moved toimport { loadLLM } from "langchain/llms/load";import { loadAgent } from "langchain/agents"; now moved toimport { loadAgent } from "langchain/agents/load";import { loadPrompt } from "langchain/prompts"; now moved toimport { loadPrompt } from "langchain/prompts/load";import { loadChain } from "langchain/chains"; now moved toimport { loadChain } from "langchain/chains/load";Unsupported: Node.js 16We do not support Node.js 16, but if you still want to run LangChain on Node.js 16, you will need to follow the instructions in this section. |
4e9727215e95-93 | We do not guarantee that these instructions will continue to work in the future.You will have to make fetch available globally, either:run your application with NODE_OPTIONS='--experimental-fetch' node ..., orinstall node-fetch and follow the instructions hereAdditionally you'll have to polyfill structuredClone, eg. by installing core-js and following the instructions here.If you are running this on Node.js 18+, you do not need to do anything.PreviousIntroductionNextQuickstart |
4e9727215e95-94 | Get startedInstallationInstallationinfoUpdating from <0.0.52? See this section for instructions.Supported EnvironmentsLangChain is written in TypeScript and can be used in:Node.js (ESM and CommonJS) - 18.x, 19.x, 20.xCloudflare WorkersVercel / Next.js (Browser, Serverless and Edge functions)Supabase Edge FunctionsBrowserDenoInstallationTo get started, install LangChain with the following command:npmYarnpnpmnpm install -S langchainyarn add langchainpnpm add langchainTypeScriptLangChain is written in TypeScript and provides type definitions for all of its public APIs.Loading the libraryESMLangChain provides an ESM build targeting Node.js environments. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";If you are using TypeScript in an ESM project we suggest updating your tsconfig.json to include the following:tsconfig.json{ "compilerOptions": { ... "target": "ES2020", // or higher "module": "nodenext", }}CommonJSLangChain provides a CommonJS build targeting Node.js environments. You can import it using the following syntax:const { OpenAI } = require("langchain/llms/openai");Cloudflare WorkersLangChain can be used in Cloudflare Workers. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Vercel / Next.jsLangChain can be used in Vercel / Next.js. We support using LangChain in frontend components, in Serverless functions and in Edge functions. |
4e9727215e95-95 | You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Deno / Supabase Edge FunctionsLangChain can be used in Deno / Supabase Edge Functions. You can import it using the following syntax:import { OpenAI } from "https://esm.sh/langchain/llms/openai";We recommend looking at our Supabase Template for an example of how to use LangChain in Supabase Edge Functions.BrowserLangChain can be used in the browser. In our CI we test bundling LangChain with Webpack and Vite, but other bundlers should work too. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Updating from <0.0.52If you are updating from a version of LangChain prior to 0.0.52, you will need to update your imports to use the new path structure.For example, if you were previously doingimport { OpenAI } from "langchain/llms";you will now need to doimport { OpenAI } from "langchain/llms/openai";This applies to all imports from the following 6 modules, which have been split into submodules for each integration. |
4e9727215e95-96 | The combined modules are deprecated, do not work outside of Node.js, and will be removed in a future version.If you were using langchain/llms, see LLMs for updated import paths.If you were using langchain/chat_models, see Chat Models for updated import paths.If you were using langchain/embeddings, see Embeddings for updated import paths.If you were using langchain/vectorstores, see Vector Stores for updated import paths.If you were using langchain/document_loaders, see Document Loaders for updated import paths.If you were using langchain/retrievers, see Retrievers for updated import paths.Other modules are not affected by this change, and you can continue to import them from the same path.Additionally, there are some breaking changes that were needed to support new environments:import { Calculator } from "langchain/tools"; now moved toimport { Calculator } from "langchain/tools/calculator";import { loadLLM } from "langchain/llms"; now moved toimport { loadLLM } from "langchain/llms/load";import { loadAgent } from "langchain/agents"; now moved toimport { loadAgent } from "langchain/agents/load";import { loadPrompt } from "langchain/prompts"; now moved toimport { loadPrompt } from "langchain/prompts/load";import { loadChain } from "langchain/chains"; now moved toimport { loadChain } from "langchain/chains/load";Unsupported: Node.js 16We do not support Node.js 16, but if you still want to run LangChain on Node.js 16, you will need to follow the instructions in this section. |
4e9727215e95-97 | We do not guarantee that these instructions will continue to work in the future.You will have to make fetch available globally, either:run your application with NODE_OPTIONS='--experimental-fetch' node ..., orinstall node-fetch and follow the instructions hereAdditionally you'll have to polyfill structuredClone, eg. by installing core-js and following the instructions here.If you are running this on Node.js 18+, you do not need to do anything.PreviousIntroductionNextQuickstart |
4e9727215e95-98 | InstallationinfoUpdating from <0.0.52? See this section for instructions.Supported EnvironmentsLangChain is written in TypeScript and can be used in:Node.js (ESM and CommonJS) - 18.x, 19.x, 20.xCloudflare WorkersVercel / Next.js (Browser, Serverless and Edge functions)Supabase Edge FunctionsBrowserDenoInstallationTo get started, install LangChain with the following command:npmYarnpnpmnpm install -S langchainyarn add langchainpnpm add langchainTypeScriptLangChain is written in TypeScript and provides type definitions for all of its public APIs.Loading the libraryESMLangChain provides an ESM build targeting Node.js environments. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";If you are using TypeScript in an ESM project we suggest updating your tsconfig.json to include the following:tsconfig.json{ "compilerOptions": { ... "target": "ES2020", // or higher "module": "nodenext", }}CommonJSLangChain provides a CommonJS build targeting Node.js environments. You can import it using the following syntax:const { OpenAI } = require("langchain/llms/openai");Cloudflare WorkersLangChain can be used in Cloudflare Workers. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Vercel / Next.jsLangChain can be used in Vercel / Next.js. We support using LangChain in frontend components, in Serverless functions and in Edge functions. |
4e9727215e95-99 | You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Deno / Supabase Edge FunctionsLangChain can be used in Deno / Supabase Edge Functions. You can import it using the following syntax:import { OpenAI } from "https://esm.sh/langchain/llms/openai";We recommend looking at our Supabase Template for an example of how to use LangChain in Supabase Edge Functions.BrowserLangChain can be used in the browser. In our CI we test bundling LangChain with Webpack and Vite, but other bundlers should work too. You can import it using the following syntax:import { OpenAI } from "langchain/llms/openai";Updating from <0.0.52If you are updating from a version of LangChain prior to 0.0.52, you will need to update your imports to use the new path structure.For example, if you were previously doingimport { OpenAI } from "langchain/llms";you will now need to doimport { OpenAI } from "langchain/llms/openai";This applies to all imports from the following 6 modules, which have been split into submodules for each integration. |