id stringlengths 14 16 | text stringlengths 44 2.73k | source stringlengths 73 138 |
|---|---|---|
3dc6a5a4d6b4-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 ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\deployments.html |
3dc6a5a4d6b4-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\deployments.html |
3dc6a5a4d6b4-2 | Google Cloud Run
SteamShip
Langchain-serve
BentoML
Databutton
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\deployments.html |
4a6ac5ef0ca5-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem.html |
0f9341654e94-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\gallery.html |
0f9341654e94-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\gallery.html |
0f9341654e94-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\gallery.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-9 | (langchain.memory.ConversationStringBufferMemory attribute)
(langchain.memory.ConversationSummaryBufferMemory property)
(langchain.memory.ConversationSummaryMemory attribute)
(langchain.memory.ConversationTokenBufferMemory property)
C
cache_folder (langchain.embeddings.HuggingFaceEmbeddings attribute)
(langchain.embedd... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-10 | CHUNK_LEN (langchain.llms.RWKV attribute)
chunk_size (langchain.embeddings.OpenAIEmbeddings attribute)
clear() (langchain.experimental.GenerativeAgentMemory method)
(langchain.memory.ChatMessageHistory method)
(langchain.memory.CombinedMemory method)
(langchain.memory.ConversationEntityMemory method)
(langchain.memory.... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-11 | (langchain.retrievers.document_compressors.LLMChainFilter method)
compress_to_size (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding attribute)
ConfluenceLoader (class in langchain.document_loaders)
CoNLLULoader (class in langchain.document_loaders)
connect() (langchain.vectorstores.AnalyticDB method)
connect... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-12 | (langchain.llms.Replicate class method)
(langchain.llms.RWKV class method)
(langchain.llms.SagemakerEndpoint class method)
(langchain.llms.SelfHostedHuggingFaceLLM class method)
(langchain.llms.SelfHostedPipeline class method)
(langchain.llms.StochasticAI class method)
(langchain.llms.Writer class method)
content_handl... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-13 | (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)
(langchain.llms.PromptLayerOpenAI method)
(... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-14 | (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)
create_pandas_dataframe_agent() (in module langchain.agents)
(in module langchain.agents.agent_tool... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-15 | CSVLoader (class in langchain.document_loaders)
current_plan (langchain.experimental.GenerativeAgentMemory attribute)
D
daily_summaries (langchain.experimental.GenerativeAgent attribute)
database (langchain.chains.SQLDatabaseChain attribute)
(langchain.vectorstores.MyScaleSettings attribute)
DataberryRetriever (class i... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-16 | (langchain.output_parsers.ResponseSchema attribute)
(langchain.tools.APIOperation attribute)
(langchain.tools.BaseTool attribute)
deserialize_json_input() (langchain.chains.OpenAPIEndpointChain method)
device (langchain.llms.SelfHostedHuggingFaceLLM attribute)
dialect (langchain.agents.agent_toolkits.SQLDatabaseToolkit... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-17 | (langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
(langchain.prompts.BasePromptTemplate method)
(langchain.prompts.FewShotPromptTemplate method)
(langchain.prompts.FewShotPromptWithTemplates method)
DiffbotLoad... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-18 | ElasticSearchBM25Retriever (class in langchain.retrievers)
ElasticVectorSearch (class in langchain.vectorstores)
embed_documents() (langchain.chains.HypotheticalDocumentEmbedder method)
(langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding method)
(langchain.embeddings.AlephAlphaSymmetricSemanticEmbedding method)... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-19 | (langchain.embeddings.OpenAIEmbeddings method)
(langchain.embeddings.SagemakerEndpointEmbeddings method)
(langchain.embeddings.SelfHostedEmbeddings method)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings method)
(langchain.embeddings.TensorflowHubEmbeddings method)
embedding (langchain.llms.GPT4All attrib... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-20 | EverNoteLoader (class in langchain.document_loaders)
example_keys (langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute)
example_prompt (langchain.prompts.example_selector.LengthBasedExampleSelector attribute)
(langchain.prompts.FewShotPromptTemplate attribute)
(langchain.prompts.FewShotPrompt... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-21 | fetch_memories() (langchain.experimental.GenerativeAgentMemory method)
fetch_place_details() (langchain.utilities.GooglePlacesAPIWrapper method)
file_ids (langchain.document_loaders.GoogleDriveLoader attribute)
file_path (langchain.document_loaders.OnlinePDFLoader attribute)
(langchain.document_loaders.PDFMinerLoader a... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-22 | from_agent_and_tools() (langchain.agents.AgentExecutor class method)
from_api_operation() (langchain.chains.OpenAPIEndpointChain class method)
from_bearer_token() (langchain.document_loaders.TwitterTweetLoader class method)
from_chains() (langchain.agents.MRKLChain class method)
from_colored_object_prompt() (langchain.... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-23 | (langchain.chains.QAGenerationChain class method)
(langchain.chains.SQLDatabaseSequentialChain class method)
(langchain.experimental.BabyAGI class method)
(langchain.output_parsers.OutputFixingParser class method)
(langchain.output_parsers.RetryOutputParser class method)
(langchain.output_parsers.RetryWithErrorOutputPa... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-24 | (langchain.llms.SelfHostedPipeline class method)
from_plugin_url() (langchain.tools.AIPluginTool class method)
from_rail() (langchain.output_parsers.GuardrailsOutputParser class method)
from_rail_string() (langchain.output_parsers.GuardrailsOutputParser class method)
from_response_schemas() (langchain.output_parsers.St... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-25 | from_tiktoken_encoder() (langchain.text_splitter.TextSplitter class method)
from_url() (langchain.tools.OpenAPISpec class method)
from_url_and_method() (langchain.chains.OpenAPIEndpointChain class method)
from_youtube_url() (langchain.document_loaders.YoutubeLoader class method)
from_zapier_nla_wrapper() (langchain.age... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-26 | (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)
(langchain.llms.SelfHostedPipeline met... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-27 | (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)
generate_reaction() (langchain.experimental.GenerativeA... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-28 | get_full_inputs() (langchain.agents.Agent method)
get_input (langchain.retrievers.document_compressors.LLMChainExtractor attribute)
(langchain.retrievers.document_compressors.LLMChainFilter attribute)
get_knowledge_triplets() (langchain.memory.ConversationKGMemory method)
get_methods_for_path() (langchain.tools.OpenAPI... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-29 | (langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
get_num_tokens_from_messages() (langchain.chat_models.ChatOpenAI method)
(langchain.llms.AI21 method)
(langchain.llms.AlephAlpha method)
(langchain.llms.Anthrop... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-30 | get_operation() (langchain.tools.OpenAPISpec method)
get_parameters_for_operation() (langchain.tools.OpenAPISpec method)
get_params() (langchain.serpapi.SerpAPIWrapper method)
(langchain.utilities.SerpAPIWrapper method)
get_principles() (langchain.chains.ConstitutionalChain class method)
get_referenced_schema() (langch... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-31 | get_table_info() (langchain.utilities.PowerBIDataset method)
get_table_names() (langchain.utilities.PowerBIDataset method)
get_text_length (langchain.prompts.example_selector.LengthBasedExampleSelector attribute)
get_tools() (langchain.agents.agent_toolkits.JiraToolkit method)
(langchain.agents.agent_toolkits.JsonToolk... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-32 | H
hardware (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.llms.SelfHostedPipeline attribute)
headers (langchain.retrievers.RemoteLangChainRetriever attribute)
(langchain.utilities.PowerBIDataset property)
(langchain.utilities.searx_search.... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-33 | index_param (langchain.vectorstores.MyScaleSettings attribute)
index_type (langchain.vectorstores.MyScaleSettings attribute)
inference_fn (langchain.embeddings.SelfHostedEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
(langchain.... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-34 | (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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-35 | (langchain.memory.ConversationEntityMemory attribute)
(langchain.memory.ConversationKGMemory attribute)
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute)
(langchain.retrievers.document_compressors.EmbeddingsFilter attribute)
(langchain.retrievers.SVMRetriever attribute)
(langchain.retriev... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-36 | module
langchain.serpapi
module
langchain.text_splitter
module
langchain.tools
module
langchain.utilities
module
langchain.utilities.searx_search
module
langchain.vectorstores
module
last_n_tokens_size (langchain.llms.LlamaCpp attribute)
last_refreshed (... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-37 | (langchain.agents.LLMSingleActionAgent attribute)
(langchain.chains.HypotheticalDocumentEmbedder attribute)
(langchain.chains.LLMRequestsChain attribute)
(langchain.chains.QAGenerationChain attribute)
(langchain.retrievers.document_compressors.LLMChainExtractor attribute)
(langchain.retrievers.document_compressors.LLMC... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-38 | (langchain.document_loaders.GCSDirectoryLoader method)
(langchain.document_loaders.GCSFileLoader method)
(langchain.document_loaders.GitbookLoader method)
(langchain.document_loaders.GitLoader method)
(langchain.document_loaders.GoogleApiYoutubeLoader method)
(langchain.document_loaders.GoogleDriveLoader method)
(langc... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-39 | (langchain.document_loaders.TextLoader method)
(langchain.document_loaders.TwitterTweetLoader method)
(langchain.document_loaders.UnstructuredURLLoader method)
(langchain.document_loaders.WebBaseLoader method)
(langchain.document_loaders.WhatsAppChatLoader method)
(langchain.document_loaders.YoutubeLoader method)
load_... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-40 | load_page() (langchain.document_loaders.NotionDBLoader method)
load_prompt() (in module langchain.prompts)
load_questions_and_answers() (langchain.document_loaders.IFixitLoader method)
load_results() (langchain.document_loaders.HNLoader method)
load_suggestions() (langchain.document_loaders.IFixitLoader static method)
... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-41 | (langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
max_length (langchain.llms.NLPCloud attribute)
(langchain.llms.Petals attribute)
(langchain.prompts.example_selector.LengthBasedExampleSelector attribute)
max_marginal_relevance_search() (langchain.vectorstores.Annoy method)
(la... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-42 | (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.OpenAI method)
(langchain.llms.PromptLayerOpenAI method)
max_tokens_limit (langchain.chains.Conv... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-43 | (langchain.memory.SimpleMemory property)
(langchain.memory.VectorStoreRetrieverMemory property)
merge_from() (langchain.vectorstores.FAISS method)
messages (langchain.memory.ChatMessageHistory attribute)
(langchain.memory.CosmosDBChatMessageHistory attribute)
(langchain.memory.DynamoDBChatMessageHistory property)
(lang... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-44 | (langchain.llms.Writer attribute)
model_key (langchain.llms.Banana attribute)
model_kwargs (langchain.chat_models.ChatOpenAI attribute)
(langchain.embeddings.HuggingFaceEmbeddings attribute)
(langchain.embeddings.HuggingFaceHubEmbeddings attribute)
(langchain.embeddings.HuggingFaceInstructEmbeddings attribute)
(langcha... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-45 | (langchain.llms.OpenAIChat attribute)
(langchain.llms.Petals attribute)
(langchain.llms.PromptLayerOpenAIChat attribute)
model_path (langchain.llms.LlamaCpp attribute)
model_reqs (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute)
(langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute)
(la... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-46 | (langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
n_ctx (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
n_parts (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-47 | (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.OpenAIModerationChain attribute)
(langchain.chat_models.AzureChatOpenAI ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-48 | (langchain.agents.LLMSingleActionAgent attribute)
(langchain.agents.ReActTextWorldAgent attribute)
(langchain.agents.ZeroShotAgent attribute)
(langchain.prompts.BasePromptTemplate attribute)
output_variables (langchain.chains.TransformChain attribute)
owm (langchain.utilities.OpenWeatherMapAPIWrapper attribute)
P
p (la... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-49 | parse_with_prompt() (langchain.output_parsers.RetryOutputParser method)
(langchain.output_parsers.RetryWithErrorOutputParser method)
parser (langchain.output_parsers.OutputFixingParser attribute)
(langchain.output_parsers.RetryOutputParser attribute)
(langchain.output_parsers.RetryWithErrorOutputParser attribute)
parti... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-50 | plugin (langchain.tools.AIPluginTool attribute)
port (langchain.vectorstores.MyScaleSettings attribute)
post() (langchain.utilities.TextRequestsWrapper method)
PostgresChatMessageHistory (class in langchain.memory)
powerbi (langchain.agents.agent_toolkits.PowerBIToolkit attribute)
predict() (langchain.chains.LLMChain m... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-51 | process_svg() (langchain.document_loaders.ConfluenceLoader method)
process_xls() (langchain.document_loaders.ConfluenceLoader method)
Prompt (in module langchain.prompts)
prompt (langchain.chains.ConversationChain attribute)
(langchain.chains.LLMBashChain attribute)
(langchain.chains.LLMChain attribute)
(langchain.chai... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-52 | ReadTheDocsLoader (class in langchain.document_loaders)
recall_ttl (langchain.memory.RedisEntityStore attribute)
recursive (langchain.document_loaders.GoogleDriveLoader attribute)
RecursiveCharacterTextSplitter (class in langchain.text_splitter)
redis_client (langchain.memory.RedisEntityStore attribute)
RedisChatMessag... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-53 | request_timeout (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AzureOpenAI attribute)
request_url (langchain.utilities.PowerBIDataset property)
requests (langchain.chains.OpenAPIEndpointChain attribute)
(langchain.utilities.TextRequestsWrapper property)
requests_per_second (langchain.document_loaders.WebB... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-54 | (langchain.agents.ReActChain attribute)
(langchain.agents.SelfAskWithSearchChain attribute)
(langchain.chains.OpenAPIEndpointChain attribute)
(langchain.chains.PALChain attribute)
(langchain.chains.SQLDatabaseChain attribute)
(langchain.chains.SQLDatabaseSequentialChain attribute)
return_pl_id (langchain.chat_models.Pr... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-55 | (langchain.utilities.WolframAlphaAPIWrapper method)
rwkv_verbose (langchain.llms.RWKV attribute)
S
S3DirectoryLoader (class in langchain.document_loaders)
S3FileLoader (class in langchain.document_loaders)
sample_rows_in_table_info (langchain.utilities.PowerBIDataset attribute)
save() (langchain.agents.AgentExecutor me... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-56 | (langchain.llms.SelfHostedHuggingFaceLLM method)
(langchain.llms.SelfHostedPipeline method)
(langchain.llms.StochasticAI method)
(langchain.llms.Writer method)
(langchain.prompts.BasePromptTemplate method)
(langchain.prompts.ChatPromptTemplate method)
save_agent() (langchain.agents.AgentExecutor method)
save_context() ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-57 | (langchain.utilities.SearxSearchWrapper attribute)
SearxResults (class in langchain.utilities.searx_search)
security (langchain.tools.OpenAPISpec attribute)
seed (langchain.embeddings.LlamaCppEmbeddings attribute)
(langchain.llms.GPT4All attribute)
(langchain.llms.LlamaCpp attribute)
select_examples() (langchain.prompt... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-58 | (langchain.vectorstores.Milvus method)
(langchain.vectorstores.MyScale method)
(langchain.vectorstores.OpenSearchVectorSearch method)
(langchain.vectorstores.Pinecone method)
(langchain.vectorstores.Qdrant method)
(langchain.vectorstores.SupabaseVectorStore method)
(langchain.vectorstores.VectorStore method)
(langchain... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-59 | (langchain.vectorstores.Pinecone method)
(langchain.vectorstores.Qdrant method)
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)
(l... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-60 | (langchain.llms.LlamaCpp attribute)
(langchain.llms.Writer attribute)
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.LlamaC... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-61 | (langchain.llms.HuggingFaceEndpoint attribute)
(langchain.llms.HuggingFaceHub attribute)
(langchain.llms.SelfHostedHuggingFaceLLM attribute)
TelegramChatLoader (class in langchain.document_loaders)
temp (langchain.llms.GPT4All attribute)
temperature (langchain.chat_models.ChatOpenAI attribute)
(langchain.llms.AI21 attr... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-62 | token (langchain.utilities.PowerBIDataset attribute)
token_path (langchain.document_loaders.GoogleApiClient attribute)
(langchain.document_loaders.GoogleDriveLoader attribute)
tokenizer (langchain.llms.Petals attribute)
tokens (langchain.llms.AlephAlpha attribute)
tokens_path (langchain.llms.RWKV attribute)
tokens_to_g... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-63 | top_k_docs_for_context (langchain.chains.ChatVectorDBChain attribute)
top_k_results (langchain.utilities.ArxivAPIWrapper attribute)
(langchain.utilities.GooglePlacesAPIWrapper attribute)
(langchain.utilities.WikipediaAPIWrapper attribute)
top_p (langchain.llms.AlephAlpha attribute)
(langchain.llms.Anthropic attribute)
... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-64 | UnstructuredFileLoader (class in langchain.document_loaders)
UnstructuredHTMLLoader (class in langchain.document_loaders)
UnstructuredImageLoader (class in langchain.document_loaders)
UnstructuredMarkdownLoader (class in langchain.document_loaders)
UnstructuredPDFLoader (class in langchain.document_loaders)
Unstructure... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-65 | (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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-66 | VectorStore (class in langchain.vectorstores)
vectorstore (langchain.agents.agent_toolkits.VectorStoreInfo attribute)
(langchain.chains.ChatVectorDBChain attribute)
(langchain.chains.VectorDBQA attribute)
(langchain.chains.VectorDBQAWithSourcesChain attribute)
(langchain.prompts.example_selector.SemanticSimilarityExamp... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
5be2eb9f9e91-67 | (langchain.document_loaders.IMSDbLoader attribute)
(langchain.document_loaders.SitemapLoader attribute)
(langchain.document_loaders.WebBaseLoader attribute)
WebBaseLoader (class in langchain.document_loaders)
webhooks (langchain.tools.OpenAPISpec attribute)
WhatsAppChatLoader (class in langchain.document_loaders)
Wikip... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\genindex.html |
6f216242a7b2-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\glossary.html |
6f216242a7b2-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\glossary.html |
207180906335-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 ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\index.html |
207180906335-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\index.html |
207180906335-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\index.html |
207180906335-3 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\index.html |
676be9584d91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\model_laboratory.html |
676be9584d91-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'... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\model_laboratory.html |
676be9584d91-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\model_laboratory.html |
676be9584d91-3 | So the final answer is:
Carlos Alcaraz
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\model_laboratory.html |
0c8b7bd7fe4a-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\reference.html |
e2bc450f0793-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. | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\search.html |
afb1b3da117b-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\tracing.html |
afb1b3da117b-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\tracing.html |
40c6d43d9b04-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, & ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\youtube.html |
40c6d43d9b04-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\youtube.html |
40c6d43d9b04-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\youtube.html |
40c6d43d9b04-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... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\youtube.html |
80c4f48abb16-0 | .md
.pdf
AI21 Labs
Contents
Installation and Setup
Wrappers
LLM
AI21 Labs#
This page covers how to use the AI21 ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific AI21 wrappers.
Installation and Setup#
Get an AI21 api key and set it as an environment varia... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\ai21.html |
cf0f083b7472-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 ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\aim_tracking.html |
cf0f083b7472-1 | 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 is used to record LangChain assets on Aim. By default, the se... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\aim_tracking.html |
cf0f083b7472-2 | ]
synopsis_chain.apply(test_prompts)
aim_callback.flush_tracker(
langchain_asset=synopsis_chain, experiment_name="scenario 3: Agent with Tools"
)
Scenario 3 The third scenario involves an agent with tools.
from langchain.agents import initialize_agent, load_tools
from langchain.agents import AgentType
# scenario 3 ... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\aim_tracking.html |
cf0f083b7472-3 | Thought: I now know the final answer
Final Answer: Camila Morrone is Leo DiCaprio's girlfriend and her current age raised to the 0.43 power is 3.991298452658078.
> Finished chain.
previous
AI21 Labs
next
AnalyticDB
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Apr 25, 2023. | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\aim_tracking.html |
46aa0b22f149-0 | .md
.pdf
AnalyticDB
Contents
VectorStore
AnalyticDB#
This page covers how to use the AnalyticDB ecosystem within LangChain.
VectorStore#
There exists a wrapper around AnalyticDB, allowing you to use it as a vectorstore,
whether for semantic search or example selection.
To import this vectorstore:
from langchain.vecto... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\analyticdb.html |
17e63453ec70-0 | .md
.pdf
Apify
Contents
Overview
Installation and Setup
Wrappers
Utility
Loader
Apify#
This page covers how to use Apify within LangChain.
Overview#
Apify is a cloud platform for web scraping and data extraction,
which provides an ecosystem of more than a thousand
ready-made apps called Actors for various scraping, c... | rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\apify.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.