id stringlengths 14 16 | text stringlengths 44 2.73k | source stringlengths 49 115 |
|---|---|---|
87ab6ab6bafc-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 |
87ab6ab6bafc-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 |
87ab6ab6bafc-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 |
87ab6ab6bafc-3 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 28, 2023. | https://langchain.readthedocs.io/en/latest/index.html |
4520c29e288c-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 |
4520c29e288c-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 |
fd0e402063fd-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 |
fd0e402063fd-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 |
fd0e402063fd-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 |
fd0e402063fd-3 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 28, 2023. | https://python.langchain.com/en/latest/index.html |
2aa633975b7a-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 |
5611fb717760-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 |
5611fb717760-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 |
5611fb717760-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 |
70342e901e61-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 |
70342e901e61-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 |
70342e901e61-2 | (langchain.retrievers.PineconeHybridSearchRetriever method)
(langchain.vectorstores.AnalyticDB method)
(langchain.vectorstores.Annoy method)
(langchain.vectorstores.AtlasDB method)
(langchain.vectorstores.Chroma method)
(langchain.vectorstores.DeepLake method)
(langchain.vectorstores.ElasticVectorSearch method)
(langch... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-3 | (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 |
70342e901e61-4 | (langchain.llms.GooseAI method)
(langchain.llms.GPT4All method)
(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)
(l... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-5 | (langchain.retrievers.PineconeHybridSearchRetriever method)
(langchain.retrievers.RemoteLangChainRetriever method)
(langchain.retrievers.SVMRetriever method)
(langchain.retrievers.TFIDFRetriever method)
(langchain.retrievers.TimeWeightedVectorStoreRetriever method)
(langchain.retrievers.WeaviateHybridSearchRetriever me... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-6 | alpha (langchain.retrievers.PineconeHybridSearchRetriever attribute)
amax_marginal_relevance_search() (langchain.vectorstores.VectorStore method)
amax_marginal_relevance_search_by_vector() (langchain.vectorstores.VectorStore method)
AnalyticDB (class in langchain.vectorstores)
Annoy (class in langchain.vectorstores)
an... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-7 | (langchain.agents.LLMSingleActionAgent method)
apost() (langchain.utilities.TextRequestsWrapper method)
append() (langchain.memory.DynamoDBChatMessageHistory method)
(langchain.memory.PostgresChatMessageHistory method)
(langchain.memory.RedisChatMessageHistory method)
apply() (langchain.chains.LLMChain method)
apply_an... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-8 | ArxivLoader (class in langchain.document_loaders)
as_retriever() (langchain.vectorstores.VectorStore method)
asearch() (langchain.vectorstores.VectorStore method)
asimilarity_search() (langchain.vectorstores.VectorStore method)
asimilarity_search_by_vector() (langchain.vectorstores.VectorStore method)
AtlasDB (class in... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-9 | 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 |
70342e901e61-10 | 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 |
70342e901e61-11 | client (langchain.llms.Petals attribute)
CollegeConfidentialLoader (class in langchain.document_loaders)
column_map (langchain.vectorstores.MyScaleSettings attribute)
combine_docs_chain (langchain.chains.AnalyzeDocumentChain attribute)
combine_documents_chain (langchain.chains.MapReduceChain attribute)
combine_embeddin... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-12 | (langchain.llms.ForefrontAI class method)
(langchain.llms.GooseAI class method)
(langchain.llms.GPT4All class method)
(langchain.llms.HuggingFaceEndpoint class method)
(langchain.llms.HuggingFaceHub class method)
(langchain.llms.HuggingFacePipeline class method)
(langchain.llms.LlamaCpp class method)
(langchain.llms.Mo... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-13 | control_log_additive (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding attribute)
(langchain.llms.AlephAlpha attribute)
CONVERSATIONAL_REACT_DESCRIPTION (langchain.agents.AgentType attribute)
copy() (langchain.llms.AI21 method)
(langchain.llms.AlephAlpha method)
(langchain.llms.Anthropic method)
(langchain.ll... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-14 | (langchain.llms.Writer method)
coroutine (langchain.agents.Tool attribute)
CosmosDBChatMessageHistory (class in langchain.memory)
countPenalty (langchain.llms.AI21 attribute)
create() (langchain.retrievers.ElasticSearchBM25Retriever class method)
create_assertions_prompt (langchain.chains.LLMSummarizationCheckerChain a... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-15 | (langchain.agents.ReActTextWorldAgent class method)
(langchain.agents.ZeroShotAgent class method)
create_python_agent() (in module langchain.agents.agent_toolkits)
create_sql_agent() (in module langchain.agents)
(in module langchain.agents.agent_toolkits)
create_tables_if_not_exists() (langchain.vectorstores.AnalyticDB... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-16 | decay_rate (langchain.retrievers.TimeWeightedVectorStoreRetriever attribute)
decider_chain (langchain.chains.SQLDatabaseSequentialChain attribute)
DeepLake (class in langchain.vectorstores)
default_output_key (langchain.output_parsers.RegexParser attribute)
default_parser (langchain.document_loaders.WebBaseLoader attri... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-17 | (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 |
70342e901e61-18 | DiscordChatLoader (class in langchain.document_loaders)
do_sample (langchain.llms.NLPCloud attribute)
(langchain.llms.Petals attribute)
docs (langchain.retrievers.TFIDFRetriever attribute)
document_ids (langchain.document_loaders.GoogleDriveLoader attribute)
download() (langchain.document_loaders.BlackboardLoader metho... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-19 | (langchain.embeddings.LlamaCppEmbeddings method)
(langchain.embeddings.OpenAIEmbeddings method)
(langchain.embeddings.SagemakerEndpointEmbeddings method)
(langchain.embeddings.SelfHostedEmbeddings method)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings method)
(langchain.embeddings.TensorflowHubEmbeddings... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-20 | endpoint_kwargs (langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.SagemakerEndpoint attribute)
endpoint_name (langchain.embeddings.SagemakerEndpointEmbeddings attribute)
(langchain.llms.SagemakerEndpoint attribute)
endpoint_url (langchain.llms.CerebriumAI attribute)
(langchain.llms.ForefrontA... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-21 | (langchain.prompts.example_selector.LengthBasedExampleSelector attribute)
(langchain.prompts.FewShotPromptTemplate attribute)
(langchain.prompts.FewShotPromptWithTemplates attribute)
executable_path (langchain.document_loaders.SeleniumURLLoader attribute)
execute_task() (langchain.experimental.BabyAGI method)
exists() ... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-22 | folder_path (langchain.document_loaders.BlackboardLoader attribute)
force_delete_by_path() (langchain.vectorstores.DeepLake class method)
format() (langchain.prompts.BaseChatPromptTemplate method)
(langchain.prompts.BasePromptTemplate method)
(langchain.prompts.ChatPromptTemplate method)
(langchain.prompts.FewShotPromp... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-23 | (langchain.vectorstores.Chroma class method)
(langchain.vectorstores.VectorStore class method)
from_embeddings() (langchain.vectorstores.Annoy class method)
(langchain.vectorstores.FAISS class method)
from_examples() (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector class method)
(langchain.prompt... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-24 | from_llm_and_ai_plugin_url() (langchain.agents.agent_toolkits.NLAToolkit class method)
from_llm_and_api_docs() (langchain.chains.APIChain class method)
from_llm_and_spec() (langchain.agents.agent_toolkits.NLAToolkit class method)
from_llm_and_tools() (langchain.agents.Agent class method)
(langchain.agents.BaseSingleAct... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-25 | from_template() (langchain.prompts.PromptTemplate class method)
from_text() (langchain.tools.OpenAPISpec class method)
from_texts() (langchain.retrievers.SVMRetriever class method)
(langchain.retrievers.TFIDFRetriever class method)
(langchain.vectorstores.AnalyticDB class method)
(langchain.vectorstores.Annoy class met... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-26 | func (langchain.agents.Tool attribute)
G
GCSDirectoryLoader (class in langchain.document_loaders)
GCSFileLoader (class in langchain.document_loaders)
generate() (langchain.chains.LLMChain method)
(langchain.llms.AI21 method)
(langchain.llms.AlephAlpha method)
(langchain.llms.Anthropic method)
(langchain.llms.AzureOpenA... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-27 | generate_dialogue_response() (langchain.experimental.GenerativeAgent method)
generate_prompt() (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 m... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-28 | get() (langchain.memory.InMemoryEntityStore method)
(langchain.memory.RedisEntityStore method)
(langchain.utilities.TextRequestsWrapper method)
get_all_tool_names() (in module langchain.agents)
get_allowed_tools() (langchain.agents.Agent method)
(langchain.agents.BaseMultiActionAgent method)
(langchain.agents.BaseSingl... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-29 | (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 |
70342e901e61-30 | (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 |
70342e901e61-31 | get_referenced_schema() (langchain.tools.OpenAPISpec method)
get_relevant_documents() (langchain.retrievers.ChatGPTPluginRetriever method)
(langchain.retrievers.ContextualCompressionRetriever method)
(langchain.retrievers.DataberryRetriever method)
(langchain.retrievers.ElasticSearchBM25Retriever method)
(langchain.ret... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-32 | (langchain.agents.agent_toolkits.NLAToolkit method)
(langchain.agents.agent_toolkits.OpenAPIToolkit method)
(langchain.agents.agent_toolkits.PowerBIToolkit method)
(langchain.agents.agent_toolkits.SQLDatabaseToolkit method)
(langchain.agents.agent_toolkits.VectorStoreRouterToolkit method)
(langchain.agents.agent_toolki... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-33 | (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 |
70342e901e61-34 | 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_key (langchain.chains.QAGenerationChain attribute)
(lan... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-35 | (langchain.llms.GooseAI method)
(langchain.llms.GPT4All method)
(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)
(l... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-36 | (langchain.retrievers.SVMRetriever attribute)
(langchain.retrievers.TFIDFRetriever attribute)
(langchain.retrievers.TimeWeightedVectorStoreRetriever attribute)
(langchain.utilities.BingSearchAPIWrapper attribute)
(langchain.utilities.GoogleSearchAPIWrapper attribute)
(langchain.utilities.GoogleSerperAPIWrapper attribut... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-37 | module
langchain.utilities.searx_search
module
langchain.vectorstores
module
last_n_tokens_size (langchain.llms.LlamaCpp attribute)
last_refreshed (langchain.experimental.GenerativeAgent attribute)
LatexTextSplitter (class in langchain.text_splitter)
length (langchain.llms.ForefrontAI attribute)
(... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-38 | (langchain.chains.QAGenerationChain attribute)
(langchain.retrievers.document_compressors.LLMChainExtractor attribute)
(langchain.retrievers.document_compressors.LLMChainFilter attribute)
llm_prefix (langchain.agents.Agent property)
(langchain.agents.ConversationalAgent property)
(langchain.agents.ConversationalChatAge... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-39 | (langchain.document_loaders.GitbookLoader method)
(langchain.document_loaders.GitLoader method)
(langchain.document_loaders.GoogleApiYoutubeLoader method)
(langchain.document_loaders.GoogleDriveLoader method)
(langchain.document_loaders.GutenbergLoader method)
(langchain.document_loaders.HNLoader method)
(langchain.doc... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-40 | (langchain.document_loaders.UnstructuredURLLoader method)
(langchain.document_loaders.WebBaseLoader method)
(langchain.document_loaders.WhatsAppChatLoader method)
(langchain.document_loaders.YoutubeLoader method)
(langchain.utilities.ArxivAPIWrapper method)
load_agent() (in module langchain.agents)
load_all_available_m... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-41 | (langchain.memory.SimpleMemory method)
(langchain.memory.VectorStoreRetrieverMemory method)
load_messages() (langchain.memory.CosmosDBChatMessageHistory method)
load_page() (langchain.document_loaders.NotionDBLoader method)
load_prompt() (in module langchain.prompts)
load_questions_and_answers() (langchain.document_loa... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-42 | (langchain.agents.SelfAskWithSearchChain attribute)
max_iterations (langchain.agents.AgentExecutor attribute)
(langchain.agents.MRKLChain attribute)
(langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
max_length (langchain.llms.NLPCloud attribute)
(langchain.llms.Petals attribute... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-43 | max_tokens (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AzureOpenAI attribute)
(langchain.llms.Cohere attribute)
(langchain.llms.GooseAI attribute)
(langchain.llms.LlamaCpp attribute)
(langchain.llms.PredictionGuard attribute)
max_tokens_for_prompt() (langchain.llms.AzureOpenAI method)
(langchain.llms.O... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-44 | (langchain.memory.ConversationStringBufferMemory property)
(langchain.memory.ReadOnlySharedMemory property)
(langchain.memory.SimpleMemory property)
(langchain.memory.VectorStoreRetrieverMemory property)
merge_from() (langchain.vectorstores.FAISS method)
messages (langchain.memory.ChatMessageHistory attribute)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-45 | (langchain.llms.HuggingFacePipeline attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.Writer attribute)
model_key (langchain.llms.Banana attribute)
model_kwargs (langchain.chat_models.ChatOpenAI attribute)
(langchain.embeddings.HuggingFaceEmbeddings attribute)
(langchain.embeddings.HuggingF... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-46 | (langchain.llms.GooseAI attribute)
(langchain.llms.NLPCloud attribute)
(langchain.llms.OpenAIChat attribute)
(langchain.llms.Petals attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
model_path (langchain.llms.LlamaCpp attribute)
model_reqs (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(lang... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-47 | n_batch (langchain.embeddings.LlamaCppEmbeddings attribute)
(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)
... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-48 | 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 in langchain.document_loaders)
OnlinePDFLoader (class in l... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-49 | (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.LLMSingleActionAgent attribute)
(langchain.agents.ReActTextW... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-50 | (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 |
70342e901e61-51 | pipeline_kwargs (langchain.llms.PipelineAI attribute)
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 (... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-52 | 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 |
70342e901e61-53 | (langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute)
query_name (langchain.vectorstores.SupabaseVectorStore attribute)
query_params (langchain.tools.APIOperation property)
query_suffix (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapper attribute)
... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-54 | (langchain.llms.LlamaCpp attribute)
repetition_penalties_include_completion (langchain.llms.AlephAlpha attribute)
repetition_penalties_include_prompt (langchain.llms.AlephAlpha attribute)
repetition_penalty (langchain.llms.ForefrontAI attribute)
(langchain.llms.NLPCloud attribute)
(langchain.llms.Writer attribute)
repo... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-55 | (langchain.memory.VectorStoreRetrieverMemory attribute)
retry_chain (langchain.output_parsers.OutputFixingParser attribute)
(langchain.output_parsers.RetryOutputParser attribute)
(langchain.output_parsers.RetryWithErrorOutputParser attribute)
return_all (langchain.chains.SequentialChain attribute)
return_direct (langch... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-56 | (langchain.utilities.ArxivAPIWrapper method)
(langchain.utilities.BashProcess method)
(langchain.utilities.BingSearchAPIWrapper method)
(langchain.utilities.GooglePlacesAPIWrapper method)
(langchain.utilities.GoogleSearchAPIWrapper method)
(langchain.utilities.GoogleSerperAPIWrapper method)
(langchain.utilities.OpenWea... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-57 | (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 |
70342e901e61-58 | scrape() (langchain.document_loaders.WebBaseLoader method)
scrape_all() (langchain.document_loaders.WebBaseLoader method)
search() (langchain.docstore.InMemoryDocstore method)
(langchain.docstore.Wikipedia method)
(langchain.vectorstores.VectorStore method)
search_kwargs (langchain.chains.ChatVectorDBChain attribute)
(... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-59 | service_account_path (langchain.document_loaders.GoogleApiClient attribute)
session_id (langchain.memory.RedisEntityStore attribute)
set() (langchain.memory.InMemoryEntityStore method)
(langchain.memory.RedisEntityStore method)
similarity_fn (langchain.document_transformers.EmbeddingsRedundantFilter attribute)
(langcha... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-60 | similarity_search_by_vector_with_relevance_scores() (langchain.vectorstores.SupabaseVectorStore method)
similarity_search_with_relevance_scores() (langchain.vectorstores.MyScale method)
(langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.VectorStore method)
similarity_search_with_score() (langch... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-61 | (langchain.text_splitter.NLTKTextSplitter method)
(langchain.text_splitter.RecursiveCharacterTextSplitter method)
(langchain.text_splitter.SpacyTextSplitter method)
(langchain.text_splitter.TextSplitter method)
(langchain.text_splitter.TokenTextSplitter method)
sql_chain (langchain.chains.SQLDatabaseSequentialChain att... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-62 | summarize_related_memories() (langchain.experimental.GenerativeAgent method)
summary (langchain.experimental.GenerativeAgent attribute)
summary_message_cls (langchain.memory.ConversationKGMemory attribute)
summary_refresh_seconds (langchain.experimental.GenerativeAgent attribute)
SupabaseVectorStore (class in langchain... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-63 | (langchain.prompts.FewShotPromptWithTemplates attribute)
(langchain.prompts.PromptTemplate attribute)
text_length (langchain.chains.LLMRequestsChain attribute)
text_splitter (langchain.chains.AnalyzeDocumentChain attribute)
(langchain.chains.MapReduceChain attribute)
(langchain.chains.QAGenerationChain attribute)
TextL... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-64 | (langchain.llms.AlephAlpha attribute)
(langchain.llms.Anthropic attribute)
(langchain.llms.ForefrontAI attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
(langchain.llms.NLPCloud attribute)
(langchain.llms.Petals attribute)
(langchain.llms.Writer attribute)
(langchain.retrievers.ChatGPTPl... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-65 | (langchain.llms.Cohere attribute)
ts_type_from_python() (langchain.tools.APIOperation static method)
ttl (langchain.memory.RedisEntityStore attribute)
TwitterTweetLoader (class in langchain.document_loaders)
U
unsecure (langchain.utilities.searx_search.SearxSearchWrapper attribute)
(langchain.utilities.SearxSearchWrapp... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-66 | (langchain.llms.GPT4All class method)
(langchain.llms.HuggingFaceEndpoint class method)
(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 ... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-67 | use_multiplicative_presence_penalty (langchain.llms.AlephAlpha attribute)
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() (l... | https://python.langchain.com/en/latest/genindex.html |
70342e901e61-68 | (langchain.llms.LlamaCpp attribute)
W
Weaviate (class in langchain.vectorstores)
WeaviateHybridSearchRetriever (class in langchain.retrievers)
WeaviateHybridSearchRetriever.Config (class in langchain.retrievers)
web_path (langchain.document_loaders.WebBaseLoader property)
web_paths (langchain.document_loaders.AZLyricsL... | https://python.langchain.com/en/latest/genindex.html |
a4dabd171692-0 | Search
Error
Please activate JavaScript to enable the search functionality.
Ctrl+K
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 28, 2023. | https://python.langchain.com/en/latest/search.html |
fab0c3ec294a-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 |
fab0c3ec294a-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 |
fab0c3ec294a-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 |
fab0c3ec294a-3 | So the final answer is:
Carlos Alcaraz
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 28, 2023. | https://python.langchain.com/en/latest/model_laboratory.html |
cd146bfd09f3-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 |
3bca3b866c3e-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 |
3bca3b866c3e-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 |
66393f3a638b-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 |
66393f3a638b-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 |
66393f3a638b-2 | Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 28, 2023. | https://python.langchain.com/en/latest/deployments.html |
7230f39dd355-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 |
7230f39dd355-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 |
7230f39dd355-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 |
7230f39dd355-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 |
5af2459fcaa7-0 | .ipynb
.pdf
Aim
Aim#
Aim makes it super easy to visualize and debug LangChain executions. Aim tracks inputs and outputs of LLMs and tools, as well as actions of agents.
With Aim, you can easily debug and examine an individual execution:
Additionally, you have the option to compare multiple executions side by side:
Aim ... | https://python.langchain.com/en/latest/ecosystem/aim_tracking.html |
5af2459fcaa7-1 | session_group = datetime.now().strftime("%m.%d.%Y_%H.%M.%S")
aim_callback = AimCallbackHandler(
repo=".",
experiment_name="scenario 1: OpenAI LLM",
)
manager = CallbackManager([StdOutCallbackHandler(), aim_callback])
llm = OpenAI(temperature=0, callback_manager=manager, verbose=True)
The flush_tracker function ... | https://python.langchain.com/en/latest/ecosystem/aim_tracking.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.