id stringlengths 14 16 | text stringlengths 44 2.73k | source stringlengths 49 114 |
|---|---|---|
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.
Use Cases#
The above modules can be used in a... | https://langchain.readthedocs.io/en/latest/index.html |
d9a688714afa-2 | Evaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.
Reference Docs#
All of LangChain’s reference documentation, in one place. Full d... | https://langchain.readthedocs.io/en/latest/index.html |
d9a688714afa-3 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://langchain.readthedocs.io/en/latest/index.html |
5c72a2b2aa70-0 | .md
.pdf
YouTube
Contents
Introduction to LangChain with Harrison Chase, creator of LangChain
Tutorials
Videos (sorted by views)
YouTube#
This is a collection of LangChain tutorials and videos on YouTube.
Introduction to LangChain with Harrison Chase, creator of LangChain#
Building the Future with LLMs, LangChain, & ... | https://python.langchain.com/en/latest/youtube.html |
5c72a2b2aa70-1 | Working With The New ChatGPT API
OpenAI + LangChain Wrote Me 100 Custom Sales Emails
Structured Output From OpenAI (Clean Dirty Data)
Connect OpenAI To +5,000 Tools (LangChain + Zapier)
Use LLMs To Extract Data From Text (Expert Mode)
LangChain How to and guides by Sam Witteveen:
LangChain Basics - LLMs & PromptTemplat... | https://python.langchain.com/en/latest/youtube.html |
5c72a2b2aa70-2 | GPT-4 & LangChain Tutorial: How to Chat With A 56-Page PDF Document (w/Pinecone)
Videos (sorted by views)#
Building AI LLM Apps with LangChain (and more?) - LIVE STREAM by Nicholas Renotte
First look - ChatGPT + WolframAlpha (GPT-3.5 and Wolfram|Alpha via LangChain by James Weaver) by Dr Alan D. Thompson
LangChain expl... | https://python.langchain.com/en/latest/youtube.html |
5c72a2b2aa70-3 | Analyze Custom CSV Data with GPT-4 using Langchain by Venelin Valkov
Langchain Overview - How to Use Langchain & ChatGPT by Python In Office
Custom langchain Agent & Tools with memory. Turn any Python function into langchain tool with Gpt 3 by echohive
ChatGPT with any YouTube video using langchain and chromadb by echo... | https://python.langchain.com/en/latest/youtube.html |
7f1205ca1fe8-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 |
7f1205ca1fe8-1 | (langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
A
aadd_documents() (langchain.retrievers.TimeWeightedVectorStoreRetriever method)
(langchain.vectorstores.VectorStore method)
aadd_texts() (langchain.vectorstores.VectorStore method)
aapply() (langchain.chains.LLMChain method)
aapply_and_parse() (langc... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-2 | (langchain.vectorstores.AnalyticDB method)
(langchain.vectorstores.Annoy method)
(langchain.vectorstores.AtlasDB method)
(langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLake method)
(langchain.vectorstores.ElasticVectorSearch method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvu... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-3 | (langchain.llms.Cohere method)
(langchain.llms.DeepInfra method)
(langchain.llms.ForefrontAI method)
(langchain.llms.GooseAI method)
(langchain.llms.GPT4All method)
(langchain.llms.HuggingFaceEndpoint method)
(langchain.llms.HuggingFaceHub method)
(langchain.llms.HuggingFacePipeline method)
(langchain.llms.LlamaCpp met... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-4 | (langchain.llms.HuggingFaceHub method)
(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.PredictionGuard method)
(lan... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-5 | (langchain.retrievers.TFIDFRetriever method)
(langchain.retrievers.TimeWeightedVectorStoreRetriever method)
(langchain.retrievers.WeaviateHybridSearchRetriever method)
aget_table_info() (langchain.utilities.PowerBIDataset method)
aggregate_importance (langchain.experimental.GenerativeAgentMemory attribute)
ai_prefix (l... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-6 | AnalyticDB (class in langchain.vectorstores)
Annoy (class in langchain.vectorstores)
answers (langchain.utilities.searx_search.SearxResults property)
apatch() (langchain.utilities.TextRequestsWrapper method)
api_answer_chain (langchain.chains.APIChain attribute)
api_docs (langchain.chains.APIChain attribute)
api_key (l... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-7 | apredict_and_parse() (langchain.chains.LLMChain method)
aprep_prompts() (langchain.chains.LLMChain method)
aput() (langchain.utilities.TextRequestsWrapper method)
arbitrary_types_allowed (langchain.experimental.BabyAGI.Config attribute)
(langchain.experimental.GenerativeAgent.Config attribute)
(langchain.retrievers.Wea... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-8 | AzureBlobStorageFileLoader (class in langchain.document_loaders)
B
BabyAGI (class in langchain.experimental)
bad_words (langchain.llms.NLPCloud attribute)
base_compressor (langchain.retrievers.ContextualCompressionRetriever attribute)
base_embeddings (langchain.chains.HypotheticalDocumentEmbedder attribute)
base_retrie... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-9 | (langchain.memory.ConversationBufferWindowMemory property)
(langchain.memory.ConversationEntityMemory property)
(langchain.memory.ConversationStringBufferMemory attribute)
(langchain.memory.ConversationSummaryBufferMemory property)
(langchain.memory.ConversationSummaryMemory attribute)
(langchain.memory.ConversationTok... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-10 | check_bs4() (langchain.document_loaders.BlackboardLoader method)
Chroma (class in langchain.vectorstores)
CHUNK_LEN (langchain.llms.RWKV attribute)
chunk_size (langchain.embeddings.OpenAIEmbeddings attribute)
clear() (langchain.experimental.GenerativeAgentMemory method)
(langchain.memory.ChatMessageHistory method)
(lan... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-11 | (langchain.retrievers.document_compressors.EmbeddingsFilter method)
(langchain.retrievers.document_compressors.LLMChainExtractor method)
(langchain.retrievers.document_compressors.LLMChainFilter method)
compress_to_size (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding attribute)
ConfluenceLoader (class in la... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-12 | (langchain.llms.PromptLayerOpenAI class method)
(langchain.llms.PromptLayerOpenAIChat class method)
(langchain.llms.Replicate class method)
(langchain.llms.RWKV class method)
(langchain.llms.SagemakerEndpoint class method)
(langchain.llms.SelfHostedHuggingFaceLLM class method)
(langchain.llms.SelfHostedPipeline class m... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-13 | (langchain.llms.HuggingFaceEndpoint method)
(langchain.llms.HuggingFaceHub method)
(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)
... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-14 | (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 |
7f1205ca1fe8-15 | (langchain.llms.SagemakerEndpoint attribute)
critique_chain (langchain.chains.ConstitutionalChain attribute)
CSVLoader (class in langchain.document_loaders)
current_plan (langchain.experimental.GenerativeAgentMemory attribute)
D
daily_summaries (langchain.experimental.GenerativeAgent attribute)
database (langchain.chai... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-16 | description (langchain.agents.agent_toolkits.VectorStoreInfo attribute)
(langchain.agents.Tool attribute)
(langchain.output_parsers.ResponseSchema attribute)
(langchain.tools.APIOperation attribute)
(langchain.tools.BaseTool attribute)
deserialize_json_input() (langchain.chains.OpenAPIEndpointChain method)
device (lang... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-17 | (langchain.llms.RWKV method)
(langchain.llms.SagemakerEndpoint method)
(langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
(langchain.prompts.BasePromptTemplate method)
(langchain.prompts.FewShotPromptTemplate me... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-18 | (langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
ElasticSearchBM25Retriever (class in langchain.retrievers)
ElasticVectorSearch (class in langchain.vectorstores)
embed_documents() (langchain.chains.HypotheticalDocumentEmbedder method)
(langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding met... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-19 | (langchain.embeddings.HuggingFaceInstructEmbeddings method)
(langchain.embeddings.LlamaCppEmbeddings method)
(langchain.embeddings.OpenAIEmbeddings method)
(langchain.embeddings.SagemakerEndpointEmbeddings method)
(langchain.embeddings.SelfHostedEmbeddings method)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbe... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-20 | error (langchain.chains.OpenAIModerationChain attribute)
escape_str() (langchain.vectorstores.MyScale method)
EverNoteLoader (class in langchain.document_loaders)
example_keys (langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute)
example_prompt (langchain.prompts.example_selector.LengthBasedE... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-21 | fetch_formatted_page_summary() (langchain.utilities.WikipediaAPIWrapper method)
fetch_k (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector attribute)
fetch_memories() (langchain.experimental.GenerativeAgentMemory method)
fetch_place_details() (langchain.utilities.GooglePlacesAPIWrapper method)
file... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-22 | (langchain.llms.AzureOpenAI attribute)
(langchain.llms.Cohere attribute)
(langchain.llms.GooseAI attribute)
frequencyPenalty (langchain.llms.AI21 attribute)
from_agent_and_tools() (langchain.agents.AgentExecutor class method)
from_api_operation() (langchain.chains.OpenAPIEndpointChain class method)
from_bearer_token() ... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-23 | (langchain.chains.ConversationalRetrievalChain class method)
(langchain.chains.GraphQAChain class method)
(langchain.chains.HypotheticalDocumentEmbedder class method)
(langchain.chains.QAGenerationChain class method)
(langchain.chains.SQLDatabaseSequentialChain class method)
(langchain.experimental.BabyAGI class method... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-24 | from_params() (langchain.chains.MapReduceChain class method)
from_pipeline() (langchain.llms.SelfHostedHuggingFaceLLM class method)
(langchain.llms.SelfHostedPipeline class method)
from_plugin_url() (langchain.tools.AIPluginTool class method)
from_rail() (langchain.output_parsers.GuardrailsOutputParser class method)
fr... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-25 | (langchain.vectorstores.VectorStore class method)
(langchain.vectorstores.Weaviate class method)
(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.OpenAPIE... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-26 | (langchain.llms.NLPCloud method)
(langchain.llms.OpenAI method)
(langchain.llms.OpenAIChat method)
(langchain.llms.Petals method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat method)
(langchain.llms.Replicate method)
(langchain.llms.RWKV method)... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-27 | (langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat method)
(langchain.llms.Replicate method)
(langchain.llms.RWKV method)
(langchain.llms.SagemakerEndpoint method)
(langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-28 | (langchain.output_parsers.StructuredOutputParser method)
get_full_header() (langchain.experimental.GenerativeAgent method)
get_full_inputs() (langchain.agents.Agent method)
get_input (langchain.retrievers.document_compressors.LLMChainExtractor attribute)
(langchain.retrievers.document_compressors.LLMChainFilter attribu... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-29 | (langchain.llms.Replicate method)
(langchain.llms.RWKV method)
(langchain.llms.SagemakerEndpoint method)
(langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
get_num_tokens_from_messages() (langchain.chat_models.C... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-30 | (langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
get_operation() (langchain.tools.OpenAPISpec method)
get_parameters_for_operation() (langchain.tools.OpenAPISpec method)
get_params() (langchain.serpapi.SerpAPIWrapper method)
(langchain.utilities.SerpAPIWrapp... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-31 | (langchain.llms.OpenAI method)
(langchain.llms.PromptLayerOpenAI method)
get_summary() (langchain.experimental.GenerativeAgent method)
get_table_info() (langchain.utilities.PowerBIDataset method)
get_table_names() (langchain.utilities.PowerBIDataset method)
get_text_length (langchain.prompts.example_selector.LengthBase... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-32 | guard (langchain.output_parsers.GuardrailsOutputParser attribute)
GutenbergLoader (class in langchain.document_loaders)
H
hardware (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
headers (langchain.retriev... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-33 | index (langchain.retrievers.PineconeHybridSearchRetriever attribute)
(langchain.retrievers.SVMRetriever attribute)
index_param (langchain.vectorstores.MyScaleSettings attribute)
index_type (langchain.vectorstores.MyScaleSettings attribute)
inference_fn (langchain.embeddings.SelfHostedEmbeddings attribute)
(langchain.em... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-34 | J
json() (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.Cohere method)
(langchain.llms.DeepInfra method)
(langchain.llms.ForefrontAI method)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-35 | (langchain.chains.VectorDBQAWithSourcesChain attribute)
(langchain.llms.Cohere attribute)
(langchain.memory.ConversationBufferWindowMemory attribute)
(langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.prompts.example_selector.SemanticSimilarityExampleSelec... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-36 | langchain.prompts.example_selector
module
langchain.python
module
langchain.retrievers
module
langchain.retrievers.document_compressors
module
langchain.serpapi
module
langchain.text_splitter
module
langchain.tools
module
langchain.utilities
... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-37 | (langchain.experimental.GenerativeAgentMemory attribute)
(langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.memory.ConversationTokenBufferMemory attribute)
llm_chain (langchain.agents.Agent attribute)
(langchain.agents.LLMSingleActionAgent attribute)
(lang... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-38 | (langchain.document_loaders.DiffbotLoader method)
(langchain.document_loaders.DirectoryLoader method)
(langchain.document_loaders.DiscordChatLoader method)
(langchain.document_loaders.DuckDBLoader method)
(langchain.document_loaders.EverNoteLoader method)
(langchain.document_loaders.FacebookChatLoader method)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-39 | (langchain.document_loaders.S3FileLoader method)
(langchain.document_loaders.SeleniumURLLoader method)
(langchain.document_loaders.SitemapLoader method)
(langchain.document_loaders.SlackDirectoryLoader method)
(langchain.document_loaders.SRTLoader method)
(langchain.document_loaders.TelegramChatLoader method)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-40 | (langchain.memory.ConversationSummaryBufferMemory method)
(langchain.memory.ConversationSummaryMemory method)
(langchain.memory.ConversationTokenBufferMemory method)
(langchain.memory.ReadOnlySharedMemory method)
(langchain.memory.SimpleMemory method)
(langchain.memory.VectorStoreRetrieverMemory method)
load_messages()... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-41 | max_execution_time (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain attribute)
(langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
max_iterations (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain attribute)
(langchain.agents.ReActChain a... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-42 | (langchain.llms.PromptLayerOpenAIChat attribute)
max_token_limit (langchain.memory.ConversationSummaryBufferMemory attribute)
(langchain.memory.ConversationTokenBufferMemory attribute)
max_tokens (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.Cohere attribute)
(langc... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-43 | memory_stream (langchain.retrievers.TimeWeightedVectorStoreRetriever attribute)
memory_variables (langchain.experimental.GenerativeAgentMemory property)
(langchain.memory.CombinedMemory property)
(langchain.memory.ConversationStringBufferMemory property)
(langchain.memory.ReadOnlySharedMemory property)
(langchain.memor... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-44 | (langchain.llms.GPT4All attribute)
(langchain.llms.RWKV attribute)
model_id (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute)
(langchain.llms.HuggingFacePipeline attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langch... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-45 | (langchain.chat_models.ChatOpenAI attribute)
(langchain.embeddings.HuggingFaceEmbeddings attribute)
(langchain.embeddings.HuggingFaceInstructEmbeddings attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.GooseAI attribute)
(langchain.llms.NLPCloud attribute)
(langchain.llms.OpenAIChat attribute)
(langchai... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-46 | N
n (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AlephAlpha attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.GooseAI attribute)
n_batch (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
n_ctx (langchain.embeddings.... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-47 | num_return_sequences (langchain.llms.NLPCloud attribute)
numResults (langchain.llms.AI21 attribute)
O
observation_prefix (langchain.agents.Agent property)
(langchain.agents.ConversationalAgent property)
(langchain.agents.ConversationalChatAgent property)
(langchain.agents.ZeroShotAgent property)
ObsidianLoader (class i... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-48 | (langchain.chains.QAGenerationChain property)
(langchain.experimental.BabyAGI property)
(langchain.output_parsers.RegexParser attribute)
output_parser (langchain.agents.Agent attribute)
(langchain.agents.ConversationalAgent attribute)
(langchain.agents.ConversationalChatAgent attribute)
(langchain.agents.LLMSingleActio... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-49 | (langchain.output_parsers.StructuredOutputParser method)
parse_filename() (langchain.document_loaders.BlackboardLoader method)
parse_obj() (langchain.tools.OpenAPISpec class method)
parse_sitemap() (langchain.document_loaders.SitemapLoader method)
parse_with_prompt() (langchain.output_parsers.RetryOutputParser method)
... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-50 | plan() (langchain.agents.Agent method)
(langchain.agents.BaseMultiActionAgent method)
(langchain.agents.BaseSingleActionAgent method)
(langchain.agents.LLMSingleActionAgent method)
PlaywrightURLLoader (class in langchain.document_loaders)
plugin (langchain.tools.AIPluginTool attribute)
port (langchain.vectorstores.MySc... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-51 | process_image() (langchain.document_loaders.ConfluenceLoader method)
process_index_results() (langchain.vectorstores.Annoy method)
process_page() (langchain.document_loaders.ConfluenceLoader method)
process_pdf() (langchain.document_loaders.ConfluenceLoader method)
process_svg() (langchain.document_loaders.ConfluenceLo... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-52 | query_suffix (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapper attribute)
R
random_seed (langchain.llms.Writer attribute)
raw_completion (langchain.llms.AlephAlpha attribute)
REACT_DOCSTORE (langchain.agents.AgentType attribute)
ReadTheDocsLoader (class in langchain... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-53 | repetition_penalty (langchain.llms.ForefrontAI attribute)
(langchain.llms.NLPCloud attribute)
(langchain.llms.Writer attribute)
repo_id (langchain.embeddings.HuggingFaceHubEmbeddings attribute)
(langchain.llms.HuggingFaceHub attribute)
request_body (langchain.tools.APIOperation attribute)
request_timeout (langchain.cha... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-54 | return_all (langchain.chains.SequentialChain attribute)
return_direct (langchain.chains.SQLDatabaseChain attribute)
(langchain.tools.BaseTool attribute)
return_docs (langchain.memory.VectorStoreRetrieverMemory attribute)
return_intermediate_steps (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain at... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-55 | (langchain.utilities.OpenWeatherMapAPIWrapper method)
(langchain.utilities.PowerBIDataset method)
(langchain.utilities.PythonREPL method)
(langchain.utilities.searx_search.SearxSearchWrapper method)
(langchain.utilities.SearxSearchWrapper method)
(langchain.utilities.SerpAPIWrapper method)
(langchain.utilities.Wikipedi... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-56 | (langchain.llms.Petals method)
(langchain.llms.PredictionGuard method)
(langchain.llms.PromptLayerOpenAI method)
(langchain.llms.PromptLayerOpenAIChat method)
(langchain.llms.Replicate method)
(langchain.llms.RWKV method)
(langchain.llms.SagemakerEndpoint method)
(langchain.llms.SelfHostedHuggingFaceLLM method)
(langch... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-57 | (langchain.chains.VectorDBQA attribute)
(langchain.chains.VectorDBQAWithSourcesChain attribute)
(langchain.retrievers.TimeWeightedVectorStoreRetriever attribute)
search_type (langchain.chains.VectorDBQA attribute)
searx_host (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearc... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-58 | (langchain.vectorstores.Annoy method)
(langchain.vectorstores.AtlasDB method)
(langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLake method)
(langchain.vectorstores.ElasticVectorSearch method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvus method)
(langchain.vectorstores.MyScale m... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-59 | (langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLake method)
(langchain.vectorstores.ElasticVectorSearch method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvus method)
(langchain.vectorstores.Pinecone method)
(langchain.vectorstores.Qdrant method)
similarity_search_with_score_by... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-60 | status (langchain.experimental.GenerativeAgent attribute)
stop (langchain.agents.LLMSingleActionAgent attribute)
(langchain.chains.PALChain attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
(langchain.llms.Writer attribute)
stop_sequences (langchain.llms.AlephAlpha attribute)
store (lang... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-61 | table_name (langchain.vectorstores.SupabaseVectorStore attribute)
table_names (langchain.utilities.PowerBIDataset attribute)
tags (langchain.tools.OpenAPISpec attribute)
task (langchain.embeddings.HuggingFaceHubEmbeddings attribute)
(langchain.llms.HuggingFaceEndpoint attribute)
(langchain.llms.HuggingFaceHub attribute... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-62 | TextSplitter (class in langchain.text_splitter)
tfidf_array (langchain.retrievers.TFIDFRetriever attribute)
to_typescript() (langchain.tools.APIOperation method)
token (langchain.utilities.PowerBIDataset attribute)
token_path (langchain.document_loaders.GoogleApiClient attribute)
(langchain.document_loaders.GoogleDrive... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-63 | (langchain.retrievers.DataberryRetriever attribute)
(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.utiliti... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-64 | UnstructuredEPubLoader (class in langchain.document_loaders)
UnstructuredFileIOLoader (class in langchain.document_loaders)
UnstructuredFileLoader (class in langchain.document_loaders)
UnstructuredHTMLLoader (class in langchain.document_loaders)
UnstructuredImageLoader (class in langchain.document_loaders)
Unstructured... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-65 | (langchain.llms.OpenAI class method)
(langchain.llms.OpenAIChat class method)
(langchain.llms.Petals class method)
(langchain.llms.PredictionGuard class method)
(langchain.llms.PromptLayerOpenAI class method)
(langchain.llms.PromptLayerOpenAIChat class method)
(langchain.llms.Replicate class method)
(langchain.llms.RWK... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-66 | (langchain.prompts.FewShotPromptWithTemplates attribute)
(langchain.prompts.PromptTemplate attribute)
vectorizer (langchain.retrievers.TFIDFRetriever attribute)
VectorStore (class in langchain.vectorstores)
vectorstore (langchain.agents.agent_toolkits.VectorStoreInfo attribute)
(langchain.chains.ChatVectorDBChain attri... | https://python.langchain.com/en/latest/genindex.html |
7f1205ca1fe8-67 | (langchain.document_loaders.CollegeConfidentialLoader attribute)
(langchain.document_loaders.GitbookLoader attribute)
(langchain.document_loaders.HNLoader attribute)
(langchain.document_loaders.IMSDbLoader attribute)
(langchain.document_loaders.SitemapLoader attribute)
(langchain.document_loaders.WebBaseLoader attribut... | https://python.langchain.com/en/latest/genindex.html |
0016b45d6f18-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 |
0016b45d6f18-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.
Use Cases#
The above modules can be used in a... | https://python.langchain.com/en/latest/index.html |
0016b45d6f18-2 | Evaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.
Reference Docs#
All of LangChain’s reference documentation, in one place. Full d... | https://python.langchain.com/en/latest/index.html |
0016b45d6f18-3 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://python.langchain.com/en/latest/index.html |
e2a765760e28-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 |
8146f1cbe9e5-0 | Search
Error
Please activate JavaScript to enable the search functionality.
Ctrl+K
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://python.langchain.com/en/latest/search.html |
eb02bd18cbac-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 |
eb02bd18cbac-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_HANDLER"] = "langchain"
os.environ["LANGCHAIN_SESSION"] = "my_session" # Make sure this session actual... | https://python.langchain.com/en/latest/tracing.html |
f53f3d79839b-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 |
674e95f16465-0 | .md
.pdf
Deployments
Contents
Streamlit
Gradio (on Hugging Face)
Beam
Vercel
Digitalocean App Platform
Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
Deployments#
So you’ve made a really cool chain - now what? How do you deploy it and make it easily sharable with the world?
This section covers several ... | https://python.langchain.com/en/latest/deployments.html |
674e95f16465-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 |
674e95f16465-2 | Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://python.langchain.com/en/latest/deployments.html |
11a1e97a8192-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 |
11a1e97a8192-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 |
11a1e97a8192-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 |
11a1e97a8192-3 | So the final answer is:
Carlos Alcaraz
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://python.langchain.com/en/latest/model_laboratory.html |
3bd703d3e9ff-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 |
3bd703d3e9ff-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 |
5017ac45f6ce-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 |
5017ac45f6ce-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 |
5017ac45f6ce-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 |
63bfd2fda86f-0 | .rst
.pdf
Indexes
Indexes#
Indexes refer to ways to structure documents so that LLMs can best interact with them.
LangChain has a number of modules that help you load, structure, store, and retrieve documents.
Docstore
Text Splitter
Document Loaders
Vector Stores
Retrievers
Document Compressors
Document Transformers
pr... | https://python.langchain.com/en/latest/reference/indexes.html |
37e59c2d2aa0-0 | .rst
.pdf
Agents
Agents#
Reference guide for Agents and associated abstractions.
Agents
Tools
Agent Toolkits
previous
Memory
next
Agents
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | https://python.langchain.com/en/latest/reference/agents.html |
0869763682fc-0 | .md
.pdf
Integrations
Integrations#
Besides the installation of this python package, you will also need to install packages and set environment variables depending on which chains you want to use.
Note: the reason these packages are not included in the dependencies by default is that as we imagine scaling this package,... | https://python.langchain.com/en/latest/reference/integrations.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.