-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jacob/add hf chat wrapper #14736
Jacob/add hf chat wrapper #14736
Conversation
fix formatting
- **Description:** Added a tool called RedditSearchRun and an accompanying API wrapper, which searches Reddit for posts with support for time filtering, post sorting, query string and subreddit filtering. - **Issue:** #13891 - **Dependencies:** `praw` module is used to search Reddit - **Tag maintainer:** @baskaryan , and any of the other maintainers if needed - **Twitter handle:** None. Hello, This is our first PR and we hope that our changes will be helpful to the community. We have run `make format`, `make lint` and `make test` locally before submitting the PR. To our knowledge, our changes do not introduce any new errors. Our PR integrates the `praw` package which is already used by RedditPostsLoader in LangChain. Nonetheless, we have added integration tests and edited unit tests to test our changes. An example notebook is also provided. These changes were put together by me, @Anika2000, @CharlesXu123, and @Jeremy-Cheng-stack Thank you in advance to the maintainers for their time. --------- Co-authored-by: What-Is-A-Username <49571870+What-Is-A-Username@users.noreply.github.com> Co-authored-by: Anika2000 <anika.sultana@mail.utoronto.ca> Co-authored-by: Jeremy Cheng <81793294+Jeremy-Cheng-stack@users.noreply.github.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
- **Description:** Update the document for drop box loader + made the messages more verbose when loading pdf file since people were getting confused - **Issue:** #13952 - **Tag maintainer:** @baskaryan, @eyurtsev, @hwchase17, --------- Co-authored-by: Erick Friis <erick@langchain.dev>
# Description We implemented a simple tool for accessing the Merriam-Webster Collegiate Dictionary API (https://dictionaryapi.com/products/api-collegiate-dictionary). Here's a simple usage example: ```py from langchain.llms import OpenAI from langchain.agents import load_tools, initialize_agent, AgentType llm = OpenAI() tools = load_tools(["serpapi", "merriam-webster"], llm=llm) # Serp API gives our agent access to Google agent = initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True ) agent.run("What is the english word for the german word Himbeere? Define that word.") ``` Sample output: ``` > Entering new AgentExecutor chain... I need to find the english word for Himbeere and then get the definition of that word. Action: Search Action Input: "English word for Himbeere" Observation: {'type': 'translation_result'} Thought: Now I have the english word, I can look up the definition. Action: MerriamWebster Action Input: raspberry Observation: Definitions of 'raspberry': 1. rasp-ber-ry, noun: any of various usually black or red edible berries that are aggregate fruits consisting of numerous small drupes on a fleshy receptacle and that are usually rounder and smaller than the closely related blackberries 2. rasp-ber-ry, noun: a perennial plant (genus Rubus) of the rose family that bears raspberries 3. rasp-ber-ry, noun: a sound of contempt made by protruding the tongue between the lips and expelling air forcibly to produce a vibration; broadly : an expression of disapproval or contempt 4. black raspberry, noun: a raspberry (Rubus occidentalis) of eastern North America that has a purplish-black fruit and is the source of several cultivated varieties —called also blackcap Thought: I now know the final answer. Final Answer: Raspberry is an english word for Himbeere and it is defined as any of various usually black or red edible berries that are aggregate fruits consisting of numerous small drupes on a fleshy receptacle and that are usually rounder and smaller than the closely related blackberries. > Finished chain. ``` # Issue This closes #12039. # Dependencies We added no extra dependencies. <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> --------- Co-authored-by: Lara <63805048+larkgz@users.noreply.github.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
# Description This PR implements Self-Query Retriever for MongoDB Atlas vector store. I've implemented the comparators and operators that are supported by MongoDB Atlas vector store according to the section titled "Atlas Vector Search Pre-Filter" from https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/. Namely: ``` allowed_comparators = [ Comparator.EQ, Comparator.NE, Comparator.GT, Comparator.GTE, Comparator.LT, Comparator.LTE, Comparator.IN, Comparator.NIN, ] """Subset of allowed logical operators.""" allowed_operators = [ Operator.AND, Operator.OR ] ``` Translations from comparators/operators to MongoDB Atlas filter operators(you can find the syntax in the "Atlas Vector Search Pre-Filter" section from the previous link) are done using the following dictionary: ``` map_dict = { Operator.AND: "$and", Operator.OR: "$or", Comparator.EQ: "$eq", Comparator.NE: "$ne", Comparator.GTE: "$gte", Comparator.LTE: "$lte", Comparator.LT: "$lt", Comparator.GT: "$gt", Comparator.IN: "$in", Comparator.NIN: "$nin", } ``` In visit_structured_query() the filters are passed as "pre_filter" and not "filter" as in the MongoDB link above since langchain's implementation of MongoDB atlas vector store(libs\langchain\langchain\vectorstores\mongodb_atlas.py) in _similarity_search_with_score() sets the "filter" key to have the value of the "pre_filter" argument. ``` params["filter"] = pre_filter ``` Test cases and documentation have also been added. # Issue #11616 # Dependencies No new dependencies have been added. # Documentation I have created the notebook mongodb_atlas_self_query.ipynb outlining the steps to get the self-query mechanism working. I worked closely with [@Farhan-Faisal](https://github.com/Farhan-Faisal) on this PR. --------- Co-authored-by: Bagatur <baskaryan@gmail.com>
#13297) Response_if_no_docs_found is not implemented in ConversationalRetrievalChain for async code paths. Implemented it and added test cases Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
grammar correction <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
**Description:** When using Vald, only insecure grpc connection was supported, so secure connection is now supported. In addition, grpc metadata can be added to Vald requests to enable authentication with a token. <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
**Description:** Added support for a Pandas DataFrame OutputParser with format instructions, along with unit tests and a demo notebook. Namely, we've added the ability to request data from a DataFrame, have the LLM parse the request, and then use that request to retrieve a well-formatted response. Within LangChain, it seamlessly integrates with language models like OpenAI's `text-davinci-003`, facilitating streamlined interaction using the format instructions (just like the other output parsers). This parser structures its requests as `<operation/column/row>[<optional_array_params>]`. The instructions detail permissible operations, valid columns, and array formats, ensuring clarity and adherence to the required format. For example: - When the LLM receives the input: "Retrieve the mean of `num_legs` from rows 1 to 3." - The provided format instructions guide the LLM to structure the request as: "mean:num_legs[1..3]". The parser processes this formatted request, leveraging the LLM's understanding to extract the mean of `num_legs` from rows 1 to 3 within the Pandas DataFrame. This integration allows users to communicate requests naturally, with the LLM transforming these instructions into structured commands understood by the `PandasDataFrameOutputParser`. The format instructions act as a bridge between natural language queries and precise DataFrame operations, optimizing communication and data retrieval. **Issue:** - #11532 **Dependencies:** No additional dependencies :) **Tag maintainer:** @baskaryan **Twitter handle:** No need. :) --------- Co-authored-by: Wasee Alam <waseealam@protonmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> ### Description Hello, The [integration_test README](https://github.com/langchain-ai/langchain/tree/master/libs/langchain/tests) was indicating incorrect paths for the `.env.example` and `.env` files. `tests/.env.example` ->`tests/integration_tests/.env.example` While it’s a minor error, it could **potentially lead to confusion** for the document’s readers, so I’ve made the necessary corrections. Thank you!☺️ ### Related Issue - #2806
…json.dumps() … (#10628) …parameters. In Langchain's `dumps()` function, I've added a `**kwargs` parameter. This allows users to pass additional parameters to the underlying `json.dumps()` function, providing greater flexibility and control over JSON serialization. Many parameters available in `json.dumps()` can be useful or even necessary in specific situations. For example, when using an Agent with return_intermediate_steps set to true, the output is a list of AgentAction objects. These objects can't be serialized without using Langchain's `dumps()` function. The issue arises when using the Agent with a language other than English, which may contain non-ASCII characters like 'é'. The default behavior of `json.dumps()` sets ensure_ascii to true, converting `{"name": "José"}` into `{"name": "Jos\u00e9"}`. This can make the output hard to read, especially in the case of intermediate steps in agent logs. By allowing users to pass additional parameters to `json.dumps()` via Langchain's dumps(), we can solve this problem. For instance, users can set `ensure_ascii=False` to maintain the original characters. This update also enables users to pass other useful `json.dumps()` parameters like `sort_keys`, providing even more flexibility. The implementation takes into account edge cases where a user might pass a "default" parameter, which is already defined by `dumps()`, or an "indent" parameter, which is also predefined if `pretty=True` is set. --------- Co-authored-by: Erick Friis <erick@langchain.dev>
- **Description:** Update RAG Redis template readme and dependencies.
…s APIs. (#13699) ## Description Related to mlflow/mlflow#10420. MLflow AI gateway will be deprecated and replaced by the `mlflow.deployments` module. Happy to split this PR if it's too large. ``` pip install git+https://github.com/langchain-ai/langchain.git@refs/pull/13699/merge#subdirectory=libs/langchain ``` ## Dependencies Install mlflow from mlflow/mlflow#10420: ``` pip install git+https://github.com/mlflow/mlflow.git@refs/pull/10420/merge ``` ## Testing plan The following code works fine on local and databricks: <details><summary>Click</summary> <p> ```python """ Setup ----- mlflow deployments start-server --config-path examples/gateway/openai/config.yaml databricks secrets create-scope <scope> databricks secrets put-secret <scope> openai-api-key --string-value $OPENAI_API_KEY Run --- python /path/to/this/file.py secrets/<scope>/openai-api-key """ from langchain.chat_models import ChatMlflow, ChatDatabricks from langchain.embeddings import MlflowEmbeddings, DatabricksEmbeddings from langchain.llms import Databricks, Mlflow from langchain.schema.messages import HumanMessage from langchain.chains.loading import load_chain from mlflow.deployments import get_deploy_client import uuid import sys import tempfile from langchain.chains import LLMChain from langchain.prompts import PromptTemplate ############################### # MLflow ############################### chat = ChatMlflow( target_uri="http://127.0.0.1:5000", endpoint="chat", params={"temperature": 0.1} ) print(chat([HumanMessage(content="hello")])) embeddings = MlflowEmbeddings(target_uri="http://127.0.0.1:5000", endpoint="embeddings") print(embeddings.embed_query("hello")[:3]) print(embeddings.embed_documents(["hello", "world"])[0][:3]) llm = Mlflow( target_uri="http://127.0.0.1:5000", endpoint="completions", params={"temperature": 0.1}, ) print(llm("I am")) llm_chain = LLMChain( llm=llm, prompt=PromptTemplate( input_variables=["adjective"], template="Tell me a {adjective} joke", ), ) print(llm_chain.run(adjective="funny")) # serialization/deserialization with tempfile.TemporaryDirectory() as tmpdir: print(tmpdir) path = f"{tmpdir}/llm.yaml" llm_chain.save(path) loaded_chain = load_chain(path) print(loaded_chain("funny")) ############################### # Databricks ############################### secret = sys.argv[1] client = get_deploy_client("databricks") # External - chat name = f"chat-{uuid.uuid4()}" client.create_endpoint( name=name, config={ "served_entities": [ { "name": "test", "external_model": { "name": "gpt-4", "provider": "openai", "task": "llm/v1/chat", "openai_config": { "openai_api_key": "{{" + secret + "}}", }, }, } ], }, ) try: chat = ChatDatabricks( target_uri="databricks", endpoint=name, params={"temperature": 0.1} ) print(chat([HumanMessage(content="hello")])) finally: client.delete_endpoint(endpoint=name) # External - embeddings name = f"embeddings-{uuid.uuid4()}" client.create_endpoint( name=name, config={ "served_entities": [ { "name": "test", "external_model": { "name": "text-embedding-ada-002", "provider": "openai", "task": "llm/v1/embeddings", "openai_config": { "openai_api_key": "{{" + secret + "}}", }, }, } ], }, ) try: embeddings = DatabricksEmbeddings(target_uri="databricks", endpoint=name) print(embeddings.embed_query("hello")[:3]) print(embeddings.embed_documents(["hello", "world"])[0][:3]) finally: client.delete_endpoint(endpoint=name) # External - completions name = f"completions-{uuid.uuid4()}" client.create_endpoint( name=name, config={ "served_entities": [ { "name": "test", "external_model": { "name": "gpt-3.5-turbo-instruct", "provider": "openai", "task": "llm/v1/completions", "openai_config": { "openai_api_key": "{{" + secret + "}}", }, }, } ], }, ) try: llm = Databricks( endpoint_name=name, model_kwargs={"temperature": 0.1}, ) print(llm("I am")) finally: client.delete_endpoint(endpoint=name) # Foundation model - chat chat = ChatDatabricks( endpoint="databricks-llama-2-70b-chat", params={"temperature": 0.1} ) print(chat([HumanMessage(content="hello")])) # Foundation model - embeddings embeddings = DatabricksEmbeddings(endpoint="databricks-bge-large-en") print(embeddings.embed_query("hello")[:3]) # Foundation model - completions llm = Databricks( endpoint_name="databricks-mpt-7b-instruct", model_kwargs={"temperature": 0.1} ) print(llm("hello")) llm_chain = LLMChain( llm=llm, prompt=PromptTemplate( input_variables=["adjective"], template="Tell me a {adjective} joke", ), ) print(llm_chain.run(adjective="funny")) # serialization/deserialization with tempfile.TemporaryDirectory() as tmpdir: print(tmpdir) path = f"{tmpdir}/llm.yaml" llm_chain.save(path) loaded_chain = load_chain(path) print(loaded_chain("funny")) ``` Output: ``` content='Hello! How can I assist you today?' [-0.025058426, -0.01938856, -0.027781019] [-0.025058426, -0.01938856, -0.027781019] sorry, but I cannot continue the sentence as it is incomplete. Can you please provide more information or context? Sure, here's a classic one for you: Why don't scientists trust atoms? Because they make up everything! /var/folders/dz/cd_nvlf14g9g__n3ph0d_0pm0000gp/T/tmpx_4no6ad {'adjective': 'funny', 'text': "Sure, here's a classic one for you:\n\nWhy don't scientists trust atoms?\n\nBecause they make up everything!"} content='Hello! How can I assist you today?' [-0.025058426, -0.01938856, -0.027781019] [-0.025058426, -0.01938856, -0.027781019] a 23 year old female and I am currently studying for my master's degree content="\nHello! It's nice to meet you. Is there something I can help you with or would you like to chat for a bit?" [0.051055908203125, 0.007221221923828125, 0.003879547119140625] [0.051055908203125, 0.007221221923828125, 0.003879547119140625] hello back Well, I don't really know many jokes, but I do know this funny story... /var/folders/dz/cd_nvlf14g9g__n3ph0d_0pm0000gp/T/tmp7_ds72ex {'adjective': 'funny', 'text': " Well, I don't really know many jokes, but I do know this funny story..."} ``` </p> </details> The existing workflow doesn't break: <details><summary>click</summary> <p> ```python import uuid import mlflow from mlflow.models import ModelSignature from mlflow.types.schema import ColSpec, Schema class MyModel(mlflow.pyfunc.PythonModel): def predict(self, context, model_input): return str(uuid.uuid4()) with mlflow.start_run(): mlflow.pyfunc.log_model( "model", python_model=MyModel(), pip_requirements=["mlflow==2.8.1", "cloudpickle<3"], signature=ModelSignature( inputs=Schema( [ ColSpec("string", "prompt"), ColSpec("string", "stop"), ] ), outputs=Schema( [ ColSpec(name=None, type="string"), ] ), ), registered_model_name=f"lang-{uuid.uuid4()}", ) # Manually create a serving endpoint with the registered model and run from langchain.llms import Databricks llm = Databricks(endpoint_name="<name>") llm("hello") # 9d0b2491-3d13-487c-bc02-1287f06ecae7 ``` </p> </details> ## Follow-up tasks (This PR is too large. I'll file a separate one for follow-up tasks.) - Update `docs/docs/integrations/providers/mlflow_ai_gateway.mdx` and `docs/docs/integrations/providers/databricks.md`. --------- Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> Co-authored-by: Bagatur <baskaryan@gmail.com>
…13330) CC @baskaryan @hwchase17 @jmorganca Having a bit of trouble importing `langchain_experimental` from a notebook, will figure it out tomorrow ~Ah and also is blocked by #13226~ --------- Co-authored-by: Lance Martin <lance@langchain.dev> Co-authored-by: Bagatur <baskaryan@gmail.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…jacob/add-hf-chat-wrapper
…e17/langchain into jacob/add-hf-chat-wrapper
Thanks a lot @jacoblee93 and @baskaryan, very excited about merging this! |
We have moved all community exports to be from the integration-focused You can read a bit more about it here: https://github.com/langchain-ai/langchain#-what-is-langchain It may make sense to split out into a separate |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.5` -> `20.10.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.5/20.10.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.5/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.5/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchain) | `^0.0.352` -> `^0.0.353` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.353?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.353?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.352/0.0.353?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.352/0.0.353?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchainjs) | [`^0.0.212` -> `^0.0.213`](https://renovatebot.com/diffs/npm/langchain/0.0.212/0.0.213) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.213?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.213?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.212/0.0.213?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.212/0.0.213?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.3` -> `7.4.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/7.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest/7.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest/7.4.3/7.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/7.4.3/7.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain-ai/langchain (langchain)</summary> ### [`v0.0.353`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.0.353) [Compare Source](https://togithub.com/langchain-ai/langchain/compare/v0.0.352...v0.0.353) #### What's Changed - community\[patch]: Add param "task" to Databricks LLM to work around serialization of transform_output_fn by [@​liangz1](https://togithub.com/liangz1) in [https://github.com/langchain-ai/langchain/pull/14933](https://togithub.com/langchain-ai/langchain/pull/14933) - docs: links by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/14940](https://togithub.com/langchain-ai/langchain/pull/14940) - Vectara summarization by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/14970](https://togithub.com/langchain-ai/langchain/pull/14970) - Feature/Add LLMs Integration For Oracle Cloud Infrastructure(OCI) Data Science Model Deployment Endpoint by [@​mingkang111](https://togithub.com/mingkang111) in [https://github.com/langchain-ai/langchain/pull/14250](https://togithub.com/langchain-ai/langchain/pull/14250) - infra: pr template update by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/14963](https://togithub.com/langchain-ai/langchain/pull/14963) - docs `alibaba cloud` by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/14772](https://togithub.com/langchain-ai/langchain/pull/14772) - core(minor): Implement stream and astream for RunnableBranch by [@​qtangs](https://togithub.com/qtangs) in [https://github.com/langchain-ai/langchain/pull/14805](https://togithub.com/langchain-ai/langchain/pull/14805) - core\[patch]: update langchain-core runtime library name by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/14884](https://togithub.com/langchain-ai/langchain/pull/14884) - Add Ollama multi-modal templates by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14868](https://togithub.com/langchain-ai/langchain/pull/14868) - community\[patch]: Fix typo in class Docstring ([#​14982](https://togithub.com/langchain-ai/langchain/issues/14982)) by [@​yacine555](https://togithub.com/yacine555) in [https://github.com/langchain-ai/langchain/pull/14982](https://togithub.com/langchain-ai/langchain/pull/14982) - community\[patch]: support momento vector index filter expressions by [@​malandis](https://togithub.com/malandis) in [https://github.com/langchain-ai/langchain/pull/14978](https://togithub.com/langchain-ai/langchain/pull/14978) - community\[patch]: JaguarHttpClient conditional import by [@​fserv](https://togithub.com/fserv) in [https://github.com/langchain-ai/langchain/pull/14985](https://togithub.com/langchain-ai/langchain/pull/14985) - Update multi-modal template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14991](https://togithub.com/langchain-ai/langchain/pull/14991) - Update multi-modal multi-vector template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14992](https://togithub.com/langchain-ai/langchain/pull/14992) - Update Gemini template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14993](https://togithub.com/langchain-ai/langchain/pull/14993) - Update Ollama multi-modal template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14994](https://togithub.com/langchain-ai/langchain/pull/14994) - Update Ollama multi-modal multi-vector template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14995](https://togithub.com/langchain-ai/langchain/pull/14995) - TEMPLATES: Update README.md by [@​eltociear](https://togithub.com/eltociear) in [https://github.com/langchain-ai/langchain/pull/15013](https://togithub.com/langchain-ai/langchain/pull/15013) - community: fix for surrealdb client 0.3.2 update + store and retrieve metadata by [@​lalanikarim](https://togithub.com/lalanikarim) in [https://github.com/langchain-ai/langchain/pull/14997](https://togithub.com/langchain-ai/langchain/pull/14997) - fixed wrong link in documentation by [@​Yanni8](https://togithub.com/Yanni8) in [https://github.com/langchain-ai/langchain/pull/14999](https://togithub.com/langchain-ai/langchain/pull/14999) - changed default for VertexAIEmbeddings by [@​lkuligin](https://togithub.com/lkuligin) in [https://github.com/langchain-ai/langchain/pull/14614](https://togithub.com/langchain-ai/langchain/pull/14614) - Jacob/add hf chat wrapper by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchain/pull/14736](https://togithub.com/langchain-ai/langchain/pull/14736) - infra: api docs build order by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/15018](https://togithub.com/langchain-ai/langchain/pull/15018) - Implement streaming for xml output parser by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/14984](https://togithub.com/langchain-ai/langchain/pull/14984) - Implement streaming for all list output parsers by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/14981](https://togithub.com/langchain-ai/langchain/pull/14981) - core\[patch]: Release 0.1.3 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15022](https://togithub.com/langchain-ai/langchain/pull/15022) - community\[patch]: Release 0.0.6 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15023](https://togithub.com/langchain-ai/langchain/pull/15023) - Add option to make messages placeholder optional by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15031](https://togithub.com/langchain-ai/langchain/pull/15031) - Move json and xml parsers to core by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15026](https://togithub.com/langchain-ai/langchain/pull/15026) - infra: Fix test filesystem paths incompatible with windows by [@​rancomp](https://togithub.com/rancomp) in [https://github.com/langchain-ai/langchain/pull/14388](https://togithub.com/langchain-ai/langchain/pull/14388) - Azure DocumentIntelligenceLoader/Parser support update with latest SDK by [@​zifeiq](https://togithub.com/zifeiq) in [https://github.com/langchain-ai/langchain/pull/14389](https://togithub.com/langchain-ai/langchain/pull/14389) - Community: Fix generation_config not setting properly for DeepSparse by [@​mgoin](https://togithub.com/mgoin) in [https://github.com/langchain-ai/langchain/pull/15036](https://togithub.com/langchain-ai/langchain/pull/15036) - langchain(patch): Restrict paths in LocalFileStore cache by [@​eyurtsev](https://togithub.com/eyurtsev) in [https://github.com/langchain-ai/langchain/pull/15065](https://togithub.com/langchain-ai/langchain/pull/15065) - Add Runnable.get_graph() to get a graph representation of a Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15040](https://togithub.com/langchain-ai/langchain/pull/15040) - book reference by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/15072](https://togithub.com/langchain-ai/langchain/pull/15072) - Refactor: use SecretStr for jina embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15068](https://togithub.com/langchain-ai/langchain/pull/15068) - Refactor: use SecretStr for minimax embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15067](https://togithub.com/langchain-ai/langchain/pull/15067) - add defaults for tavily by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15075](https://togithub.com/langchain-ai/langchain/pull/15075) - Fix: fix partners name typo in tests by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15066](https://togithub.com/langchain-ai/langchain/pull/15066) - fix: correct spelling mistakes of "seperate, intialise, pre-defined" by [@​rancomp](https://togithub.com/rancomp) in [https://github.com/langchain-ai/langchain/pull/14647](https://togithub.com/langchain-ai/langchain/pull/14647) - Improve: remove extra spaces in get_from_env error by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15064](https://togithub.com/langchain-ai/langchain/pull/15064) - corrected outdated link by [@​gsajko](https://togithub.com/gsajko) in [https://github.com/langchain-ai/langchain/pull/15053](https://togithub.com/langchain-ai/langchain/pull/15053) - Community: Adds ability to pass a Config to the boto3 client used by Bedrock by [@​blanehoneycutt-addepar](https://togithub.com/blanehoneycutt-addepar) in [https://github.com/langchain-ai/langchain/pull/15029](https://togithub.com/langchain-ai/langchain/pull/15029) - community: refactor Baseten integration with new API endpoints & docs by [@​philipkiely-baseten](https://togithub.com/philipkiely-baseten) in [https://github.com/langchain-ai/langchain/pull/15017](https://togithub.com/langchain-ai/langchain/pull/15017) - Update youtube_transcript.ipynb by [@​sidsarasvati](https://togithub.com/sidsarasvati) in [https://github.com/langchain-ai/langchain/pull/15015](https://togithub.com/langchain-ai/langchain/pull/15015) - docs/docs/get_started: fixing typos in quickstart.mdx by [@​SatinWukerORIG](https://togithub.com/SatinWukerORIG) in [https://github.com/langchain-ai/langchain/pull/15025](https://togithub.com/langchain-ai/langchain/pull/15025) - community: add args_schema to GmailSendMessage by [@​ccurme](https://togithub.com/ccurme) in [https://github.com/langchain-ai/langchain/pull/14973](https://togithub.com/langchain-ai/langchain/pull/14973) - core(minor): Allow explicit types for ChatMessageHistory adds by [@​Sypherd](https://togithub.com/Sypherd) in [https://github.com/langchain-ai/langchain/pull/14967](https://togithub.com/langchain-ai/langchain/pull/14967) - Update arxiv.py with get_summaries_as_docs inside of Arxivloader by [@​ArchanGhosh](https://togithub.com/ArchanGhosh) in [https://github.com/langchain-ai/langchain/pull/14953](https://togithub.com/langchain-ai/langchain/pull/14953) - Add support Vertex AI Gemini uses a public image URL by [@​itok01](https://togithub.com/itok01) in [https://github.com/langchain-ai/langchain/pull/14949](https://togithub.com/langchain-ai/langchain/pull/14949) - Don't reassign chunk_type by [@​coreyb42](https://togithub.com/coreyb42) in [https://github.com/langchain-ai/langchain/pull/14923](https://togithub.com/langchain-ai/langchain/pull/14923) - \[community]: Elasticsearch chat history encoding by [@​istrebitel-1](https://togithub.com/istrebitel-1) in [https://github.com/langchain-ai/langchain/pull/15055](https://togithub.com/langchain-ai/langchain/pull/15055) - Nc/dec22/runnable graph lambda by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15078](https://togithub.com/langchain-ai/langchain/pull/15078) - Improve graph repr for runnable passthrough and itemgetter by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15083](https://togithub.com/langchain-ai/langchain/pull/15083) - add multitenancy by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15176](https://togithub.com/langchain-ai/langchain/pull/15176) - Corrected an grammatical mistake by [@​ShorthillsAI](https://togithub.com/ShorthillsAI) in [https://github.com/langchain-ai/langchain/pull/15163](https://togithub.com/langchain-ai/langchain/pull/15163) - Oxford comma, consistent with format elsewhere by [@​bquast](https://togithub.com/bquast) in [https://github.com/langchain-ai/langchain/pull/15167](https://togithub.com/langchain-ai/langchain/pull/15167) - Patch: improve ollama 404 api error message, fix [#​15147](https://togithub.com/langchain-ai/langchain/issues/15147) by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15156](https://togithub.com/langchain-ai/langchain/pull/15156) - community: correct spelling mistakes of "Suffle" and "reporoducibility" by [@​pzarfos](https://togithub.com/pzarfos) in [https://github.com/langchain-ai/langchain/pull/15172](https://togithub.com/langchain-ai/langchain/pull/15172) - \[core] print ascii by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15179](https://togithub.com/langchain-ai/langchain/pull/15179) - docs: Update dependencies installation cell in steam toolkit by [@​KallieLev](https://togithub.com/KallieLev) in [https://github.com/langchain-ai/langchain/pull/15148](https://togithub.com/langchain-ai/langchain/pull/15148) - community: Async Ollama + ChatOllama by [@​shroominic](https://togithub.com/shroominic) in [https://github.com/langchain-ai/langchain/pull/15169](https://togithub.com/langchain-ai/langchain/pull/15169) - \[core] langauge model like by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15180](https://togithub.com/langchain-ai/langchain/pull/15180) - langchain\[minor]: Add stuff docs runnable by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15178](https://togithub.com/langchain-ai/langchain/pull/15178) - \[core: minor] fix getters by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15181](https://togithub.com/langchain-ai/langchain/pull/15181) - Fix runnable vistitor for funcs without pos args by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15182](https://togithub.com/langchain-ai/langchain/pull/15182) - Implement stream and astream for RunnableLambda by [@​qtangs](https://togithub.com/qtangs) in [https://github.com/langchain-ai/langchain/pull/14794](https://togithub.com/langchain-ai/langchain/pull/14794) - Refactor: use SecretStr for Petals llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15121](https://togithub.com/langchain-ai/langchain/pull/15121) - Refactor: use SecretStr for VolcEngineMaas llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15117](https://togithub.com/langchain-ai/langchain/pull/15117) - Refactor: use SecretStr for StochasticAI llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15118](https://togithub.com/langchain-ai/langchain/pull/15118) - Refactor: use SecretStr for PipelineAI llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15120](https://togithub.com/langchain-ai/langchain/pull/15120) - Refactor: use SecretStr for Predibase llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15119](https://togithub.com/langchain-ai/langchain/pull/15119) - docs: updated wrong output in `Upstash Redis Cache` section of LLM Ca… by [@​cyai](https://togithub.com/cyai) in [https://github.com/langchain-ai/langchain/pull/15140](https://togithub.com/langchain-ai/langchain/pull/15140) - Implement RunnablePassthrough.pick() by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15184](https://togithub.com/langchain-ai/langchain/pull/15184) - Better input and output schemas for chains that start or end with a R… by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15185](https://togithub.com/langchain-ai/langchain/pull/15185) - \[core] prompt changes by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15186](https://togithub.com/langchain-ai/langchain/pull/15186) - Add create_conv_retrieval_chain func by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15084](https://togithub.com/langchain-ai/langchain/pull/15084) - Implement nicer runnable seq constructor, Propagate name through Runn… by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15226](https://togithub.com/langchain-ai/langchain/pull/15226) - Add .pick and .assign methods to Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15229](https://togithub.com/langchain-ai/langchain/pull/15229) - Fix: Use `Union` instead of `|` to improve compatibility, fix [#​15244](https://togithub.com/langchain-ai/langchain/issues/15244) by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15245](https://togithub.com/langchain-ai/langchain/pull/15245) - Update passthrough.py by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15252](https://togithub.com/langchain-ai/langchain/pull/15252) - langchain: Fix class name in RetryOutputParser docstring by [@​brendancsmith](https://togithub.com/brendancsmith) in [https://github.com/langchain-ai/langchain/pull/15268](https://togithub.com/langchain-ai/langchain/pull/15268) - community: Make doctran synchronous by [@​169](https://togithub.com/169) in [https://github.com/langchain-ai/langchain/pull/15264](https://togithub.com/langchain-ai/langchain/pull/15264) - Fixed small gramm mistakes by [@​ShorthillsAI](https://togithub.com/ShorthillsAI) in [https://github.com/langchain-ai/langchain/pull/15246](https://togithub.com/langchain-ai/langchain/pull/15246) - Fix typo by [@​samuelpath](https://togithub.com/samuelpath) in [https://github.com/langchain-ai/langchain/pull/15202](https://togithub.com/langchain-ai/langchain/pull/15202) - langchain: Fix for issue [#​14631](https://togithub.com/langchain-ai/langchain/issues/14631) - .devcontainer doesnt build by [@​gitchrisqueen](https://togithub.com/gitchrisqueen) in [https://github.com/langchain-ai/langchain/pull/15251](https://togithub.com/langchain-ai/langchain/pull/15251) - community: Enhance Github error prompt by [@​triThirty](https://togithub.com/triThirty) in [https://github.com/langchain-ai/langchain/pull/15248](https://togithub.com/langchain-ai/langchain/pull/15248) - community: fix typo in async ollama chat by [@​shroominic](https://togithub.com/shroominic) in [https://github.com/langchain-ai/langchain/pull/15276](https://togithub.com/langchain-ai/langchain/pull/15276) - \[core, langchain] modelio code improvements by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15277](https://togithub.com/langchain-ai/langchain/pull/15277) - \[langchain] agents code changes by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15278](https://togithub.com/langchain-ai/langchain/pull/15278) - remove chat-history by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15286](https://togithub.com/langchain-ai/langchain/pull/15286) - Make all json parsing less strict by default by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15287](https://togithub.com/langchain-ai/langchain/pull/15287) - core, community: propagate context between threads by [@​joshy-deshaw](https://togithub.com/joshy-deshaw) in [https://github.com/langchain-ai/langchain/pull/15171](https://togithub.com/langchain-ai/langchain/pull/15171) - Patch: improve openai functions call parser compatibility by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15197](https://togithub.com/langchain-ai/langchain/pull/15197) - refactor: enable connection pool usage in PGVector by [@​dmazine](https://togithub.com/dmazine) in [https://github.com/langchain-ai/langchain/pull/11514](https://togithub.com/langchain-ai/langchain/pull/11514) - Strip code block fences and extra test from xml when doing streaming … by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15293](https://togithub.com/langchain-ai/langchain/pull/15293) - core\[patch]: Release 0.1.4 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15319](https://togithub.com/langchain-ai/langchain/pull/15319) - docs: add use cases index by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15279](https://togithub.com/langchain-ai/langchain/pull/15279) - langchain\[patch]: Release 0.0.353 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15322](https://togithub.com/langchain-ai/langchain/pull/15322) #### New Contributors - [@​mingkang111](https://togithub.com/mingkang111) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14250](https://togithub.com/langchain-ai/langchain/pull/14250) - [@​qtangs](https://togithub.com/qtangs) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14805](https://togithub.com/langchain-ai/langchain/pull/14805) - [@​Yanni8](https://togithub.com/Yanni8) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14999](https://togithub.com/langchain-ai/langchain/pull/14999) - [@​zifeiq](https://togithub.com/zifeiq) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14389](https://togithub.com/langchain-ai/langchain/pull/14389) - [@​gsajko](https://togithub.com/gsajko) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15053](https://togithub.com/langchain-ai/langchain/pull/15053) - [@​blanehoneycutt-addepar](https://togithub.com/blanehoneycutt-addepar) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15029](https://togithub.com/langchain-ai/langchain/pull/15029) - [@​sidsarasvati](https://togithub.com/sidsarasvati) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15015](https://togithub.com/langchain-ai/langchain/pull/15015) - [@​SatinWukerORIG](https://togithub.com/SatinWukerORIG) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15025](https://togithub.com/langchain-ai/langchain/pull/15025) - [@​ccurme](https://togithub.com/ccurme) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14973](https://togithub.com/langchain-ai/langchain/pull/14973) - [@​itok01](https://togithub.com/itok01) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14949](https://togithub.com/langchain-ai/langchain/pull/14949) - [@​coreyb42](https://togithub.com/coreyb42) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14923](https://togithub.com/langchain-ai/langchain/pull/14923) - [@​istrebitel-1](https://togithub.com/istrebitel-1) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15055](https://togithub.com/langchain-ai/langchain/pull/15055) - [@​bquast](https://togithub.com/bquast) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15167](https://togithub.com/langchain-ai/langchain/pull/15167) - [@​pzarfos](https://togithub.com/pzarfos) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15172](https://togithub.com/langchain-ai/langchain/pull/15172) - [@​KallieLev](https://togithub.com/KallieLev) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15148](https://togithub.com/langchain-ai/langchain/pull/15148) - [@​shroominic](https://togithub.com/shroominic) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15169](https://togithub.com/langchain-ai/langchain/pull/15169) - [@​cyai](https://togithub.com/cyai) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15140](https://togithub.com/langchain-ai/langchain/pull/15140) - [@​brendancsmith](https://togithub.com/brendancsmith) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15268](https://togithub.com/langchain-ai/langchain/pull/15268) - [@​samuelpath](https://togithub.com/samuelpath) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15202](https://togithub.com/langchain-ai/langchain/pull/15202) - [@​gitchrisqueen](https://togithub.com/gitchrisqueen) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15251](https://togithub.com/langchain-ai/langchain/pull/15251) - [@​triThirty](https://togithub.com/triThirty) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15248](https://togithub.com/langchain-ai/langchain/pull/15248) - [@​joshy-deshaw](https://togithub.com/joshy-deshaw) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15171](https://togithub.com/langchain-ai/langchain/pull/15171) - [@​dmazine](https://togithub.com/dmazine) made their first contribution in [https://github.com/langchain-ai/langchain/pull/11514](https://togithub.com/langchain-ai/langchain/pull/11514) **Full Changelog**: langchain-ai/langchain@v0.0.352...v0.0.353 </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.213`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.213) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.212...0.0.213) #### What's Changed - feat: Add Astra DB Vector Store Integration by [@​mfortman11](https://togithub.com/mfortman11) in [https://github.com/langchain-ai/langchainjs/pull/3732](https://togithub.com/langchain-ai/langchainjs/pull/3732) - Add AzureOpenAI and AzureChatOpenAI classes for Python interop by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3625](https://togithub.com/langchain-ai/langchainjs/pull/3625) - integrations\[patch]: Bump version by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3771](https://togithub.com/langchain-ai/langchainjs/pull/3771) - community\[patch]: Release 0.0.11 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3772](https://togithub.com/langchain-ai/langchainjs/pull/3772) - Fix lint warnings by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3788](https://togithub.com/langchain-ai/langchainjs/pull/3788) - docs\[patch]: Fix structured agent output example by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3770](https://togithub.com/langchain-ai/langchainjs/pull/3770) - core\[minor]: Nc/dec26/runnable stream by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3792](https://togithub.com/langchain-ai/langchainjs/pull/3792) - Implement optional message placeholder in js by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3795](https://togithub.com/langchain-ai/langchainjs/pull/3795) - RunnablePassthrough.pick() by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3798](https://togithub.com/langchain-ai/langchainjs/pull/3798) - core\[patch]: Add LanguageModelLike type by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3799](https://togithub.com/langchain-ai/langchainjs/pull/3799) - template\[patch]: Add lc_secrets to template code by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3789](https://togithub.com/langchain-ai/langchainjs/pull/3789) - Implement stream for runnable lambda by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3801](https://togithub.com/langchain-ai/langchainjs/pull/3801) - docs\[patch]: typo in Azure OpenAI integration by [@​rikimbili](https://togithub.com/rikimbili) in [https://github.com/langchain-ai/langchainjs/pull/3803](https://togithub.com/langchain-ai/langchainjs/pull/3803) - core\[patch]: Fix optional message placeholder use in a chat prompt template by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3805](https://togithub.com/langchain-ai/langchainjs/pull/3805) - Add optional name for runnable sequence by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3806](https://togithub.com/langchain-ai/langchainjs/pull/3806) - core\[patch]: Fix runnable with message history for async histories by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3808](https://togithub.com/langchain-ai/langchainjs/pull/3808) - Add .pick and .assign methods to Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3807](https://togithub.com/langchain-ai/langchainjs/pull/3807) - langchain\[minor]: Adds create chat retrieval chain method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3800](https://togithub.com/langchain-ai/langchainjs/pull/3800) - langchain\[minor]: Add stuff docs chain by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3809](https://togithub.com/langchain-ai/langchainjs/pull/3809) - docs\[patch]: Fix more core imports by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3817](https://togithub.com/langchain-ai/langchainjs/pull/3817) - fix: use [@​gomoment/sdk-core](https://togithub.com/gomoment/sdk-core) instead of [@​gomoment/sdk](https://togithub.com/gomoment/sdk) for edge server integrations ([#​3784](https://togithub.com/langchain-ai/langchainjs/issues/3784)) by [@​hideokamoto](https://togithub.com/hideokamoto) in [https://github.com/langchain-ai/langchainjs/pull/3813](https://togithub.com/langchain-ai/langchainjs/pull/3813) - core\[minor]: Streaming List Parsers by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3819](https://togithub.com/langchain-ai/langchainjs/pull/3819) - core\[minor]: Add JSON parser by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3821](https://togithub.com/langchain-ai/langchainjs/pull/3821) - langchain\[minor]: Adds new agent create methods and docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3802](https://togithub.com/langchain-ai/langchainjs/pull/3802) - core\[patch]: Release 0.1.5 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3828](https://togithub.com/langchain-ai/langchainjs/pull/3828) - all\[patch]: Bump deps by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3829](https://togithub.com/langchain-ai/langchainjs/pull/3829) - langchain\[patch]: Release 0.0.213 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3830](https://togithub.com/langchain-ai/langchainjs/pull/3830) #### New Contributors - [@​mfortman11](https://togithub.com/mfortman11) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3732](https://togithub.com/langchain-ai/langchainjs/pull/3732) - [@​rikimbili](https://togithub.com/rikimbili) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3803](https://togithub.com/langchain-ai/langchainjs/pull/3803) - [@​hideokamoto](https://togithub.com/hideokamoto) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3813](https://togithub.com/langchain-ai/langchainjs/pull/3813) **Full Changelog**: langchain-ai/langchainjs@0.0.212...0.0.213 </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.4`](https://togithub.com/pytest-dev/pytest/compare/7.4.3...7.4.4) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.3...7.4.4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/autoblocksai/autoblocks-examples). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [langchain](https://togithub.com/langchain-ai/langchain) | `==0.0.347` -> `==0.0.354` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.347/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.347/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchain) | `==0.0.353` -> `==0.0.354` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.353/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.353/0.0.354?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain-ai/langchain (langchain)</summary> ### [`v0.0.354`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.0.354) [Compare Source](https://togithub.com/langchain-ai/langchain/compare/v0.0.353...v0.0.354) #### What's Changed - Improve markdown list parser by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15295](https://togithub.com/langchain-ai/langchain/pull/15295) - \[core] add test for json parser by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15297](https://togithub.com/langchain-ai/langchain/pull/15297) - community\[patch]: Release 0.0.7 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15320](https://togithub.com/langchain-ai/langchain/pull/15320) - langchain: Exclude non-utf8 file from loader since it causes an error in the code_understanding example by [@​Tchotchke](https://togithub.com/Tchotchke) in [https://github.com/langchain-ai/langchain/pull/15324](https://togithub.com/langchain-ai/langchain/pull/15324) - langchain: minor changes to StuffDocumentsChain.\_get_inputs by [@​romainfd](https://togithub.com/romainfd) in [https://github.com/langchain-ai/langchain/pull/15321](https://togithub.com/langchain-ai/langchain/pull/15321) - Upgrades the Tongyi LLM and ChatTongyi Model by [@​liushuaikobe](https://togithub.com/liushuaikobe) in [https://github.com/langchain-ai/langchain/pull/14793](https://togithub.com/langchain-ai/langchain/pull/14793) - Update vectorstore_retriever_memory.mdx by [@​kellyelton](https://togithub.com/kellyelton) in [https://github.com/langchain-ai/langchain/pull/15275](https://togithub.com/langchain-ai/langchain/pull/15275) - community: corrected typo in .readthedocs.yaml by [@​piyuple](https://togithub.com/piyuple) in [https://github.com/langchain-ai/langchain/pull/15309](https://togithub.com/langchain-ai/langchain/pull/15309) - core: Update messages/**init**.py to account for AIMessageChunk which breaks message history runnable. by [@​jonnolen](https://togithub.com/jonnolen) in [https://github.com/langchain-ai/langchain/pull/15327](https://togithub.com/langchain-ai/langchain/pull/15327) - Patch: improve check openai version by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15301](https://togithub.com/langchain-ai/langchain/pull/15301) - \[documentation] documentation revamp by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15281](https://togithub.com/langchain-ai/langchain/pull/15281) - Delete V1 tracer and refactor tracer tests to core by [@​agola11](https://togithub.com/agola11) in [https://github.com/langchain-ai/langchain/pull/15326](https://togithub.com/langchain-ai/langchain/pull/15326) - Propagate context vars in all classes/methods by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15329](https://togithub.com/langchain-ai/langchain/pull/15329) - Catch type errors in dumps/dumpd by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15336](https://togithub.com/langchain-ai/langchain/pull/15336) - Community: Newlines before bullets in IPYNB files (Vectara) by [@​ofermend](https://togithub.com/ofermend) in [https://github.com/langchain-ai/langchain/pull/15330](https://togithub.com/langchain-ai/langchain/pull/15330) - docs: cleanup rag use case by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15284](https://togithub.com/langchain-ai/langchain/pull/15284) - docs: revamp redirects by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15366](https://togithub.com/langchain-ai/langchain/pull/15366) - community:qianfan endpoint support init params & remove useless params definition by [@​danielhjz](https://togithub.com/danielhjz) in [https://github.com/langchain-ai/langchain/pull/15381](https://togithub.com/langchain-ai/langchain/pull/15381) - Update Multi_modal_RAG.ipynb by [@​naveentnj](https://togithub.com/naveentnj) in [https://github.com/langchain-ai/langchain/pull/15378](https://togithub.com/langchain-ai/langchain/pull/15378) - docs(ollama): Fix Documentation in `CallbackManager`, missing `])` by [@​yhzhu99](https://togithub.com/yhzhu99) in [https://github.com/langchain-ai/langchain/pull/15380](https://togithub.com/langchain-ai/langchain/pull/15380) - \[docs] update agent cookbook lcel by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15349](https://togithub.com/langchain-ai/langchain/pull/15349) - Docs: Fix spelling and grammar on Concepts page by [@​donovanmuller](https://togithub.com/donovanmuller) in [https://github.com/langchain-ai/langchain/pull/15364](https://togithub.com/langchain-ai/langchain/pull/15364) - Langchain: Fix quickstart doc code not working by [@​AhmedHathout](https://togithub.com/AhmedHathout) in [https://github.com/langchain-ai/langchain/pull/15352](https://togithub.com/langchain-ai/langchain/pull/15352) - Docs: add param comment for `tracing_v2_enabled` by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15308](https://togithub.com/langchain-ai/langchain/pull/15308) - Documentation: Update playwright documentation for langchain version >= 0.0.351 by [@​abhishek9909](https://togithub.com/abhishek9909) in [https://github.com/langchain-ai/langchain/pull/15260](https://togithub.com/langchain-ai/langchain/pull/15260) - fix(minor): added missing \*\*kwargs parameter to chroma query function by [@​joel-teratis](https://togithub.com/joel-teratis) in [https://github.com/langchain-ai/langchain/pull/14919](https://togithub.com/langchain-ai/langchain/pull/14919) - feat: mask api_key for konko by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/14010](https://togithub.com/langchain-ai/langchain/pull/14010) - Add missing comment char "#" before Load in chain.py for the rag-pinecone-rerank template by [@​samuelpath](https://togithub.com/samuelpath) in [https://github.com/langchain-ai/langchain/pull/15209](https://togithub.com/langchain-ai/langchain/pull/15209) - ci: upgrade actions by [@​purificant](https://togithub.com/purificant) in [https://github.com/langchain-ai/langchain/pull/15114](https://togithub.com/langchain-ai/langchain/pull/15114) - community:Lazy load wikipedia dump file by [@​cjaniake](https://togithub.com/cjaniake) in [https://github.com/langchain-ai/langchain/pull/15111](https://togithub.com/langchain-ai/langchain/pull/15111) - docs: updated document for 'Return Source Documents' Functionality by [@​cyai](https://togithub.com/cyai) in [https://github.com/langchain-ai/langchain/pull/15106](https://togithub.com/langchain-ai/langchain/pull/15106) - fix: call correct stream method in ollama by [@​David-Kristek](https://togithub.com/David-Kristek) in [https://github.com/langchain-ai/langchain/pull/15104](https://togithub.com/langchain-ai/langchain/pull/15104) - Langchain: Fix typo in documentation by [@​GauravWaghmare](https://togithub.com/GauravWaghmare) in [https://github.com/langchain-ai/langchain/pull/15124](https://togithub.com/langchain-ai/langchain/pull/15124) - Update LLaMA2\_sql_chat.ipynb by [@​naveentnj](https://togithub.com/naveentnj) in [https://github.com/langchain-ai/langchain/pull/15379](https://togithub.com/langchain-ai/langchain/pull/15379) - \[docs] update toolkit docs by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15294](https://togithub.com/langchain-ai/langchain/pull/15294) - Feat add volcano embedding by [@​lujingxuansc](https://togithub.com/lujingxuansc) in [https://github.com/langchain-ai/langchain/pull/14693](https://togithub.com/langchain-ai/langchain/pull/14693) - community: Integration of New Chat Model Based on ChatGLM3 via ZhipuAI API by [@​linancn](https://togithub.com/linancn) in [https://github.com/langchain-ai/langchain/pull/15105](https://togithub.com/langchain-ai/langchain/pull/15105) - Refactor: use SecretStr for GPTRouter chat-model by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15101](https://togithub.com/langchain-ai/langchain/pull/15101) - Refactor: use SecretStr for palm chat-model by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15100](https://togithub.com/langchain-ai/langchain/pull/15100) - Refactor: use SecretStr for edenai embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15092](https://togithub.com/langchain-ai/langchain/pull/15092) - Refactor: use SecretStr for embaas embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15091](https://togithub.com/langchain-ai/langchain/pull/15091) - Refactor: use SecretStr for llm_rails embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15090](https://togithub.com/langchain-ai/langchain/pull/15090) - Update regex in output parser by [@​sharrajesh](https://togithub.com/sharrajesh) in [https://github.com/langchain-ai/langchain/pull/15082](https://togithub.com/langchain-ai/langchain/pull/15082) - Added more filtering options to pgvector vectorstore by [@​savoiepe](https://togithub.com/savoiepe) in [https://github.com/langchain-ai/langchain/pull/14852](https://togithub.com/langchain-ai/langchain/pull/14852) - Restore self message sent before OSX 12 Monterey by [@​idvorkin](https://togithub.com/idvorkin) in [https://github.com/langchain-ai/langchain/pull/14818](https://togithub.com/langchain-ai/langchain/pull/14818) - docs `microsoft` pages sort order fix by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/14771](https://togithub.com/langchain-ai/langchain/pull/14771) - Add AstraDB document loader by [@​cbornet](https://togithub.com/cbornet) in [https://github.com/langchain-ai/langchain/pull/14747](https://togithub.com/langchain-ai/langchain/pull/14747) - Added: docs Headers to Steam Tool notebook steps by [@​muntaqamahmood](https://togithub.com/muntaqamahmood) in [https://github.com/langchain-ai/langchain/pull/14749](https://togithub.com/langchain-ai/langchain/pull/14749) - python-lint by [@​joshuasundance-swca](https://togithub.com/joshuasundance-swca) in [https://github.com/langchain-ai/langchain/pull/14689](https://togithub.com/langchain-ai/langchain/pull/14689) - Update \_retrieve_ref inside json_schema.py to include an isdigit() check by [@​pareshchiramel](https://togithub.com/pareshchiramel) in [https://github.com/langchain-ai/langchain/pull/14745](https://togithub.com/langchain-ai/langchain/pull/14745) - fix: syntax error in function docs by [@​Undertone0809](https://togithub.com/Undertone0809) in [https://github.com/langchain-ai/langchain/pull/14641](https://togithub.com/langchain-ai/langchain/pull/14641) - Enhancement on feature/yaml output parser by [@​TomTom101](https://togithub.com/TomTom101) in [https://github.com/langchain-ai/langchain/pull/14674](https://togithub.com/langchain-ai/langchain/pull/14674) - Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data by [@​xu-xiang](https://togithub.com/xu-xiang) in [https://github.com/langchain-ai/langchain/pull/14662](https://togithub.com/langchain-ai/langchain/pull/14662) - Fix for openai multi tools input format. by [@​themrzmaster](https://togithub.com/themrzmaster) in [https://github.com/langchain-ai/langchain/pull/14653](https://togithub.com/langchain-ai/langchain/pull/14653) - add api_base to \_client_params (community version of [#​14393](https://togithub.com/langchain-ai/langchain/issues/14393)) by [@​DavidLMS](https://togithub.com/DavidLMS) in [https://github.com/langchain-ai/langchain/pull/14644](https://togithub.com/langchain-ai/langchain/pull/14644) - GITLAB_URL should take default https://gitlab.com instead of error by [@​manjunathshiva](https://togithub.com/manjunathshiva) in [https://github.com/langchain-ai/langchain/pull/14638](https://togithub.com/langchain-ai/langchain/pull/14638) - WatsonxLLM updates/enhancements by [@​MateuszOssGit](https://togithub.com/MateuszOssGit) in [https://github.com/langchain-ai/langchain/pull/14598](https://togithub.com/langchain-ai/langchain/pull/14598) - Langchain_community: Small Fix when loading facebook messages by [@​keenborder786](https://togithub.com/keenborder786) in [https://github.com/langchain-ai/langchain/pull/15358](https://togithub.com/langchain-ai/langchain/pull/15358) - Update `gpt4all.mdx` doc by [@​169](https://togithub.com/169) in [https://github.com/langchain-ai/langchain/pull/15392](https://togithub.com/langchain-ai/langchain/pull/15392) - infra: remove path filter on check_diffs by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/15418](https://togithub.com/langchain-ai/langchain/pull/15418) - Calculate trace_id and dotted_order client side by [@​agola11](https://togithub.com/agola11) in [https://github.com/langchain-ai/langchain/pull/15351](https://togithub.com/langchain-ai/langchain/pull/15351) - docs: fix agents index links by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15419](https://togithub.com/langchain-ai/langchain/pull/15419) - docs: fix modelio index links by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15421](https://togithub.com/langchain-ai/langchain/pull/15421) - langchain\[patch], experimental\[patch]: replace langchain.schema imports by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15410](https://togithub.com/langchain-ai/langchain/pull/15410) - Fetch runnable config from context var inside runnable lambda and runnable generator by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15334](https://togithub.com/langchain-ai/langchain/pull/15334) - docs, community\[patch], experimental\[patch], langchain\[patch], cli\[pa… by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15412](https://togithub.com/langchain-ai/langchain/pull/15412) - Use tz-aware utc datetimes in tracer by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15187](https://togithub.com/langchain-ai/langchain/pull/15187) - add get prompts method by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15425](https://togithub.com/langchain-ai/langchain/pull/15425) - docs, experimenta\[patch], langchain\[patch], community\[patch]: update storage imports by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15429](https://togithub.com/langchain-ai/langchain/pull/15429) - refactor `utils` by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/15432](https://togithub.com/langchain-ai/langchain/pull/15432) - docs `Microsoft` platform page update by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/15420](https://togithub.com/langchain-ai/langchain/pull/15420) - added fix for key error: doc_id by [@​suhas-kotaki](https://togithub.com/suhas-kotaki) in [https://github.com/langchain-ai/langchain/pull/15428](https://togithub.com/langchain-ai/langchain/pull/15428) - core:adds tests for partial_variables by [@​dkajtoch](https://togithub.com/dkajtoch) in [https://github.com/langchain-ai/langchain/pull/15427](https://togithub.com/langchain-ai/langchain/pull/15427) - Remove unused `_get_python_repl` by [@​169](https://togithub.com/169) in [https://github.com/langchain-ai/langchain/pull/15389](https://togithub.com/langchain-ai/langchain/pull/15389) - langchain\[patch], experimental\[patch], docs: update tools imports by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15433](https://togithub.com/langchain-ai/langchain/pull/15433) - Fix: fix Bing Search empty result exception, fix [#​15384](https://togithub.com/langchain-ai/langchain/issues/15384) by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15387](https://togithub.com/langchain-ai/langchain/pull/15387) - SQLDatabase drop the column names in the result. by [@​dudub12](https://togithub.com/dudub12) in [https://github.com/langchain-ai/langchain/pull/15361](https://togithub.com/langchain-ai/langchain/pull/15361) - Fixed minor type in self_query.ipynb by [@​aqibamir](https://togithub.com/aqibamir) in [https://github.com/langchain-ai/langchain/pull/15196](https://togithub.com/langchain-ai/langchain/pull/15196) - community: Semanticscholar tool to search 200M+ scientific articles by [@​shauryr](https://togithub.com/shauryr) in [https://github.com/langchain-ai/langchain/pull/15151](https://togithub.com/langchain-ai/langchain/pull/15151) - Refactor: use SecretStr for tongyi chat-model by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15102](https://togithub.com/langchain-ai/langchain/pull/15102) - Use args option in jaguar so it takes more options in similarity search by [@​fserv](https://togithub.com/fserv) in [https://github.com/langchain-ai/langchain/pull/15080](https://togithub.com/langchain-ai/langchain/pull/15080) - feat: add Google BigQueryVectorSearch in vectorstore by [@​ashleyxuu](https://togithub.com/ashleyxuu) in [https://github.com/langchain-ai/langchain/pull/14829](https://togithub.com/langchain-ai/langchain/pull/14829) - langchain\[patch], docs: update agent toolkit imports by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15434](https://togithub.com/langchain-ai/langchain/pull/15434) - docs: together ai updates by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/15435](https://togithub.com/langchain-ai/langchain/pull/15435) - Milvus allows to store metadata as json field by [@​mokeyish](https://togithub.com/mokeyish) in [https://github.com/langchain-ai/langchain/pull/14636](https://togithub.com/langchain-ai/langchain/pull/14636) - Fix failing serpapi response processing for Google Maps API by [@​LoopKarma](https://togithub.com/LoopKarma) in [https://github.com/langchain-ai/langchain/pull/14817](https://togithub.com/langchain-ai/langchain/pull/14817) - Add the collection_description parameter to Milvus by [@​mokeyish](https://togithub.com/mokeyish) in [https://github.com/langchain-ai/langchain/pull/14524](https://togithub.com/langchain-ai/langchain/pull/14524) - core: update json output parser by [@​apisani1](https://togithub.com/apisani1) in [https://github.com/langchain-ai/langchain/pull/15079](https://togithub.com/langchain-ai/langchain/pull/15079) - Support `score_threshold` in SupabaseVectorStore similarity search by [@​codehound42](https://togithub.com/codehound42) in [https://github.com/langchain-ai/langchain/pull/14439](https://togithub.com/langchain-ai/langchain/pull/14439) - Improvement: Allow passing parameters to the underlying es_client. Closes: [#​14403](https://togithub.com/langchain-ai/langchain/issues/14403) by [@​169](https://togithub.com/169) in [https://github.com/langchain-ai/langchain/pull/14435](https://togithub.com/langchain-ai/langchain/pull/14435) - adding vectorstore_kwarg attribute to search_similarity function by [@​amaleki2](https://togithub.com/amaleki2) in [https://github.com/langchain-ai/langchain/pull/14604](https://togithub.com/langchain-ai/langchain/pull/14604) - Fix Bedrock broad error catching by [@​JuR-0](https://togithub.com/JuR-0) in [https://github.com/langchain-ai/langchain/pull/14398](https://togithub.com/langchain-ai/langchain/pull/14398) - update LanguageModelInput from List to Sequence by [@​alan910127](https://togithub.com/alan910127) in [https://github.com/langchain-ai/langchain/pull/14405](https://togithub.com/langchain-ai/langchain/pull/14405) - refactor: Qdrant async improvements by [@​Anush008](https://togithub.com/Anush008) in [https://github.com/langchain-ai/langchain/pull/14492](https://togithub.com/langchain-ai/langchain/pull/14492) - \[Improvement] Evals: Add git info by [@​hinthornw](https://togithub.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/15446](https://togithub.com/langchain-ai/langchain/pull/15446) - fixed a dependency duplicate by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/15444](https://togithub.com/langchain-ai/langchain/pull/15444) - cleanup getting started by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15450](https://togithub.com/langchain-ai/langchain/pull/15450) - feat: new integration `wasm_chat` by [@​apepkuss](https://togithub.com/apepkuss) in [https://github.com/langchain-ai/langchain/pull/14787](https://togithub.com/langchain-ai/langchain/pull/14787) - Add option to preserve headers in MarkdownHeaderTextSplitter by [@​finnless](https://togithub.com/finnless) in [https://github.com/langchain-ai/langchain/pull/14433](https://togithub.com/langchain-ai/langchain/pull/14433) - Fix `llms.Mlflow` example by [@​harupy](https://togithub.com/harupy) in [https://github.com/langchain-ai/langchain/pull/14386](https://togithub.com/langchain-ai/langchain/pull/14386) - Patch: improve type hint by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15451](https://togithub.com/langchain-ai/langchain/pull/15451) - Remove unused `Params` by [@​harupy](https://togithub.com/harupy) in [https://github.com/langchain-ai/langchain/pull/14385](https://togithub.com/langchain-ai/langchain/pull/14385) - langchain\[patch], experimental\[patch]: update utilities imports by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15438](https://togithub.com/langchain-ai/langchain/pull/15438) - core\[patch]: Release 0.1.5 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15480](https://togithub.com/langchain-ai/langchain/pull/15480) - infra: add minimum deps pre release check by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15485](https://togithub.com/langchain-ai/langchain/pull/15485) - community\[patch]: Release 0.0.8 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15481](https://togithub.com/langchain-ai/langchain/pull/15481) - infra: fix min deps test by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15486](https://togithub.com/langchain-ai/langchain/pull/15486) - community\[patch]: bump core version >=0.1.5,<0.2 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15488](https://togithub.com/langchain-ai/langchain/pull/15488) - infra: update community test min reqs by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15490](https://togithub.com/langchain-ai/langchain/pull/15490) - langchain\[patch]: Release 0.0.354 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15482](https://togithub.com/langchain-ai/langchain/pull/15482) - langchain\[patch]: bump community >=0.0.8,<0.1 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15492](https://togithub.com/langchain-ai/langchain/pull/15492) #### New Contributors - [@​Tchotchke](https://togithub.com/Tchotchke) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15324](https://togithub.com/langchain-ai/langchain/pull/15324) - [@​romainfd](https://togithub.com/romainfd) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15321](https://togithub.com/langchain-ai/langchain/pull/15321) - [@​liushuaikobe](https://togithub.com/liushuaikobe) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14793](https://togithub.com/langchain-ai/langchain/pull/14793) - [@​kellyelton](https://togithub.com/kellyelton) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15275](https://togithub.com/langchain-ai/langchain/pull/15275) - [@​piyuple](https://togithub.com/piyuple) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15309](https://togithub.com/langchain-ai/langchain/pull/15309) - [@​jonnolen](https://togithub.com/jonnolen) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15327](https://togithub.com/langchain-ai/langchain/pull/15327) - [@​naveentnj](https://togithub.com/naveentnj) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15378](https://togithub.com/langchain-ai/langchain/pull/15378) - [@​yhzhu99](https://togithub.com/yhzhu99) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15380](https://togithub.com/langchain-ai/langchain/pull/15380) - [@​donovanmuller](https://togithub.com/donovanmuller) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15364](https://togithub.com/langchain-ai/langchain/pull/15364) - [@​AhmedHathout](https://togithub.com/AhmedHathout) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15352](https://togithub.com/langchain-ai/langchain/pull/15352) - [@​abhishek9909](https://togithub.com/abhishek9909) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15260](https://togithub.com/langchain-ai/langchain/pull/15260) - [@​joel-teratis](https://togithub.com/joel-teratis) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14919](https://togithub.com/langchain-ai/langchain/pull/14919) - [@​purificant](https://togithub.com/purificant) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15114](https://togithub.com/langchain-ai/langchain/pull/15114) - [@​cjaniake](https://togithub.com/cjaniake) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15111](https://togithub.com/langchain-ai/langchain/pull/15111) - [@​David-Kristek](https://togithub.com/David-Kristek) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15104](https://togithub.com/langchain-ai/langchain/pull/15104) - [@​GauravWaghmare](https://togithub.com/GauravWaghmare) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15124](https://togithub.com/langchain-ai/langchain/pull/15124) - [@​sharrajesh](https://togithub.com/sharrajesh) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15082](https://togithub.com/langchain-ai/langchain/pull/15082) - [@​savoiepe](https://togithub.com/savoiepe) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14852](https://togithub.com/langchain-ai/langchain/pull/14852) - [@​pareshchiramel](https://togithub.com/pareshchiramel) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14745](https://togithub.com/langchain-ai/langchain/pull/14745) - [@​xu-xiang](https://togithub.com/xu-xiang) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14662](https://togithub.com/langchain-ai/langchain/pull/14662) - [@​themrzmaster](https://togithub.com/themrzmaster) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14653](https://togithub.com/langchain-ai/langchain/pull/14653) - [@​DavidLMS](https://togithub.com/DavidLMS) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14644](https://togithub.com/langchain-ai/langchain/pull/14644) - [@​manjunathshiva](https://togithub.com/manjunathshiva) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14638](https://togithub.com/langchain-ai/langchain/pull/14638) - [@​suhas-kotaki](https://togithub.com/suhas-kotaki) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15428](https://togithub.com/langchain-ai/langchain/pull/15428) - [@​dkajtoch](https://togithub.com/dkajtoch) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15427](https://togithub.com/langchain-ai/langchain/pull/15427) - [@​aqibamir](https://togithub.com/aqibamir) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15196](https://togithub.com/langchain-ai/langchain/pull/15196) - [@​ashleyxuu](https://togithub.com/ashleyxuu) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14829](https://togithub.com/langchain-ai/langchain/pull/14829) - [@​mokeyish](https://togithub.com/mokeyish) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14636](https://togithub.com/langchain-ai/langchain/pull/14636) - [@​LoopKarma](https://togithub.com/LoopKarma) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14817](https://togithub.com/langchain-ai/langchain/pull/14817) - [@​apisani1](https://togithub.com/apisani1) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15079](https://togithub.com/langchain-ai/langchain/pull/15079) - [@​codehound42](https://togithub.com/codehound42) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14439](https://togithub.com/langchain-ai/langchain/pull/14439) - [@​amaleki2](https://togithub.com/amaleki2) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14604](https://togithub.com/langchain-ai/langchain/pull/14604) - [@​JuR-0](https://togithub.com/JuR-0) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14398](https://togithub.com/langchain-ai/langchain/pull/14398) - [@​alan910127](https://togithub.com/alan910127) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14405](https://togithub.com/langchain-ai/langchain/pull/14405) - [@​apepkuss](https://togithub.com/apepkuss) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14787](https://togithub.com/langchain-ai/langchain/pull/14787) **Full Changelog**: https://github.com/langchain-ai/langchain/compare/v0.0.353...v0.0.354 ### [`v0.0.353`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.0.353) [Compare Source](https://togithub.com/langchain-ai/langchain/compare/v0.0.352...v0.0.353) #### What's Changed - community\[patch]: Add param "task" to Databricks LLM to work around serialization of transform_output_fn by [@​liangz1](https://togithub.com/liangz1) in [https://github.com/langchain-ai/langchain/pull/14933](https://togithub.com/langchain-ai/langchain/pull/14933) - docs: links by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/14940](https://togithub.com/langchain-ai/langchain/pull/14940) - Vectara summarization by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/14970](https://togithub.com/langchain-ai/langchain/pull/14970) - Feature/Add LLMs Integration For Oracle Cloud Infrastructure(OCI) Data Science Model Deployment Endpoint by [@​mingkang111](https://togithub.com/mingkang111) in [https://github.com/langchain-ai/langchain/pull/14250](https://togithub.com/langchain-ai/langchain/pull/14250) - infra: pr template update by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/14963](https://togithub.com/langchain-ai/langchain/pull/14963) - docs `alibaba cloud` by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/14772](https://togithub.com/langchain-ai/langchain/pull/14772) - core(minor): Implement stream and astream for RunnableBranch by [@​qtangs](https://togithub.com/qtangs) in [https://github.com/langchain-ai/langchain/pull/14805](https://togithub.com/langchain-ai/langchain/pull/14805) - core\[patch]: update langchain-core runtime library name by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/14884](https://togithub.com/langchain-ai/langchain/pull/14884) - Add Ollama multi-modal templates by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14868](https://togithub.com/langchain-ai/langchain/pull/14868) - community\[patch]: Fix typo in class Docstring ([#​14982](https://togithub.com/langchain-ai/langchain/issues/14982)) by [@​yacine555](https://togithub.com/yacine555) in [https://github.com/langchain-ai/langchain/pull/14982](https://togithub.com/langchain-ai/langchain/pull/14982) - community\[patch]: support momento vector index filter expressions by [@​malandis](https://togithub.com/malandis) in [https://github.com/langchain-ai/langchain/pull/14978](https://togithub.com/langchain-ai/langchain/pull/14978) - community\[patch]: JaguarHttpClient conditional import by [@​fserv](https://togithub.com/fserv) in [https://github.com/langchain-ai/langchain/pull/14985](https://togithub.com/langchain-ai/langchain/pull/14985) - Update multi-modal template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14991](https://togithub.com/langchain-ai/langchain/pull/14991) - Update multi-modal multi-vector template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14992](https://togithub.com/langchain-ai/langchain/pull/14992) - Update Gemini template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14993](https://togithub.com/langchain-ai/langchain/pull/14993) - Update Ollama multi-modal template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14994](https://togithub.com/langchain-ai/langchain/pull/14994) - Update Ollama multi-modal multi-vector template README.md by [@​rlancemartin](https://togithub.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/14995](https://togithub.com/langchain-ai/langchain/pull/14995) - TEMPLATES: Update README.md by [@​eltociear](https://togithub.com/eltociear) in [https://github.com/langchain-ai/langchain/pull/15013](https://togithub.com/langchain-ai/langchain/pull/15013) - community: fix for surrealdb client 0.3.2 update + store and retrieve metadata by [@​lalanikarim](https://togithub.com/lalanikarim) in [https://github.com/langchain-ai/langchain/pull/14997](https://togithub.com/langchain-ai/langchain/pull/14997) - fixed wrong link in documentation by [@​Yanni8](https://togithub.com/Yanni8) in [https://github.com/langchain-ai/langchain/pull/14999](https://togithub.com/langchain-ai/langchain/pull/14999) - changed default for VertexAIEmbeddings by [@​lkuligin](https://togithub.com/lkuligin) in [https://github.com/langchain-ai/langchain/pull/14614](https://togithub.com/langchain-ai/langchain/pull/14614) - Jacob/add hf chat wrapper by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchain/pull/14736](https://togithub.com/langchain-ai/langchain/pull/14736) - infra: api docs build order by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/15018](https://togithub.com/langchain-ai/langchain/pull/15018) - Implement streaming for xml output parser by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/14984](https://togithub.com/langchain-ai/langchain/pull/14984) - Implement streaming for all list output parsers by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/14981](https://togithub.com/langchain-ai/langchain/pull/14981) - core\[patch]: Release 0.1.3 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15022](https://togithub.com/langchain-ai/langchain/pull/15022) - community\[patch]: Release 0.0.6 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15023](https://togithub.com/langchain-ai/langchain/pull/15023) - Add option to make messages placeholder optional by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15031](https://togithub.com/langchain-ai/langchain/pull/15031) - Move json and xml parsers to core by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15026](https://togithub.com/langchain-ai/langchain/pull/15026) - infra: Fix test filesystem paths incompatible with windows by [@​rancomp](https://togithub.com/rancomp) in [https://github.com/langchain-ai/langchain/pull/14388](https://togithub.com/langchain-ai/langchain/pull/14388) - Azure DocumentIntelligenceLoader/Parser support update with latest SDK by [@​zifeiq](https://togithub.com/zifeiq) in [https://github.com/langchain-ai/langchain/pull/14389](https://togithub.com/langchain-ai/langchain/pull/14389) - Community: Fix generation_config not setting properly for DeepSparse by [@​mgoin](https://togithub.com/mgoin) in [https://github.com/langchain-ai/langchain/pull/15036](https://togithub.com/langchain-ai/langchain/pull/15036) - langchain(patch): Restrict paths in LocalFileStore cache by [@​eyurtsev](https://togithub.com/eyurtsev) in [https://github.com/langchain-ai/langchain/pull/15065](https://togithub.com/langchain-ai/langchain/pull/15065) - Add Runnable.get_graph() to get a graph representation of a Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15040](https://togithub.com/langchain-ai/langchain/pull/15040) - book reference by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/15072](https://togithub.com/langchain-ai/langchain/pull/15072) - Refactor: use SecretStr for jina embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15068](https://togithub.com/langchain-ai/langchain/pull/15068) - Refactor: use SecretStr for minimax embeddings by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15067](https://togithub.com/langchain-ai/langchain/pull/15067) - add defaults for tavily by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15075](https://togithub.com/langchain-ai/langchain/pull/15075) - Fix: fix partners name typo in tests by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15066](https://togithub.com/langchain-ai/langchain/pull/15066) - fix: correct spelling mistakes of "seperate, intialise, pre-defined" by [@​rancomp](https://togithub.com/rancomp) in [https://github.com/langchain-ai/langchain/pull/14647](https://togithub.com/langchain-ai/langchain/pull/14647) - Improve: remove extra spaces in get_from_env error by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15064](https://togithub.com/langchain-ai/langchain/pull/15064) - corrected outdated link by [@​gsajko](https://togithub.com/gsajko) in [https://github.com/langchain-ai/langchain/pull/15053](https://togithub.com/langchain-ai/langchain/pull/15053) - Community: Adds ability to pass a Config to the boto3 client used by Bedrock by [@​blanehoneycutt-addepar](https://togithub.com/blanehoneycutt-addepar) in [https://github.com/langchain-ai/langchain/pull/15029](https://togithub.com/langchain-ai/langchain/pull/15029) - community: refactor Baseten integration with new API endpoints & docs by [@​philipkiely-baseten](https://togithub.com/philipkiely-baseten) in [https://github.com/langchain-ai/langchain/pull/15017](https://togithub.com/langchain-ai/langchain/pull/15017) - Update youtube_transcript.ipynb by [@​sidsarasvati](https://togithub.com/sidsarasvati) in [https://github.com/langchain-ai/langchain/pull/15015](https://togithub.com/langchain-ai/langchain/pull/15015) - docs/docs/get_started: fixing typos in quickstart.mdx by [@​SatinWukerORIG](https://togithub.com/SatinWukerORIG) in [https://github.com/langchain-ai/langchain/pull/15025](https://togithub.com/langchain-ai/langchain/pull/15025) - community: add args_schema to GmailSendMessage by [@​ccurme](https://togithub.com/ccurme) in [https://github.com/langchain-ai/langchain/pull/14973](https://togithub.com/langchain-ai/langchain/pull/14973) - core(minor): Allow explicit types for ChatMessageHistory adds by [@​Sypherd](https://togithub.com/Sypherd) in [https://github.com/langchain-ai/langchain/pull/14967](https://togithub.com/langchain-ai/langchain/pull/14967) - Update arxiv.py with get_summaries_as_docs inside of Arxivloader by [@​ArchanGhosh](https://togithub.com/ArchanGhosh) in [https://github.com/langchain-ai/langchain/pull/14953](https://togithub.com/langchain-ai/langchain/pull/14953) - Add support Vertex AI Gemini uses a public image URL by [@​itok01](https://togithub.com/itok01) in [https://github.com/langchain-ai/langchain/pull/14949](https://togithub.com/langchain-ai/langchain/pull/14949) - Don't reassign chunk_type by [@​coreyb42](https://togithub.com/coreyb42) in [https://github.com/langchain-ai/langchain/pull/14923](https://togithub.com/langchain-ai/langchain/pull/14923) - \[community]: Elasticsearch chat history encoding by [@​istrebitel-1](https://togithub.com/istrebitel-1) in [https://github.com/langchain-ai/langchain/pull/15055](https://togithub.com/langchain-ai/langchain/pull/15055) - Nc/dec22/runnable graph lambda by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15078](https://togithub.com/langchain-ai/langchain/pull/15078) - Improve graph repr for runnable passthrough and itemgetter by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15083](https://togithub.com/langchain-ai/langchain/pull/15083) - add multitenancy by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15176](https://togithub.com/langchain-ai/langchain/pull/15176) - Corrected an grammatical mistake by [@​ShorthillsAI](https://togithub.com/ShorthillsAI) in [https://github.com/langchain-ai/langchain/pull/15163](https://togithub.com/langchain-ai/langchain/pull/15163) - Oxford comma, consistent with format elsewhere by [@​bquast](https://togithub.com/bquast) in [https://github.com/langchain-ai/langchain/pull/15167](https://togithub.com/langchain-ai/langchain/pull/15167) - Patch: improve ollama 404 api error message, fix [#​15147](https://togithub.com/langchain-ai/langchain/issues/15147) by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15156](https://togithub.com/langchain-ai/langchain/pull/15156) - community: correct spelling mistakes of "Suffle" and "reporoducibility" by [@​pzarfos](https://togithub.com/pzarfos) in [https://github.com/langchain-ai/langchain/pull/15172](https://togithub.com/langchain-ai/langchain/pull/15172) - \[core] print ascii by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15179](https://togithub.com/langchain-ai/langchain/pull/15179) - docs: Update dependencies installation cell in steam toolkit by [@​KallieLev](https://togithub.com/KallieLev) in [https://github.com/langchain-ai/langchain/pull/15148](https://togithub.com/langchain-ai/langchain/pull/15148) - community: Async Ollama + ChatOllama by [@​shroominic](https://togithub.com/shroominic) in [https://github.com/langchain-ai/langchain/pull/15169](https://togithub.com/langchain-ai/langchain/pull/15169) - \[core] langauge model like by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15180](https://togithub.com/langchain-ai/langchain/pull/15180) - langchain\[minor]: Add stuff docs runnable by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15178](https://togithub.com/langchain-ai/langchain/pull/15178) - \[core: minor] fix getters by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15181](https://togithub.com/langchain-ai/langchain/pull/15181) - Fix runnable vistitor for funcs without pos args by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15182](https://togithub.com/langchain-ai/langchain/pull/15182) - Implement stream and astream for RunnableLambda by [@​qtangs](https://togithub.com/qtangs) in [https://github.com/langchain-ai/langchain/pull/14794](https://togithub.com/langchain-ai/langchain/pull/14794) - Refactor: use SecretStr for Petals llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15121](https://togithub.com/langchain-ai/langchain/pull/15121) - Refactor: use SecretStr for VolcEngineMaas llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15117](https://togithub.com/langchain-ai/langchain/pull/15117) - Refactor: use SecretStr for StochasticAI llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15118](https://togithub.com/langchain-ai/langchain/pull/15118) - Refactor: use SecretStr for PipelineAI llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15120](https://togithub.com/langchain-ai/langchain/pull/15120) - Refactor: use SecretStr for Predibase llms by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15119](https://togithub.com/langchain-ai/langchain/pull/15119) - docs: updated wrong output in `Upstash Redis Cache` section of LLM Ca… by [@​cyai](https://togithub.com/cyai) in [https://github.com/langchain-ai/langchain/pull/15140](https://togithub.com/langchain-ai/langchain/pull/15140) - Implement RunnablePassthrough.pick() by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15184](https://togithub.com/langchain-ai/langchain/pull/15184) - Better input and output schemas for chains that start or end with a R… by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15185](https://togithub.com/langchain-ai/langchain/pull/15185) - \[core] prompt changes by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15186](https://togithub.com/langchain-ai/langchain/pull/15186) - Add create_conv_retrieval_chain func by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15084](https://togithub.com/langchain-ai/langchain/pull/15084) - Implement nicer runnable seq constructor, Propagate name through Runn… by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15226](https://togithub.com/langchain-ai/langchain/pull/15226) - Add .pick and .assign methods to Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15229](https://togithub.com/langchain-ai/langchain/pull/15229) - Fix: Use `Union` instead of `|` to improve compatibility, fix [#​15244](https://togithub.com/langchain-ai/langchain/issues/15244) by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15245](https://togithub.com/langchain-ai/langchain/pull/15245) - Update passthrough.py by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15252](https://togithub.com/langchain-ai/langchain/pull/15252) - langchain: Fix class name in RetryOutputParser docstring by [@​brendancsmith](https://togithub.com/brendancsmith) in [https://github.com/langchain-ai/langchain/pull/15268](https://togithub.com/langchain-ai/langchain/pull/15268) - community: Make doctran synchronous by [@​169](https://togithub.com/169) in [https://github.com/langchain-ai/langchain/pull/15264](https://togithub.com/langchain-ai/langchain/pull/15264) - Fixed small gramm mistakes by [@​ShorthillsAI](https://togithub.com/ShorthillsAI) in [https://github.com/langchain-ai/langchain/pull/15246](https://togithub.com/langchain-ai/langchain/pull/15246) - Fix typo by [@​samuelpath](https://togithub.com/samuelpath) in [https://github.com/langchain-ai/langchain/pull/15202](https://togithub.com/langchain-ai/langchain/pull/15202) - langchain: Fix for issue [#​14631](https://togithub.com/langchain-ai/langchain/issues/14631) - .devcontainer doesnt build by [@​gitchrisqueen](https://togithub.com/gitchrisqueen) in [https://github.com/langchain-ai/langchain/pull/15251](https://togithub.com/langchain-ai/langchain/pull/15251) - community: Enhance Github error prompt by [@​triThirty](https://togithub.com/triThirty) in [https://github.com/langchain-ai/langchain/pull/15248](https://togithub.com/langchain-ai/langchain/pull/15248) - community: fix typo in async ollama chat by [@​shroominic](https://togithub.com/shroominic) in [https://github.com/langchain-ai/langchain/pull/15276](https://togithub.com/langchain-ai/langchain/pull/15276) - \[core, langchain] modelio code improvements by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15277](https://togithub.com/langchain-ai/langchain/pull/15277) - \[langchain] agents code changes by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15278](https://togithub.com/langchain-ai/langchain/pull/15278) - remove chat-history by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/15286](https://togithub.com/langchain-ai/langchain/pull/15286) - Make all json parsing less strict by default by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15287](https://togithub.com/langchain-ai/langchain/pull/15287) - core, community: propagate context between threads by [@​joshy-deshaw](https://togithub.com/joshy-deshaw) in [https://github.com/langchain-ai/langchain/pull/15171](https://togithub.com/langchain-ai/langchain/pull/15171) - Patch: improve openai functions call parser compatibility by [@​chyroc](https://togithub.com/chyroc) in [https://github.com/langchain-ai/langchain/pull/15197](https://togithub.com/langchain-ai/langchain/pull/15197) - refactor: enable connection pool usage in PGVector by [@​dmazine](https://togithub.com/dmazine) in [https://github.com/langchain-ai/langchain/pull/11514](https://togithub.com/langchain-ai/langchain/pull/11514) - Strip code block fences and extra test from xml when doing streaming … by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/15293](https://togithub.com/langchain-ai/langchain/pull/15293) - core\[patch]: Release 0.1.4 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15319](https://togithub.com/langchain-ai/langchain/pull/15319) - docs: add use cases index by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15279](https://togithub.com/langchain-ai/langchain/pull/15279) - langchain\[patch]: Release 0.0.353 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/15322](https://togithub.com/langchain-ai/langchain/pull/15322) #### New Contributors - [@​mingkang111](https://togithub.com/mingkang111) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14250](https://togithub.com/langchain-ai/langchain/pull/14250) - [@​qtangs](https://togithub.com/qtangs) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14805](https://togithub.com/langchain-ai/langchain/pull/14805) - [@​Yanni8](https://togithub.com/Yanni8) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14999](https://togithub.com/langchain-ai/langchain/pull/14999) - [@​zifeiq](https://togithub.com/zifeiq) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14389](https://togithub.com/langchain-ai/langchain/pull/14389) - [@​gsajko](https://togithub.com/gsajko) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15053](https://togithub.com/langchain-ai/langchain/pull/15053) - [@​blanehoneycutt-addepar](https://togithub.com/blanehoneycutt-addepar) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15029](https://togithub.com/langchain-ai/langchain/pull/15029) - [@​sidsarasvati](https://togithub.com/sidsarasvati) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15015](https://togithub.com/langchain-ai/langchain/pull/15015) - [@​SatinWukerORIG](https://togithub.com/SatinWukerORIG) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15025](https://togithub.com/langchain-ai/langchain/pull/15025) - [@​ccurme](https://togithub.com/ccurme) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14973](https://togithub.com/langchain-ai/langchain/pull/14973) - [@​itok01](https://togithub.com/itok01) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14949](https://togithub.com/langchain-ai/langchain/pull/14949) - [@​coreyb42](https://togithub.com/coreyb42) made their first contribution in [https://github.com/langchain-ai/langchain/pull/14923](https://togithub.com/langchain-ai/langchain/pull/14923) - [@​istrebitel-1](https://togithub.com/istrebitel-1) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15055](https://togithub.com/langchain-ai/langchain/pull/15055) - [@​bquast](https://togithub.com/bquast) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15167](https://togithub.com/langchain-ai/langchain/pull/15167) - [@​pzarfos](https://togithub.com/pzarfos) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15172](https://togithub.com/langchain-ai/langchain/pull/15172) - [@​KallieLev](https://togithub.com/KallieLev) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15148](https://togithub.com/langchain-ai/langchain/pull/15148) - [@​shroominic](https://togithub.com/shroominic) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15169](https://togithub.com/langchain-ai/langchain/pull/15169) - [@​cyai](https://togithub.com/cyai) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15140](https://togithub.com/langchain-ai/langchain/pull/15140) - [@​brendancsmith](https://togithub.com/brendancsmith) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15268](https://togithub.com/langchain-ai/langchain/pu </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/GoogleCloudPlatform/genai-databases-retrieval-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
Builds on #14040 with community refactor merged and notebook updated.
Note that with this refactor, models will be imported from
langchain_community.chat_models.huggingface
rather than the mainlangchain
repo.CC @baskaryan @andrewrreed