Skip to content
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

feat(llms): support more tasks in HuggingFaceHub LLM and remove deprecated dep #14406

Merged
merged 7 commits into from
Jan 24, 2024

Conversation

mspronesti
Copy link
Contributor

@mspronesti mspronesti commented Dec 7, 2023

  • Description: this PR upgrades the HuggingFaceHub LLM:
    • support more tasks (translation and conversational)
    • replaced the deprecated InferenceApi with InferenceClient
    • adjusted the overall logic to use the "recommended" model for each task when no model is provided, and vice-versa.
  • Tag mainter(s): @baskaryan @hwchase17

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 7, 2023
Copy link

vercel bot commented Dec 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jan 19, 2024 10:35am

@dosubot dosubot bot added Ɑ: models Related to LLMs or chat model modules 🤖:improvement Medium size change to existing code to handle new use-cases labels Dec 7, 2023
@mspronesti
Copy link
Contributor Author

@hwchase17 @baskaryan @efriis Could you please review this? I can drop these changes if they don't look good to you, but I suppose the upgrade to the newest version of hf hub API is needed (part of this PR)😄

@mspronesti
Copy link
Contributor Author

@baskaryan @hwchase17 any chance this gets reviewed?

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mspronesti 👋 Here's @Wauplin, maintainer of the huggingface_hub library. I came across this PR and wanted to provide some high-level feedback on it. I'm not an expert in langchain but this solution looks definitely good. It's nice to upgrade to InferenceClient which should be much more robust and versatile (can work with a self-deployed TGI server for instance).

I spotted one part that could be improved to handle better the inputs and outputs. Otherwise, looks good to me. Feel free to ping me if you need any further assistance.

Comment on lines +132 to +135
response = self.client.post(
json={"inputs": prompt, "params": params}, task=self.task
)
response = json.loads(response.decode())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I would use the task-specific methods instead of client.post directly. For the record, client.post(...) is what's used internally by the client to make the calls. It is perfectly valid to use it but you also have higher-level method -like client.text_generation(...)- that are more appropriate to handle inputs and outputs correctly. See supported tasks and their documentation on this page.

So instead of those two lines, I would suggest something like

if self.task == "text-generation":
    response = client.text_generation(...)
elif self.task == "conversational"
    response = client.conversational(...)
...

Inputs and outputs may vary depending on the selected task. It would also avoid the logic if isinstance(response, list): ... else: ... below that might be error prone.

Copy link
Contributor Author

@mspronesti mspronesti Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Wauplin, thanks for your precious feedback! I had a look at the InferenceClient implementation in hf-hub, but I couldn't find any method handling 'text2text-generation'. This task is still supported by post though.

Does this porting to the newer higher-level API look good to you?

        if self.task == "text-generation":
            response = self.client.text_generation(prompt, **params)
        elif self.task == "conversational":
            response = self.client.conversational(prompt, **params)["generated_text"]
        elif self.task == "translation":
            response = self.client.translation(prompt, **params)
        elif self.task == "summarization":
            response = self.client.summarization(prompt, parameters=params)
        else:
            raise ValueError(f"Invalid task {self.task}")

Copy link
Contributor

@Wauplin Wauplin Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me yes! It should be more robust as well. Thanks for making the change :)

About text2text-generation, we are trying to deprecate it in favor of text-generation (for harmonization) cc @osanseviero. I think that using self.client.text_generation should be fine but would be best to test it first. According to the docs, the API should be the same (see here).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API is the same, but the underlying pipelines in transformers are different (one is encoder-decoder while the other is decoder-only), so not sure they would work out of the box.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hwchase17 @baskaryan Any thoughts/suggestions on this?

@mspronesti
Copy link
Contributor Author

mspronesti commented Jan 17, 2024

@hwchase17 Could you please review these changes? If the newest tasks are not needed, I can drop them. I believe that the upgrade to hf API introduced by this PR would be needed though.

Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Jan 22, 2024
@hwchase17
Copy link
Contributor

@mspronesti just so i understand before merging in, the only hesitation from the HF team comes from whether to use post or the SDK methods? and all other things look good?

for post vs SDK, the issue is one task isnt supported on the SDK methods? If that's correct, I don't have too strong of a feeling either way

just wanted to make sure i fully understand before merging in!

@hwchase17 hwchase17 self-assigned this Jan 22, 2024
@mspronesti
Copy link
Contributor Author

mspronesti commented Jan 22, 2024

@hwchase17 I believe that's correct. To keep full backward compatibility with the previously supported tasks, I'd keep the current version (with post). The SDK methods call internally post, thus I believe there's no big difference (except they are less error-prone from the perspective of the programmer). Any of the two alternatives works for me though, so please pick one and I will update the PR accordingly if needed!

@Wauplin
Copy link
Contributor

Wauplin commented Jan 22, 2024

To keep full backward compatibility with the previously supported tasks, I'd keep the current version (with post). The SDK methods call internally post, thus I believe there's no big difference.

Agree with you here! Keeping the PR as it is now is good :)

except they are less error-prone from the perspective of the programmer

Yes, that's the main point of using the other methods based on .post so no big deal not using them here.

@mspronesti
Copy link
Contributor Author

Thank you for confirming @Wauplin! @hwchase17 I suppose this is ready for merge then, unless you have additional observations/suggestions :)

@hwchase17 hwchase17 merged commit e529939 into langchain-ai:master Jan 24, 2024
58 checks passed
@hwchase17
Copy link
Contributor

merged! thank you @mspronesti @Wauplin , and sorry for the delay!

