id stringlengths 14 16 | text stringlengths 29 2.73k | source stringlengths 49 115 |
|---|---|---|
d9a688714afa-0 | .rst
.pdf
Welcome to LangChain
Contents
Getting Started
Modules
Use Cases
Reference Docs
LangChain Ecosystem
Additional Resources
Welcome to LangChain#
LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call ... | https://langchain.readthedocs.io/en/latest/index.html |
d9a688714afa-1 | Agents: Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end to end agents.
Callbacks: It can be difficult to track all t... | https://langchain.readthedocs.io/en/latest/index.html |
d9a688714afa-2 | Extraction: Extract structured information from text.
Summarization: Summarizing longer documents into shorter, more condensed chunks of information. A type of Data Augmented Generation.
Evaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using lang... | https://langchain.readthedocs.io/en/latest/index.html |
d9a688714afa-3 | next
Quickstart Guide
Contents
Getting Started
Modules
Use Cases
Reference Docs
LangChain Ecosystem
Additional Resources
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://langchain.readthedocs.io/en/latest/index.html |
e09703f6f268-0 | Search
Error
Please activate JavaScript to enable the search functionality.
Ctrl+K
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/search.html |
4b2eed8e73c6-0 | Index
_
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| Y
| Z
_
__call__() (langchain.llms.AI21 method)
(langchain.llms.AlephAlpha method)
(langchain.llms.Anthropic method)
(langchain.llms.AzureOpenAI method)
(langchain.llms.Banana method)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-1 | (langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
A
aadd_documents() (langchain.retrievers.TimeWeightedVectorStoreRetriever method)
(langchain.vectorstores.VectorStore method)
aadd_texts() (langchain.vectorstor... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-2 | (langchain.prompts.example_selector.SemanticSimilarityExampleSelector method)
add_memory() (langchain.experimental.GenerativeAgentMemory method)
add_texts() (langchain.retrievers.ElasticSearchBM25Retriever method)
(langchain.retrievers.PineconeHybridSearchRetriever method)
(langchain.vectorstores.AnalyticDB method)
(la... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-3 | age (langchain.experimental.GenerativeAgent attribute)
agenerate() (langchain.chains.LLMChain method)
(langchain.llms.AI21 method)
(langchain.llms.AlephAlpha method)
(langchain.llms.Anthropic method)
(langchain.llms.AzureOpenAI method)
(langchain.llms.Banana method)
(langchain.llms.CerebriumAI method)
(langchain.llms.C... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-4 | (langchain.llms.AlephAlpha method)
(langchain.llms.Anthropic method)
(langchain.llms.AzureOpenAI method)
(langchain.llms.Banana method)
(langchain.llms.CerebriumAI method)
(langchain.llms.Cohere method)
(langchain.llms.DeepInfra method)
(langchain.llms.ForefrontAI method)
(langchain.llms.GooglePalm method)
(langchain.l... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-5 | aget() (langchain.utilities.TextRequestsWrapper method)
aget_relevant_documents() (langchain.retrievers.ChatGPTPluginRetriever method)
(langchain.retrievers.ContextualCompressionRetriever method)
(langchain.retrievers.DataberryRetriever method)
(langchain.retrievers.ElasticSearchBM25Retriever method)
(langchain.retriev... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-6 | AirbyteJSONLoader (class in langchain.document_loaders)
aleph_alpha_api_key (langchain.llms.AlephAlpha attribute)
allowed_special (langchain.llms.AzureOpenAI attribute)
(langchain.llms.OpenAIChat attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
allowed_tools (langchain.agents.Agent attribute)
aload() (langch... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-7 | (langchain.tools.GoogleSearchResults attribute)
(langchain.tools.GoogleSearchRun attribute)
(langchain.tools.SceneXplainTool attribute)
(langchain.tools.WikipediaQueryRun attribute)
(langchain.tools.WolframAlphaQueryRun attribute)
(langchain.tools.ZapierNLAListActions attribute)
(langchain.tools.ZapierNLARunAction attr... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-8 | (langchain.utilities.searx_search.SearxSearchWrapper method)
(langchain.utilities.SearxSearchWrapper method)
(langchain.utilities.SerpAPIWrapper method)
args (langchain.agents.Tool property)
(langchain.tools.BaseTool property)
(langchain.tools.StructuredTool property)
(langchain.tools.Tool property)
args_schema (langch... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-9 | asimilarity_search() (langchain.vectorstores.VectorStore method)
asimilarity_search_by_vector() (langchain.vectorstores.VectorStore method)
async_browser (langchain.agents.agent_toolkits.PlayWrightBrowserToolkit attribute)
AtlasDB (class in langchain.vectorstores)
atransform_documents() (langchain.document_transformers... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-10 | best_of (langchain.llms.AlephAlpha attribute)
(langchain.llms.AzureOpenAI attribute)
BigQueryLoader (class in langchain.document_loaders)
BiliBiliLoader (class in langchain.document_loaders)
bing_search_url (langchain.utilities.BingSearchAPIWrapper attribute)
bing_subscription_key (langchain.utilities.BingSearchAPIWrap... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-11 | (langchain.chat_models.ChatAnthropic attribute)
(langchain.tools.BaseTool attribute)
(langchain.tools.Tool attribute)
captions_language (langchain.document_loaders.GoogleApiYoutubeLoader attribute)
categories (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapper attribu... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-12 | (langchain.memory.CosmosDBChatMessageHistory method)
(langchain.memory.DynamoDBChatMessageHistory method)
(langchain.memory.InMemoryEntityStore method)
(langchain.memory.PostgresChatMessageHistory method)
(langchain.memory.ReadOnlySharedMemory method)
(langchain.memory.RedisChatMessageHistory method)
(langchain.memory.... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-13 | connect() (langchain.vectorstores.AnalyticDB method)
connection_string_from_db_params() (langchain.vectorstores.AnalyticDB class method)
constitutional_principles (langchain.chains.ConstitutionalChain attribute)
construct() (langchain.llms.AI21 class method)
(langchain.llms.AlephAlpha class method)
(langchain.llms.Anth... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-14 | (langchain.llms.SelfHostedHuggingFaceLLM class method)
(langchain.llms.SelfHostedPipeline class method)
(langchain.llms.StochasticAI class method)
(langchain.llms.Writer class method)
content_handler (langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.SagemakerEndpoint attribute)
CONTENT_KEY (l... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-15 | (langchain.llms.Modal method)
(langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat metho... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-16 | (in module langchain.agents.agent_toolkits)
create_llm_result() (langchain.llms.AzureOpenAI method)
(langchain.llms.OpenAI method)
(langchain.llms.PromptLayerOpenAI method)
create_openapi_agent() (in module langchain.agents)
(in module langchain.agents.agent_toolkits)
create_outputs() (langchain.chains.LLMChain method)... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-17 | credentials_profile_name (langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.SagemakerEndpoint attribute)
critique_chain (langchain.chains.ConstitutionalChain attribute)
CSVLoader (class in langchain.document_loaders)
current_plan (langchain.experimental.GenerativeAgentMemory attribute)
D
daily... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-18 | (langchain.vectorstores.Chroma method)
delete_dataset() (langchain.vectorstores.DeepLake method)
deployment_name (langchain.chat_models.AzureChatOpenAI attribute)
(langchain.llms.AzureOpenAI attribute)
description (langchain.agents.agent_toolkits.VectorStoreInfo attribute)
(langchain.agents.Tool attribute)
(langchain.o... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-19 | (langchain.llms.Cohere method)
(langchain.llms.DeepInfra method)
(langchain.llms.ForefrontAI method)
(langchain.llms.GooglePalm method)
(langchain.llms.GooseAI method)
(langchain.llms.GPT4All method)
(langchain.llms.HuggingFaceEndpoint method)
(langchain.llms.HuggingFaceHub method)
(langchain.llms.HuggingFacePipeline m... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-20 | do_sample (langchain.llms.NLPCloud attribute)
(langchain.llms.Petals attribute)
docs (langchain.retrievers.TFIDFRetriever attribute)
document_ids (langchain.document_loaders.GoogleDriveLoader attribute)
Docx2txtLoader (class in langchain.document_loaders)
download() (langchain.document_loaders.BlackboardLoader method)
... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-21 | (langchain.embeddings.HuggingFaceHubEmbeddings method)
(langchain.embeddings.HuggingFaceInstructEmbeddings method)
(langchain.embeddings.LlamaCppEmbeddings method)
(langchain.embeddings.OpenAIEmbeddings method)
(langchain.embeddings.SagemakerEndpointEmbeddings method)
(langchain.embeddings.SelfHostedEmbeddings method)
... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-22 | (langchain.retrievers.PineconeHybridSearchRetriever attribute)
(langchain.retrievers.SVMRetriever attribute)
encode_kwargs (langchain.embeddings.HuggingFaceEmbeddings attribute)
endpoint_kwargs (langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.SagemakerEndpoint attribute)
endpoint_name (langc... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-23 | example_separator (langchain.prompts.FewShotPromptTemplate attribute)
(langchain.prompts.FewShotPromptWithTemplates attribute)
examples (langchain.agents.agent_toolkits.PowerBIToolkit attribute)
(langchain.prompts.example_selector.LengthBasedExampleSelector attribute)
(langchain.prompts.FewShotPromptTemplate attribute)... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-24 | format() (langchain.prompts.BaseChatPromptTemplate method)
(langchain.prompts.BasePromptTemplate method)
(langchain.prompts.ChatPromptTemplate method)
(langchain.prompts.FewShotPromptTemplate method)
(langchain.prompts.FewShotPromptWithTemplates method)
(langchain.prompts.PromptTemplate method)
format_messages() (langc... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-25 | (langchain.vectorstores.FAISS class method)
from_examples() (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector class method)
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector class method)
(langchain.prompts.PromptTemplate class method)
from_existing_index() (langchain.vectorsto... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-26 | (langchain.output_parsers.OutputFixingParser class method)
(langchain.output_parsers.RetryOutputParser class method)
(langchain.output_parsers.RetryWithErrorOutputParser class method)
(langchain.retrievers.document_compressors.LLMChainExtractor class method)
(langchain.retrievers.document_compressors.LLMChainFilter cla... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-27 | from_plugin_url() (langchain.tools.AIPluginTool class method)
from_rail() (langchain.output_parsers.GuardrailsOutputParser class method)
from_rail_string() (langchain.output_parsers.GuardrailsOutputParser class method)
from_response_schemas() (langchain.output_parsers.StructuredOutputParser class method)
from_secrets()... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-28 | (langchain.vectorstores.Zilliz class method)
from_tiktoken_encoder() (langchain.text_splitter.TextSplitter class method)
from_url() (langchain.tools.OpenAPISpec class method)
from_url_and_method() (langchain.chains.OpenAPIEndpointChain class method)
from_youtube_url() (langchain.document_loaders.YoutubeLoader class met... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-29 | (langchain.llms.LlamaCpp method)
(langchain.llms.Modal method)
(langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-30 | (langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat method)
(langchain.llms.Replicate m... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-31 | (langchain.tools.VectorStoreQAWithSourcesTool static method)
get_format_instructions() (langchain.output_parsers.CommaSeparatedListOutputParser method)
(langchain.output_parsers.GuardrailsOutputParser method)
(langchain.output_parsers.OutputFixingParser method)
(langchain.output_parsers.PydanticOutputParser method)
(la... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-32 | (langchain.llms.HuggingFacePipeline method)
(langchain.llms.LlamaCpp method)
(langchain.llms.Modal method)
(langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-33 | (langchain.llms.Modal method)
(langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat metho... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-34 | (langchain.retrievers.SVMRetriever method)
(langchain.retrievers.TFIDFRetriever method)
(langchain.retrievers.TimeWeightedVectorStoreRetriever method)
(langchain.retrievers.VespaRetriever method)
(langchain.retrievers.WeaviateHybridSearchRetriever method)
get_request_body_for_operation() (langchain.tools.OpenAPISpec me... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-35 | (langchain.agents.agent_toolkits.ZapierToolkit method)
GitbookLoader (class in langchain.document_loaders)
GitLoader (class in langchain.document_loaders)
gl (langchain.utilities.GoogleSerperAPIWrapper attribute)
globals (langchain.python.PythonREPL attribute)
(langchain.utilities.PythonREPL attribute)
google_api_clien... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-36 | (langchain.utilities.SearxSearchWrapper attribute)
(langchain.utilities.TextRequestsWrapper attribute)
headless (langchain.document_loaders.PlaywrightURLLoader attribute)
(langchain.document_loaders.SeleniumURLLoader attribute)
hl (langchain.utilities.GoogleSerperAPIWrapper attribute)
HNLoader (class in langchain.docum... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-37 | inference_kwargs (langchain.embeddings.SelfHostedEmbeddings attribute)
info (langchain.tools.OpenAPISpec attribute)
initialize_agent() (in module langchain.agents)
InMemoryDocstore (class in langchain.docstore)
InMemoryEntityStore (class in langchain.memory)
input_func (langchain.tools.HumanInputRun attribute)
input_ke... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-38 | (langchain.llms.Cohere method)
(langchain.llms.DeepInfra method)
(langchain.llms.ForefrontAI method)
(langchain.llms.GooglePalm method)
(langchain.llms.GooseAI method)
(langchain.llms.GPT4All method)
(langchain.llms.HuggingFaceEndpoint method)
(langchain.llms.HuggingFaceHub method)
(langchain.llms.HuggingFacePipeline m... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-39 | (langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute)
(langchain.retrievers.document_compressors.EmbeddingsFilter attribute)
(langchain.retrievers.SVMRetriever attribute)
(langchain.retriev... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-40 | langchain.python
module
langchain.retrievers
module
langchain.retrievers.document_compressors
module
langchain.serpapi
module
langchain.text_splitter
module
langchain.tools
module
langchain.utilities
module
langchain.utilities.searx_search
... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-41 | (langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.memory.ConversationTokenBufferMemory attribute)
(langchain.tools.VectorStoreQATool attribute)
(langchain.tools.VectorStoreQAWithSourcesTool attribute)
llm_chain (langchain.agents.Agent attribute)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-42 | (langchain.document_loaders.ChatGPTLoader method)
(langchain.document_loaders.CollegeConfidentialLoader method)
(langchain.document_loaders.ConfluenceLoader method)
(langchain.document_loaders.CoNLLULoader method)
(langchain.document_loaders.CSVLoader method)
(langchain.document_loaders.DataFrameLoader method)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-43 | (langchain.document_loaders.OutlookMessageLoader method)
(langchain.document_loaders.PDFMinerLoader method)
(langchain.document_loaders.PDFMinerPDFasHTMLLoader method)
(langchain.document_loaders.PlaywrightURLLoader method)
(langchain.document_loaders.PyMuPDFLoader method)
(langchain.document_loaders.PyPDFDirectoryLoad... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-44 | load_device() (langchain.document_loaders.IFixitLoader method)
load_fn_kwargs (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
load_guide() (langchain.document_loaders.IFixitLoader method)
load_local() (lan... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-45 | (langchain.utilities.PythonREPL attribute)
log_probs (langchain.llms.AlephAlpha attribute)
logit_bias (langchain.llms.AlephAlpha attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.GooseAI attribute)
logitBias (langchain.llms.AI21 attribute)
logits_all (langchain.embeddings.LlamaCppEmbeddings attribute)
(... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-46 | (langchain.vectorstores.DeepLake method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvus method)
(langchain.vectorstores.Qdrant method)
(langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.VectorStore method)
(langchain.vectorstores.Weaviate method)
max_marginal_relevance_sea... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-47 | (langchain.llms.OpenAI method)
(langchain.llms.PromptLayerOpenAI method)
max_tokens_limit (langchain.chains.ConversationalRetrievalChain attribute)
(langchain.chains.RetrievalQAWithSourcesChain attribute)
(langchain.chains.VectorDBQAWithSourcesChain attribute)
max_tokens_per_generation (langchain.llms.RWKV attribute)
m... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-48 | (langchain.memory.PostgresChatMessageHistory property)
(langchain.memory.RedisChatMessageHistory property)
metadata_column (langchain.vectorstores.MyScale property)
metadata_key (langchain.retrievers.RemoteLangChainRetriever attribute)
METADATA_KEY (langchain.vectorstores.Qdrant attribute)
MetalRetriever (class in lang... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-49 | (langchain.embeddings.HuggingFaceHubEmbeddings attribute)
(langchain.embeddings.HuggingFaceInstructEmbeddings attribute)
(langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.Banana attribute)
(langchain.llms.CerebriumAI attribute)
(langchain.llms.GooseAI at... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-50 | model_path (langchain.llms.LlamaCpp attribute)
model_reqs (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
model_url (langchain.embed... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-51 | (langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
n_ctx (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
n_parts (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp ... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-52 | no_update_value (langchain.output_parsers.RegexDictParser attribute)
normalize (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding attribute)
NotebookLoader (class in langchain.document_loaders)
NotionDBLoader (class in langchain.document_loaders)
NotionDirectoryLoader (class in langchain.document_loaders)
num_... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-53 | openweathermap_api_key (langchain.utilities.OpenWeatherMapAPIWrapper attribute)
operation_id (langchain.tools.APIOperation attribute)
other_score_keys (langchain.retrievers.TimeWeightedVectorStoreRetriever attribute)
OutlookMessageLoader (class in langchain.document_loaders)
output_key (langchain.chains.QAGenerationCha... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-54 | (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapper attribute)
(langchain.utilities.SerpAPIWrapper attribute)
params_schema (langchain.tools.ZapierNLARunAction attribute)
parse() (langchain.agents.AgentOutputParser method)
(langchain.output_parsers.CommaSeparatedListO... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-55 | pause_to_reflect() (langchain.experimental.GenerativeAgentMemory method)
PDFMinerLoader (class in langchain.document_loaders)
PDFMinerPDFasHTMLLoader (class in langchain.document_loaders)
penalty_alpha_frequency (langchain.llms.RWKV attribute)
penalty_alpha_presence (langchain.llms.RWKV attribute)
penalty_bias (langcha... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-56 | prefix_messages (langchain.llms.OpenAIChat attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
prep_prompts() (langchain.chains.LLMChain method)
prep_streaming_params() (langchain.llms.AzureOpenAI method)
(langchain.llms.OpenAI method)
(langchain.llms.PromptLayerOpenAI method)
prepare_cosmos() (langchain.memory... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-57 | (langchain.chains.PALChain attribute)
(langchain.chains.SQLDatabaseChain attribute)
prompt_func (langchain.tools.HumanInputRun attribute)
properties (langchain.tools.APIOperation attribute)
put() (langchain.utilities.TextRequestsWrapper method)
pydantic_object (langchain.output_parsers.PydanticOutputParser attribute)
P... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-58 | RecursiveCharacterTextSplitter (class in langchain.text_splitter)
RedditPostsLoader (class in langchain.document_loaders)
Redis (class in langchain.vectorstores)
redis_client (langchain.memory.RedisEntityStore attribute)
RedisChatMessageHistory (class in langchain.memory)
RedisEntityStore (class in langchain.memory)
re... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-59 | request_timeout (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AzureOpenAI attribute)
request_url (langchain.utilities.PowerBIDataset property)
requests (langchain.chains.OpenAPIEndpointChain attribute)
(langchain.utilities.TextRequestsWrapper property)
requests_per_second (langchain.document_loaders.WebB... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-60 | return_intermediate_steps (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain attribute)
(langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
(langchain.chains.ConstitutionalChain attribute)
(langchain.chains.OpenAPIEndpointChain attribute)
(langchain.chains.PAL... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-61 | (langchain.utilities.LambdaWrapper method)
(langchain.utilities.OpenWeatherMapAPIWrapper method)
(langchain.utilities.PowerBIDataset method)
(langchain.utilities.PythonREPL method)
(langchain.utilities.searx_search.SearxSearchWrapper method)
(langchain.utilities.SearxSearchWrapper method)
(langchain.utilities.SerpAPIWr... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-62 | (langchain.llms.Modal method)
(langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PipelineAI method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat metho... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-63 | scrape_all() (langchain.document_loaders.WebBaseLoader method)
scrape_page() (langchain.tools.ExtractHyperlinksTool static method)
search() (langchain.docstore.InMemoryDocstore method)
(langchain.docstore.Wikipedia method)
(langchain.vectorstores.VectorStore method)
search_kwargs (langchain.chains.ChatVectorDBChain att... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-64 | (langchain.utilities.SerpAPIWrapper attribute)
serper_api_key (langchain.utilities.GoogleSerperAPIWrapper attribute)
servers (langchain.tools.OpenAPISpec attribute)
service_account_key (langchain.document_loaders.GoogleDriveLoader attribute)
service_account_path (langchain.document_loaders.GoogleApiClient attribute)
se... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-65 | (langchain.vectorstores.DeepLake method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvus method)
(langchain.vectorstores.MyScale method)
(langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.VectorStore method)
(langchain.vectorstores.Weaviate method)
similarity_search_by_vect... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-66 | SitemapLoader (class in langchain.document_loaders)
siterestrict (langchain.utilities.GoogleSearchAPIWrapper attribute)
SlackDirectoryLoader (class in langchain.document_loaders)
SpacyTextSplitter (class in langchain.text_splitter)
sparse_encoder (langchain.retrievers.PineconeHybridSearchRetriever attribute)
spec (lang... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-67 | streaming (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.Anthropic attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
(langchain.llms.OpenAIChat attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
strip_outputs (langchain.chains... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-68 | TelegramChatLoader (class in langchain.document_loaders)
temp (langchain.llms.GPT4All attribute)
temperature (langchain.chat_models.ChatGooglePalm attribute)
(langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AI21 attribute)
(langchain.llms.AlephAlpha attribute)
(langchain.llms.Anthropic attribute)
(langchain... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-69 | token_path (langchain.document_loaders.GoogleApiClient attribute)
(langchain.document_loaders.GoogleDriveLoader attribute)
tokenizer (langchain.llms.Petals attribute)
tokens (langchain.llms.AlephAlpha attribute)
tokens_path (langchain.llms.RWKV attribute)
tokens_to_generate (langchain.llms.Writer attribute)
TokenTextSp... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-70 | (langchain.retrievers.PineconeHybridSearchRetriever attribute)
top_k_docs_for_context (langchain.chains.ChatVectorDBChain attribute)
top_k_results (langchain.utilities.ArxivAPIWrapper attribute)
(langchain.utilities.GooglePlacesAPIWrapper attribute)
(langchain.utilities.WikipediaAPIWrapper attribute)
top_n (langchain.r... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-71 | (langchain.utilities.SearxSearchWrapper attribute)
UnstructuredAPIFileIOLoader (class in langchain.document_loaders)
UnstructuredAPIFileLoader (class in langchain.document_loaders)
UnstructuredEmailLoader (class in langchain.document_loaders)
UnstructuredEPubLoader (class in langchain.document_loaders)
UnstructuredFile... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-72 | (langchain.llms.HuggingFaceHub class method)
(langchain.llms.HuggingFacePipeline class method)
(langchain.llms.LlamaCpp class method)
(langchain.llms.Modal class method)
(langchain.llms.NLPCloud class method)
(langchain.llms.OpenAI class method)
(langchain.llms.OpenAIChat class method)
(langchain.llms.Petals class meth... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-73 | username (langchain.vectorstores.MyScaleSettings attribute)
V
validate_channel_or_videoIds_is_set() (langchain.document_loaders.GoogleApiClient class method)
(langchain.document_loaders.GoogleApiYoutubeLoader class method)
validate_init_args() (langchain.document_loaders.ConfluenceLoader static method)
validate_templat... | https://python.langchain.com/en/latest/genindex.html |
4b2eed8e73c6-74 | video_ids (langchain.document_loaders.GoogleApiYoutubeLoader attribute)
vocab_only (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
W
wait_for_processing() (langchain.document_loaders.MathpixPDFLoader method)
Weaviate (class in langchain.vectorst... | https://python.langchain.com/en/latest/genindex.html |
b92ad740299e-0 | .rst
.pdf
Welcome to LangChain
Contents
Getting Started
Modules
Use Cases
Reference Docs
LangChain Ecosystem
Additional Resources
Welcome to LangChain#
LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call ... | https://python.langchain.com/en/latest/index.html |
b92ad740299e-1 | Agents: Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end to end agents.
Callbacks: It can be difficult to track all t... | https://python.langchain.com/en/latest/index.html |
b92ad740299e-2 | Extraction: Extract structured information from text.
Summarization: Summarizing longer documents into shorter, more condensed chunks of information. A type of Data Augmented Generation.
Evaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using lang... | https://python.langchain.com/en/latest/index.html |
b92ad740299e-3 | next
Quickstart Guide
Contents
Getting Started
Modules
Use Cases
Reference Docs
LangChain Ecosystem
Additional Resources
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/index.html |
1588aa46a0b0-0 | .rst
.pdf
LangChain Ecosystem
Contents
Groups
Companies / Products
LangChain Ecosystem#
Guides for how other companies/products can be used with LangChain
Groups#
LangChain provides integration with many LLMs and systems:
LLM Providers
Chat Model Providers
Text Embedding Model Providers
Document Loader Integrations
T... | https://python.langchain.com/en/latest/ecosystem.html |
394624db5df3-0 | .ipynb
.pdf
Model Comparison
Model Comparison#
Constructing your language model application will likely involved choosing between many different options of prompts, models, and even chains to use. When doing so, you will want to compare these different options on different inputs in an easy, flexible, and intuitive way... | https://python.langchain.com/en/latest/model_laboratory.html |
394624db5df3-1 | pink
prompt = PromptTemplate(template="What is the capital of {state}?", input_variables=["state"])
model_lab_with_prompt = ModelLaboratory.from_llms(llms, prompt=prompt)
model_lab_with_prompt.compare("New York")
Input:
New York
OpenAI
Params: {'model': 'text-davinci-002', 'temperature': 0.0, 'max_tokens': 256, 'top_p'... | https://python.langchain.com/en/latest/model_laboratory.html |
394624db5df3-2 | names = [str(open_ai_llm), str(cohere_llm)]
model_lab = ModelLaboratory(chains, names=names)
model_lab.compare("What is the hometown of the reigning men's U.S. Open champion?")
Input:
What is the hometown of the reigning men's U.S. Open champion?
OpenAI
Params: {'model': 'text-davinci-002', 'temperature': 0.0, 'max_tok... | https://python.langchain.com/en/latest/model_laboratory.html |
394624db5df3-3 | So the final answer is:
Carlos Alcaraz
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/model_laboratory.html |
be6863893b05-0 | .md
.pdf
Glossary
Contents
Chain of Thought Prompting
Action Plan Generation
ReAct Prompting
Self-ask
Prompt Chaining
Memetic Proxy
Self Consistency
Inception
MemPrompt
Glossary#
This is a collection of terminology commonly used when developing LLM applications.
It contains reference to external papers or sources whe... | https://python.langchain.com/en/latest/glossary.html |
be6863893b05-1 | Language Model Cascades
ICE Primer Book
Socratic Models
Memetic Proxy#
Encouraging the LLM to respond in a certain way framing the discussion in a context that the model knows of and that will result in that type of response. For example, as a conversation between a student and a teacher.
Resources:
Paper
Self Consiste... | https://python.langchain.com/en/latest/glossary.html |
f94042d1b6a5-0 | .md
.pdf
Deployments
Contents
Streamlit
Gradio (on Hugging Face)
Beam
Vercel
Fly.io
Digitalocean App Platform
Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
Deployments#
So, you’ve created a really cool chain - now what? How do you deploy it and make it easily shareable with the world?
This section cov... | https://python.langchain.com/en/latest/deployments.html |
f94042d1b6a5-1 | Digitalocean App Platform#
A minimal example on how to deploy LangChain to DigitalOcean App Platform.
Google Cloud Run#
A minimal example on how to deploy LangChain to Google Cloud Run.
SteamShip#
This repository contains LangChain adapters for Steamship, enabling LangChain developers to rapidly deploy their apps on St... | https://python.langchain.com/en/latest/deployments.html |
f94042d1b6a5-2 | Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/deployments.html |
7215c3db961e-0 | .rst
.pdf
API References
API References#
All of LangChain’s reference documentation, in one place.
Full documentation on all methods, classes, and APIs in LangChain.
Models
Prompts
Indexes
Memory
Chains
Agents
Utilities
Experimental Modules
previous
Integrations
next
Models
By Harrison Chase
© Copyright 2023... | https://python.langchain.com/en/latest/reference.html |
cdda87fa5d29-0 | .rst
.pdf
LangChain Gallery
Contents
Open Source
Misc. Colab Notebooks
Proprietary
LangChain Gallery#
Lots of people have built some pretty awesome stuff with LangChain.
This is a collection of our favorites.
If you see any other demos that you think we should highlight, be sure to let us know!
Open Source#
HowDoI.ai... | https://python.langchain.com/en/latest/gallery.html |
cdda87fa5d29-1 | Record sounds of anything (birds, wind, fire, train station) and chat with it.
ChatGPT LangChain
This simple application demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain. When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
GPT Mat... | https://python.langchain.com/en/latest/gallery.html |
cdda87fa5d29-2 | Daimon
A chat-based AI personal assistant with long-term memory about you.
Summarize any file with AI
Summarize not only long docs, interview audio or video files quickly, but also entire websites and YouTube videos. Share or download your generated summaries to collaborate with others, or revisit them at any time! Bon... | https://python.langchain.com/en/latest/gallery.html |
2c17e93b6640-0 | .md
.pdf
Tracing
Contents
Tracing Walkthrough
Changing Sessions
Tracing#
By enabling tracing in your LangChain runs, you’ll be able to more effectively visualize, step through, and debug your chains and agents.
First, you should install tracing and set up your environment properly.
You can use either a locally hosted... | https://python.langchain.com/en/latest/tracing.html |
2c17e93b6640-1 | Changing Sessions#
To initially record traces to a session other than "default", you can set the LANGCHAIN_SESSION environment variable to the name of the session you want to record to:
import os
os.environ["LANGCHAIN_TRACING"] = "true"
os.environ["LANGCHAIN_SESSION"] = "my_session" # Make sure this session actually ex... | https://python.langchain.com/en/latest/tracing.html |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 4