Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
14
16
text
stringlengths
45
2.05k
source
stringlengths
53
111
9c04de564ed3-0
.rst .pdf Welcome to LangChain Contents Getting Started Modules Use Cases Reference Docs LangChain Ecosystem Additional Resources Welcome to LangChain# Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. But using these LL...
https://langchain.readthedocs.io/en/latest/index.html
9c04de564ed3-1
Chains: Chains go beyond just a single LLM call, and are sequences of calls (whether to an LLM or a different utility). LangChain provides a standard interface for chains, lots of integrations with other tools, and end-to-end chains for common applications. Indexes: Language models are often more powerful when combined...
https://langchain.readthedocs.io/en/latest/index.html
9c04de564ed3-2
Question Answering: Answering questions over specific documents, only utilizing the information in those documents to construct an answer. A type of Data Augmented Generation. Summarization: Summarizing longer documents into shorter, more condensed chunks of information. A type of Data Augmented Generation. Querying Ta...
https://langchain.readthedocs.io/en/latest/index.html
9c04de564ed3-3
Deployments: A collection of instructions, code snippets, and template repositories for deploying LangChain apps. Discord: Join us on our Discord to discuss all things LangChain! Tracing: A guide on using tracing in LangChain to visualize the execution of chains and agents. Production Support: As you move your LangChai...
https://langchain.readthedocs.io/en/latest/index.html
cfda42a382fa-0
.rst .pdf LangChain Ecosystem LangChain Ecosystem# Guides for how other companies/products can be used with LangChain AI21 Labs AtlasDB Banana CerebriumAI Chroma Cohere DeepInfra Deep Lake ForefrontAI Google Search Wrapper Google Serper Wrapper GooseAI Graphsignal Hazy Research Helicone Hugging Face Modal NLPCloud Open...
https://langchain.readthedocs.io/en/latest/ecosystem.html
daade78b4473-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://langchain.readthedocs.io/en/latest/tracing.html
daade78b4473-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://langchain.readthedocs.io/en/latest/tracing.html
27118bf3f835-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. Prompts Utilities Chains Agents previous Integrations next LangChain Ecosystem By Harrison Chase © Copyright 2023, Harrison Chase. Las...
https://langchain.readthedocs.io/en/latest/reference.html
41da4eb2a8db-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://langchain.readthedocs.io/en/latest/gallery.html
41da4eb2a8db-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://langchain.readthedocs.io/en/latest/gallery.html
41da4eb2a8db-2
Daimon A chat-based AI personal assistant with long-term memory about you. AI Assisted SQL Query Generator An app to write SQL using natural language, and execute against real DB. Clerkie Stack Tracing QA Bot to help debug complex stack tracing (especially the ones that go multi-function/file deep). Sales Email Writer ...
https://langchain.readthedocs.io/en/latest/gallery.html
8812396b79dd-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://langchain.readthedocs.io/en/latest/glossary.html
8812396b79dd-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://langchain.readthedocs.io/en/latest/glossary.html
c507412e0792-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 _ __call__() (langchain.llms.AI21 method) (langchain.llms.AlephAlpha method) (langchain.llms.Anthropic method) (langchain.llms.AzureOpenAI method) (langchain.llms.Banana method) (langchain.llms.Cer...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-1
add() (langchain.docstore.InMemoryDocstore method) add_documents() (langchain.vectorstores.VectorStore method) add_example() (langchain.prompts.example_selector.LengthBasedExampleSelector method) (langchain.prompts.example_selector.SemanticSimilarityExampleSelector method) add_texts() (langchain.vectorstores.AtlasDB me...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-2
(langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHuggingFaceLLM method) (langchain.llms.SelfHostedPipeline method) (langchain.llms.StochasticAI method) (langchain.llms.Writer method) agenerate_prompt() (langchain.llms.AI21 method) (langchain.llms.AlephAlp...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-3
ai_prefix (langchain.agents.ConversationalAgent attribute) aiosession (langchain.serpapi.SerpAPIWrapper attribute) aleph_alpha_api_key (langchain.llms.AlephAlpha attribute) allowed_tools (langchain.agents.Agent attribute) (langchain.agents.ZeroShotAgent attribute) answers (langchain.utilities.searx_search.SearxResults ...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-4
C callback_manager (langchain.agents.MRKLChain attribute) (langchain.agents.ReActChain attribute) (langchain.agents.SelfAskWithSearchChain attribute) chain (langchain.chains.ConstitutionalChain attribute) chains (langchain.chains.SequentialChain attribute) (langchain.chains.SimpleSequentialChain attribute) CharacterTex...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-5
(langchain.llms.HuggingFaceHub class method) (langchain.llms.HuggingFacePipeline class method) (langchain.llms.Modal class method) (langchain.llms.NLPCloud class method) (langchain.llms.OpenAI class method) (langchain.llms.OpenAIChat class method) (langchain.llms.Petals class method) (langchain.llms.PromptLayerOpenAI c...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-6
(langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (langchain.llms.OpenAIChat method) (langchain.llms.Petals method) (langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHugg...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-7
create_sql_agent() (in module langchain.agents) create_vectorstore_agent() (in module langchain.agents) create_vectorstore_router_agent() (in module langchain.agents) credentials_profile_name (langchain.embeddings.SagemakerEndpointEmbeddings attribute) (langchain.llms.SagemakerEndpoint attribute) critique_chain (langch...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-8
(langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHuggingFaceLLM method) (langchain.llms.SelfHostedPipeline method) (langchain.llms.StochasticAI method) (langchain.llms.Writer method) (langchain.prompts.BasePromptT...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-9
embed_instruction (langchain.embeddings.HuggingFaceInstructEmbeddings attribute) (langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings attribute) embed_query() (langchain.chains.HypotheticalDocumentEmbedder method) (langchain.embeddings.CohereEmbeddings method) (langchain.embeddings.FakeEmbeddings method) (lang...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-10
(langchain.prompts.FewShotPromptWithTemplates attribute) example_selector (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptWithTemplates attribute) example_separator (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptWithTemplates attribute) examples (...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-11
from_colored_object_prompt() (langchain.chains.PALChain class method) from_documents() (langchain.vectorstores.AtlasDB class method) (langchain.vectorstores.Chroma class method) (langchain.vectorstores.Qdrant class method) (langchain.vectorstores.VectorStore class method) from_examples() (langchain.prompts.example_sele...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-12
(langchain.llms.SelfHostedPipeline class method) from_string() (langchain.chains.LLMChain class method) from_template() (langchain.prompts.PromptTemplate class method) from_texts() (langchain.vectorstores.AtlasDB class method) (langchain.vectorstores.Chroma class method) (langchain.vectorstores.DeepLake class method) (...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-13
(langchain.llms.OpenAIChat method) (langchain.llms.Petals method) (langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHuggingFaceLLM method) (langchain.llms.SelfHostedPipeline method) (langchain.llms.StochasticAI met...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-14
get_answer_expr (langchain.chains.PALChain attribute) get_chat_history (langchain.chains.ChatVectorDBChain attribute) get_full_inputs() (langchain.agents.Agent method) get_num_tokens() (langchain.llms.AI21 method) (langchain.llms.AlephAlpha method) (langchain.llms.Anthropic method) (langchain.llms.AzureOpenAI method) (...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-15
(langchain.llms.Cohere method) (langchain.llms.DeepInfra method) (langchain.llms.ForefrontAI method) (langchain.llms.GooseAI method) (langchain.llms.HuggingFaceEndpoint method) (langchain.llms.HuggingFaceHub method) (langchain.llms.HuggingFacePipeline method) (langchain.llms.Modal method) (langchain.llms.NLPCloud metho...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-16
inference_fn (langchain.embeddings.SelfHostedEmbeddings attribute) (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute) (langchain.llms.SelfHostedHuggingFaceLLM attribute) (langchain.llms.SelfHostedPipeline attribute) inference_kwargs (langchain.embeddings.SelfHostedEmbeddings attribute) initialize_agent() ...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-17
(langchain.llms.HuggingFaceHub method) (langchain.llms.HuggingFacePipeline method) (langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (langchain.llms.OpenAIChat method) (langchain.llms.Petals method) (langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAICh...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-18
length (langchain.llms.ForefrontAI attribute) (langchain.llms.Writer attribute) length_no_input (langchain.llms.NLPCloud attribute) length_penalty (langchain.llms.NLPCloud attribute) length_pentaly (langchain.llms.Writer attribute) list_assertions_prompt (langchain.chains.LLMCheckerChain attribute) llm (langchain.chain...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-19
log_probs (langchain.llms.AlephAlpha attribute) logit_bias (langchain.llms.AlephAlpha attribute) (langchain.llms.AzureOpenAI attribute) (langchain.llms.GooseAI attribute) logitBias (langchain.llms.AI21 attribute) logprobs (langchain.llms.Writer attribute) M MarkdownTextSplitter (class in langchain.text_splitter) max_ch...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-20
(langchain.llms.OpenAI method) (langchain.llms.PromptLayerOpenAI method) max_tokens_limit (langchain.chains.VectorDBQAWithSourcesChain attribute) max_tokens_to_sample (langchain.llms.Anthropic attribute) maximum_tokens (langchain.llms.AlephAlpha attribute) maxTokens (langchain.llms.AI21 attribute) memory (langchain.age...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-21
(langchain.llms.AzureOpenAI attribute) (langchain.llms.Banana attribute) (langchain.llms.CerebriumAI attribute) (langchain.llms.GooseAI attribute) (langchain.llms.HuggingFaceEndpoint attribute) (langchain.llms.HuggingFaceHub attribute) (langchain.llms.HuggingFacePipeline attribute) (langchain.llms.Modal attribute) (lan...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-22
model_url (langchain.embeddings.TensorflowHubEmbeddings attribute) modelname_to_contextsize() (langchain.llms.AzureOpenAI method) (langchain.llms.OpenAI method) (langchain.llms.PromptLayerOpenAI method) module langchain.agents langchain.chains langchain.docstore langchain.embeddings langchain.llms langchain....
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-23
params (langchain.serpapi.SerpAPIWrapper attribute) (langchain.utilities.searx_search.SearxSearchWrapper attribute) partial() (langchain.prompts.BasePromptTemplate method) (langchain.prompts.ChatPromptTemplate method) penalty_bias (langchain.llms.AlephAlpha attribute) penalty_exceptions (langchain.llms.AlephAlpha attri...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-24
(langchain.chains.LLMChain attribute) (langchain.chains.LLMMathChain attribute) (langchain.chains.PALChain attribute) (langchain.chains.SQLDatabaseChain attribute) python_globals (langchain.chains.PALChain attribute) python_locals (langchain.chains.PALChain attribute) PythonCodeTextSplitter (class in langchain.text_spl...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-25
(langchain.llms.HuggingFaceHub attribute) request_timeout (langchain.llms.AzureOpenAI attribute) requests_wrapper (langchain.chains.APIChain attribute) (langchain.chains.LLMRequestsChain attribute) results() (langchain.serpapi.SerpAPIWrapper method) (langchain.utilities.searx_search.SearxSearchWrapper method) return_al...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-26
(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://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-27
searx_host (langchain.utilities.searx_search.SearxSearchWrapper attribute) SearxResults (class in langchain.utilities.searx_search) select_examples() (langchain.prompts.example_selector.LengthBasedExampleSelector method) (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector method) (langchain.prompts....
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-28
(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://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-29
(langchain.llms.Writer attribute) template (langchain.prompts.PromptTemplate attribute) template_format (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptWithTemplates attribute) (langchain.prompts.PromptTemplate attribute) text_length (langchain.chains.LLMRequestsChain attribute) text...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-30
(langchain.llms.Petals attribute) (langchain.llms.Writer attribute) topP (langchain.llms.AI21 attribute) transform (langchain.chains.TransformChain attribute) truncate (langchain.embeddings.CohereEmbeddings attribute) (langchain.llms.Cohere attribute) U unsecure (langchain.utilities.searx_search.SearxSearchWrapper attr...
https://langchain.readthedocs.io/en/latest/genindex.html
c507412e0792-31
use_multiplicative_presence_penalty (langchain.llms.AlephAlpha attribute) V validate_template (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptWithTemplates attribute) (langchain.prompts.PromptTemplate attribute) VectorStore (class in langchain.vectorstores) vectorstore (langchain.cha...
https://langchain.readthedocs.io/en/latest/genindex.html
944504af8712-0
Search Error Please activate JavaScript to enable the search functionality. Ctrl+K By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Mar 22, 2023.
https://langchain.readthedocs.io/en/latest/search.html
a6e5bd52e456-0
.md .pdf Deployments Contents Streamlit Gradio (on Hugging Face) Beam Vercel SteamShip 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 options for that. Note that these are meant as quick deployment options for pr...
https://langchain.readthedocs.io/en/latest/deployments.html
a6e5bd52e456-1
This includes: production ready endpoints, horizontal scaling across dependencies, persistant storage of app state, multi-tenancy support, etc. previous LangChain Gallery next Tracing Contents Streamlit Gradio (on Hugging Face) Beam Vercel SteamShip By Harrison Chase © Copyright 2023, Harrison Chase. ...
https://langchain.readthedocs.io/en/latest/deployments.html
3d85dd794b61-0
.md .pdf AtlasDB Contents Installation and Setup Wrappers VectorStore AtlasDB# This page covers how to use Nomic’s Atlas ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Atlas wrappers. Installation and Setup# Install the Python package with pip install ...
https://langchain.readthedocs.io/en/latest/ecosystem/atlas.html
86c4d3c65f0c-0
.md .pdf PGVector Contents Installation Setup Wrappers VectorStore Usage PGVector# This page covers how to use the Postgres PGVector ecosystem within LangChain It is broken into two parts: installation and setup, and then references to specific PGVector wrappers. Installation# Install the Python package with pip inst...
https://langchain.readthedocs.io/en/latest/ecosystem/pgvector.html
f55634669610-0
.md .pdf Google Search Wrapper Contents Installation and Setup Wrappers Utility Tool Google Search Wrapper# This page covers how to use the Google Search API within LangChain. It is broken into two parts: installation and setup, and then references to the specific Google Search wrapper. Installation and Setup# Instal...
https://langchain.readthedocs.io/en/latest/ecosystem/google_search.html
55e565123b85-0
.md .pdf Qdrant Contents Installation and Setup Wrappers VectorStore Qdrant# This page covers how to use the Qdrant ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Qdrant wrappers. Installation and Setup# Install the Python SDK with pip install qdrant-c...
https://langchain.readthedocs.io/en/latest/ecosystem/qdrant.html
365c9526bfc8-0
.md .pdf PromptLayer Contents Installation and Setup Wrappers LLM PromptLayer# This page covers how to use PromptLayer within LangChain. It is broken into two parts: installation and setup, and then references to specific PromptLayer wrappers. Installation and Setup# If you want to work with PromptLayer: Install the ...
https://langchain.readthedocs.io/en/latest/ecosystem/promptlayer.html
365c9526bfc8-1
you can add pl_tags when instantializing to tag your requests on PromptLayer you can add return_pl_id when instantializing to return a PromptLayer request id to use while tracking requests. PromptLayer also provides native wrappers for PromptLayerChatOpenAI and PromptLayerOpenAIChat previous Pinecone next Qdrant Conte...
https://langchain.readthedocs.io/en/latest/ecosystem/promptlayer.html
c9fd671b3e41-0
.md .pdf Writer Contents Installation and Setup Wrappers LLM Writer# This page covers how to use the Writer ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Writer wrappers. Installation and Setup# Get an Writer api key and set it as an environment varia...
https://langchain.readthedocs.io/en/latest/ecosystem/writer.html
d2a631922323-0
.md .pdf ForefrontAI Contents Installation and Setup Wrappers LLM ForefrontAI# This page covers how to use the ForefrontAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific ForefrontAI wrappers. Installation and Setup# Get an ForefrontAI api key and set i...
https://langchain.readthedocs.io/en/latest/ecosystem/forefrontai.html
f1b0685e07da-0
.md .pdf Chroma Contents Installation and Setup Wrappers VectorStore Chroma# This page covers how to use the Chroma ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Chroma wrappers. Installation and Setup# Install the Python package with pip install chro...
https://langchain.readthedocs.io/en/latest/ecosystem/chroma.html
4eaf6b958ec1-0
.md .pdf Deep Lake Contents Installation and Setup Wrappers VectorStore Deep Lake# This page covers how to use the Deep Lake ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Deep Lake wrappers. For more information. Here is whitepaper and academic paper ...
https://langchain.readthedocs.io/en/latest/ecosystem/deeplake.html
3c741fbb2845-0
.md .pdf Google Serper Wrapper Contents Setup Wrappers Utility Output Tool Google Serper Wrapper# This page covers how to use the Serper Google Search API within LangChain. Serper is a low-cost Google Search API that can be used to add answer box, knowledge graph, and organic results data from Google Search. It is br...
https://langchain.readthedocs.io/en/latest/ecosystem/google_serper.html
3c741fbb2845-1
Intermediate answer: Current champions Carlos Alcaraz, 2022 men's singles champion. Follow up: Where is Carlos Alcaraz from? Intermediate answer: El Palmar, Spain So the final answer is: El Palmar, Spain > Finished chain. 'El Palmar, Spain' For a more detailed walkthrough of this wrapper, see this notebook. Tool# You c...
https://langchain.readthedocs.io/en/latest/ecosystem/google_serper.html
39d38455c27d-0
.md .pdf StochasticAI Contents Installation and Setup Wrappers LLM StochasticAI# This page covers how to use the StochasticAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific StochasticAI wrappers. Installation and Setup# Install with pip install stochas...
https://langchain.readthedocs.io/en/latest/ecosystem/stochasticai.html
ff426682519a-0
.md .pdf Weaviate Contents Installation and Setup Wrappers VectorStore Weaviate# This page covers how to use the Weaviate ecosystem within LangChain. What is Weaviate? Weaviate in a nutshell: Weaviate is an open-source ​database of the type ​vector search engine. Weaviate allows you to store JSON documents in a class...
https://langchain.readthedocs.io/en/latest/ecosystem/weaviate.html
ff426682519a-1
To import this vectorstore: from langchain.vectorstores import Weaviate For a more detailed walkthrough of the Weaviate wrapper, see this notebook previous Weights & Biases next Wolfram Alpha Wrapper Contents Installation and Setup Wrappers VectorStore By Harrison Chase © Copyright 2023, Harrison Chase. ...
https://langchain.readthedocs.io/en/latest/ecosystem/weaviate.html
8741bc5c21a6-0
.md .pdf Helicone Contents What is Helicone? Quick start How to enable Helicone caching How to use Helicone custom properties Helicone# This page covers how to use the Helicone ecosystem within LangChain. What is Helicone?# Helicone is an open source observability platform that proxies your OpenAI traffic and provide...
https://langchain.readthedocs.io/en/latest/ecosystem/helicone.html
8741bc5c21a6-1
Quick start How to enable Helicone caching How to use Helicone custom properties By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Mar 22, 2023.
https://langchain.readthedocs.io/en/latest/ecosystem/helicone.html
68d1aad1dfb2-0
.md .pdf Unstructured Contents Installation and Setup Wrappers Data Loaders Unstructured# This page covers how to use the unstructured ecosystem within LangChain. The unstructured package from Unstructured.IO extracts clean text from raw source documents like PDFs and Word documents. This page is broken into two part...
https://langchain.readthedocs.io/en/latest/ecosystem/unstructured.html
68d1aad1dfb2-1
when that information is available. previous StochasticAI next Weights & Biases Contents Installation and Setup Wrappers Data Loaders By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Mar 22, 2023.
https://langchain.readthedocs.io/en/latest/ecosystem/unstructured.html
8b33f7e322d8-0
.md .pdf OpenSearch Contents Installation and Setup Wrappers VectorStore OpenSearch# This page covers how to use the OpenSearch ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific OpenSearch wrappers. Installation and Setup# Install the Python package with ...
https://langchain.readthedocs.io/en/latest/ecosystem/opensearch.html
be3b9d6588d7-0
.md .pdf Wolfram Alpha Wrapper Contents Installation and Setup Wrappers Utility Tool Wolfram Alpha Wrapper# This page covers how to use the Wolfram Alpha API within LangChain. It is broken into two parts: installation and setup, and then references to specific Wolfram Alpha wrappers. Installation and Setup# Install r...
https://langchain.readthedocs.io/en/latest/ecosystem/wolfram_alpha.html
e471e11665d9-0
.md .pdf Cohere Contents Installation and Setup Wrappers LLM Embeddings Cohere# This page covers how to use the Cohere ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Cohere wrappers. Installation and Setup# Install the Python SDK with pip install coher...
https://langchain.readthedocs.io/en/latest/ecosystem/cohere.html
9e0152a2c616-0
.ipynb .pdf Weights & Biases Weights & Biases# This notebook goes over how to track your LangChain experiments into one centralized Weights and Biases dashboard. To learn more about prompt engineering and the callback please refer to this Report which explains both alongside the resultant dashboards you can expect to s...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
9e0152a2c616-1
notes (str): The notes to log. visualize (bool): Whether to visualize the run. complexity_metrics (bool): Whether to log complexity metrics. stream_logs (bool): Whether to stream callback actions to W&B Default values for WandbCallbackHandler(...) visualize: bool = False, complexity_metrics: bool = False, s...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
9e0152a2c616-2
Tracking run with wandb version 0.14.0Run data is saved locally in /Users/harrisonchase/workplace/langchain/docs/ecosystem/wandb/run-20230318_150408-e47j1914Syncing run llm to Weights & Biases (docs) View project at https://wandb.ai/harrison-chase/langchain_callback_demo View run at https://wandb.ai/harrison-chase/lang...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
9e0152a2c616-3
wandb_callback.flush_tracker(llm, name="simple_sequential") Waiting for W&B process to finish... (success). View run llm at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/e47j1914Synced 5 W&B file(s), 2 media file(s), 5 artifact file(s) and 0 other file(s)Find logs at: ./wandb/run-20230318_150408-e47j191...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
9e0152a2c616-4
] synopsis_chain.apply(test_prompts) wandb_callback.flush_tracker(synopsis_chain, name="agent") Waiting for W&B process to finish... (success). View run simple_sequential at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/jyxma7huSynced 4 W&B file(s), 2 media file(s), 6 artifact file(s) and 0 other file(s...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
9e0152a2c616-5
Action: Search Action Input: "Leo DiCaprio girlfriend" Observation: DiCaprio had a steady girlfriend in Camila Morrone. He had been with the model turned actress for nearly five years, as they were first said to be dating at the end of 2017. And the now 26-year-old Morrone is no stranger to Hollywood. Thought: I need t...
https://langchain.readthedocs.io/en/latest/ecosystem/wandb_tracking.html
2f9509203d3a-0
.md .pdf DeepInfra Contents Installation and Setup Wrappers LLM DeepInfra# This page covers how to use the DeepInfra ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific DeepInfra wrappers. Installation and Setup# Get your DeepInfra api key from this link he...
https://langchain.readthedocs.io/en/latest/ecosystem/deepinfra.html
b2373d7e1538-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...
https://langchain.readthedocs.io/en/latest/ecosystem/ai21.html
2b4f5ec66f41-0
.md .pdf NLPCloud Contents Installation and Setup Wrappers LLM NLPCloud# This page covers how to use the NLPCloud ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific NLPCloud wrappers. Installation and Setup# Install the Python SDK with pip install nlpcloud...
https://langchain.readthedocs.io/en/latest/ecosystem/nlpcloud.html
874ba421c393-0
.md .pdf Banana Contents Installation and Setup Define your Banana Template Build the Banana app Wrappers LLM Banana# This page covers how to use the Banana ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Banana wrappers. Installation and Setup# Install...
https://langchain.readthedocs.io/en/latest/ecosystem/bananadev.html
874ba421c393-1
bad_words_ids=[[tokenizer.encode(' ', add_prefix_space=True)[0]]] ) result = tokenizer.decode(output[0], skip_special_tokens=True) # Return the results as a dictionary result = {'output': result} return result You can find a full example of a Banana app here. Wrappers# LLM# There exists an Banan...
https://langchain.readthedocs.io/en/latest/ecosystem/bananadev.html
2ff8adb07349-0
.md .pdf Hugging Face Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Datasets Hugging Face# This page covers how to use the Hugging Face ecosystem (including the Hugging Face Hub) within LangChain. It is broken into two parts: installation and setup, and then references to specific Hugging Face wra...
https://langchain.readthedocs.io/en/latest/ecosystem/huggingface.html
2ff8adb07349-1
from langchain.embeddings import HuggingFaceHubEmbeddings For a more detailed walkthrough of this, see this notebook Tokenizer# There are several places you can use tokenizers available through the transformers package. By default, it is used to count tokens for all LLMs. You can also use it to count tokens when splitt...
https://langchain.readthedocs.io/en/latest/ecosystem/huggingface.html
74a2f1b5793c-0
.md .pdf CerebriumAI Contents Installation and Setup Wrappers LLM CerebriumAI# This page covers how to use the CerebriumAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific CerebriumAI wrappers. Installation and Setup# Install with pip install cerebrium G...
https://langchain.readthedocs.io/en/latest/ecosystem/cerebriumai.html
2634d7c30dd9-0
.md .pdf Petals Contents Installation and Setup Wrappers LLM Petals# This page covers how to use the Petals ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Petals wrappers. Installation and Setup# Install with pip install petals Get a Hugging Face api k...
https://langchain.readthedocs.io/en/latest/ecosystem/petals.html
6e842ce6d607-0
.md .pdf Graphsignal Contents Installation and Setup Tracing and Monitoring Graphsignal# This page covers how to use the Graphsignal ecosystem to trace and monitor LangChain. Installation and Setup# Install the Python library with pip install graphsignal Create free Graphsignal account here Get an API key and set it ...
https://langchain.readthedocs.io/en/latest/ecosystem/graphsignal.html
9fa13660ae5b-0
.md .pdf Hazy Research Contents Installation and Setup Wrappers LLM Hazy Research# This page covers how to use the Hazy Research ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Hazy Research wrappers. Installation and Setup# To use the manifest, install...
https://langchain.readthedocs.io/en/latest/ecosystem/hazy_research.html
7ff1d4ac098a-0
.md .pdf SerpAPI Contents Installation and Setup Wrappers Utility Tool SerpAPI# This page covers how to use the SerpAPI search APIs within LangChain. It is broken into two parts: installation and setup, and then references to the specific SerpAPI wrapper. Installation and Setup# Install requirements with pip install ...
https://langchain.readthedocs.io/en/latest/ecosystem/serpapi.html
d0ebaf7f8439-0
.md .pdf SearxNG Search API Contents Installation and Setup Self Hosted Instance: Wrappers Utility Tool SearxNG Search API# This page covers how to use the SearxNG search API within LangChain. It is broken into two parts: installation and setup, and then references to the specific SearxNG API wrapper. Installation an...
https://langchain.readthedocs.io/en/latest/ecosystem/searx.html
d0ebaf7f8439-1
s.run("what is a large language model?") Tool# You can also easily load this wrapper as a Tool (to use with an Agent). You can do this with: from langchain.agents import load_tools tools = load_tools(["searx-search"], searx_host="http://localhost:8888") For more information on tools, see this page previous Runhouse nex...
https://langchain.readthedocs.io/en/latest/ecosystem/searx.html
a61e32b1329a-0
.md .pdf Pinecone Contents Installation and Setup Wrappers VectorStore Pinecone# This page covers how to use the Pinecone ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Pinecone wrappers. Installation and Setup# Install the Python SDK with pip install ...
https://langchain.readthedocs.io/en/latest/ecosystem/pinecone.html
461548baac6b-0
.md .pdf Runhouse Contents Installation and Setup Self-hosted LLMs Self-hosted Embeddings Runhouse# This page covers how to use the Runhouse ecosystem within LangChain. It is broken into three parts: installation and setup, LLMs, and Embeddings. Installation and Setup# Install the Python SDK with pip install runhouse...
https://langchain.readthedocs.io/en/latest/ecosystem/runhouse.html
5209933c725b-0
.md .pdf GooseAI Contents Installation and Setup Wrappers LLM GooseAI# This page covers how to use the GooseAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific GooseAI wrappers. Installation and Setup# Install the Python SDK with pip install openai Get y...
https://langchain.readthedocs.io/en/latest/ecosystem/gooseai.html
f2d9bf3b6894-0
.md .pdf Modal Contents Installation and Setup Define your Modal Functions and Webhooks Wrappers LLM Modal# This page covers how to use the Modal ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Modal wrappers. Installation and Setup# Install with pip in...
https://langchain.readthedocs.io/en/latest/ecosystem/modal.html
f2d9bf3b6894-1
@stub.webhook(method="POST") def get_text(item: Item): return {"prompt": run_gpt2.call(item.prompt)} Wrappers# LLM# There exists an Modal LLM wrapper, which you can access with from langchain.llms import Modal previous Hugging Face next NLPCloud Contents Installation and Setup Define your Modal Functions and We...
https://langchain.readthedocs.io/en/latest/ecosystem/modal.html
fd7266c89302-0
.md .pdf OpenAI Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Moderation OpenAI# This page covers how to use the OpenAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific OpenAI wrappers. Installation and Setup# Install the Python SDK w...
https://langchain.readthedocs.io/en/latest/ecosystem/openai.html
fd7266c89302-1
Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Moderation By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Mar 22, 2023.
https://langchain.readthedocs.io/en/latest/ecosystem/openai.html
f5557746ac69-0
.md .pdf Locally Hosted Setup Contents Installation Environment Setup Locally Hosted Setup# This page contains instructions for installing and then setting up the environment to use the locally hosted version of tracing. Installation# Ensure you have Docker installed (see Get Docker) and that it’s running. Install th...
https://langchain.readthedocs.io/en/latest/tracing/local_installation.html
484916fc7c80-0
.md .pdf Cloud Hosted Setup Contents Installation Environment Setup Cloud Hosted Setup# We offer a hosted version of tracing at langchainplus.vercel.app. You can use this to view traces from your run without having to run the server locally. Note: we are currently only offering this to a limited number of users. The ...
https://langchain.readthedocs.io/en/latest/tracing/hosted_installation.html
484916fc7c80-1
os.environ["LANGCHAIN_API_KEY"] = "my_api_key" # Don't commit this to your repo! Better to set it in your terminal. Contents Installation Environment Setup By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Mar 22, 2023.
https://langchain.readthedocs.io/en/latest/tracing/hosted_installation.html
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
13