adamnolte referenced this pull request in autoblocksai/autoblocks-examples Feb 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.5` ->
`20.11.16`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.5/20.11.16)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.5/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.5/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`18.2.48` ->
`18.2.55`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.48/18.2.55)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.55?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.55?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.48/18.2.55?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.48/18.2.55?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom))
| [`18.2.18` ->
`18.2.19`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.18/18.2.19)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.18/18.2.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.18/18.2.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid))
| [`9.0.7` ->
`9.0.8`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.7/9.0.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fuuid/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fuuid/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fuuid/9.0.7/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fuuid/9.0.7/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [ai](https://sdk.vercel.ai/docs)
([source](https://togithub.com/vercel/ai)) | [`2.2.31` ->
`2.2.33`](https://renovatebot.com/diffs/npm/ai/2.2.31/2.2.33) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ai/2.2.33?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai/2.2.33?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai/2.2.31/2.2.33?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai/2.2.31/2.2.33?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
| [ai-jsx](https://ai-jsx.com)
([source](https://togithub.com/fixie-ai/ai-jsx)) | [`^0.28.2` ->
`^0.29.0`](https://renovatebot.com/diffs/npm/ai-jsx/0.28.2/0.29.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ai-jsx/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai-jsx/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai-jsx/0.28.2/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai-jsx/0.28.2/0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| flask ([changelog](https://flask.palletsprojects.com/changes/)) |
`3.0.1` -> `3.0.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/flask/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flask/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flask/3.0.1/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flask/3.0.1/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
| [langchain](https://togithub.com/langchain-ai/langchain) | `0.1.1` ->
`0.1.5` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.1.1/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.1.1/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[langchain](https://togithub.com/langchain-ai/langchainjs/tree/main/langchain/)
([source](https://togithub.com/langchain-ai/langchainjs)) | [`0.1.5` ->
`0.1.16`](https://renovatebot.com/diffs/npm/langchain/0.1.5/0.1.16) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.1.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.1.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.1.5/0.1.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.1.5/0.1.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
| [numexpr](https://togithub.com/pydata/numexpr) | `2.8.8` -> `2.9.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/numexpr/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/numexpr/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/numexpr/2.8.8/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/numexpr/2.8.8/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| [openai](https://togithub.com/openai/openai-python) | `1.9.0` ->
`1.11.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/1.9.0/1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.9.0/1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| [openai](https://togithub.com/openai/openai-node) | [`4.25.0` ->
`4.26.1`](https://renovatebot.com/diffs/npm/openai/4.25.0/4.26.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.25.0/4.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.25.0/4.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| [postcss](https://postcss.org/)
([source](https://togithub.com/postcss/postcss)) | [`8.4.33` ->
`8.4.35`](https://renovatebot.com/diffs/npm/postcss/8.4.33/8.4.35) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/postcss/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/postcss/8.4.33/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.4.33/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
| [postcss](https://postcss.org/)
([source](https://togithub.com/postcss/postcss)) | [`8.4.33` ->
`8.4.35`](https://renovatebot.com/diffs/npm/postcss/8.4.33/8.4.35) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/postcss/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/postcss/8.4.33/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.4.33/8.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [pre-commit/action](https://togithub.com/pre-commit/action) | `v3.0.0`
-> `v3.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2faction/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/pre-commit%2faction/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/pre-commit%2faction/v3.0.0/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2faction/v3.0.0/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | patch |
| [pydantic](https://togithub.com/pydantic/pydantic)
([changelog](https://docs.pydantic.dev/latest/changelog/)) | `2.5.3` ->
`2.6.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.5.3/2.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.5.3/2.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| [python-dotenv](https://togithub.com/theskumar/python-dotenv) |
`1.0.0` -> `1.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/python-dotenv/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/python-dotenv/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/python-dotenv/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/python-dotenv/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[slackapi/slack-github-action](https://togithub.com/slackapi/slack-github-action)
| `v1.24.0` -> `v1.25.0` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/slackapi%2fslack-github-action/v1.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/slackapi%2fslack-github-action/v1.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/slackapi%2fslack-github-action/v1.24.0/v1.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/slackapi%2fslack-github-action/v1.24.0/v1.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | minor |

---

### Release Notes

<details>
<summary>vercel/ai (ai)</summary>

### [`v2.2.33`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.33)

[Compare
Source](https://togithub.com/vercel/ai/compare/[email protected]@2.2.33)

##### Patch Changes

- [`8542ae7`](https://togithub.com/vercel/ai/commit/8542ae7):
react/use-assistant: add onError handler
- [`97039ff`](https://togithub.com/vercel/ai/commit/97039ff):
OpenAIStream: Add support for the Azure OpenAI client library

### [`v2.2.32`](https://togithub.com/vercel/ai/releases/tag/ai%402.2.32)

[Compare
Source](https://togithub.com/vercel/ai/compare/[email protected]@2.2.32)

##### Patch Changes

- [`7851fa0`](https://togithub.com/vercel/ai/commit/7851fa0):
StreamData: add `annotations` and `appendMessageAnnotation` support

</details>

<details>
<summary>langchain-ai/langchain (langchain)</summary>

###
[`v0.1.5`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.5)

[Compare
Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.4...v0.1.5)

#### What's Changed

- openai\[patch]: Explicitly support embedding dimensions by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16596](https://togithub.com/langchain-ai/langchain/pull/16596)
- google-vertexai\[patch]: Release 0.0.3 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16597](https://togithub.com/langchain-ai/langchain/pull/16597)
- openai\[patch]: Release 0.0.5 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16598](https://togithub.com/langchain-ai/langchain/pull/16598)
- Fixed tool names snake_case by
[@&#8203;jatinchawda1503](https://togithub.com/jatinchawda1503) in
[https://github.com/langchain-ai/langchain/pull/16397](https://togithub.com/langchain-ai/langchain/pull/16397)
- core\[patch]: Update in code documentation for runnable with message
history by [@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16585](https://togithub.com/langchain-ai/langchain/pull/16585)
- fix: inconsistent results with `RecursiveCharacterTextSplitter`'s
`add_start_index=True` by
[@&#8203;antoniolanza1996](https://togithub.com/antoniolanza1996) in
[https://github.com/langchain-ai/langchain/pull/16583](https://togithub.com/langchain-ai/langchain/pull/16583)
- Langchain-community : EdenAI chat integration. by
[@&#8203;Daggx](https://togithub.com/Daggx) in
[https://github.com/langchain-ai/langchain/pull/16377](https://togithub.com/langchain-ai/langchain/pull/16377)
- core: expand docstring for RunnableParallel by
[@&#8203;ccurme](https://togithub.com/ccurme) in
[https://github.com/langchain-ai/langchain/pull/16600](https://togithub.com/langchain-ai/langchain/pull/16600)
- google-vertexai\[patch]: streaming bug by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16603](https://togithub.com/langchain-ai/langchain/pull/16603)
- community: Add Baichuan Text Embedding Model and Baichuan Inc
introduction by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/16568](https://togithub.com/langchain-ai/langchain/pull/16568)
- Docs: Fix typo in XML agent documentation by
[@&#8203;CallumCM](https://togithub.com/CallumCM) in
[https://github.com/langchain-ai/langchain/pull/16645](https://togithub.com/langchain-ai/langchain/pull/16645)
- community: Added support for Ollama's num_predict option in ChatOllama
by [@&#8203;micahparker](https://togithub.com/micahparker) in
[https://github.com/langchain-ai/langchain/pull/16633](https://togithub.com/langchain-ai/langchain/pull/16633)
- community\[patch]: Update documentation to use 'model_id' rather than
'model_name' to match actual API by
[@&#8203;xiaokuili](https://togithub.com/xiaokuili) in
[https://github.com/langchain-ai/langchain/pull/16615](https://togithub.com/langchain-ai/langchain/pull/16615)
- community: youtube loader transcript format by
[@&#8203;sydneyidler](https://togithub.com/sydneyidler) in
[https://github.com/langchain-ai/langchain/pull/16625](https://togithub.com/langchain-ai/langchain/pull/16625)
- Update openai_tools.ipynb by
[@&#8203;tryumanshow](https://togithub.com/tryumanshow) in
[https://github.com/langchain-ai/langchain/pull/16618](https://togithub.com/langchain-ai/langchain/pull/16618)
- Accept message-like things in Chat models, LLMs and
MessagesPlaceholder by [@&#8203;nfcampos](https://togithub.com/nfcampos)
in
[https://github.com/langchain-ai/langchain/pull/16418](https://togithub.com/langchain-ai/langchain/pull/16418)
- Community: Ionic Tool by
[@&#8203;stewartjarod](https://togithub.com/stewartjarod) in
[https://github.com/langchain-ai/langchain/pull/16649](https://togithub.com/langchain-ai/langchain/pull/16649)
- In stream_event and stream_log handle closed streams by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/16661](https://togithub.com/langchain-ai/langchain/pull/16661)
- \[Fix] Fix Cassandra Document loader default page content mapper by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16273](https://togithub.com/langchain-ai/langchain/pull/16273)
- infra: delete old CI workflows by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16680](https://togithub.com/langchain-ai/langchain/pull/16680)
- \[community] fix anthropic streaming by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/16682](https://togithub.com/langchain-ai/langchain/pull/16682)
- docs: Fix broken link in CONTRIBUTING.md by
[@&#8203;derenrich](https://togithub.com/derenrich) in
[https://github.com/langchain-ai/langchain/pull/16681](https://togithub.com/langchain-ai/langchain/pull/16681)
- WebBaseLoader: Add Cookie Support to Fetch Method by
[@&#8203;Jalmeida1994](https://togithub.com/Jalmeida1994) in
[https://github.com/langchain-ai/langchain/pull/16673](https://togithub.com/langchain-ai/langchain/pull/16673)
- docs `DeepInfra` provider page update by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/16665](https://togithub.com/langchain-ai/langchain/pull/16665)
- community: Ollama - Pass headers to post request in async method by
[@&#8203;zhxu73](https://togithub.com/zhxu73) in
[https://github.com/langchain-ai/langchain/pull/16660](https://togithub.com/langchain-ai/langchain/pull/16660)
- Community: MLflowCallbackHandler -- Move textstat and spacy as
optional dependency by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/16657](https://togithub.com/langchain-ai/langchain/pull/16657)
- community: apply embedding functions during query if defined by
[@&#8203;Rijul1204](https://togithub.com/Rijul1204) in
[https://github.com/langchain-ai/langchain/pull/16646](https://togithub.com/langchain-ai/langchain/pull/16646)
- Error when importing packages from pydantic \[docs] by
[@&#8203;ARKA1112](https://togithub.com/ARKA1112) in
[https://github.com/langchain-ai/langchain/pull/16564](https://togithub.com/langchain-ai/langchain/pull/16564)
- Image prompt template by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/14263](https://togithub.com/langchain-ai/langchain/pull/14263)
- Add async methods to AstraDBLoader by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16652](https://togithub.com/langchain-ai/langchain/pull/16652)
- robocorp: release 0.0.2 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16706](https://togithub.com/langchain-ai/langchain/pull/16706)
- infra: move release workflow back by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16707](https://togithub.com/langchain-ai/langchain/pull/16707)
- docs: remove iprogress warnings by
[@&#8203;Yelinz](https://togithub.com/Yelinz) in
[https://github.com/langchain-ai/langchain/pull/16697](https://togithub.com/langchain-ai/langchain/pull/16697)
- Use Postponed Evaluation of Annotations in Astra and Cassandra doc
loaders by [@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16694](https://togithub.com/langchain-ai/langchain/pull/16694)
- Community: Update Ionic Shopping Docs by
[@&#8203;owensims1](https://togithub.com/owensims1) in
[https://github.com/langchain-ai/langchain/pull/16700](https://togithub.com/langchain-ai/langchain/pull/16700)
- Core: fix Anthropic json issue in streaming by
[@&#8203;tmin97](https://togithub.com/tmin97) in
[https://github.com/langchain-ai/langchain/pull/16670](https://togithub.com/langchain-ai/langchain/pull/16670)
- community: Wikidata tool support by
[@&#8203;derenrich](https://togithub.com/derenrich) in
[https://github.com/langchain-ai/langchain/pull/16691](https://togithub.com/langchain-ai/langchain/pull/16691)
- Update `n_gpu_layers`"s description by
[@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16685](https://togithub.com/langchain-ai/langchain/pull/16685)
- core: expand docstring for RunnableGenerator by
[@&#8203;ccurme](https://togithub.com/ccurme) in
[https://github.com/langchain-ai/langchain/pull/16672](https://togithub.com/langchain-ai/langchain/pull/16672)
- docs: Syntax correction according to langchain version update in
'Retry Parser' tutorial example by
[@&#8203;ash-hun](https://togithub.com/ash-hun) in
[https://github.com/langchain-ai/langchain/pull/16699](https://togithub.com/langchain-ai/langchain/pull/16699)
- community: Fixed schema discrepancy in from_texts function for
weaviate vectorstore by [@&#8203;pashva](https://togithub.com/pashva) in
[https://github.com/langchain-ai/langchain/pull/16693](https://togithub.com/langchain-ai/langchain/pull/16693)
- Update Slack agent toolkit by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16732](https://togithub.com/langchain-ai/langchain/pull/16732)
- langchain: pubmed tool path update in doc by
[@&#8203;j-space-b](https://togithub.com/j-space-b) in
[https://github.com/langchain-ai/langchain/pull/16716](https://togithub.com/langchain-ai/langchain/pull/16716)
- community: Added integrations for ThirdAI's NeuralDB with Retriever
and VectorStore frameworks by
[@&#8203;benitoThree](https://togithub.com/benitoThree) in
[https://github.com/langchain-ai/langchain/pull/15280](https://togithub.com/langchain-ai/langchain/pull/15280)
- langchain-community: fix unicode escaping issue with SlackToolkit by
[@&#8203;taimo3810](https://togithub.com/taimo3810) in
[https://github.com/langchain-ai/langchain/pull/16616](https://togithub.com/langchain-ai/langchain/pull/16616)
- langchain_community: Update documentation for installing
llama-cpp-python on windows by
[@&#8203;blacksmithop](https://togithub.com/blacksmithop) in
[https://github.com/langchain-ai/langchain/pull/16666](https://togithub.com/langchain-ai/langchain/pull/16666)
- fix(experimental): missing resolution strategy in anonymization by
[@&#8203;mspronesti](https://togithub.com/mspronesti) in
[https://github.com/langchain-ai/langchain/pull/16653](https://togithub.com/langchain-ai/langchain/pull/16653)
- Implement TTL for DynamoDBChatMessageHistory by
[@&#8203;brnaba-aws](https://togithub.com/brnaba-aws) in
[https://github.com/langchain-ai/langchain/pull/15478](https://togithub.com/langchain-ai/langchain/pull/15478)
- core\[patch]: Release 0.1.17 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16737](https://togithub.com/langchain-ai/langchain/pull/16737)
- templates: Ionic Shopping Assistant by
[@&#8203;stewartjarod](https://togithub.com/stewartjarod) in
[https://github.com/langchain-ai/langchain/pull/16648](https://togithub.com/langchain-ai/langchain/pull/16648)
- community: Add missing async similarity_distance_threshold handling in
RedisVectorStoreRetriever by
[@&#8203;HugoMichard](https://togithub.com/HugoMichard) in
[https://github.com/langchain-ai/langchain/pull/16359](https://togithub.com/langchain-ai/langchain/pull/16359)
- community: Milvus supports add & delete texts by ids by
[@&#8203;jaelgu](https://togithub.com/jaelgu) in
[https://github.com/langchain-ai/langchain/pull/16256](https://togithub.com/langchain-ai/langchain/pull/16256)
- docs: Added illustration of using RetryOutputParser with LLMChain by
[@&#8203;Kirushikesh](https://togithub.com/Kirushikesh) in
[https://github.com/langchain-ai/langchain/pull/16722](https://togithub.com/langchain-ai/langchain/pull/16722)
- community:To adapt more parameters related to MemorySearchPayload for
the search method of ZepChatMessageHistory by
[@&#8203;ElliotChina](https://togithub.com/ElliotChina) in
[https://github.com/langchain-ai/langchain/pull/15441](https://togithub.com/langchain-ai/langchain/pull/15441)
- Feat: support OpenAIAssistantRunnable async by
[@&#8203;chyroc](https://togithub.com/chyroc) in
[https://github.com/langchain-ai/langchain/pull/15302](https://togithub.com/langchain-ai/langchain/pull/15302)
- langchain, community: Implement Ontotext GraphDB QA Chain by
[@&#8203;nelly-hateva](https://togithub.com/nelly-hateva) in
[https://github.com/langchain-ai/langchain/pull/16019](https://togithub.com/langchain-ai/langchain/pull/16019)
- Harrison/activeloop ai tql deprecation by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/14634](https://togithub.com/langchain-ai/langchain/pull/14634)
- Add Connery Tool and Toolkit by
[@&#8203;machulav](https://togithub.com/machulav) in
[https://github.com/langchain-ai/langchain/pull/14506](https://togithub.com/langchain-ai/langchain/pull/14506)
- Added annotations support to AOAI by
[@&#8203;shayben](https://togithub.com/shayben) in
[https://github.com/langchain-ai/langchain/pull/13704](https://togithub.com/langchain-ai/langchain/pull/13704)
- PR: "docs: Remove accidental extra \`\`\` in QuickStart doc." by
[@&#8203;gthank](https://togithub.com/gthank) in
[https://github.com/langchain-ai/langchain/pull/16740](https://togithub.com/langchain-ai/langchain/pull/16740)
- Update OctoAI LLM, Embedding and documentation by
[@&#8203;AI-Bassem](https://togithub.com/AI-Bassem) in
[https://github.com/langchain-ai/langchain/pull/16710](https://togithub.com/langchain-ai/langchain/pull/16710)
- docs\[minor]: LCEL rewrite of chatbot use-case by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16414](https://togithub.com/langchain-ai/langchain/pull/16414)
- docs\[patch]: Lower temperature in chatbot usecase notebooks for
consistency by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16750](https://togithub.com/langchain-ai/langchain/pull/16750)
- \<langchain_community\llms\chatglm.py>: \<Correcting "history"> by
[@&#8203;hulitaitai](https://togithub.com/hulitaitai) in
[https://github.com/langchain-ai/langchain/pull/16729](https://togithub.com/langchain-ai/langchain/pull/16729)
- community: Add new fields in metadata for qdrant vector store by
[@&#8203;killinsun](https://togithub.com/killinsun) in
[https://github.com/langchain-ai/langchain/pull/16608](https://togithub.com/langchain-ai/langchain/pull/16608)
- core\[patch]: preserve inspect.iscoroutinefunction with
[@&#8203;beta](https://togithub.com/beta) decorator by
[@&#8203;Lord-Haji](https://togithub.com/Lord-Haji) in
[https://github.com/langchain-ai/langchain/pull/16440](https://togithub.com/langchain-ai/langchain/pull/16440)
- community: add support for callable filters in FAISS by
[@&#8203;thiswillbeyourgithub](https://togithub.com/thiswillbeyourgithub)
in
[https://github.com/langchain-ai/langchain/pull/16190](https://togithub.com/langchain-ai/langchain/pull/16190)
- community: Add Baichuan LLM to community by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/16724](https://togithub.com/langchain-ai/langchain/pull/16724)
- Add async methods for the AstraDB VectorStore by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16391](https://togithub.com/langchain-ai/langchain/pull/16391)
- adding parameter for changing the language in SpacyEmbeddings by
[@&#8203;MarinaPlius](https://togithub.com/MarinaPlius) in
[https://github.com/langchain-ai/langchain/pull/15743](https://togithub.com/langchain-ai/langchain/pull/15743)
- community: Add ChatGLM3 by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/15265](https://togithub.com/langchain-ai/langchain/pull/15265)
- Fix rephrase step in chatbot use case by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16763](https://togithub.com/langchain-ai/langchain/pull/16763)
- \[partners]: langchain-robocorp ease dependency version by
[@&#8203;rihardsgravis](https://togithub.com/rihardsgravis) in
[https://github.com/langchain-ai/langchain/pull/16765](https://togithub.com/langchain-ai/langchain/pull/16765)
- robocorp: release 0.0.3 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16789](https://togithub.com/langchain-ai/langchain/pull/16789)
- Report which file was errored on in DirectoryLoader by
[@&#8203;alex-dr](https://togithub.com/alex-dr) in
[https://github.com/langchain-ai/langchain/pull/16790](https://togithub.com/langchain-ai/langchain/pull/16790)
- docs: add csv use case by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16756](https://togithub.com/langchain-ai/langchain/pull/16756)
- Fix Dep Recommendation by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/16793](https://togithub.com/langchain-ai/langchain/pull/16793)
- core\[patch]: Update doc-string in base callback managers by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15885](https://togithub.com/langchain-ai/langchain/pull/15885)
- community\[patch]: undo create_sql_agent breaking by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16797](https://togithub.com/langchain-ai/langchain/pull/16797)
- community: add the ability to load existing transcripts from
AssemblyAI by their id. by
[@&#8203;RaphaelFavero](https://togithub.com/RaphaelFavero) in
[https://github.com/langchain-ai/langchain/pull/16051](https://togithub.com/langchain-ai/langchain/pull/16051)
- openai\[minor]: change to secretstr by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16803](https://togithub.com/langchain-ai/langchain/pull/16803)
- infra: remove unnecessary tests on partner packages by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16808](https://togithub.com/langchain-ai/langchain/pull/16808)
- nvidia-trt: remove tritonclient all extra dep by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16749](https://togithub.com/langchain-ai/langchain/pull/16749)
- langchain\[minor],community\[minor]: Add async methods in BaseLoader
by [@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16634](https://togithub.com/langchain-ai/langchain/pull/16634)
- core(minor): Add bulk add messages to BaseChatMessageHistory interface
by [@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15709](https://togithub.com/langchain-ai/langchain/pull/15709)
- nomic: init pkg by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16853](https://togithub.com/langchain-ai/langchain/pull/16853)
- Add async methods to BaseStore by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16669](https://togithub.com/langchain-ai/langchain/pull/16669)
- core\[patch]: Release 0.1.18 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16870](https://togithub.com/langchain-ai/langchain/pull/16870)
- commmunity\[patch]: Release 0.0.17 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16871](https://togithub.com/langchain-ai/langchain/pull/16871)
- langchain\[patch]: Release 0.1.5 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16881](https://togithub.com/langchain-ai/langchain/pull/16881)
- infra: bump langchain min test reqs by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16882](https://togithub.com/langchain-ai/langchain/pull/16882)

#### New Contributors

- [@&#8203;antoniolanza1996](https://togithub.com/antoniolanza1996) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/16583](https://togithub.com/langchain-ai/langchain/pull/16583)
- [@&#8203;Daggx](https://togithub.com/Daggx) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16377](https://togithub.com/langchain-ai/langchain/pull/16377)
- [@&#8203;CallumCM](https://togithub.com/CallumCM) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16645](https://togithub.com/langchain-ai/langchain/pull/16645)
- [@&#8203;micahparker](https://togithub.com/micahparker) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16633](https://togithub.com/langchain-ai/langchain/pull/16633)
- [@&#8203;xiaokuili](https://togithub.com/xiaokuili) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16615](https://togithub.com/langchain-ai/langchain/pull/16615)
- [@&#8203;sydneyidler](https://togithub.com/sydneyidler) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16625](https://togithub.com/langchain-ai/langchain/pull/16625)
- [@&#8203;tryumanshow](https://togithub.com/tryumanshow) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16618](https://togithub.com/langchain-ai/langchain/pull/16618)
- [@&#8203;stewartjarod](https://togithub.com/stewartjarod) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16649](https://togithub.com/langchain-ai/langchain/pull/16649)
- [@&#8203;derenrich](https://togithub.com/derenrich) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16681](https://togithub.com/langchain-ai/langchain/pull/16681)
- [@&#8203;Jalmeida1994](https://togithub.com/Jalmeida1994) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16673](https://togithub.com/langchain-ai/langchain/pull/16673)
- [@&#8203;zhxu73](https://togithub.com/zhxu73) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16660](https://togithub.com/langchain-ai/langchain/pull/16660)
- [@&#8203;Rijul1204](https://togithub.com/Rijul1204) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16646](https://togithub.com/langchain-ai/langchain/pull/16646)
- [@&#8203;ARKA1112](https://togithub.com/ARKA1112) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16564](https://togithub.com/langchain-ai/langchain/pull/16564)
- [@&#8203;owensims1](https://togithub.com/owensims1) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16700](https://togithub.com/langchain-ai/langchain/pull/16700)
- [@&#8203;ash-hun](https://togithub.com/ash-hun) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16699](https://togithub.com/langchain-ai/langchain/pull/16699)
- [@&#8203;pashva](https://togithub.com/pashva) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16693](https://togithub.com/langchain-ai/langchain/pull/16693)
- [@&#8203;benitoThree](https://togithub.com/benitoThree) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15280](https://togithub.com/langchain-ai/langchain/pull/15280)
- [@&#8203;taimo3810](https://togithub.com/taimo3810) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16616](https://togithub.com/langchain-ai/langchain/pull/16616)
- [@&#8203;brnaba-aws](https://togithub.com/brnaba-aws) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15478](https://togithub.com/langchain-ai/langchain/pull/15478)
- [@&#8203;HugoMichard](https://togithub.com/HugoMichard) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16359](https://togithub.com/langchain-ai/langchain/pull/16359)
- [@&#8203;jaelgu](https://togithub.com/jaelgu) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16256](https://togithub.com/langchain-ai/langchain/pull/16256)
- [@&#8203;Kirushikesh](https://togithub.com/Kirushikesh) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16722](https://togithub.com/langchain-ai/langchain/pull/16722)
- [@&#8203;ElliotChina](https://togithub.com/ElliotChina) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15441](https://togithub.com/langchain-ai/langchain/pull/15441)
- [@&#8203;nelly-hateva](https://togithub.com/nelly-hateva) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16019](https://togithub.com/langchain-ai/langchain/pull/16019)
- [@&#8203;machulav](https://togithub.com/machulav) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/14506](https://togithub.com/langchain-ai/langchain/pull/14506)
- [@&#8203;shayben](https://togithub.com/shayben) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13704](https://togithub.com/langchain-ai/langchain/pull/13704)
- [@&#8203;gthank](https://togithub.com/gthank) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16740](https://togithub.com/langchain-ai/langchain/pull/16740)
- [@&#8203;hulitaitai](https://togithub.com/hulitaitai) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16729](https://togithub.com/langchain-ai/langchain/pull/16729)
- [@&#8203;killinsun](https://togithub.com/killinsun) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16608](https://togithub.com/langchain-ai/langchain/pull/16608)
- [@&#8203;Lord-Haji](https://togithub.com/Lord-Haji) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16440](https://togithub.com/langchain-ai/langchain/pull/16440)
- [@&#8203;MarinaPlius](https://togithub.com/MarinaPlius) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15743](https://togithub.com/langchain-ai/langchain/pull/15743)
- [@&#8203;alex-dr](https://togithub.com/alex-dr) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16790](https://togithub.com/langchain-ai/langchain/pull/16790)
- [@&#8203;RaphaelFavero](https://togithub.com/RaphaelFavero) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16051](https://togithub.com/langchain-ai/langchain/pull/16051)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.1.4...v0.1.5

###
[`v0.1.4`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.4)

[Compare
Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.3...v0.1.4)

#### What's Changed

- Minor nit on HyDE by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16478](https://togithub.com/langchain-ai/langchain/pull/16478)
- template: fix azure params in retrieval agent by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16257](https://togithub.com/langchain-ai/langchain/pull/16257)
- cli\[patch]: add integration tests to default makefile by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16479](https://togithub.com/langchain-ai/langchain/pull/16479)
- feat(llms): support more tasks in HuggingFaceHub LLM and remove
deprecated dep by [@&#8203;mspronesti](https://togithub.com/mspronesti)
in
[https://github.com/langchain-ai/langchain/pull/14406](https://togithub.com/langchain-ai/langchain/pull/14406)
- Fixed typo on quickstart.ipynb by
[@&#8203;dudgeon](https://togithub.com/dudgeon) in
[https://github.com/langchain-ai/langchain/pull/16482](https://togithub.com/langchain-ai/langchain/pull/16482)
- community: SQLStrStore/SQLDocStore provide an easy SQL alternative to
`InMemoryStore` to persist data remotely in a SQL storage by
[@&#8203;gcheron](https://togithub.com/gcheron) in
[https://github.com/langchain-ai/langchain/pull/15909](https://togithub.com/langchain-ai/langchain/pull/15909)
- community: Fix Baichuan Chat. by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/15207](https://togithub.com/langchain-ai/langchain/pull/15207)
- community: normalize bedrock embeddings by
[@&#8203;dmenini](https://togithub.com/dmenini) in
[https://github.com/langchain-ai/langchain/pull/15103](https://togithub.com/langchain-ai/langchain/pull/15103)
- feat: adding paygo api support for Azure ML / Azure AI Studio by
[@&#8203;santiagxf](https://togithub.com/santiagxf) in
[https://github.com/langchain-ai/langchain/pull/14560](https://togithub.com/langchain-ai/langchain/pull/14560)
- community: Improve mlflow callback by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/15691](https://togithub.com/langchain-ai/langchain/pull/15691)
- Include scores in MongoDB Atlas QA chain results by
[@&#8203;NoahStapp](https://togithub.com/NoahStapp) in
[https://github.com/langchain-ai/langchain/pull/14666](https://togithub.com/langchain-ai/langchain/pull/14666)
- langchain\[patch]: In HTMLHeaderTextSplitter set default encoding to
utf-8 by [@&#8203;i-w-a](https://togithub.com/i-w-a) in
[https://github.com/langchain-ai/langchain/pull/16372](https://togithub.com/langchain-ai/langchain/pull/16372)
- langchain: Extract \_aperform_agent_action from \_aiter_next_step from
AgentExecutor by
[@&#8203;gianfrancodemarco](https://togithub.com/gianfrancodemarco) in
[https://github.com/langchain-ai/langchain/pull/15707](https://togithub.com/langchain-ai/langchain/pull/15707)
- community:Adding Konko Completion endpoint by
[@&#8203;shivanimodi16](https://togithub.com/shivanimodi16) in
[https://github.com/langchain-ai/langchain/pull/15570](https://togithub.com/langchain-ai/langchain/pull/15570)
- docs: Updated integration docs structure for chat/anthropic by
[@&#8203;L-cloud](https://togithub.com/L-cloud) in
[https://github.com/langchain-ai/langchain/pull/16268](https://togithub.com/langchain-ai/langchain/pull/16268)
- Add KDBAI vector store by [@&#8203;bu2kx](https://togithub.com/bu2kx)
in
[https://github.com/langchain-ai/langchain/pull/12797](https://togithub.com/langchain-ai/langchain/pull/12797)
- Docs: Fix version in which astream_events was released by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16481](https://togithub.com/langchain-ai/langchain/pull/16481)
- \[langchain]: allow passing client with OpenAIAssistantRunnable by
[@&#8203;kristapratico](https://togithub.com/kristapratico) in
[https://github.com/langchain-ai/langchain/pull/16486](https://togithub.com/langchain-ai/langchain/pull/16486)
- community: Fix MlflowCallback with none artifacts_dir by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/16487](https://togithub.com/langchain-ai/langchain/pull/16487)
- langchain: Minor Fix: Enable Passing custom_headers for Authentication
in GraphQL Agent/Tool by
[@&#8203;zendegani](https://togithub.com/zendegani) in
[https://github.com/langchain-ai/langchain/pull/16413](https://togithub.com/langchain-ai/langchain/pull/16413)
- Feature: Add iFlyTek Spark LLM chat model support by
[@&#8203;vsxd](https://togithub.com/vsxd) in
[https://github.com/langchain-ai/langchain/pull/13389](https://togithub.com/langchain-ai/langchain/pull/13389)
- community: Load list of files using UnstructuredFileLoader by
[@&#8203;raunakshrivastava7](https://togithub.com/raunakshrivastava7) in
[https://github.com/langchain-ai/langchain/pull/16216](https://togithub.com/langchain-ai/langchain/pull/16216)
- \[community]\[cohere] Update cohere rerank and comparison docs by
[@&#8203;BeatrixCohere](https://togithub.com/BeatrixCohere) in
[https://github.com/langchain-ai/langchain/pull/16198](https://togithub.com/langchain-ai/langchain/pull/16198)
- \[community]\[document loaders]\[surrealdb] fix for asyncio by
[@&#8203;lalanikarim](https://togithub.com/lalanikarim) in
[https://github.com/langchain-ai/langchain/pull/16092](https://togithub.com/langchain-ai/langchain/pull/16092)
- Community: added 'conversational' as a valid task for hugginface
endopoint models by
[@&#8203;alessioserra](https://togithub.com/alessioserra) in
[https://github.com/langchain-ai/langchain/pull/15761](https://togithub.com/langchain-ai/langchain/pull/15761)
- Refactor: use SecretStr for yandex embedding by
[@&#8203;chyroc](https://togithub.com/chyroc) in
[https://github.com/langchain-ai/langchain/pull/15463](https://togithub.com/langchain-ai/langchain/pull/15463)
- Remove double line by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/16426](https://togithub.com/langchain-ai/langchain/pull/16426)
- community: avoid KeyError when language not in LANGUAGE_SEGMENTERS by
[@&#8203;dzlab](https://togithub.com/dzlab) in
[https://github.com/langchain-ai/langchain/pull/15212](https://togithub.com/langchain-ai/langchain/pull/15212)
- community: Fix error message when litellm is not installed by
[@&#8203;jeremi](https://togithub.com/jeremi) in
[https://github.com/langchain-ai/langchain/pull/16316](https://togithub.com/langchain-ai/langchain/pull/16316)
- docs: typo in tool use quickstart page by
[@&#8203;Tipwheal](https://togithub.com/Tipwheal) in
[https://github.com/langchain-ai/langchain/pull/16494](https://togithub.com/langchain-ai/langchain/pull/16494)
- Docs: Add streaming section by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16468](https://togithub.com/langchain-ai/langchain/pull/16468)
- added a few suggestions for sql docs by
[@&#8203;fpingham](https://togithub.com/fpingham) in
[https://github.com/langchain-ai/langchain/pull/16508](https://togithub.com/langchain-ai/langchain/pull/16508)
- Update SQL agent toolkit docs by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16409](https://togithub.com/langchain-ai/langchain/pull/16409)
- CI: Update issue template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16517](https://togithub.com/langchain-ai/langchain/pull/16517)
- docs: rm output by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16519](https://togithub.com/langchain-ai/langchain/pull/16519)
- CI: redirect feature requests to ideas in discussions by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16522](https://togithub.com/langchain-ai/langchain/pull/16522)
- CI: more update to ideas template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16524](https://togithub.com/langchain-ai/langchain/pull/16524)
- langchain-google-vertexai: more verbose mypy config by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[https://github.com/langchain-ai/langchain/pull/16307](https://togithub.com/langchain-ai/langchain/pull/16307)
- Adds progress bar to VertexAIEmbeddings by
[@&#8203;ugm2](https://togithub.com/ugm2) in
[https://github.com/langchain-ai/langchain/pull/14542](https://togithub.com/langchain-ai/langchain/pull/14542)
- docs:Updated integration docs structure for chat/google_vertex_ai_palm
by [@&#8203;manokhina](https://togithub.com/manokhina) in
[https://github.com/langchain-ai/langchain/pull/16201](https://togithub.com/langchain-ai/langchain/pull/16201)
- CI: Fix ideas template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16529](https://togithub.com/langchain-ai/langchain/pull/16529)
- CI: more updates to feature request template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16531](https://togithub.com/langchain-ai/langchain/pull/16531)
- CI: Update q-a template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16532](https://togithub.com/langchain-ai/langchain/pull/16532)
- CI: more qa template changes by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16533](https://togithub.com/langchain-ai/langchain/pull/16533)
- Updated comments about `n_gpu_layers` in the Metal section by
[@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16501](https://togithub.com/langchain-ai/langchain/pull/16501)
- Added a better error message when location is not supported by
[@&#8203;lkuligin](https://togithub.com/lkuligin) in
[https://github.com/langchain-ai/langchain/pull/16535](https://togithub.com/langchain-ai/langchain/pull/16535)
- community: VectorStore integration for SAP HANA Cloud Vector Engine by
[@&#8203;MartinKolbAtWork](https://togithub.com/MartinKolbAtWork) in
[https://github.com/langchain-ai/langchain/pull/16514](https://togithub.com/langchain-ai/langchain/pull/16514)
- community: added support for Guardrails for Amazon Bedrock by
[@&#8203;harelix](https://togithub.com/harelix) in
[https://github.com/langchain-ai/langchain/pull/15099](https://togithub.com/langchain-ai/langchain/pull/15099)
- anthropic\[patch]: allow pop by field name by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16544](https://togithub.com/langchain-ai/langchain/pull/16544)
- core: consolidate conditional in BaseTool by
[@&#8203;arnob-sengupta](https://togithub.com/arnob-sengupta) in
[https://github.com/langchain-ai/langchain/pull/16530](https://togithub.com/langchain-ai/langchain/pull/16530)
- langchain\[patch]: oai tools output parser nit by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16540](https://togithub.com/langchain-ai/langchain/pull/16540)
- docs: `Hugging Face` update by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/16490](https://togithub.com/langchain-ai/langchain/pull/16490)
- docs: allow pdf download of api ref by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16550](https://togithub.com/langchain-ai/langchain/pull/16550)
- community: Add OCI Generative AI integration by
[@&#8203;raveharpaz](https://togithub.com/raveharpaz) in
[https://github.com/langchain-ai/langchain/pull/16548](https://togithub.com/langchain-ai/langchain/pull/16548)
- exa: init pkg by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16553](https://togithub.com/langchain-ai/langchain/pull/16553)
- langchain-google-vertexai: perserving grounding metadata by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[https://github.com/langchain-ai/langchain/pull/16309](https://togithub.com/langchain-ai/langchain/pull/16309)
- added logic for method get_num_tokens() by
[@&#8203;Adi8885](https://togithub.com/Adi8885) in
[https://github.com/langchain-ai/langchain/pull/16205](https://togithub.com/langchain-ai/langchain/pull/16205)
- langchain\[patch]: Fix doc-string grammar by
[@&#8203;anders-ahsman](https://togithub.com/anders-ahsman) in
[https://github.com/langchain-ai/langchain/pull/16543](https://togithub.com/langchain-ai/langchain/pull/16543)
- core\[patch]: passthrough BaseRetriever.invoke(\*\*kwargs) by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16551](https://togithub.com/langchain-ai/langchain/pull/16551)
- community: YandexGPT models - add sleep_interval by
[@&#8203;tyumentsev4](https://togithub.com/tyumentsev4) in
[https://github.com/langchain-ai/langchain/pull/16566](https://togithub.com/langchain-ai/langchain/pull/16566)
- langchain : Fix message type lookup in Anthropic Partners by
[@&#8203;L-cloud](https://togithub.com/L-cloud) in
[https://github.com/langchain-ai/langchain/pull/16563](https://togithub.com/langchain-ai/langchain/pull/16563)
- Use official code url by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16560](https://togithub.com/langchain-ai/langchain/pull/16560)
- Fix broken urls by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16559](https://togithub.com/langchain-ai/langchain/pull/16559)
- community: Add LiteLLM Router Integration by
[@&#8203;bburgin](https://togithub.com/bburgin) in
[https://github.com/langchain-ai/langchain/pull/15588](https://togithub.com/langchain-ai/langchain/pull/15588)
- core\[patch], community\[patch], openai\[patch]: consolidate openai
tool… by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16485](https://togithub.com/langchain-ai/langchain/pull/16485)
- docs: output parser nits by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16588](https://togithub.com/langchain-ai/langchain/pull/16588)
- openai\[patch]: accept function_call dict in bind_functions by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16483](https://togithub.com/langchain-ai/langchain/pull/16483)
- docs: rag citations by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16549](https://togithub.com/langchain-ai/langchain/pull/16549)
- core\[patch]: Release 0.1.16 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16589](https://togithub.com/langchain-ai/langchain/pull/16589)
- openai\[patch]: Release 0.0.4 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16590](https://togithub.com/langchain-ai/langchain/pull/16590)
- community\[patch]: Release 0.0.16 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16591](https://togithub.com/langchain-ai/langchain/pull/16591)
- langchain\[patch]: Release 0.1.4 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16592](https://togithub.com/langchain-ai/langchain/pull/16592)
- infra: move indexing documentation test by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16595](https://togithub.com/langchain-ai/langchain/pull/16595)

#### New Contributors

- [@&#8203;dudgeon](https://togithub.com/dudgeon) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16482](https://togithub.com/langchain-ai/langchain/pull/16482)
- [@&#8203;gcheron](https://togithub.com/gcheron) made their first
contribution in [https://gi

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
duwenxin99 referenced this pull request in GoogleCloudPlatform/genai-databases-retrieval-app Feb 10, 2024
[![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.354`
-> `==0.1.5` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.354/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.354/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>langchain-ai/langchain (langchain)</summary>

###
[`v0.1.5`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.5)

[Compare
Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.4...v0.1.5)

#### What's Changed

- openai\[patch]: Explicitly support embedding dimensions by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16596](https://togithub.com/langchain-ai/langchain/pull/16596)
- google-vertexai\[patch]: Release 0.0.3 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16597](https://togithub.com/langchain-ai/langchain/pull/16597)
- openai\[patch]: Release 0.0.5 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16598](https://togithub.com/langchain-ai/langchain/pull/16598)
- Fixed tool names snake_case by
[@&#8203;jatinchawda1503](https://togithub.com/jatinchawda1503) in
[https://github.com/langchain-ai/langchain/pull/16397](https://togithub.com/langchain-ai/langchain/pull/16397)
- core\[patch]: Update in code documentation for runnable with message
history by [@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16585](https://togithub.com/langchain-ai/langchain/pull/16585)
- fix: inconsistent results with `RecursiveCharacterTextSplitter`'s
`add_start_index=True` by
[@&#8203;antoniolanza1996](https://togithub.com/antoniolanza1996) in
[https://github.com/langchain-ai/langchain/pull/16583](https://togithub.com/langchain-ai/langchain/pull/16583)
- Langchain-community : EdenAI chat integration. by
[@&#8203;Daggx](https://togithub.com/Daggx) in
[https://github.com/langchain-ai/langchain/pull/16377](https://togithub.com/langchain-ai/langchain/pull/16377)
- core: expand docstring for RunnableParallel by
[@&#8203;ccurme](https://togithub.com/ccurme) in
[https://github.com/langchain-ai/langchain/pull/16600](https://togithub.com/langchain-ai/langchain/pull/16600)
- google-vertexai\[patch]: streaming bug by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16603](https://togithub.com/langchain-ai/langchain/pull/16603)
- community: Add Baichuan Text Embedding Model and Baichuan Inc
introduction by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/16568](https://togithub.com/langchain-ai/langchain/pull/16568)
- Docs: Fix typo in XML agent documentation by
[@&#8203;CallumCM](https://togithub.com/CallumCM) in
[https://github.com/langchain-ai/langchain/pull/16645](https://togithub.com/langchain-ai/langchain/pull/16645)
- community: Added support for Ollama's num_predict option in ChatOllama
by [@&#8203;micahparker](https://togithub.com/micahparker) in
[https://github.com/langchain-ai/langchain/pull/16633](https://togithub.com/langchain-ai/langchain/pull/16633)
- community\[patch]: Update documentation to use 'model_id' rather than
'model_name' to match actual API by
[@&#8203;xiaokuili](https://togithub.com/xiaokuili) in
[https://github.com/langchain-ai/langchain/pull/16615](https://togithub.com/langchain-ai/langchain/pull/16615)
- community: youtube loader transcript format by
[@&#8203;sydneyidler](https://togithub.com/sydneyidler) in
[https://github.com/langchain-ai/langchain/pull/16625](https://togithub.com/langchain-ai/langchain/pull/16625)
- Update openai_tools.ipynb by
[@&#8203;tryumanshow](https://togithub.com/tryumanshow) in
[https://github.com/langchain-ai/langchain/pull/16618](https://togithub.com/langchain-ai/langchain/pull/16618)
- Accept message-like things in Chat models, LLMs and
MessagesPlaceholder by [@&#8203;nfcampos](https://togithub.com/nfcampos)
in
[https://github.com/langchain-ai/langchain/pull/16418](https://togithub.com/langchain-ai/langchain/pull/16418)
- Community: Ionic Tool by
[@&#8203;stewartjarod](https://togithub.com/stewartjarod) in
[https://github.com/langchain-ai/langchain/pull/16649](https://togithub.com/langchain-ai/langchain/pull/16649)
- In stream_event and stream_log handle closed streams by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/16661](https://togithub.com/langchain-ai/langchain/pull/16661)
- \[Fix] Fix Cassandra Document loader default page content mapper by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16273](https://togithub.com/langchain-ai/langchain/pull/16273)
- infra: delete old CI workflows by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16680](https://togithub.com/langchain-ai/langchain/pull/16680)
- \[community] fix anthropic streaming by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/16682](https://togithub.com/langchain-ai/langchain/pull/16682)
- docs: Fix broken link in CONTRIBUTING.md by
[@&#8203;derenrich](https://togithub.com/derenrich) in
[https://github.com/langchain-ai/langchain/pull/16681](https://togithub.com/langchain-ai/langchain/pull/16681)
- WebBaseLoader: Add Cookie Support to Fetch Method by
[@&#8203;Jalmeida1994](https://togithub.com/Jalmeida1994) in
[https://github.com/langchain-ai/langchain/pull/16673](https://togithub.com/langchain-ai/langchain/pull/16673)
- docs `DeepInfra` provider page update by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/16665](https://togithub.com/langchain-ai/langchain/pull/16665)
- community: Ollama - Pass headers to post request in async method by
[@&#8203;zhxu73](https://togithub.com/zhxu73) in
[https://github.com/langchain-ai/langchain/pull/16660](https://togithub.com/langchain-ai/langchain/pull/16660)
- Community: MLflowCallbackHandler -- Move textstat and spacy as
optional dependency by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/16657](https://togithub.com/langchain-ai/langchain/pull/16657)
- community: apply embedding functions during query if defined by
[@&#8203;Rijul1204](https://togithub.com/Rijul1204) in
[https://github.com/langchain-ai/langchain/pull/16646](https://togithub.com/langchain-ai/langchain/pull/16646)
- Error when importing packages from pydantic \[docs] by
[@&#8203;ARKA1112](https://togithub.com/ARKA1112) in
[https://github.com/langchain-ai/langchain/pull/16564](https://togithub.com/langchain-ai/langchain/pull/16564)
- Image prompt template by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/14263](https://togithub.com/langchain-ai/langchain/pull/14263)
- Add async methods to AstraDBLoader by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16652](https://togithub.com/langchain-ai/langchain/pull/16652)
- robocorp: release 0.0.2 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16706](https://togithub.com/langchain-ai/langchain/pull/16706)
- infra: move release workflow back by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16707](https://togithub.com/langchain-ai/langchain/pull/16707)
- docs: remove iprogress warnings by
[@&#8203;Yelinz](https://togithub.com/Yelinz) in
[https://github.com/langchain-ai/langchain/pull/16697](https://togithub.com/langchain-ai/langchain/pull/16697)
- Use Postponed Evaluation of Annotations in Astra and Cassandra doc
loaders by [@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16694](https://togithub.com/langchain-ai/langchain/pull/16694)
- Community: Update Ionic Shopping Docs by
[@&#8203;owensims1](https://togithub.com/owensims1) in
[https://github.com/langchain-ai/langchain/pull/16700](https://togithub.com/langchain-ai/langchain/pull/16700)
- Core: fix Anthropic json issue in streaming by
[@&#8203;tmin97](https://togithub.com/tmin97) in
[https://github.com/langchain-ai/langchain/pull/16670](https://togithub.com/langchain-ai/langchain/pull/16670)
- community: Wikidata tool support by
[@&#8203;derenrich](https://togithub.com/derenrich) in
[https://github.com/langchain-ai/langchain/pull/16691](https://togithub.com/langchain-ai/langchain/pull/16691)
- Update `n_gpu_layers`"s description by
[@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16685](https://togithub.com/langchain-ai/langchain/pull/16685)
- core: expand docstring for RunnableGenerator by
[@&#8203;ccurme](https://togithub.com/ccurme) in
[https://github.com/langchain-ai/langchain/pull/16672](https://togithub.com/langchain-ai/langchain/pull/16672)
- docs: Syntax correction according to langchain version update in
'Retry Parser' tutorial example by
[@&#8203;ash-hun](https://togithub.com/ash-hun) in
[https://github.com/langchain-ai/langchain/pull/16699](https://togithub.com/langchain-ai/langchain/pull/16699)
- community: Fixed schema discrepancy in from_texts function for
weaviate vectorstore by [@&#8203;pashva](https://togithub.com/pashva) in
[https://github.com/langchain-ai/langchain/pull/16693](https://togithub.com/langchain-ai/langchain/pull/16693)
- Update Slack agent toolkit by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16732](https://togithub.com/langchain-ai/langchain/pull/16732)
- langchain: pubmed tool path update in doc by
[@&#8203;j-space-b](https://togithub.com/j-space-b) in
[https://github.com/langchain-ai/langchain/pull/16716](https://togithub.com/langchain-ai/langchain/pull/16716)
- community: Added integrations for ThirdAI's NeuralDB with Retriever
and VectorStore frameworks by
[@&#8203;benitoThree](https://togithub.com/benitoThree) in
[https://github.com/langchain-ai/langchain/pull/15280](https://togithub.com/langchain-ai/langchain/pull/15280)
- langchain-community: fix unicode escaping issue with SlackToolkit by
[@&#8203;taimo3810](https://togithub.com/taimo3810) in
[https://github.com/langchain-ai/langchain/pull/16616](https://togithub.com/langchain-ai/langchain/pull/16616)
- langchain_community: Update documentation for installing
llama-cpp-python on windows by
[@&#8203;blacksmithop](https://togithub.com/blacksmithop) in
[https://github.com/langchain-ai/langchain/pull/16666](https://togithub.com/langchain-ai/langchain/pull/16666)
- fix(experimental): missing resolution strategy in anonymization by
[@&#8203;mspronesti](https://togithub.com/mspronesti) in
[https://github.com/langchain-ai/langchain/pull/16653](https://togithub.com/langchain-ai/langchain/pull/16653)
- Implement TTL for DynamoDBChatMessageHistory by
[@&#8203;brnaba-aws](https://togithub.com/brnaba-aws) in
[https://github.com/langchain-ai/langchain/pull/15478](https://togithub.com/langchain-ai/langchain/pull/15478)
- core\[patch]: Release 0.1.17 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16737](https://togithub.com/langchain-ai/langchain/pull/16737)
- templates: Ionic Shopping Assistant by
[@&#8203;stewartjarod](https://togithub.com/stewartjarod) in
[https://github.com/langchain-ai/langchain/pull/16648](https://togithub.com/langchain-ai/langchain/pull/16648)
- community: Add missing async similarity_distance_threshold handling in
RedisVectorStoreRetriever by
[@&#8203;HugoMichard](https://togithub.com/HugoMichard) in
[https://github.com/langchain-ai/langchain/pull/16359](https://togithub.com/langchain-ai/langchain/pull/16359)
- community: Milvus supports add & delete texts by ids by
[@&#8203;jaelgu](https://togithub.com/jaelgu) in
[https://github.com/langchain-ai/langchain/pull/16256](https://togithub.com/langchain-ai/langchain/pull/16256)
- docs: Added illustration of using RetryOutputParser with LLMChain by
[@&#8203;Kirushikesh](https://togithub.com/Kirushikesh) in
[https://github.com/langchain-ai/langchain/pull/16722](https://togithub.com/langchain-ai/langchain/pull/16722)
- community:To adapt more parameters related to MemorySearchPayload for
the search method of ZepChatMessageHistory by
[@&#8203;ElliotChina](https://togithub.com/ElliotChina) in
[https://github.com/langchain-ai/langchain/pull/15441](https://togithub.com/langchain-ai/langchain/pull/15441)
- Feat: support OpenAIAssistantRunnable async by
[@&#8203;chyroc](https://togithub.com/chyroc) in
[https://github.com/langchain-ai/langchain/pull/15302](https://togithub.com/langchain-ai/langchain/pull/15302)
- langchain, community: Implement Ontotext GraphDB QA Chain by
[@&#8203;nelly-hateva](https://togithub.com/nelly-hateva) in
[https://github.com/langchain-ai/langchain/pull/16019](https://togithub.com/langchain-ai/langchain/pull/16019)
- Harrison/activeloop ai tql deprecation by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/14634](https://togithub.com/langchain-ai/langchain/pull/14634)
- Add Connery Tool and Toolkit by
[@&#8203;machulav](https://togithub.com/machulav) in
[https://github.com/langchain-ai/langchain/pull/14506](https://togithub.com/langchain-ai/langchain/pull/14506)
- Added annotations support to AOAI by
[@&#8203;shayben](https://togithub.com/shayben) in
[https://github.com/langchain-ai/langchain/pull/13704](https://togithub.com/langchain-ai/langchain/pull/13704)
- PR: "docs: Remove accidental extra \`\`\` in QuickStart doc." by
[@&#8203;gthank](https://togithub.com/gthank) in
[https://github.com/langchain-ai/langchain/pull/16740](https://togithub.com/langchain-ai/langchain/pull/16740)
- Update OctoAI LLM, Embedding and documentation by
[@&#8203;AI-Bassem](https://togithub.com/AI-Bassem) in
[https://github.com/langchain-ai/langchain/pull/16710](https://togithub.com/langchain-ai/langchain/pull/16710)
- docs\[minor]: LCEL rewrite of chatbot use-case by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16414](https://togithub.com/langchain-ai/langchain/pull/16414)
- docs\[patch]: Lower temperature in chatbot usecase notebooks for
consistency by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16750](https://togithub.com/langchain-ai/langchain/pull/16750)
- \<langchain_community\llms\chatglm.py>: \<Correcting "history"> by
[@&#8203;hulitaitai](https://togithub.com/hulitaitai) in
[https://github.com/langchain-ai/langchain/pull/16729](https://togithub.com/langchain-ai/langchain/pull/16729)
- community: Add new fields in metadata for qdrant vector store by
[@&#8203;killinsun](https://togithub.com/killinsun) in
[https://github.com/langchain-ai/langchain/pull/16608](https://togithub.com/langchain-ai/langchain/pull/16608)
- core\[patch]: preserve inspect.iscoroutinefunction with
[@&#8203;beta](https://togithub.com/beta) decorator by
[@&#8203;Lord-Haji](https://togithub.com/Lord-Haji) in
[https://github.com/langchain-ai/langchain/pull/16440](https://togithub.com/langchain-ai/langchain/pull/16440)
- community: add support for callable filters in FAISS by
[@&#8203;thiswillbeyourgithub](https://togithub.com/thiswillbeyourgithub)
in
[https://github.com/langchain-ai/langchain/pull/16190](https://togithub.com/langchain-ai/langchain/pull/16190)
- community: Add Baichuan LLM to community by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/16724](https://togithub.com/langchain-ai/langchain/pull/16724)
- Add async methods for the AstraDB VectorStore by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16391](https://togithub.com/langchain-ai/langchain/pull/16391)
- adding parameter for changing the language in SpacyEmbeddings by
[@&#8203;MarinaPlius](https://togithub.com/MarinaPlius) in
[https://github.com/langchain-ai/langchain/pull/15743](https://togithub.com/langchain-ai/langchain/pull/15743)
- community: Add ChatGLM3 by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/15265](https://togithub.com/langchain-ai/langchain/pull/15265)
- Fix rephrase step in chatbot use case by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchain/pull/16763](https://togithub.com/langchain-ai/langchain/pull/16763)
- \[partners]: langchain-robocorp ease dependency version by
[@&#8203;rihardsgravis](https://togithub.com/rihardsgravis) in
[https://github.com/langchain-ai/langchain/pull/16765](https://togithub.com/langchain-ai/langchain/pull/16765)
- robocorp: release 0.0.3 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16789](https://togithub.com/langchain-ai/langchain/pull/16789)
- Report which file was errored on in DirectoryLoader by
[@&#8203;alex-dr](https://togithub.com/alex-dr) in
[https://github.com/langchain-ai/langchain/pull/16790](https://togithub.com/langchain-ai/langchain/pull/16790)
- docs: add csv use case by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16756](https://togithub.com/langchain-ai/langchain/pull/16756)
- Fix Dep Recommendation by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/16793](https://togithub.com/langchain-ai/langchain/pull/16793)
- core\[patch]: Update doc-string in base callback managers by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15885](https://togithub.com/langchain-ai/langchain/pull/15885)
- community\[patch]: undo create_sql_agent breaking by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16797](https://togithub.com/langchain-ai/langchain/pull/16797)
- community: add the ability to load existing transcripts from
AssemblyAI by their id. by
[@&#8203;RaphaelFavero](https://togithub.com/RaphaelFavero) in
[https://github.com/langchain-ai/langchain/pull/16051](https://togithub.com/langchain-ai/langchain/pull/16051)
- openai\[minor]: change to secretstr by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16803](https://togithub.com/langchain-ai/langchain/pull/16803)
- infra: remove unnecessary tests on partner packages by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16808](https://togithub.com/langchain-ai/langchain/pull/16808)
- nvidia-trt: remove tritonclient all extra dep by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16749](https://togithub.com/langchain-ai/langchain/pull/16749)
- langchain\[minor],community\[minor]: Add async methods in BaseLoader
by [@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16634](https://togithub.com/langchain-ai/langchain/pull/16634)
- core(minor): Add bulk add messages to BaseChatMessageHistory interface
by [@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15709](https://togithub.com/langchain-ai/langchain/pull/15709)
- nomic: init pkg by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16853](https://togithub.com/langchain-ai/langchain/pull/16853)
- Add async methods to BaseStore by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16669](https://togithub.com/langchain-ai/langchain/pull/16669)
- core\[patch]: Release 0.1.18 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16870](https://togithub.com/langchain-ai/langchain/pull/16870)
- commmunity\[patch]: Release 0.0.17 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16871](https://togithub.com/langchain-ai/langchain/pull/16871)
- langchain\[patch]: Release 0.1.5 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16881](https://togithub.com/langchain-ai/langchain/pull/16881)
- infra: bump langchain min test reqs by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16882](https://togithub.com/langchain-ai/langchain/pull/16882)

#### New Contributors

- [@&#8203;antoniolanza1996](https://togithub.com/antoniolanza1996) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/16583](https://togithub.com/langchain-ai/langchain/pull/16583)
- [@&#8203;Daggx](https://togithub.com/Daggx) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16377](https://togithub.com/langchain-ai/langchain/pull/16377)
- [@&#8203;CallumCM](https://togithub.com/CallumCM) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16645](https://togithub.com/langchain-ai/langchain/pull/16645)
- [@&#8203;micahparker](https://togithub.com/micahparker) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16633](https://togithub.com/langchain-ai/langchain/pull/16633)
- [@&#8203;xiaokuili](https://togithub.com/xiaokuili) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16615](https://togithub.com/langchain-ai/langchain/pull/16615)
- [@&#8203;sydneyidler](https://togithub.com/sydneyidler) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16625](https://togithub.com/langchain-ai/langchain/pull/16625)
- [@&#8203;tryumanshow](https://togithub.com/tryumanshow) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16618](https://togithub.com/langchain-ai/langchain/pull/16618)
- [@&#8203;stewartjarod](https://togithub.com/stewartjarod) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16649](https://togithub.com/langchain-ai/langchain/pull/16649)
- [@&#8203;derenrich](https://togithub.com/derenrich) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16681](https://togithub.com/langchain-ai/langchain/pull/16681)
- [@&#8203;Jalmeida1994](https://togithub.com/Jalmeida1994) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16673](https://togithub.com/langchain-ai/langchain/pull/16673)
- [@&#8203;zhxu73](https://togithub.com/zhxu73) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16660](https://togithub.com/langchain-ai/langchain/pull/16660)
- [@&#8203;Rijul1204](https://togithub.com/Rijul1204) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16646](https://togithub.com/langchain-ai/langchain/pull/16646)
- [@&#8203;ARKA1112](https://togithub.com/ARKA1112) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16564](https://togithub.com/langchain-ai/langchain/pull/16564)
- [@&#8203;owensims1](https://togithub.com/owensims1) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16700](https://togithub.com/langchain-ai/langchain/pull/16700)
- [@&#8203;ash-hun](https://togithub.com/ash-hun) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16699](https://togithub.com/langchain-ai/langchain/pull/16699)
- [@&#8203;pashva](https://togithub.com/pashva) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16693](https://togithub.com/langchain-ai/langchain/pull/16693)
- [@&#8203;benitoThree](https://togithub.com/benitoThree) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15280](https://togithub.com/langchain-ai/langchain/pull/15280)
- [@&#8203;taimo3810](https://togithub.com/taimo3810) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16616](https://togithub.com/langchain-ai/langchain/pull/16616)
- [@&#8203;brnaba-aws](https://togithub.com/brnaba-aws) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15478](https://togithub.com/langchain-ai/langchain/pull/15478)
- [@&#8203;HugoMichard](https://togithub.com/HugoMichard) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16359](https://togithub.com/langchain-ai/langchain/pull/16359)
- [@&#8203;jaelgu](https://togithub.com/jaelgu) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16256](https://togithub.com/langchain-ai/langchain/pull/16256)
- [@&#8203;Kirushikesh](https://togithub.com/Kirushikesh) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16722](https://togithub.com/langchain-ai/langchain/pull/16722)
- [@&#8203;ElliotChina](https://togithub.com/ElliotChina) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15441](https://togithub.com/langchain-ai/langchain/pull/15441)
- [@&#8203;nelly-hateva](https://togithub.com/nelly-hateva) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16019](https://togithub.com/langchain-ai/langchain/pull/16019)
- [@&#8203;machulav](https://togithub.com/machulav) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/14506](https://togithub.com/langchain-ai/langchain/pull/14506)
- [@&#8203;shayben](https://togithub.com/shayben) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13704](https://togithub.com/langchain-ai/langchain/pull/13704)
- [@&#8203;gthank](https://togithub.com/gthank) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16740](https://togithub.com/langchain-ai/langchain/pull/16740)
- [@&#8203;hulitaitai](https://togithub.com/hulitaitai) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16729](https://togithub.com/langchain-ai/langchain/pull/16729)
- [@&#8203;killinsun](https://togithub.com/killinsun) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16608](https://togithub.com/langchain-ai/langchain/pull/16608)
- [@&#8203;Lord-Haji](https://togithub.com/Lord-Haji) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16440](https://togithub.com/langchain-ai/langchain/pull/16440)
- [@&#8203;MarinaPlius](https://togithub.com/MarinaPlius) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15743](https://togithub.com/langchain-ai/langchain/pull/15743)
- [@&#8203;alex-dr](https://togithub.com/alex-dr) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16790](https://togithub.com/langchain-ai/langchain/pull/16790)
- [@&#8203;RaphaelFavero](https://togithub.com/RaphaelFavero) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16051](https://togithub.com/langchain-ai/langchain/pull/16051)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.1.4...v0.1.5

###
[`v0.1.4`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.4)

[Compare
Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.3...v0.1.4)

#### What's Changed

- Minor nit on HyDE by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16478](https://togithub.com/langchain-ai/langchain/pull/16478)
- template: fix azure params in retrieval agent by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16257](https://togithub.com/langchain-ai/langchain/pull/16257)
- cli\[patch]: add integration tests to default makefile by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16479](https://togithub.com/langchain-ai/langchain/pull/16479)
- feat(llms): support more tasks in HuggingFaceHub LLM and remove
deprecated dep by [@&#8203;mspronesti](https://togithub.com/mspronesti)
in
[https://github.com/langchain-ai/langchain/pull/14406](https://togithub.com/langchain-ai/langchain/pull/14406)
- Fixed typo on quickstart.ipynb by
[@&#8203;dudgeon](https://togithub.com/dudgeon) in
[https://github.com/langchain-ai/langchain/pull/16482](https://togithub.com/langchain-ai/langchain/pull/16482)
- community: SQLStrStore/SQLDocStore provide an easy SQL alternative to
`InMemoryStore` to persist data remotely in a SQL storage by
[@&#8203;gcheron](https://togithub.com/gcheron) in
[https://github.com/langchain-ai/langchain/pull/15909](https://togithub.com/langchain-ai/langchain/pull/15909)
- community: Fix Baichuan Chat. by
[@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant) in
[https://github.com/langchain-ai/langchain/pull/15207](https://togithub.com/langchain-ai/langchain/pull/15207)
- community: normalize bedrock embeddings by
[@&#8203;dmenini](https://togithub.com/dmenini) in
[https://github.com/langchain-ai/langchain/pull/15103](https://togithub.com/langchain-ai/langchain/pull/15103)
- feat: adding paygo api support for Azure ML / Azure AI Studio by
[@&#8203;santiagxf](https://togithub.com/santiagxf) in
[https://github.com/langchain-ai/langchain/pull/14560](https://togithub.com/langchain-ai/langchain/pull/14560)
- community: Improve mlflow callback by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/15691](https://togithub.com/langchain-ai/langchain/pull/15691)
- Include scores in MongoDB Atlas QA chain results by
[@&#8203;NoahStapp](https://togithub.com/NoahStapp) in
[https://github.com/langchain-ai/langchain/pull/14666](https://togithub.com/langchain-ai/langchain/pull/14666)
- langchain\[patch]: In HTMLHeaderTextSplitter set default encoding to
utf-8 by [@&#8203;i-w-a](https://togithub.com/i-w-a) in
[https://github.com/langchain-ai/langchain/pull/16372](https://togithub.com/langchain-ai/langchain/pull/16372)
- langchain: Extract \_aperform_agent_action from \_aiter_next_step from
AgentExecutor by
[@&#8203;gianfrancodemarco](https://togithub.com/gianfrancodemarco) in
[https://github.com/langchain-ai/langchain/pull/15707](https://togithub.com/langchain-ai/langchain/pull/15707)
- community:Adding Konko Completion endpoint by
[@&#8203;shivanimodi16](https://togithub.com/shivanimodi16) in
[https://github.com/langchain-ai/langchain/pull/15570](https://togithub.com/langchain-ai/langchain/pull/15570)
- docs: Updated integration docs structure for chat/anthropic by
[@&#8203;L-cloud](https://togithub.com/L-cloud) in
[https://github.com/langchain-ai/langchain/pull/16268](https://togithub.com/langchain-ai/langchain/pull/16268)
- Add KDBAI vector store by [@&#8203;bu2kx](https://togithub.com/bu2kx)
in
[https://github.com/langchain-ai/langchain/pull/12797](https://togithub.com/langchain-ai/langchain/pull/12797)
- Docs: Fix version in which astream_events was released by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16481](https://togithub.com/langchain-ai/langchain/pull/16481)
- \[langchain]: allow passing client with OpenAIAssistantRunnable by
[@&#8203;kristapratico](https://togithub.com/kristapratico) in
[https://github.com/langchain-ai/langchain/pull/16486](https://togithub.com/langchain-ai/langchain/pull/16486)
- community: Fix MlflowCallback with none artifacts_dir by
[@&#8203;serena-ruan](https://togithub.com/serena-ruan) in
[https://github.com/langchain-ai/langchain/pull/16487](https://togithub.com/langchain-ai/langchain/pull/16487)
- langchain: Minor Fix: Enable Passing custom_headers for Authentication
in GraphQL Agent/Tool by
[@&#8203;zendegani](https://togithub.com/zendegani) in
[https://github.com/langchain-ai/langchain/pull/16413](https://togithub.com/langchain-ai/langchain/pull/16413)
- Feature: Add iFlyTek Spark LLM chat model support by
[@&#8203;vsxd](https://togithub.com/vsxd) in
[https://github.com/langchain-ai/langchain/pull/13389](https://togithub.com/langchain-ai/langchain/pull/13389)
- community: Load list of files using UnstructuredFileLoader by
[@&#8203;raunakshrivastava7](https://togithub.com/raunakshrivastava7) in
[https://github.com/langchain-ai/langchain/pull/16216](https://togithub.com/langchain-ai/langchain/pull/16216)
- \[community]\[cohere] Update cohere rerank and comparison docs by
[@&#8203;BeatrixCohere](https://togithub.com/BeatrixCohere) in
[https://github.com/langchain-ai/langchain/pull/16198](https://togithub.com/langchain-ai/langchain/pull/16198)
- \[community]\[document loaders]\[surrealdb] fix for asyncio by
[@&#8203;lalanikarim](https://togithub.com/lalanikarim) in
[https://github.com/langchain-ai/langchain/pull/16092](https://togithub.com/langchain-ai/langchain/pull/16092)
- Community: added 'conversational' as a valid task for hugginface
endopoint models by
[@&#8203;alessioserra](https://togithub.com/alessioserra) in
[https://github.com/langchain-ai/langchain/pull/15761](https://togithub.com/langchain-ai/langchain/pull/15761)
- Refactor: use SecretStr for yandex embedding by
[@&#8203;chyroc](https://togithub.com/chyroc) in
[https://github.com/langchain-ai/langchain/pull/15463](https://togithub.com/langchain-ai/langchain/pull/15463)
- Remove double line by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/16426](https://togithub.com/langchain-ai/langchain/pull/16426)
- community: avoid KeyError when language not in LANGUAGE_SEGMENTERS by
[@&#8203;dzlab](https://togithub.com/dzlab) in
[https://github.com/langchain-ai/langchain/pull/15212](https://togithub.com/langchain-ai/langchain/pull/15212)
- community: Fix error message when litellm is not installed by
[@&#8203;jeremi](https://togithub.com/jeremi) in
[https://github.com/langchain-ai/langchain/pull/16316](https://togithub.com/langchain-ai/langchain/pull/16316)
- docs: typo in tool use quickstart page by
[@&#8203;Tipwheal](https://togithub.com/Tipwheal) in
[https://github.com/langchain-ai/langchain/pull/16494](https://togithub.com/langchain-ai/langchain/pull/16494)
- Docs: Add streaming section by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16468](https://togithub.com/langchain-ai/langchain/pull/16468)
- added a few suggestions for sql docs by
[@&#8203;fpingham](https://togithub.com/fpingham) in
[https://github.com/langchain-ai/langchain/pull/16508](https://togithub.com/langchain-ai/langchain/pull/16508)
- Update SQL agent toolkit docs by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16409](https://togithub.com/langchain-ai/langchain/pull/16409)
- CI: Update issue template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16517](https://togithub.com/langchain-ai/langchain/pull/16517)
- docs: rm output by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16519](https://togithub.com/langchain-ai/langchain/pull/16519)
- CI: redirect feature requests to ideas in discussions by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16522](https://togithub.com/langchain-ai/langchain/pull/16522)
- CI: more update to ideas template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16524](https://togithub.com/langchain-ai/langchain/pull/16524)
- langchain-google-vertexai: more verbose mypy config by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[https://github.com/langchain-ai/langchain/pull/16307](https://togithub.com/langchain-ai/langchain/pull/16307)
- Adds progress bar to VertexAIEmbeddings by
[@&#8203;ugm2](https://togithub.com/ugm2) in
[https://github.com/langchain-ai/langchain/pull/14542](https://togithub.com/langchain-ai/langchain/pull/14542)
- docs:Updated integration docs structure for chat/google_vertex_ai_palm
by [@&#8203;manokhina](https://togithub.com/manokhina) in
[https://github.com/langchain-ai/langchain/pull/16201](https://togithub.com/langchain-ai/langchain/pull/16201)
- CI: Fix ideas template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16529](https://togithub.com/langchain-ai/langchain/pull/16529)
- CI: more updates to feature request template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16531](https://togithub.com/langchain-ai/langchain/pull/16531)
- CI: Update q-a template by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16532](https://togithub.com/langchain-ai/langchain/pull/16532)
- CI: more qa template changes by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/16533](https://togithub.com/langchain-ai/langchain/pull/16533)
- Updated comments about `n_gpu_layers` in the Metal section by
[@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16501](https://togithub.com/langchain-ai/langchain/pull/16501)
- Added a better error message when location is not supported by
[@&#8203;lkuligin](https://togithub.com/lkuligin) in
[https://github.com/langchain-ai/langchain/pull/16535](https://togithub.com/langchain-ai/langchain/pull/16535)
- community: VectorStore integration for SAP HANA Cloud Vector Engine by
[@&#8203;MartinKolbAtWork](https://togithub.com/MartinKolbAtWork) in
[https://github.com/langchain-ai/langchain/pull/16514](https://togithub.com/langchain-ai/langchain/pull/16514)
- community: added support for Guardrails for Amazon Bedrock by
[@&#8203;harelix](https://togithub.com/harelix) in
[https://github.com/langchain-ai/langchain/pull/15099](https://togithub.com/langchain-ai/langchain/pull/15099)
- anthropic\[patch]: allow pop by field name by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16544](https://togithub.com/langchain-ai/langchain/pull/16544)
- core: consolidate conditional in BaseTool by
[@&#8203;arnob-sengupta](https://togithub.com/arnob-sengupta) in
[https://github.com/langchain-ai/langchain/pull/16530](https://togithub.com/langchain-ai/langchain/pull/16530)
- langchain\[patch]: oai tools output parser nit by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16540](https://togithub.com/langchain-ai/langchain/pull/16540)
- docs: `Hugging Face` update by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/16490](https://togithub.com/langchain-ai/langchain/pull/16490)
- docs: allow pdf download of api ref by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16550](https://togithub.com/langchain-ai/langchain/pull/16550)
- community: Add OCI Generative AI integration by
[@&#8203;raveharpaz](https://togithub.com/raveharpaz) in
[https://github.com/langchain-ai/langchain/pull/16548](https://togithub.com/langchain-ai/langchain/pull/16548)
- exa: init pkg by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16553](https://togithub.com/langchain-ai/langchain/pull/16553)
- langchain-google-vertexai: perserving grounding metadata by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[https://github.com/langchain-ai/langchain/pull/16309](https://togithub.com/langchain-ai/langchain/pull/16309)
- added logic for method get_num_tokens() by
[@&#8203;Adi8885](https://togithub.com/Adi8885) in
[https://github.com/langchain-ai/langchain/pull/16205](https://togithub.com/langchain-ai/langchain/pull/16205)
- langchain\[patch]: Fix doc-string grammar by
[@&#8203;anders-ahsman](https://togithub.com/anders-ahsman) in
[https://github.com/langchain-ai/langchain/pull/16543](https://togithub.com/langchain-ai/langchain/pull/16543)
- core\[patch]: passthrough BaseRetriever.invoke(\*\*kwargs) by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16551](https://togithub.com/langchain-ai/langchain/pull/16551)
- community: YandexGPT models - add sleep_interval by
[@&#8203;tyumentsev4](https://togithub.com/tyumentsev4) in
[https://github.com/langchain-ai/langchain/pull/16566](https://togithub.com/langchain-ai/langchain/pull/16566)
- langchain : Fix message type lookup in Anthropic Partners by
[@&#8203;L-cloud](https://togithub.com/L-cloud) in
[https://github.com/langchain-ai/langchain/pull/16563](https://togithub.com/langchain-ai/langchain/pull/16563)
- Use official code url by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16560](https://togithub.com/langchain-ai/langchain/pull/16560)
- Fix broken urls by [@&#8203;169](https://togithub.com/169) in
[https://github.com/langchain-ai/langchain/pull/16559](https://togithub.com/langchain-ai/langchain/pull/16559)
- community: Add LiteLLM Router Integration by
[@&#8203;bburgin](https://togithub.com/bburgin) in
[https://github.com/langchain-ai/langchain/pull/15588](https://togithub.com/langchain-ai/langchain/pull/15588)
- core\[patch], community\[patch], openai\[patch]: consolidate openai
tool… by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16485](https://togithub.com/langchain-ai/langchain/pull/16485)
- docs: output parser nits by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16588](https://togithub.com/langchain-ai/langchain/pull/16588)
- openai\[patch]: accept function_call dict in bind_functions by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16483](https://togithub.com/langchain-ai/langchain/pull/16483)
- docs: rag citations by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16549](https://togithub.com/langchain-ai/langchain/pull/16549)
- core\[patch]: Release 0.1.16 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16589](https://togithub.com/langchain-ai/langchain/pull/16589)
- openai\[patch]: Release 0.0.4 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16590](https://togithub.com/langchain-ai/langchain/pull/16590)
- community\[patch]: Release 0.0.16 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16591](https://togithub.com/langchain-ai/langchain/pull/16591)
- langchain\[patch]: Release 0.1.4 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16592](https://togithub.com/langchain-ai/langchain/pull/16592)
- infra: move indexing documentation test by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16595](https://togithub.com/langchain-ai/langchain/pull/16595)

#### New Contributors

- [@&#8203;dudgeon](https://togithub.com/dudgeon) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16482](https://togithub.com/langchain-ai/langchain/pull/16482)
- [@&#8203;gcheron](https://togithub.com/gcheron) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15909](https://togithub.com/langchain-ai/langchain/pull/15909)
- [@&#8203;baichuan-assistant](https://togithub.com/baichuan-assistant)
made their first contribution in
[https://github.com/langchain-ai/langchain/pull/15207](https://togithub.com/langchain-ai/langchain/pull/15207)
- [@&#8203;santiagxf](https://togithub.com/santiagxf) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/14560](https://togithub.com/langchain-ai/langchain/pull/14560)
- [@&#8203;serena-ruan](https://togithub.com/serena-ruan) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15691](https://togithub.com/langchain-ai/langchain/pull/15691)
- [@&#8203;i-w-a](https://togithub.com/i-w-a) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16372](https://togithub.com/langchain-ai/langchain/pull/16372)
- [@&#8203;gianfrancodemarco](https://togithub.com/gianfrancodemarco)
made their first contribution in
[https://github.com/langchain-ai/langchain/pull/15707](https://togithub.com/langchain-ai/langchain/pull/15707)
- [@&#8203;shivanimodi16](https://togithub.com/shivanimodi16) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15570](https://togithub.com/langchain-ai/langchain/pull/15570)
- [@&#8203;L-cloud](https://togithub.com/L-cloud) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16268](https://togithub.com/langchain-ai/langchain/pull/16268)
- [@&#8203;bu2kx](https://togithub.com/bu2kx) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/12797](https://togithub.com/langchain-ai/langchain/pull/12797)
- [@&#8203;kristapratico](https://togithub.com/kristapratico) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16486](https://togithub.com/langchain-ai/langchain/pull/16486)
- [@&#8203;zendegani](https://togithub.com/zendegani) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16413](https://togithub.com/langchain-ai/langchain/pull/16413)
- [@&#8203;vsxd](https://togithub.com/vsxd) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13389](https://togithub.com/langchain-ai/langchain/pull/13389)
- [@&#8203;alessioserra](https://togithub.com/alessioserra) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/15761](https://togithub.com/langchain-ai/langchain/pull/15761)
- [@&#8203;dzlab](https://togithub.com/dzlab) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15212](https://togithub.com/langchain-ai/langchain/pull/15212)
- [@&#8203;jeremi](https://togithub.com/jeremi) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16316](https://togithub.com/langchain-ai/langchain/pull/16316)
- [@&#8203;Tipwheal](https://togithub.com/Tipwheal) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16494](https://togithub.com/langchain-ai/langchain/pull/16494)
- [@&#8203;manokhina](https://togithub.com/manokhina) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16201](https://togithub.com/langchain-ai/langchain/pull/16201)
- [@&#8203;MartinKolbAtWork](https://togithub.com/MartinKolbAtWork) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/16514](https://togithub.com/langchain-ai/langchain/pull/16514)
- [@&#8203;harelix](https://togithub.com/harelix) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15099](https://togithub.com/langchain-ai/langchain/pull/15099)
- [@&#8203;arnob-sengupta](https://togithub.com/arnob-sengupta) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/16530](https://togithub.com/langchain-ai/langchain/pull/16530)
- [@&#8203;raveharpaz](https://togithub.com/raveharpaz) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16548](https://togithub.com/langchain-ai/langchain/pull/16548)
- [@&#8203;Adi8885](https://togithub.com/Adi8885) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/16205](https://togithub.com/langchain-ai/langchain/pull/16205)
- [@&#8203;anders-ahsman](https://togithub.com/anders-ahsman) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/16543](https://togithub.com/langchain-ai/langchain/pull/16543)
- [@&#8203;bburgin](https://togithub.com/bburgin) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/15588](https://togithub.com/langchain-ai/langchain/pull/15588)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.1.3...v0.1.4

###
[`v0.1.3`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.3)

[Compare
Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.2...v0.1.3)

#### What's Changed

- community: (Re)enable streaming for GPT4all by
[@&#8203;tomjorquera](https://togithub.com/tomjorquera) in
[https://github.com/langchain-ai/langchain/pull/16392](https://togithub.com/langchain-ai/langchain/pull/16392)
- langchain_google_vertexai:Enable the use of langchain's built-in tools
in Gemini's function calling by
[@&#8203;y2noda](https://togithub.com/y2noda) in
[https://github.com/langchain-ai/langchain/pull/16341](https://togithub.com/langchain-ai/langchain/pull/16341)
- community\[patch]: ElasticsearchStore: add relevance function selector
by [@&#8203;maxjakob](https://togithub.com/maxjakob) in
[https://github.com/langchain-ai/langchain/pull/16378](https://togithub.com/langchain-ai/langchain/pull/16378)
- community\[patch]: Update bing results tool name by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16395](https://togithub.com/langchain-ai/langchain/pull/16395)
- docs: qa rag nit by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/16400](https://togithub.com/langchain-ai/langchain/pull/16400)
- DeepInfra support for chat models by
[@&#8203;ichernev](https://togithub.com/ichernev) in
[https://github.com/langchain-ai/langchain/pull/16380](https://togithub.com/langchain-ai/langchain/pull/16380)
- \[community] ElasticsearchStore: enable max inner product by
[@&#8203;maxjakob](https://togithub.com/maxjakob) in
[https://github.com/langchain-ai/langchain/pull/16393](https://togithub.com/langchain-ai/langchain/pull/16393)
- <community>: update documentation on jaguar vector store by
[@&#8203;fserv](https://togithub.com/fserv) in
[https://github.com/langchain-ai/langchain/pull/16346](https://togithub.com/langchain-ai/langchain/pull/16346)
- Docs: Update import library for StreamlitCallbackHandler by
[@&#8203;Hadi2525](https://togithub.com/Hadi2525) in
[https://github.com/langchain-ai/langchain/pull/16401](https://togithub.com/langchain-ai/langchain/pull/16401)
- Minor update to Robocorp toolkit docs by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/16399](https://togithub.com/langchain-ai/langchain/pull/16399)
- community: Update Memgraph support by
[@&#8203;katarinasupe](https://togithub.com/katarinasupe) in
[https://github.com/langchain-ai/langchain/pull/16360](https://togithub.com/langchain-ai/langchain/pull/16360)
- core\[patch]: preserve inspect.iscoroutinefunction with
[@&#8203;deprecated](https://togithub.com/deprecated) decorator by
[@&#8203;piotrm0](https://togithub.com/piotrm0) in
[https://github.com/langchain-ai/langchain/pull/16295](https://togithub.com/langchain-ai/langchain/pull/16295)
- Community: BedrockChat -> Support Titan express as chat model by
[@&#8203;Guillem96](https://togithub.com/Guillem96) in
[https://github.com/langchain-ai/langchain/pull/15408](https://togithub.com/langchain-ai/langchain/pull/15408)
- community: allow additional kwargs in MlflowEmbeddings for
compatibility with Cohere API by
[@&#8203;elucherini](https://togithub.com/elucherini) in
[https://github.com/langchain-ai/langchain/pull/15242](https://togithub.com/langchain-ai/langchain/pull/15242)
- docs: update vectorstores/llm_rails integration doc by
[@&#8203;OmarAly23](https://togithub.com/OmarAly23) in
[https://github.com/langchain-ai/langchain/pull/16199](https://togithub.com/langchain-ai/langchain/pull/16199)
- Docs: Updated callbacks/index.mdx by
[@&#8203;HazSyl1](https://togithub.com/HazSyl1) in
[https://github.com/langchain-ai/langchain/pull/16404](https://togithub.com/langchain-ai/langchain/pull/16404)
- multiple: update langsmith dep by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16407](https://togithub.com/langchain-ai/langchain/pull/16407)
- cli\[patch]: new fields in integration template, release 0.0.21 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16398](https://togithub.com/langchain-ai/langchain/pull/16398)
- cli\[patch]: pypi fields by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/16410](https://togithub.com/langchain-ai/langchain/pull/16410)
- <community>: Store Message History to TiDB Database by
[@&#8203;IANTHEREAL](https://togithub.com/IANTHEREAL) in
[https://github.com/langchain-ai/langchain/pull/16304](https://togithub.com/langchain-ai/langchain/pull/16304)
- Docs: fix formatting issue in rockset.ipynb by
[@&#8203;jonathanalgar](https://togithub.com/jonathanalgar) in
[https://github.com/langchain-ai/langchain/pull/16328](https://togithub.com/langchain-ai/langchain/pull/16328)
- core: absolute `EXAMPLE_DIR` path by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[https://github.com/langchain-ai/langchain/pull/16325](https://togithub.com/langchain-ai/langchain/pull/16325)
- community: fix typo in pgvecto_rs debug msg by
[@&#8203;s-g-1](https://togithub.com/s-g-1) in
[https://github.com/langchain-ai/langchain/pull/16318](https://togithub.com/langchain-ai/langchain/pull/16318)
- Update grobid.py by [@&#8203;naarkhoo](https://togithub.com/naarkhoo)
in
[https://github.com/langchain-ai/langchain/pull/16298](https://togithub.com/langchain-ai/langchain/pull/16298)
- Add documentation for Cassandra Document Loader by
[@&#8203;cbornet](https://togithub.com/cbornet) in
[https://github.com/langchain-ai/langchain/pull/16282](https://togithub.com/langchain-ai/langchain/pull/16282)
- community: add TigerGraph support by
[@&#8203;parkererickson-tg](https://togithub.com/parkererickson-tg) in
[https://github.com/langchain-ai/langchain/pull/16280](https://togithub.com/langchain-ai/langchain/pull/16280)
- Core: Fix f-string formatting in error message for configurable_fields
by [@&#8203;cvansteenburg](https://togithub.com/cvansteenburg) in
[https://github.com/langchain-ai/langchain/pull/16411](https://togithub.com/langchain-ai/langchain/pull/16411)
- docs: add milvus multitenancy doc by
[@&#8203;zc277584121](https://togithub.com/zc277584121) in
[https://github.com/langchain-ai/langchain/pull/16177](https://togithub.com/langchain-ai/langchain/pull/16177)
- Implement vector length definition at init time in PGVector for
indexing by [@&#8203;Frank995](https://togithub.com/Frank995) in
[https://github.com/langchain-ai/langchain/pull/16133](https://togithub.com/langchain-ai/langchain/pull/16133)
- docs: Updated integration docs structure for tools/arxiv
([#&#8203;16091](https://togithub.com/langchain-ai/langchain/issues/16091))
by [@&#8203;jmelot](https://togithub.com/jmelot) in
[https://github.com/langchain-ai/langchain/pull/16250](https://togithub.com/langchain-ai/langchain/pull/16250)
- Bedrock async methods by
[@&#8203;DLOVRIC2](https://togithub.com/DLOVRIC2) in
[https://github.com/langchain-ai/langchain/pull/12477](https://togithub.com/langchain-ai/langchain/pull/12477)
- \[improve] google-vertexai: relax types-requests deps range by
[@&#8203;nicoloboschi](https://togithub.com/nicoloboschi) in
[https://github.com/langchain-ai/langchain/pull/16264](https://togithub.com/langchain-ai/langchain/pull/16264)
- community: Add CometLLM integration notebook example by
[@&#8203;Lothiraldan](https://togithub.com/Lothiraldan) in
[https://github.com/langchain-ai/langchain/pull/15765](https://togithub.com/langchain-ai/langchain/pull/15765)
- docs\[patch]: Re-write custom agent to show to write a tools agent by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15907](https://togithub.com/langchain-ai/langchain/pull/15907)
- Docs: Agent streaming notebooks by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/15858](https://togithub.com/langchain-ai/langchain/pull/15858)
- <community>: Improve notebook to show how to use tidb to store history
messages by [@&#8203;IANTHEREAL](https://togithub.com/IANTHEREAL) in
[https://github.com/langchain-ai/langchain/pull/16420](https://togithub.com/langchain-ai/langchain/pull/16420)
- Update redis_chat_message_history.ipynb by
[@&#8203;mikeg0](https://togithub.com/mikeg0) in
[https://github.com/langchain-ai/langchain/pull/16344](https://togithub.com/langchain-ai/langchain/pull/16344)
- docs: Update with LCEL examples to Ollama & ChatOllama Integration
notebook by [@&#8203;seanmavley](https://togithub.com/seanmavley) in
[https://github.com/langchain-ai/langchain/pull/16194](https://togithub.com/langchain-ai/langchain/pull/16194)
- community: New documents loader for visio files (with extension .vsdx)
by [@&#8203;florian-morel22](https://togithub.com/florian-morel22) in
[https://github.com/langchain-ai/langchain/pull/16171](https://togithub.com/langchain-ai/langchain/pull/16171)
- core\[patch] Do not try to access attribute of None by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/16321](https://togithub.com/langchain-ai/langchain/pull/16321)
- Core\[Patch] Parse tool input after on_start by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/16430](https://togithub.com/langchain-ai/langchain/pull/16430)
-   community\[p

</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 this update
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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Wenxin Du <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. Ɑ: models Related to LLMs or chat model modules size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants