The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Batch update of alt text and title attributes for images in md/mdx files across repo (#15357)
Jonathan Algara74f3a4979e8
diff --git a/README.md b/README.mdindex 1eaa96fee3..1f21107f0a 100644--- a/README.md+++ b/README.md@@ -49,7 +49,7 @@ The LangChain libraries themselves are made up of several different packages.- **[`langchain-community`](libs/community)**: Third party integrations.- **[`langchain`](libs/langchain)**: Chains, agents, and retrieval strategies that make up an application's cognitive architecture.-+## π§± What can you build with LangChain?**β Retrieval augmented generation**diff --git a/docs/docs/get_started/introduction.mdx b/docs/docs/get_started/introduction.mdxindex 7452c5e248..d6219868e5 100644--- a/docs/docs/get_started/introduction.mdx+++ b/docs/docs/get_started/introduction.mdx@@ -14,7 +14,7 @@ This framework consists of several parts.- **[LangServe](/docs/langserve)**: A library for deploying LangChain chains as a REST API.- **[LangSmith](/docs/langsmith)**: A developer platform that lets you debug, test, evaluate, and monitor chains built on any LLM framework and seamlessly integrates with LangChain.-+Together, these products simplify the entire application lifecycle:- **Develop**: Write your applications in LangChain/LangChain.js. Hit the ground running using Templates for reference.diff --git a/docs/docs/guides/debugging.md b/docs/docs/guides/debugging.mdindex e2607ad847..140e26fb5f 100644--- a/docs/docs/guides/debugging.md+++ b/docs/docs/guides/debugging.md@@ -12,7 +12,7 @@ Platforms with tracing capabilities like [LangSmith](/docs/langsmith/) and [WandFor anyone building production-grade LLM applications, we highly recommend using a platform like this.-+## `set_debug` and `set_verbose`diff --git a/docs/docs/integrations/memory/remembrall.md b/docs/docs/integrations/memory/remembrall.mdindex 39581f591a..9cc03fd75e 100644--- a/docs/docs/integrations/memory/remembrall.md+++ b/docs/docs/integrations/memory/remembrall.md@@ -6,7 +6,7 @@ This page covers how to use the [Remembrall](https://remembrall.dev) ecosystem wRemembrall gives your language model long-term memory, retrieval augmented generation, and complete observability with just a few lines of code.-+It works as a light-weight proxy on top of your OpenAI calls and simply augments the context of the chat calls at runtime with relevant facts that have been collected.diff --git a/docs/docs/integrations/providers/flyte.mdx b/docs/docs/integrations/providers/flyte.mdxindex c9e727ffb0..1e7dbb748c 100644--- a/docs/docs/integrations/providers/flyte.mdx+++ b/docs/docs/integrations/providers/flyte.mdx@@ -150,4 +150,4 @@ This command will initiate the execution of the `langchain_llm` task on the FlytThe metrics will be displayed on the Flyte UI as follows:-+diff --git a/docs/docs/integrations/providers/helicone.mdx b/docs/docs/integrations/providers/helicone.mdxindex 7e81000487..456abe121f 100644--- a/docs/docs/integrations/providers/helicone.mdx+++ b/docs/docs/integrations/providers/helicone.mdx@@ -6,7 +6,7 @@ This page covers how to use the [Helicone](https://helicone.ai) ecosystem withinHelicone is an [open-source](https://github.com/Helicone/helicone) observability platform that proxies your OpenAI traffic and provides you key insights into your spend, latency and usage.-+## Quick start@@ -18,7 +18,7 @@ export OPENAI_API_BASE="https://oai.hconeai.com/v1"Now head over to [helicone.ai](https://helicone.ai/onboarding?step=2) to create your account, and add your OpenAI API key within our dashboard to view your logs.-+## How to enable Helicone cachingdiff --git a/docs/docs/integrations/providers/metal.mdx b/docs/docs/integrations/providers/metal.mdxindex 8fe39a6020..473e2510e6 100644--- a/docs/docs/integrations/providers/metal.mdx+++ b/docs/docs/integrations/providers/metal.mdx@@ -6,7 +6,7 @@ This page covers how to use [Metal](https://getmetal.io) within LangChain.Metal is a managed retrieval & memory platform built for production. Easily index your data into `Metal` and run semantic search and retrieval on it.-+## Quick startdiff --git a/docs/docs/modules/data_connection/index.mdx b/docs/docs/modules/data_connection/index.mdxindex 1a3e222b74..385b46a5f0 100644--- a/docs/docs/modules/data_connection/index.mdx+++ b/docs/docs/modules/data_connection/index.mdx@@ -14,7 +14,7 @@ This section of the documentation covers everything related to the *retrieval* sAlthough this sounds simple, it can be subtly complex.This encompasses several key modules.-+**[Document loaders](/docs/modules/data_connection/document_loaders/)**diff --git a/docs/docs/modules/data_connection/vectorstores/index.mdx b/docs/docs/modules/data_connection/vectorstores/index.mdxindex 034f67b31a..b1242021a2 100644--- a/docs/docs/modules/data_connection/vectorstores/index.mdx+++ b/docs/docs/modules/data_connection/vectorstores/index.mdx@@ -12,7 +12,7 @@ vectors, and then at query time to embed the unstructured query and retrieve the'most similar' to the embedded query. A vector store takes care of storing embedded data and performing vector searchfor you.-+## Get starteddiff --git a/docs/docs/modules/memory/index.mdx b/docs/docs/modules/memory/index.mdxindex 144afe7508..f9da94819e 100644--- a/docs/docs/modules/memory/index.mdx+++ b/docs/docs/modules/memory/index.mdx@@ -36,7 +36,7 @@ A chain will interact with its memory system twice in a given run.1. AFTER receiving the initial user inputs but BEFORE executing the core logic, a chain will READ from its memory system and augment the user inputs.2. AFTER executing the core logic but BEFORE returning the answer, a chain will WRITE the inputs and outputs of the current run to memory, so that they can be referred to in future runs.-+## Building memory into a systemdiff --git a/docs/docs/modules/model_io/index.mdx b/docs/docs/modules/model_io/index.mdxindex 4727ef6e54..eeb94b4850 100644--- a/docs/docs/modules/model_io/index.mdx+++ b/docs/docs/modules/model_io/index.mdx@@ -9,7 +9,7 @@ sidebar_class_name: hiddenThe core element of any language model application is...the model. LangChain gives you the building blocks to interface with any language model.-+## [Conceptual Guide](/docs/modules/model_io/concepts)diff --git a/libs/community/README.md b/libs/community/README.mdindex 07c155beab..be0ffef29a 100644--- a/libs/community/README.md+++ b/libs/community/README.md@@ -15,7 +15,7 @@ LangChain Community contains third-party integrations that implement the base inFor full documentation see the [API reference](https://api.python.langchain.com/en/stable/community_api_reference.html).-+## π Releases & Versioningdiff --git a/libs/core/README.md b/libs/core/README.mdindex 0642c8fb87..019f5b400b 100644--- a/libs/core/README.md+++ b/libs/core/README.md@@ -32,7 +32,7 @@ Rather than having to write multiple implementations for all of those, LCEL alloFor more check out the [LCEL docs](https://python.langchain.com/docs/expression_language/).-+## π Releases & Versioningdiff --git a/templates/README.md b/templates/README.mdindex cad3d42244..1ba3d46e73 100644--- a/templates/README.md+++ b/templates/README.md@@ -102,11 +102,11 @@ langchain serveThis now gives a fully deployed LangServe application.For example, you get a playground out-of-the-box at [http://127.0.0.1:8000/pirate-speak/playground/](http://127.0.0.1:8000/pirate-speak/playground/):-+Access API documentation at [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)-+Use the LangServe python or js SDK to interact with the API as if it were a regular [Runnable](https://python.langchain.com/docs/expression_language/).diff --git a/templates/bedrock-jcvd/README.md b/templates/bedrock-jcvd/README.mdindex eeb4c53c33..430d2f7ce4 100644--- a/templates/bedrock-jcvd/README.md+++ b/templates/bedrock-jcvd/README.md@@ -6,7 +6,7 @@ LangChain template that uses [Anthropic's Claude on Amazon Bedrock](https://aws.> I am the Fred Astaire of Chatbots! πΊ-'+'## Environment Setup@@ -78,4 +78,4 @@ We can see all templates at [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/dWe can also access the playground at [http://127.0.0.1:8000/bedrock-jcvd/playground](http://127.0.0.1:8000/bedrock-jcvd/playground)-\ No newline at end of file+\ No newline at end of filediff --git a/templates/chat-bot-feedback/README.md b/templates/chat-bot-feedback/README.mdindex b7d56854ce..da9936b915 100644--- a/templates/chat-bot-feedback/README.md+++ b/templates/chat-bot-feedback/README.md@@ -9,11 +9,11 @@ Taking [Chat Langchain](https://chat.langchain.com/) as a case study, only aboutThis template helps solve this "feedback scarcity" problem. Below is an example invocation of this chat bot:-[](https://smith.langchain.com/public/3378daea-133c-4fe8-b4da-0a3044c5dbe8/r?runtab=1)+[](https://smith.langchain.com/public/3378daea-133c-4fe8-b4da-0a3044c5dbe8/r?runtab=1)When the user responds to this ([link](https://smith.langchain.com/public/a7e2df54-4194-455d-9978-cecd8be0df1e/r)), the response evaluator is invoked, resulting in the following evaluationrun:-[](https://smith.langchain.com/public/534184ee-db8f-4831-a386-3f578145114c/r)+[](https://smith.langchain.com/public/534184ee-db8f-4831-a386-3f578145114c/r)As shown, the evaluator sees that the user is increasingly frustrated, indicating that the prior response was not effectivediff --git a/templates/docs/LAUNCHING_PACKAGE.md b/templates/docs/LAUNCHING_PACKAGE.mdindex 4d08aea89d..439a072052 100644--- a/templates/docs/LAUNCHING_PACKAGE.md+++ b/templates/docs/LAUNCHING_PACKAGE.md@@ -38,4 +38,4 @@ langchain template serveThis will spin up endpoints, documentation, and playground for this chain.For example, you can access the playground at [http://127.0.0.1:8000/playground/](http://127.0.0.1:8000/playground/)-+diff --git a/templates/mongo-parent-document-retrieval/README.md b/templates/mongo-parent-document-retrieval/README.mdindex ea4a014725..55705fa0eb 100644--- a/templates/mongo-parent-document-retrieval/README.md+++ b/templates/mongo-parent-document-retrieval/README.md@@ -99,15 +99,15 @@ We will first follow the standard MongoDB Atlas setup instructions [here](https:This can be done by going to the deployement overview page and connecting to you database-+We then look at the drivers available-+Among which we will see our URI listed-+Let's then set that as an environment variable locally:diff --git a/templates/neo4j-cypher-ft/README.md b/templates/neo4j-cypher-ft/README.mdindex 8390903d2b..66f2b4812f 100644--- a/templates/neo4j-cypher-ft/README.md+++ b/templates/neo4j-cypher-ft/README.md@@ -9,7 +9,7 @@ The package utilizes a full-text index for efficient mapping of text values to dIn the provided example, the full-text index is used to map names of people and movies from the user's query to corresponding database entries.-+## Environment Setupdiff --git a/templates/neo4j-cypher-memory/README.md b/templates/neo4j-cypher-memory/README.mdindex ecdf1453b8..dc6d885533 100644--- a/templates/neo4j-cypher-memory/README.md+++ b/templates/neo4j-cypher-memory/README.md@@ -7,7 +7,7 @@ Additionally, it features a conversational memory module that stores the dialoguThe conversation memory is uniquely maintained for each user session, ensuring personalized interactions.To facilitate this, please supply both the `user_id` and `session_id` when using the conversation chain.-+## Environment Setupdiff --git a/templates/neo4j-cypher/README.md b/templates/neo4j-cypher/README.mdindex 09dbcd49fb..27ccb7422b 100644--- a/templates/neo4j-cypher/README.md+++ b/templates/neo4j-cypher/README.md@@ -5,7 +5,7 @@ This template allows you to interact with a Neo4j graph database in natural langIt transforms a natural language question into a Cypher query (used to fetch data from Neo4j databases), executes the query, and provides a natural language response based on the query results.-[](https://medium.com/neo4j/langchain-cypher-search-tips-tricks-f7c9e9abca4d)+[](https://medium.com/neo4j/langchain-cypher-search-tips-tricks-f7c9e9abca4d)## Environment Setupdiff --git a/templates/neo4j-semantic-layer/README.md b/templates/neo4j-semantic-layer/README.mdindex dea51f5224..c2dbe57fe8 100644--- a/templates/neo4j-semantic-layer/README.md+++ b/templates/neo4j-semantic-layer/README.md@@ -3,7 +3,7 @@This template is designed to implement an agent capable of interacting with a graph database like Neo4j through a semantic layer using OpenAI function calling.The semantic layer equips the agent with a suite of robust tools, allowing it to interact with the graph databas based on the user's intent.-+## Toolsdiff --git a/templates/openai-functions-agent-gmail/README.md b/templates/openai-functions-agent-gmail/README.mdindex 37365939ff..2438ec3f02 100644--- a/templates/openai-functions-agent-gmail/README.md+++ b/templates/openai-functions-agent-gmail/README.md@@ -4,7 +4,7 @@ Ever struggled to reach inbox zero?Using this template, you can create and customize your very own AI assistant to manage your Gmail account. Using the default Gmail tools, it can read, search through, and draft emails to respond on your behalf. It also has access to a Tavily search engine so it can search for relevant information about any topics or people in the email thread before writing, ensuring the drafts include all the relevant information needed to sound well-informed.-+## The detailsdiff --git a/templates/propositional-retrieval/README.md b/templates/propositional-retrieval/README.mdindex da2d33b3fa..49b2076cae 100644--- a/templates/propositional-retrieval/README.md+++ b/templates/propositional-retrieval/README.md@@ -2,7 +2,7 @@This template demonstrates the multi-vector indexing strategy proposed by Chen, et. al.'s [Dense X Retrieval: What Retrieval Granularity Should We Use?](https://arxiv.org/abs/2312.06648). The prompt, which you can [try out on the hub](https://smith.langchain.com/hub/wfh/proposal-indexing), directs an LLM to generate de-contextualized "propositions" which can be vectorized to increase the retrieval accuracy. You can see the full definition in `proposal_chain.py`.-+## Storagediff --git a/templates/rag-chroma-multi-modal-multi-vector/README.md b/templates/rag-chroma-multi-modal-multi-vector/README.mdindex 903639fd03..8719e1587c 100644--- a/templates/rag-chroma-multi-modal-multi-vector/README.md+++ b/templates/rag-chroma-multi-modal-multi-vector/README.md@@ -9,7 +9,7 @@ It uses GPT-4V to create image summaries for each slide, embeds the summaries, aGiven a question, relevat slides are retrieved and passed to GPT-4V for answer synthesis.-+## Inputdiff --git a/templates/rag-chroma-multi-modal/README.md b/templates/rag-chroma-multi-modal/README.mdindex 27fcca9c4c..2fa35331b8 100644--- a/templates/rag-chroma-multi-modal/README.md+++ b/templates/rag-chroma-multi-modal/README.md@@ -9,7 +9,7 @@ It uses OpenCLIP embeddings to embed all of the slide images and stores them inGiven a question, relevat slides are retrieved and passed to GPT-4V for answer synthesis.-+## Inputdiff --git a/templates/rag-gemini-multi-modal/README.md b/templates/rag-gemini-multi-modal/README.mdindex 8d890ca440..c210901c64 100644--- a/templates/rag-gemini-multi-modal/README.md+++ b/templates/rag-gemini-multi-modal/README.md@@ -9,7 +9,7 @@ It uses OpenCLIP embeddings to embed all of the slide images and stores them inGiven a question, relevat slides are retrieved and passed to [Google Gemini](https://deepmind.google/technologies/gemini/#introduction) for answer synthesis.-+## Inputdiff --git a/templates/rag-mongo/README.md b/templates/rag-mongo/README.mdindex d17eb5bd5b..eefc9a5354 100644--- a/templates/rag-mongo/README.md+++ b/templates/rag-mongo/README.md@@ -97,15 +97,15 @@ We will first follow the standard MongoDB Atlas setup instructions [here](https:This can be done by going to the deployement overview page and connecting to you database-+We then look at the drivers available-+Among which we will see our URI listed-+Let's then set that as an environment variable locally:@@ -131,23 +131,23 @@ Note that you can (and should!) change this to ingest data of your choiceWe can first connect to the cluster where our database lives-+We can then navigate to where all our collections are listed-+We can then find the collection we want and look at the search indexes for that collection-+That should likely be empty, and we want to create a new one:-+We will use the JSON editor to create it-+And we will paste the following JSON in:@@ -165,7 +165,6 @@ And we will paste the following JSON in:}}```---From there, hit "Next" and then "Create Search Index". It will take a little bit but you should then have an index over your data!++From there, hit "Next" and then "Create Search Index". It will take a little bit but you should then have an index over your data!\ No newline at end of filediff --git a/templates/rag-multi-modal-local/README.md b/templates/rag-multi-modal-local/README.mdindex 6ad78faf5a..b1c2838a5b 100644--- a/templates/rag-multi-modal-local/README.md+++ b/templates/rag-multi-modal-local/README.md@@ -11,7 +11,7 @@ It uses OpenCLIP embeddings to embed all of the photos and stores them in ChromaGiven a question, relevat photos are retrieved and passed to an open source multi-modal LLM of your choice for answer synthesis.-+## Inputdiff --git a/templates/rag-multi-modal-mv-local/README.md b/templates/rag-multi-modal-mv-local/README.mdindex cdc1ab3390..70e43e5a02 100644--- a/templates/rag-multi-modal-mv-local/README.md+++ b/templates/rag-multi-modal-mv-local/README.md@@ -11,7 +11,7 @@ It uses an open source multi-modal LLM of your choice to create image summariesGiven a question, relevat photos are retrieved and passed to the multi-modal LLM for answer synthesis.-+## Input