id stringlengths 14 16 | text stringlengths 29 2.73k | source stringlengths 49 115 |
|---|---|---|
4f1d67cf7ac8-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 |
4f1d67cf7ac8-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 |
0f642fe0f8ca-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 |
0f642fe0f8ca-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 |
0f642fe0f8ca-2 | Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 01, 2023. | https://python.langchain.com/en/latest/deployments.html |
1066b43c91b9-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 |
59ce0590a5b3-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 |
59ce0590a5b3-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 |
62afc0757972-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 |
62afc0757972-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 |
62afc0757972-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 |
62afc0757972-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 01, 2023. | https://python.langchain.com/en/latest/index.html |
be9ce47ea812-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 |
be9ce47ea812-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 |
be9ce47ea812-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 |
0404fe1c2205-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 |
2acac7dfd0ac-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 |
2acac7dfd0ac-1 | (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.vectorstores.VectorStore method)
aapply() (langchain.chains... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-2 | add_texts() (langchain.retrievers.ElasticSearchBM25Retriever method)
(langchain.retrievers.PineconeHybridSearchRetriever method)
(langchain.vectorstores.AnalyticDB method)
(langchain.vectorstores.Annoy method)
(langchain.vectorstores.AtlasDB method)
(langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLak... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-3 | (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)
(langchain.llms.Go... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-4 | (langchain.llms.CerebriumAI method)
(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 ... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-5 | (langchain.retrievers.DataberryRetriever method)
(langchain.retrievers.ElasticSearchBM25Retriever method)
(langchain.retrievers.MetalRetriever method)
(langchain.retrievers.PineconeHybridSearchRetriever method)
(langchain.retrievers.RemoteLangChainRetriever method)
(langchain.retrievers.SVMRetriever method)
(langchain.... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-6 | (langchain.llms.OpenAIChat attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
allowed_tools (langchain.agents.Agent attribute)
aload() (langchain.document_loaders.WebBaseLoader method)
alpha (langchain.retrievers.PineconeHybridSearchRetriever attribute)
amax_marginal_relevance_search() (langchain.vectorstores.... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-7 | (langchain.tools.ZapierNLAListActions attribute)
(langchain.tools.ZapierNLARunAction attribute)
apify_client (langchain.document_loaders.ApifyDatasetLoader attribute)
(langchain.utilities.ApifyWrapper attribute)
apify_client_async (langchain.utilities.ApifyWrapper attribute)
aplan() (langchain.agents.Agent method)
(lan... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-8 | (langchain.tools.BaseTool property)
(langchain.tools.StructuredTool property)
args_schema (langchain.tools.AIPluginTool attribute)
(langchain.tools.BaseTool attribute)
(langchain.tools.ClickTool attribute)
(langchain.tools.CopyFileTool attribute)
(langchain.tools.CurrentWebPageTool attribute)
(langchain.tools.DeleteFil... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-9 | atransform_documents() (langchain.document_transformers.EmbeddingsRedundantFilter method)
(langchain.text_splitter.TextSplitter method)
AutoGPT (class in langchain.experimental)
awslambda_tool_description (langchain.utilities.LambdaWrapper attribute)
awslambda_tool_name (langchain.utilities.LambdaWrapper attribute)
AZL... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-10 | bing_search_url (langchain.utilities.BingSearchAPIWrapper attribute)
bing_subscription_key (langchain.utilities.BingSearchAPIWrapper attribute)
BlackboardLoader (class in langchain.document_loaders)
BlockchainDocumentLoader (class in langchain.document_loaders)
body_params (langchain.tools.APIOperation property)
browse... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-11 | chain (langchain.chains.ConstitutionalChain attribute)
chains (langchain.chains.SequentialChain attribute)
(langchain.chains.SimpleSequentialChain attribute)
channel_name (langchain.document_loaders.GoogleApiYoutubeLoader attribute)
CharacterTextSplitter (class in langchain.text_splitter)
CHAT_CONVERSATIONAL_REACT_DESC... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-12 | (langchain.memory.RedisEntityStore method)
(langchain.memory.SimpleMemory method)
(langchain.memory.VectorStoreRetrieverMemory method)
client (langchain.llms.Petals attribute)
CollegeConfidentialLoader (class in langchain.document_loaders)
column_map (langchain.vectorstores.MyScaleSettings attribute)
combine_docs_chain... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-13 | (langchain.llms.CerebriumAI class method)
(langchain.llms.Cohere class method)
(langchain.llms.DeepInfra class method)
(langchain.llms.ForefrontAI class method)
(langchain.llms.GooseAI class method)
(langchain.llms.GPT4All class method)
(langchain.llms.HuggingFaceEndpoint class method)
(langchain.llms.HuggingFaceHub cl... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-14 | continue_on_failure (langchain.document_loaders.GoogleApiYoutubeLoader attribute)
(langchain.document_loaders.PlaywrightURLLoader attribute)
(langchain.document_loaders.SeleniumURLLoader attribute)
control_log_additive (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding attribute)
(langchain.llms.AlephAlpha att... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-15 | (langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
coroutine (langchain.agents.Tool attribute)
(langchain.tools.StructuredTool attribute)
CosmosDBChatMessageHistory (class in langchain.memory)
countPenalty (langchain.llms.AI21 attribute)
create() (langchain.re... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-16 | (in module langchain.agents.agent_toolkits)
create_prompt() (langchain.agents.Agent class method)
(langchain.agents.ConversationalAgent class method)
(langchain.agents.ConversationalChatAgent class method)
(langchain.agents.ReActTextWorldAgent class method)
(langchain.agents.ZeroShotAgent class method)
create_python_ag... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-17 | (langchain.utilities.PowerBIDataset attribute)
dataset_mapping_function (langchain.document_loaders.ApifyDatasetLoader attribute)
datastore_url (langchain.retrievers.DataberryRetriever attribute)
db (langchain.agents.agent_toolkits.SQLDatabaseToolkit attribute)
decay_rate (langchain.retrievers.TimeWeightedVectorStoreRe... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-18 | (langchain.tools.GetElementsTool attribute)
(langchain.tools.ListDirectoryTool attribute)
(langchain.tools.MoveFileTool attribute)
(langchain.tools.NavigateBackTool attribute)
(langchain.tools.NavigateTool attribute)
(langchain.tools.ReadFileTool attribute)
(langchain.tools.ShellTool attribute)
(langchain.tools.Structu... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-19 | (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 |
2acac7dfd0ac-20 | E
early_stopping (langchain.llms.NLPCloud attribute)
early_stopping_method (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain attribute)
(langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
echo (langchain.llms.AlephAlpha attribute)
(langchain.llms.GPT4All attr... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-21 | (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding method)
(langchain.embeddings.AlephAlphaSymmetricSemanticEmbedding method)
(langchain.embeddings.CohereEmbeddings method)
(langchain.embeddings.FakeEmbeddings method)
(langchain.embeddings.HuggingFaceEmbeddings method)
(langchain.embeddings.HuggingFaceHubEmbed... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-22 | entity_cache (langchain.memory.ConversationEntityMemory attribute)
entity_extraction_chain (langchain.chains.GraphQAChain attribute)
entity_extraction_prompt (langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
entity_store (langchain.memory.ConversationEntityMemory at... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-23 | F
f16_kv (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
FacebookChatLoader (class in langchain.document_loaders)
FAISS (class in langchain.vectorstores)
fetch_all() (langchain.document_loaders.WebBaseLoader method)
fetch_formatted_page_summary(... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-24 | (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 |
2acac7dfd0ac-25 | from_jira_api_wrapper() (langchain.agents.agent_toolkits.JiraToolkit class method)
from_llm() (langchain.agents.agent_toolkits.OpenAPIToolkit class method)
(langchain.chains.ChatVectorDBChain class method)
(langchain.chains.ConstitutionalChain class method)
(langchain.chains.ConversationalRetrievalChain class method)
(... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-26 | (langchain.agents.BaseSingleActionAgent class method)
(langchain.agents.ConversationalAgent class method)
(langchain.agents.ConversationalChatAgent class method)
(langchain.agents.ZeroShotAgent class method)
from_llm_and_url() (langchain.agents.agent_toolkits.NLAToolkit class method)
from_math_prompt() (langchain.chain... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-27 | (langchain.vectorstores.Annoy class method)
(langchain.vectorstores.AtlasDB class method)
(langchain.vectorstores.Chroma class method)
(langchain.vectorstores.DeepLake class method)
(langchain.vectorstores.ElasticVectorSearch class method)
(langchain.vectorstores.FAISS class method)
(langchain.vectorstores.LanceDB clas... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-28 | generate() (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.Cohere method)
(langchain.llms.DeepInfra method)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-29 | (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.GooseAI method)
(langchain.llms.GPT4All method)
(langchain.llms.Hu... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-30 | get_all_tool_names() (in module langchain.agents)
get_allowed_tools() (langchain.agents.Agent method)
(langchain.agents.BaseMultiActionAgent method)
(langchain.agents.BaseSingleActionAgent method)
get_answer_expr (langchain.chains.PALChain attribute)
get_cleaned_operation_id() (langchain.tools.OpenAPISpec static method... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-31 | (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)
(langchain.llms.Go... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-32 | (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.GooseAI method)
(langchain.llms.GPT4All method)
(langchain.llms.HuggingFaceEndpoint method)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-33 | get_processed_pdf() (langchain.document_loaders.MathpixPDFLoader method)
get_referenced_schema() (langchain.tools.OpenAPISpec method)
get_relevant_documents() (langchain.retrievers.ChatGPTPluginRetriever method)
(langchain.retrievers.ContextualCompressionRetriever method)
(langchain.retrievers.DataberryRetriever method... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-34 | get_tools() (langchain.agents.agent_toolkits.FileManagementToolkit method)
(langchain.agents.agent_toolkits.JiraToolkit method)
(langchain.agents.agent_toolkits.JsonToolkit method)
(langchain.agents.agent_toolkits.NLAToolkit method)
(langchain.agents.agent_toolkits.OpenAPIToolkit method)
(langchain.agents.agent_toolkit... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-35 | (langchain.llms.SelfHostedPipeline attribute)
headers (langchain.document_loaders.MathpixPDFLoader property)
(langchain.retrievers.RemoteLangChainRetriever attribute)
(langchain.utilities.PowerBIDataset property)
(langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapper att... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-36 | inference_fn (langchain.embeddings.SelfHostedEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
inference_kwargs (langchain.embeddings.SelfHostedEmbeddings attribute)
info (langchain.too... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-37 | (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.GooseAI method)
(langchain.llms... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-38 | (langchain.llms.Cohere attribute)
(langchain.memory.ConversationBufferWindowMemory attribute)
(langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute)
(langchain.retrievers.document_compressor... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-39 | module
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... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-40 | (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 |
2acac7dfd0ac-41 | (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)
(langchain.document_loaders.DiffbotLoader method)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-42 | (langchain.document_loaders.PDFMinerPDFasHTMLLoader method)
(langchain.document_loaders.PlaywrightURLLoader method)
(langchain.document_loaders.PyMuPDFLoader method)
(langchain.document_loaders.PyPDFDirectoryLoader method)
(langchain.document_loaders.PyPDFLoader method)
(langchain.document_loaders.ReadTheDocsLoader met... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-43 | (langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
load_guide() (langchain.document_loaders.IFixitLoader method)
load_local() (langchain.vectorstores.Annoy class method)
(langchain.vectorstores.FAISS class method)
load_max_docs (langchain.utilities.ArxivAPIWrapper attribut... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-44 | (langchain.llms.AzureOpenAI attribute)
(langchain.llms.GooseAI attribute)
logitBias (langchain.llms.AI21 attribute)
logits_all (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
logprobs (langchain.llms.LlamaCpp attribute)
(langchain.llms.Writer at... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-45 | (langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.VectorStore method)
(langchain.vectorstores.Weaviate method)
max_marginal_relevance_search_by_vector() (langchain.vectorstores.Annoy method)
(langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLake method)
(langchain.vectorstores... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-46 | max_tokens_to_sample (langchain.llms.Anthropic attribute)
maximum_tokens (langchain.llms.AlephAlpha attribute)
maxTokens (langchain.llms.AI21 attribute)
memories (langchain.memory.CombinedMemory attribute)
(langchain.memory.SimpleMemory attribute)
memory (langchain.agents.MRKLChain attribute)
(langchain.agents.ReActCha... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-47 | method (langchain.tools.APIOperation attribute)
metric (langchain.vectorstores.MyScaleSettings attribute)
Milvus (class in langchain.vectorstores)
min_length (langchain.llms.NLPCloud attribute)
min_tokens (langchain.llms.GooseAI attribute)
minimum_tokens (langchain.llms.AlephAlpha attribute)
minTokens (langchain.llms.A... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-48 | (langchain.llms.HuggingFaceHub attribute)
(langchain.llms.HuggingFacePipeline attribute)
(langchain.llms.Modal attribute)
(langchain.llms.OpenAIChat attribute)
(langchain.llms.Petals attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
(langchain.llms.SagemakerEndpoint attribute)
(langchain.llms.SelfHostedHuggin... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-49 | (langchain.llms.PromptLayerOpenAI method)
module
langchain.agents
langchain.agents.agent_toolkits
langchain.chains
langchain.chat_models
langchain.docstore
langchain.document_loaders
langchain.document_transformers
langchain.embeddings
langchain.llms
langchain.memory
langchain.output_parsers
langchain.prompt... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-50 | (langchain.experimental.GenerativeAgent attribute)
(langchain.llms.PredictionGuard attribute)
(langchain.output_parsers.ResponseSchema attribute)
(langchain.tools.BaseTool attribute)
(langchain.tools.ClickTool attribute)
(langchain.tools.CopyFileTool attribute)
(langchain.tools.CurrentWebPageTool attribute)
(langchain.... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-51 | (langchain.agents.ConversationalChatAgent property)
(langchain.agents.ZeroShotAgent property)
ObsidianLoader (class in langchain.document_loaders)
OnlinePDFLoader (class in langchain.document_loaders)
openai_api_base (langchain.chat_models.AzureChatOpenAI attribute)
openai_api_key (langchain.chains.OpenAIModerationChai... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-52 | (langchain.agents.ConversationalChatAgent attribute)
(langchain.agents.LLMSingleActionAgent attribute)
(langchain.agents.ReActTextWorldAgent attribute)
(langchain.agents.ZeroShotAgent attribute)
(langchain.prompts.BasePromptTemplate attribute)
output_variables (langchain.chains.TransformChain attribute)
owm (langchain.... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-53 | 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)
(langchain.output_parsers.RetryWithErrorOutputParser meth... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-54 | pl_tags (langchain.chat_models.PromptLayerChatOpenAI attribute)
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... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-55 | process_attachment() (langchain.document_loaders.ConfluenceLoader method)
process_doc() (langchain.document_loaders.ConfluenceLoader method)
process_image() (langchain.document_loaders.ConfluenceLoader method)
process_index_results() (langchain.vectorstores.Annoy method)
process_output() (langchain.utilities.BashProces... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-56 | Qdrant (class in langchain.vectorstores)
query_instruction (langchain.embeddings.HuggingFaceInstructEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute)
query_name (langchain.vectorstores.SupabaseVectorStore attribute)
query_params (langchain.tools.APIOperation property)
query_... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-57 | relevancy_threshold (langchain.retrievers.SVMRetriever attribute)
remove_end_sequence (langchain.llms.NLPCloud attribute)
remove_input (langchain.llms.NLPCloud attribute)
repeat_last_n (langchain.llms.GPT4All attribute)
repeat_penalty (langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
repetition_pen... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-58 | (langchain.utilities.SearxSearchWrapper method)
(langchain.utilities.SerpAPIWrapper method)
retriever (langchain.chains.ConversationalRetrievalChain attribute)
(langchain.chains.RetrievalQA attribute)
(langchain.chains.RetrievalQAWithSourcesChain attribute)
(langchain.memory.VectorStoreRetrieverMemory attribute)
retry_... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-59 | revision_chain (langchain.chains.ConstitutionalChain attribute)
RoamLoader (class in langchain.document_loaders)
root_dir (langchain.agents.agent_toolkits.FileManagementToolkit attribute)
run() (langchain.python.PythonREPL method)
(langchain.serpapi.SerpAPIWrapper method)
(langchain.tools.BaseTool method)
(langchain.ut... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-60 | (langchain.llms.CerebriumAI method)
(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 ... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-61 | (langchain.memory.ConversationSummaryMemory method)
(langchain.memory.ConversationTokenBufferMemory method)
(langchain.memory.ReadOnlySharedMemory method)
(langchain.memory.SimpleMemory method)
(langchain.memory.VectorStoreRetrieverMemory method)
save_local() (langchain.vectorstores.Annoy method)
(langchain.vectorstore... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-62 | selected_tools (langchain.agents.agent_toolkits.FileManagementToolkit attribute)
SeleniumURLLoader (class in langchain.document_loaders)
SELF_ASK_WITH_SEARCH (langchain.agents.AgentType attribute)
send_pdf() (langchain.document_loaders.MathpixPDFLoader method)
SentenceTransformerEmbeddings (in module langchain.embeddin... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-63 | (langchain.vectorstores.Redis method)
(langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.Tair method)
(langchain.vectorstores.VectorStore method)
(langchain.vectorstores.Weaviate method)
similarity_search_by_index() (langchain.vectorstores.Annoy method)
similarity_search_by_vector() (langchain.... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-64 | similarity_search_with_score_by_index() (langchain.vectorstores.Annoy method)
similarity_search_with_score_by_vector() (langchain.vectorstores.AnalyticDB method)
(langchain.vectorstores.Annoy method)
(langchain.vectorstores.FAISS method)
(langchain.vectorstores.Milvus method)
similarity_threshold (langchain.document_tr... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-65 | stop_sequences (langchain.llms.AlephAlpha attribute)
store (langchain.memory.InMemoryEntityStore attribute)
strategy (langchain.llms.RWKV attribute)
stream() (langchain.llms.Anthropic method)
(langchain.llms.AzureOpenAI method)
(langchain.llms.LlamaCpp method)
(langchain.llms.OpenAI method)
(langchain.llms.PromptLayerO... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-66 | Tair (class in langchain.vectorstores)
task (langchain.embeddings.HuggingFaceHubEmbeddings attribute)
(langchain.llms.HuggingFaceEndpoint attribute)
(langchain.llms.HuggingFaceHub attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
TelegramChatLoader (class in langchain.document_loaders)
temp (langchain.llms... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-67 | 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.GoogleDriveLoader attribute)
tokenizer (langchain.llms.Peta... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-68 | (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 |
2acac7dfd0ac-69 | 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 |
2acac7dfd0ac-70 | (langchain.llms.OpenAI class method)
(langchain.llms.OpenAIChat class method)
(langchain.llms.Petals class method)
(langchain.llms.PipelineAI class method)
(langchain.llms.PredictionGuard class method)
(langchain.llms.PromptLayerOpenAI class method)
(langchain.llms.PromptLayerOpenAIChat class method)
(langchain.llms.Re... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-71 | validate_init_args() (langchain.document_loaders.ConfluenceLoader static method)
validate_template (langchain.prompts.FewShotPromptTemplate attribute)
(langchain.prompts.FewShotPromptWithTemplates attribute)
(langchain.prompts.PromptTemplate attribute)
vectorizer (langchain.retrievers.TFIDFRetriever attribute)
VectorSt... | https://python.langchain.com/en/latest/genindex.html |
2acac7dfd0ac-72 | W
wait_for_processing() (langchain.document_loaders.MathpixPDFLoader method)
Weaviate (class in langchain.vectorstores)
WeaviateHybridSearchRetriever (class in langchain.retrievers)
WeaviateHybridSearchRetriever.Config (class in langchain.retrievers)
web_path (langchain.document_loaders.WebBaseLoader property)
web_path... | https://python.langchain.com/en/latest/genindex.html |
2db125afc6f3-0 | Search
Error
Please activate JavaScript to enable the search functionality.
Ctrl+K
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 01, 2023. | https://python.langchain.com/en/latest/search.html |
4482c495c24f-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 |
4482c495c24f-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 |
4482c495c24f-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 |
4482c495c24f-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 |
1c94cf55d8d8-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 |
1c94cf55d8d8-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 |
1c94cf55d8d8-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 |
1c94cf55d8d8-3 | So the final answer is:
Carlos Alcaraz
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 01, 2023. | https://python.langchain.com/en/latest/model_laboratory.html |
c5239798aa01-0 | .rst
.pdf
Prompts
Prompts#
The reference guides here all relate to objects for working with Prompts.
PromptTemplates
Example Selector
Output Parsers
previous
How to serialize prompts
next
PromptTemplates
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 01, 2023. | https://python.langchain.com/en/latest/reference/prompts.html |
9ebee71e167e-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.