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

Runnable with message history #13418

Merged
merged 13 commits into from
Nov 17, 2023
Merged

Runnable with message history #13418

merged 13 commits into from
Nov 17, 2023

Conversation

baskaryan
Copy link
Collaborator

@baskaryan baskaryan commented Nov 15, 2023

Copy link

vercel bot commented Nov 15, 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 Nov 17, 2023 7:30pm

@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 Nov 15, 2023
f"Output stored in run as dict but cannot extract messages: "
f"{run.outputs}"
)
elif isinstance(run.outputs, BaseMessage):
Copy link
Collaborator

Choose a reason for hiding this comment

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

These branches would never be reached. run.outputs is always a dict

@baskaryan baskaryan changed the title WIP: runnable history Runnable with message history Nov 15, 2023

fields: Dict = {}
if self.input_messages_key:
fields[self.input_messages_key] = (str, ...)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should this be Union[str, BaseMessage, Sequence[BaseMessage]] to be safer?

@eyurtsev eyurtsev self-assigned this Nov 16, 2023
Copy link
Collaborator

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

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

Haven't finished reviewing yet -- have to run, will try to continue in the evening

super().config_specs
+ [
ConfigurableFieldSpec(
id="user_id",
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the reason why we need both instead of just having a session_id and having the client decide how to deal with that? The reason is that we're opinionated about it's assembled (i.e., we're not passing both parameters independently)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

After thinking a bit I'm OK with user id and thread id being here by default -- seems like it correctly parameterizes history

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is what we wanted for opengpts doesn't necessarily make sense here

Copy link
Collaborator

Choose a reason for hiding this comment

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

With that said I'm OK with user id and thread id as being the default parametrization, but another thing we could do is to accept the parameterization through the init, and pass it along to the factory

super().config_specs
+ [
ConfigurableFieldSpec(
id="user_id",
Copy link
Collaborator

Choose a reason for hiding this comment

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

After thinking a bit I'm OK with user id and thread id being here by default -- seems like it correctly parameterizes history

user_id = config["configurable"].get("user_id")
session_id = thread_id if user_id is None else f"{user_id}:{thread_id}"
config["configurable"]["message_history"] = self.factory(
session_id,
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if instead we let the factory accept a dict with inputs so we avoid doing the string concatenation here, then users won't have to create parsing code in the factory to determine if it was only thread id or user and thread id that were provided etc

    def _merge_configs(self, *configs: Optional[RunnableConfig]) -> RunnableConfig:
        config = super()._merge_configs(*configs)
        # extract thread_id
        if "thread_id" not in config.get("configurable", {}):
            example_input = {self.input_messages_key: "foo"}
            example_config = {"configurable": {"thread_id": "123"}}
            raise ValueError(
                "thread_id is required."
                " Pass it in as part of the config argument to .invoke() or .stream()"
                f"\neg. chain.invoke({example_input}, {example_config})"
            )
        # attach message_history
        thread_id = config["configurable"]["thread_id"]
        user_id = config["configurable"].get("user_id")
        config["configurable"]["message_history"] = self.factory(
            {"thread_id": thread_id, "user_id": user_id}
        )
        return config

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no strong opinions on my end, thoughts @nfcampos?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't do that because none of our chat history classes accept such a dict, so all would need wrappers to be used here if we go with that

Copy link
Collaborator

Choose a reason for hiding this comment

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

What do we think if we reduce this to session_id as a default to match existing implementations?

  • It's possible to parse user id and thread id from the session id, so it won't block folks from implementing that.

In addition, we could do the following as an enhancement if we like it in the future:

  • enhance functionality to accept a factory which takes either a dict or a str as the first argument and based on the type signature invoke it appropriately
  • Allows user to override default config spec by passing something during initialization (and assume this only works with a factory that takes a dict)

MessagesOrDictWithMessages,
Union[str, BaseMessage, MessagesOrDictWithMessages],
],
factory: Callable[[str], BaseChatMessageHistory],
Copy link
Collaborator

Choose a reason for hiding this comment

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

What do you think about changing the factory signature to:

factory: Callable[[dict], BaseChatMessageHistory]

It might be annoying client side to parse the string?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Replied in other thread

**{messages_key: history_chain}
).with_config(run_name="insert_history")
bound = (
history_chain | runnable.with_listeners(on_end=self._exit_history)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to support an async version of on_end ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

With listeners runs it in thread pool. Given chat history classes don't have async methods unfortunately there's no advantage to having native async method

None, self._enter_history, input, config
)

def _exit_history(self, run: Run, config: RunnableConfig) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Because this is handled by a tracer any exception in this code will be silently ignored. I don't think this is the desired behavior by default?

Copy link
Collaborator

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

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

I think this looks good

from langchain.schema.runnable.config import RunnableConfig

MessagesOrDictWithMessages = Union[Sequence["BaseMessage"], Dict[str, Any]]
GetSessionHistoryCallable = Callable[..., BaseChatMessageHistory]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
GetSessionHistoryCallable = Callable[..., BaseChatMessageHistory]
GetSessionHistoryCallable = Callable[[str], BaseChatMessageHistory]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

might cause issues if you pass in something that takes more than str (like RedisChatMessageHistory)

@baskaryan baskaryan merged commit 2e2114d into master Nov 17, 2023
@baskaryan baskaryan deleted the bagatur/runnable_history branch November 17, 2023 20:00
nicolewhite referenced this pull request in autoblocksai/autoblocks-examples Nov 20, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@autoblocks/client](https://togithub.com/autoblocksai/javascript-sdk)
| [`^0.0.17` ->
`^0.0.20`](https://renovatebot.com/diffs/npm/@autoblocks%2fclient/0.0.17/0.0.20)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@autoblocks%2fclient/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@autoblocks%2fclient/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@autoblocks%2fclient/0.0.17/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@autoblocks%2fclient/0.0.17/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`20.9.0` ->
`20.9.2`](https://renovatebot.com/diffs/npm/@types%2fnode/20.9.0/20.9.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.9.0/20.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.9.0/20.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [ai](https://sdk.vercel.ai/docs)
([source](https://togithub.com/vercel/ai)) | [`2.2.22` ->
`2.2.24`](https://renovatebot.com/diffs/npm/ai/2.2.22/2.2.24) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ai/2.2.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai/2.2.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai/2.2.22/2.2.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai/2.2.22/2.2.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.53.0` ->
`8.54.0`](https://renovatebot.com/diffs/npm/eslint/8.53.0/8.54.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.53.0/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.53.0/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-config-next](https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config)
([source](https://togithub.com/vercel/next.js)) | [`14.0.2` ->
`14.0.3`](https://renovatebot.com/diffs/npm/eslint-config-next/14.0.2/14.0.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-next/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-next/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-next/14.0.2/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-next/14.0.2/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [langchain](https://togithub.com/langchain-ai/langchain) | `^0.0.335`
-> `^0.0.338` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.338?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.338?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.335/0.0.338?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.335/0.0.338?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [langchain](https://togithub.com/langchain-ai/langchainjs) |
[`^0.0.186` ->
`^0.0.193`](https://renovatebot.com/diffs/npm/langchain/0.0.186/0.0.193)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.193?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.193?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.186/0.0.193?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.186/0.0.193?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [next](https://nextjs.org)
([source](https://togithub.com/vercel/next.js)) | [`14.0.2` ->
`14.0.3`](https://renovatebot.com/diffs/npm/next/14.0.2/14.0.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/next/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/14.0.2/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/14.0.2/14.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [openai](https://togithub.com/openai/openai-python) | `1.2.3` ->
`1.3.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/1.2.3/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.2.3/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [openai](https://togithub.com/openai/openai-python) | `0.28.1` ->
`1.3.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/0.28.1/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/0.28.1/1.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [openai](https://togithub.com/openai/openai-node) | [`4.17.4` ->
`4.19.0`](https://renovatebot.com/diffs/npm/openai/4.17.4/4.19.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.17.4/4.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.17.4/4.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>autoblocksai/javascript-sdk
(@&#8203;autoblocks/client)</summary>

###
[`v0.0.20`](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.19...0.0.20)

[Compare
Source](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.19...0.0.20)

###
[`v0.0.19`](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.18...0.0.19)

[Compare
Source](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.18...0.0.19)

###
[`v0.0.18`](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.17...0.0.18)

[Compare
Source](https://togithub.com/autoblocksai/javascript-sdk/compare/0.0.17...0.0.18)

</details>

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

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

[Compare
Source](https://togithub.com/vercel/ai/compare/ai@2.2.23...ai@2.2.24)

##### Patch Changes

- [`69ca8f5`](https://togithub.com/vercel/ai/commit/69ca8f5): ai/react:
add experimental_useAssistant hook and experimental_AssistantResponse
- [`3e2299e`](https://togithub.com/vercel/ai/commit/3e2299e):
experimental_StreamData/StreamingReactResponse: optimize parsing,
improve types
- [`70bd2ac`](https://togithub.com/vercel/ai/commit/70bd2ac): ai/solid:
add experimental_StreamData support to useChat

Proper documentation for the new features will be ready in the near
future, but in the meantime you can refer to [this
document](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/assistant-setup.md)
and the accompanying
[example](https://togithub.com/vercel/ai/blob/main/examples/next-openai/app/api/assistant/route.ts)
for the Assistants API, and [this
example](https://togithub.com/vercel/ai/blob/fbda5b20afe33f1e9b73644a1052954b2d2e7602/examples/next-openai/app/api/chat-with-vision)
for working with the new `data` API for vision.

Thanks [@&#8203;lgrammel](https://togithub.com/lgrammel) for the great
work in this release!

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

[Compare
Source](https://togithub.com/vercel/ai/compare/ai@2.2.22...ai@2.2.23)

##### Patch Changes

- [`5a04321`](https://togithub.com/vercel/ai/commit/5a04321): add
StreamData support to StreamingReactResponse, add client-side data API
to react/use-chat

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

### [`v8.54.0`](https://togithub.com/eslint/eslint/releases/tag/v8.54.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.53.0...v8.54.0)

#### Features

-
[`a7a883b`](https://togithub.com/eslint/eslint/commit/a7a883bd6ba4f140b60cbbb2be5b53d750f6c8db)
feat: for-direction rule add check for condition in reverse order
([#&#8203;17755](https://togithub.com/eslint/eslint/issues/17755))
(Angelo Annunziata)
-
[`1452dc9`](https://togithub.com/eslint/eslint/commit/1452dc9f12c45c05d7c569f737221f0d988ecef1)
feat: Add suggestions to no-console
([#&#8203;17680](https://togithub.com/eslint/eslint/issues/17680)) (Joel
Mathew Koshy)
-
[`21ebf8a`](https://togithub.com/eslint/eslint/commit/21ebf8a811be9f4b009cf70a10be5062d4fdc736)
feat: update `no-array-constructor` rule
([#&#8203;17711](https://togithub.com/eslint/eslint/issues/17711))
(Francesco Trotta)

#### Bug Fixes

-
[`98926e6`](https://togithub.com/eslint/eslint/commit/98926e6e7323e5dd12a9f016cb558144296665af)
fix: Ensure that extra data is not accidentally stored in the cache file
([#&#8203;17760](https://togithub.com/eslint/eslint/issues/17760))
(Milos Djermanovic)
-
[`e8cf9f6`](https://togithub.com/eslint/eslint/commit/e8cf9f6a524332293f8b2c90a2db4a532e47d919)
fix: Make dark scroll bar in dark theme
([#&#8203;17753](https://togithub.com/eslint/eslint/issues/17753))
(Pavel)
-
[`3cbeaad`](https://togithub.com/eslint/eslint/commit/3cbeaad7b943c153937ce34365cec2c406f2b98b)
fix: Use `cwd` constructor option as config `basePath` in Linter
([#&#8203;17705](https://togithub.com/eslint/eslint/issues/17705))
(Milos Djermanovic)

#### Documentation

-
[`becfdd3`](https://togithub.com/eslint/eslint/commit/becfdd39b25d795e56c9a13eb3e77af6b9c86e8a)
docs: Make clear when rules are removed
([#&#8203;17728](https://togithub.com/eslint/eslint/issues/17728))
(Nicholas C. Zakas)
-
[`05d6e99`](https://togithub.com/eslint/eslint/commit/05d6e99153ed6d94eb30f46c57609371918a41f3)
docs: update "Submit a Pull Request" page
([#&#8203;17712](https://togithub.com/eslint/eslint/issues/17712))
(Francesco Trotta)
-
[`eb2279e`](https://togithub.com/eslint/eslint/commit/eb2279e5148cee8fdea7dae614f4f8af7a2d06c3)
docs: display info about deprecated rules
([#&#8203;17749](https://togithub.com/eslint/eslint/issues/17749))
(Percy Ma)
-
[`d245326`](https://togithub.com/eslint/eslint/commit/d24532601e64714ac5d08507e05aa5c14ecd1d5a)
docs: Correct working in migrating plugin docs
([#&#8203;17722](https://togithub.com/eslint/eslint/issues/17722))
(Filip Tammergård)

#### Chores

-
[`d644de9`](https://togithub.com/eslint/eslint/commit/d644de9a4b593b565617303a095bc9aa69e7b768)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).54.0
([#&#8203;17773](https://togithub.com/eslint/eslint/issues/17773))
(Milos Djermanovic)
-
[`1e6e314`](https://togithub.com/eslint/eslint/commit/1e6e31415cc429a3a9fc64b2ec03df0e0ec0c91b)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (Jenkins)
-
[`6fb8805`](https://togithub.com/eslint/eslint/commit/6fb8805310afe7476d6c404f172177a6d15fcf11)
chore: Fixed grammar in issue_templates/rule_change
([#&#8203;17770](https://togithub.com/eslint/eslint/issues/17770)) (Joel
Mathew Koshy)
-
[`85db724`](https://togithub.com/eslint/eslint/commit/85db7243ddb8706ed60ab64a7ddf604d0d7de493)
chore: upgrade `markdownlint` to 0.31.1
([#&#8203;17754](https://togithub.com/eslint/eslint/issues/17754))
(Nitin Kumar)
-
[`6d470d2`](https://togithub.com/eslint/eslint/commit/6d470d2e74535761bd56dcb1c021b463ef9e8a9c)
chore: update dependency recast to ^0.23.0
([#&#8203;17736](https://togithub.com/eslint/eslint/issues/17736))
(renovate\[bot])
-
[`b7121b5`](https://togithub.com/eslint/eslint/commit/b7121b590d578c9c9b38ee481313317f30e54817)
chore: update dependency markdownlint-cli to ^0.37.0
([#&#8203;17735](https://togithub.com/eslint/eslint/issues/17735))
(renovate\[bot])
-
[`633b9a1`](https://togithub.com/eslint/eslint/commit/633b9a19752b6a22ab4d6c824f27a75ac0e4151b)
chore: update dependency regenerator-runtime to ^0.14.0
([#&#8203;17739](https://togithub.com/eslint/eslint/issues/17739))
(renovate\[bot])
-
[`acac16f`](https://togithub.com/eslint/eslint/commit/acac16fdf8540f7ba86cf637e3c1b253bd35a268)
chore: update dependency vite-plugin-commonjs to ^0.10.0
([#&#8203;17740](https://togithub.com/eslint/eslint/issues/17740))
(renovate\[bot])
-
[`ba8ca7e`](https://togithub.com/eslint/eslint/commit/ba8ca7e3debcba68ee7015b9221cf5acd7870206)
chore: add .github/renovate.json5
([#&#8203;17567](https://togithub.com/eslint/eslint/issues/17567)) (Josh
Goldberg ✨)

</details>

<details>
<summary>vercel/next.js (eslint-config-next)</summary>

###
[`v14.0.3`](https://togithub.com/vercel/next.js/compare/v14.0.2...v14.0.3)

[Compare
Source](https://togithub.com/vercel/next.js/compare/v14.0.2...v14.0.3)

</details>

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

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

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

#### What's Changed

- Override Keys Option by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/13537](https://togithub.com/langchain-ai/langchain/pull/13537)
- Neptune graph updates by [@&#8203;3coins](https://togithub.com/3coins)
in
[https://github.com/langchain-ai/langchain/pull/13491](https://togithub.com/langchain-ai/langchain/pull/13491)
- WebResearchRetriever error handling in urls with connection error by
[@&#8203;pedro-inf-custodio](https://togithub.com/pedro-inf-custodio) in
[https://github.com/langchain-ai/langchain/pull/13401](https://togithub.com/langchain-ai/langchain/pull/13401)
- Add execution time by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/13542](https://togithub.com/langchain-ai/langchain/pull/13542)
- Generic LLM wrapper to support chat model interface with configurable
chat prompt format by [@&#8203;krasserm](https://togithub.com/krasserm)
in
[https://github.com/langchain-ai/langchain/pull/8295](https://togithub.com/langchain-ai/langchain/pull/8295)
- Use random seed by [@&#8203;hinthornw](https://togithub.com/hinthornw)
in
[https://github.com/langchain-ai/langchain/pull/13544](https://togithub.com/langchain-ai/langchain/pull/13544)
- Fix typo/line break in the middle of a word by
[@&#8203;marks](https://togithub.com/marks) in
[https://github.com/langchain-ai/langchain/pull/13314](https://togithub.com/langchain-ai/langchain/pull/13314)
- Adds support for new OctoAI endpoints by
[@&#8203;AI-Bassem](https://togithub.com/AI-Bassem) in
[https://github.com/langchain-ai/langchain/pull/13521](https://togithub.com/langchain-ai/langchain/pull/13521)
- fixed `openai_assistant` namespace by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13543](https://togithub.com/langchain-ai/langchain/pull/13543)
- move streaming stdout by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13559](https://togithub.com/langchain-ai/langchain/pull/13559)
- update multi index templates by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13569](https://togithub.com/langchain-ai/langchain/pull/13569)
- bump 338, exp 42 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13564](https://togithub.com/langchain-ai/langchain/pull/13564)

#### New Contributors

- [@&#8203;pedro-inf-custodio](https://togithub.com/pedro-inf-custodio)
made their first contribution in
[https://github.com/langchain-ai/langchain/pull/13401](https://togithub.com/langchain-ai/langchain/pull/13401)
- [@&#8203;marks](https://togithub.com/marks) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13314](https://togithub.com/langchain-ai/langchain/pull/13314)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.0.337...v0.0.338

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

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

#### What's Changed

- Make pirate-speak-configurable template not require env vars for alte…
by [@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/13395](https://togithub.com/langchain-ai/langchain/pull/13395)
- Fix a link in docs by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchain/pull/13423](https://togithub.com/langchain-ai/langchain/pull/13423)
- updated `clickup` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13424](https://togithub.com/langchain-ai/langchain/pull/13424)
- DOCS: rag nit by [@&#8203;baskaryan](https://togithub.com/baskaryan)
in
[https://github.com/langchain-ai/langchain/pull/13436](https://togithub.com/langchain-ai/langchain/pull/13436)
- callback refactor by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13372](https://togithub.com/langchain-ai/langchain/pull/13372)
- updated `Activeloop DeepMemory` notebook by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13428](https://togithub.com/langchain-ai/langchain/pull/13428)
- updated `semadb` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13431](https://togithub.com/langchain-ai/langchain/pull/13431)
- Bagatur/chain of note by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13470](https://togithub.com/langchain-ai/langchain/pull/13470)
- Update multi-modal RAG cookbook by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/13429](https://togithub.com/langchain-ai/langchain/pull/13429)
- Update chain of note README.md by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13473](https://togithub.com/langchain-ai/langchain/pull/13473)
- docs: `integrations/text_embeddings/` cleanup by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13476](https://togithub.com/langchain-ai/langchain/pull/13476)
- fix for `integratons/document_loaders` sidebar by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13471](https://togithub.com/langchain-ai/langchain/pull/13471)
- Add ahandle_event to *all* by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/13469](https://togithub.com/langchain-ai/langchain/pull/13469)
- Astra DB: minor improvements to docstrings and demo notebook by
[@&#8203;hemidactylus](https://togithub.com/hemidactylus) in
[https://github.com/langchain-ai/langchain/pull/13449](https://togithub.com/langchain-ai/langchain/pull/13449)
- Use List instead of list by
[@&#8203;ifduyue](https://togithub.com/ifduyue) in
[https://github.com/langchain-ai/langchain/pull/13443](https://togithub.com/langchain-ai/langchain/pull/13443)
- updated `memory` Titles by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13435](https://togithub.com/langchain-ai/langchain/pull/13435)
- BUG Fix app_name in cli app new by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13482](https://togithub.com/langchain-ai/langchain/pull/13482)
- Lock pydantic v1 in app template, cli 0.0.18 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13485](https://togithub.com/langchain-ai/langchain/pull/13485)
- Add serialisation arguments to Bedrock and ChatBedrock by
[@&#8203;dqbd](https://togithub.com/dqbd) in
[https://github.com/langchain-ai/langchain/pull/13465](https://togithub.com/langchain-ai/langchain/pull/13465)
- add input_type to VoyageEmbeddings by
[@&#8203;thomas0809](https://togithub.com/thomas0809) in
[https://github.com/langchain-ai/langchain/pull/13488](https://togithub.com/langchain-ai/langchain/pull/13488)
- Bugfix: OpenAIFunctionsAgentOutputParser doesn't handle functions with
no args by [@&#8203;chrisaffirm](https://togithub.com/chrisaffirm) in
[https://github.com/langchain-ai/langchain/pull/13467](https://togithub.com/langchain-ai/langchain/pull/13467)
- Allow openai v1 in all templates that require it by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13489](https://togithub.com/langchain-ai/langchain/pull/13489)
- updated `async-faiss` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13434](https://togithub.com/langchain-ai/langchain/pull/13434)
- docs `integrations/vectorstores/` cleanup by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13487](https://togithub.com/langchain-ai/langchain/pull/13487)
- Add optional arguments to FalkorDBGraph constructor by
[@&#8203;gkorland](https://togithub.com/gkorland) in
[https://github.com/langchain-ai/langchain/pull/13459](https://togithub.com/langchain-ai/langchain/pull/13459)
- updated `data_connection` index page by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13426](https://togithub.com/langchain-ai/langchain/pull/13426)
- Add Wrapping Library Metadata to MongoDB vector store by
[@&#8203;NoahStapp](https://togithub.com/NoahStapp) in
[https://github.com/langchain-ai/langchain/pull/13084](https://togithub.com/langchain-ai/langchain/pull/13084)
- \[LLMonitorCallbackHandler] Various improvements by
[@&#8203;hughcrt](https://togithub.com/hughcrt) in
[https://github.com/langchain-ai/langchain/pull/13151](https://togithub.com/langchain-ai/langchain/pull/13151)
- TEMPLATES: Add multi-index templates by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13490](https://togithub.com/langchain-ai/langchain/pull/13490)
- IMPROVEMENT: update assistants output and doc by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13480](https://togithub.com/langchain-ai/langchain/pull/13480)
- Runnable with message history by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13418](https://togithub.com/langchain-ai/langchain/pull/13418)
- Add VertexAI Chuck Norris template by
[@&#8203;wietsevenema](https://togithub.com/wietsevenema) in
[https://github.com/langchain-ai/langchain/pull/13531](https://togithub.com/langchain-ai/langchain/pull/13531)
- bump 337 by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13534](https://togithub.com/langchain-ai/langchain/pull/13534)

#### New Contributors

- [@&#8203;ifduyue](https://togithub.com/ifduyue) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13443](https://togithub.com/langchain-ai/langchain/pull/13443)
- [@&#8203;chrisaffirm](https://togithub.com/chrisaffirm) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/13467](https://togithub.com/langchain-ai/langchain/pull/13467)
- [@&#8203;wietsevenema](https://togithub.com/wietsevenema) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/13531](https://togithub.com/langchain-ai/langchain/pull/13531)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.0.336...v0.0.337

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

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

#### What's Changed

- Add new models to openai callback by
[@&#8203;IsakNyberg](https://togithub.com/IsakNyberg) in
[https://github.com/langchain-ai/langchain/pull/13244](https://togithub.com/langchain-ai/langchain/pull/13244)
- Update README.md by
[@&#8203;levalencia](https://togithub.com/levalencia) in
[https://github.com/langchain-ai/langchain/pull/8570](https://togithub.com/langchain-ai/langchain/pull/8570)
- Free knowledge base pod information update by
[@&#8203;mpskex](https://togithub.com/mpskex) in
[https://github.com/langchain-ai/langchain/pull/12813](https://togithub.com/langchain-ai/langchain/pull/12813)
- Update ollama.py by
[@&#8203;glad4enkonm](https://togithub.com/glad4enkonm) in
[https://github.com/langchain-ai/langchain/pull/12895](https://togithub.com/langchain-ai/langchain/pull/12895)
- Improve CSV reader which can't call .strip() on NoneType by
[@&#8203;dennisdegreef](https://togithub.com/dennisdegreef) in
[https://github.com/langchain-ai/langchain/pull/13079](https://togithub.com/langchain-ai/langchain/pull/13079)
- Typo fix to quickstart.mdx by
[@&#8203;marioangst](https://togithub.com/marioangst) in
[https://github.com/langchain-ai/langchain/pull/13178](https://togithub.com/langchain-ai/langchain/pull/13178)
- dalle add model parameter by
[@&#8203;AzeWZ](https://togithub.com/AzeWZ) in
[https://github.com/langchain-ai/langchain/pull/13201](https://togithub.com/langchain-ai/langchain/pull/13201)
- Remove `_get_kwarg_value` function by
[@&#8203;Guillem96](https://togithub.com/Guillem96) in
[https://github.com/langchain-ai/langchain/pull/13184](https://togithub.com/langchain-ai/langchain/pull/13184)
- Update README.md - Added notebook for extraction_openai_tools by
[@&#8203;shauryr](https://togithub.com/shauryr) in
[https://github.com/langchain-ai/langchain/pull/13205](https://togithub.com/langchain-ai/langchain/pull/13205)
- Add dockerfile template by
[@&#8203;langchain-infra](https://togithub.com/langchain-infra) in
[https://github.com/langchain-ai/langchain/pull/13240](https://togithub.com/langchain-ai/langchain/pull/13240)
- added system prompt and template fields to ollama by
[@&#8203;Govind-S-B](https://togithub.com/Govind-S-B) in
[https://github.com/langchain-ai/langchain/pull/13022](https://togithub.com/langchain-ai/langchain/pull/13022)
- Add rag google vertex ai search template by
[@&#8203;juan-calvo-datatonic](https://togithub.com/juan-calvo-datatonic)
in
[https://github.com/langchain-ai/langchain/pull/13294](https://togithub.com/langchain-ai/langchain/pull/13294)
- Add OpenAI API v1 support for ChatAnyscale and fixed a bug with
openai_api_key by [@&#8203;kylehh](https://togithub.com/kylehh) in
[https://github.com/langchain-ai/langchain/pull/13237](https://togithub.com/langchain-ai/langchain/pull/13237)
- Fix typo in timescalevector.ipynb by
[@&#8203;eltociear](https://togithub.com/eltociear) in
[https://github.com/langchain-ai/langchain/pull/13239](https://togithub.com/langchain-ai/langchain/pull/13239)
- docs: align custom_tool document headers by
[@&#8203;edwardzjl](https://togithub.com/edwardzjl) in
[https://github.com/langchain-ai/langchain/pull/13252](https://togithub.com/langchain-ai/langchain/pull/13252)
- chore: bump momento dependency version and refactor search hit usage
by [@&#8203;malandis](https://togithub.com/malandis) in
[https://github.com/langchain-ai/langchain/pull/13111](https://togithub.com/langchain-ai/langchain/pull/13111)
- Add MyScaleWithoutJSON which allows user to wrap columns into
Document's Metadata by [@&#8203;mpskex](https://togithub.com/mpskex) in
[https://github.com/langchain-ai/langchain/pull/13164](https://togithub.com/langchain-ai/langchain/pull/13164)
- Ollama pass kwargs as options instead of top by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13280](https://togithub.com/langchain-ai/langchain/pull/13280)
- Use endpoint_url if provided with boto3 session for dynamodb by
[@&#8203;chevalmuscle](https://togithub.com/chevalmuscle) in
[https://github.com/langchain-ai/langchain/pull/11622](https://togithub.com/langchain-ai/langchain/pull/11622)
- Add missing filter to max_marginal_relevance_search inner call to
max_marginal_relevance_search_by_vector by
[@&#8203;Frank995](https://togithub.com/Frank995) in
[https://github.com/langchain-ai/langchain/pull/13260](https://togithub.com/langchain-ai/langchain/pull/13260)
- FIX: 'from_texts' method in Weaviate with non-existent kwargs param by
[@&#8203;takatost](https://togithub.com/takatost) in
[https://github.com/langchain-ai/langchain/pull/11604](https://togithub.com/langchain-ai/langchain/pull/11604)
- Refine Weaviate docs and add RAG example by
[@&#8203;iamleonie](https://togithub.com/iamleonie) in
[https://github.com/langchain-ai/langchain/pull/13057](https://togithub.com/langchain-ai/langchain/pull/13057)
- Update error message in evaluation runner by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/13296](https://togithub.com/langchain-ai/langchain/pull/13296)
- Fix serialization issue in Matching Engine Vector Store by
[@&#8203;konstantin-spiess](https://togithub.com/konstantin-spiess) in
[https://github.com/langchain-ai/langchain/pull/13266](https://togithub.com/langchain-ai/langchain/pull/13266)
- Self-query template by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/12694](https://togithub.com/langchain-ai/langchain/pull/12694)
- Fix Pinecone cosine relevance score by
[@&#8203;ruiramos](https://togithub.com/ruiramos) in
[https://github.com/langchain-ai/langchain/pull/8920](https://togithub.com/langchain-ai/langchain/pull/8920)
- add: license file to subproject by
[@&#8203;YYYasin19](https://togithub.com/YYYasin19) in
[https://github.com/langchain-ai/langchain/pull/8403](https://togithub.com/langchain-ai/langchain/pull/8403)
- IMPROVEMENT self-query template by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13305](https://togithub.com/langchain-ai/langchain/pull/13305)
- Cookbook for multi-modal RAG eval by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/13272](https://togithub.com/langchain-ai/langchain/pull/13272)
- Increase flexibility of ElasticVectorSearch by
[@&#8203;mertkayhan](https://togithub.com/mertkayhan) in
[https://github.com/langchain-ai/langchain/pull/6863](https://togithub.com/langchain-ai/langchain/pull/6863)
- add cookbook for RAG with baidu QIANFAN and elasticsearch by
[@&#8203;wemysschen](https://togithub.com/wemysschen) in
[https://github.com/langchain-ai/langchain/pull/13287](https://togithub.com/langchain-ai/langchain/pull/13287)
- IMPROVEMENT redirect root to docs by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13303](https://togithub.com/langchain-ai/langchain/pull/13303)
- gpt researcher by [@&#8203;hwchase17](https://togithub.com/hwchase17)
in
[https://github.com/langchain-ai/langchain/pull/13062](https://togithub.com/langchain-ai/langchain/pull/13062)
- add retrieval agent by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13317](https://togithub.com/langchain-ai/langchain/pull/13317)
- Update main readme by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13298](https://togithub.com/langchain-ai/langchain/pull/13298)
- DOCS: cleanup docs directory by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13301](https://togithub.com/langchain-ai/langchain/pull/13301)
- Move OAI assistants to langchain and add callbacks by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13236](https://togithub.com/langchain-ai/langchain/pull/13236)
- fix litellm openai imports by
[@&#8203;krrishdholakia](https://togithub.com/krrishdholakia) in
[https://github.com/langchain-ai/langchain/pull/13307](https://togithub.com/langchain-ai/langchain/pull/13307)
- arxiv retrieval agent improvement by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13329](https://togithub.com/langchain-ai/langchain/pull/13329)
- add more reasonable arxiv retriever by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13327](https://togithub.com/langchain-ai/langchain/pull/13327)
- Pgvector template by
[@&#8203;manuel-soria](https://togithub.com/manuel-soria) in
[https://github.com/langchain-ai/langchain/pull/13267](https://togithub.com/langchain-ai/langchain/pull/13267)
- Fix latest message index by
[@&#8203;billytrend-cohere](https://togithub.com/billytrend-cohere) in
[https://github.com/langchain-ai/langchain/pull/13355](https://togithub.com/langchain-ai/langchain/pull/13355)
- CLI interactivity by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13148](https://togithub.com/langchain-ai/langchain/pull/13148)
- cli 0.0.17 by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13359](https://togithub.com/langchain-ai/langchain/pull/13359)
- added `Cookbooks` link by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13078](https://togithub.com/langchain-ai/langchain/pull/13078)
- Bump pyarrow from 13.0.0 to 14.0.1 in /libs/langchain by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/langchain-ai/langchain/pull/13363](https://togithub.com/langchain-ai/langchain/pull/13363)
- feat(llms): support Openai API v1 for Azure OpenAI completions by
[@&#8203;mspronesti](https://togithub.com/mspronesti) in
[https://github.com/langchain-ai/langchain/pull/13231](https://togithub.com/langchain-ai/langchain/pull/13231)
- Lint Python notebooks with ruff. by
[@&#8203;obi1kenobi](https://togithub.com/obi1kenobi) in
[https://github.com/langchain-ai/langchain/pull/12677](https://togithub.com/langchain-ai/langchain/pull/12677)
- Bump all libraries to the latest `ruff` version. by
[@&#8203;obi1kenobi](https://togithub.com/obi1kenobi) in
[https://github.com/langchain-ai/langchain/pull/13350](https://togithub.com/langchain-ai/langchain/pull/13350)
- fmt by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13371](https://togithub.com/langchain-ai/langchain/pull/13371)
- more cli interactivity, bugfix by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13360](https://togithub.com/langchain-ai/langchain/pull/13360)
- fix cli release by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13373](https://togithub.com/langchain-ai/langchain/pull/13373)
- bump openai by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13262](https://togithub.com/langchain-ai/langchain/pull/13262)
- `Yi` model from `01.ai` , example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13375](https://togithub.com/langchain-ai/langchain/pull/13375)
- Update `rag-timescale-conversation` to dependencies without CVEs. by
[@&#8203;obi1kenobi](https://togithub.com/obi1kenobi) in
[https://github.com/langchain-ai/langchain/pull/13364](https://togithub.com/langchain-ai/langchain/pull/13364)
- Update `templates/rag-self-query` with newer dependencies without
CVEs. by [@&#8203;obi1kenobi](https://togithub.com/obi1kenobi) in
[https://github.com/langchain-ai/langchain/pull/13362](https://togithub.com/langchain-ai/langchain/pull/13362)
- Add limit_to_domains to APIChain based tools by
[@&#8203;fielding](https://togithub.com/fielding) in
[https://github.com/langchain-ai/langchain/pull/13367](https://togithub.com/langchain-ai/langchain/pull/13367)
- api doc newlines by [@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13378](https://togithub.com/langchain-ai/langchain/pull/13378)
- docs integration cards site by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13379](https://togithub.com/langchain-ai/langchain/pull/13379)
- Add some properties to NotionDBLoader by
[@&#8203;kenta-takeuchi](https://togithub.com/kenta-takeuchi) in
[https://github.com/langchain-ai/langchain/pull/13358](https://togithub.com/langchain-ai/langchain/pull/13358)
- IMPROVEMENT more research-assistant configurability by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13312](https://togithub.com/langchain-ai/langchain/pull/13312)
- Make it easier to subclass RunnableEach by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/13346](https://togithub.com/langchain-ai/langchain/pull/13346)
- Agent window management how to by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13033](https://togithub.com/langchain-ai/langchain/pull/13033)
- Bedrock cohere embedding support by
[@&#8203;celmore25](https://togithub.com/celmore25) in
[https://github.com/langchain-ai/langchain/pull/13366](https://togithub.com/langchain-ai/langchain/pull/13366)
- docs: install nit by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13380](https://togithub.com/langchain-ai/langchain/pull/13380)
- Bagatur/update rag use case by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13319](https://togithub.com/langchain-ai/langchain/pull/13319)
- Passthrough kwargs in runnable lambda by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/13405](https://togithub.com/langchain-ai/langchain/pull/13405)
- PGVector needs to close its connection if it is garbage collected by
[@&#8203;Sumukh](https://togithub.com/Sumukh) in
[https://github.com/langchain-ai/langchain/pull/13232](https://togithub.com/langchain-ai/langchain/pull/13232)
- Fix Runnable Lambda Afunc Repr by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchain/pull/13413](https://togithub.com/langchain-ai/langchain/pull/13413)
- Use secretstr for api keys for javelin-ai-gateway by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/13417](https://togithub.com/langchain-ai/langchain/pull/13417)
- FIX: Infer runnable agent single or multi action by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13412](https://togithub.com/langchain-ai/langchain/pull/13412)
- bump 336, exp 44 by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13420](https://togithub.com/langchain-ai/langchain/pull/13420)
- img update by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13421](https://togithub.com/langchain-ai/langchain/pull/13421)

#### New Contributors

- [@&#8203;IsakNyberg](https://togithub.com/IsakNyberg) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13244](https://togithub.com/langchain-ai/langchain/pull/13244)
- [@&#8203;glad4enkonm](https://togithub.com/glad4enkonm) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/12895](https://togithub.com/langchain-ai/langchain/pull/12895)
- [@&#8203;dennisdegreef](https://togithub.com/dennisdegreef) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/13079](https://togithub.com/langchain-ai/langchain/pull/13079)
- [@&#8203;marioangst](https://togithub.com/marioangst) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13178](https://togithub.com/langchain-ai/langchain/pull/13178)
- [@&#8203;AzeWZ](https://togithub.com/AzeWZ) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13201](https://togithub.com/langchain-ai/langchain/pull/13201)
- [@&#8203;Guillem96](https://togithub.com/Guillem96) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13184](https://togithub.com/langchain-ai/langchain/pull/13184)
- [@&#8203;shauryr](https://togithub.com/shauryr) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13205](https://togithub.com/langchain-ai/langchain/pull/13205)
- [@&#8203;langchain-infra](https://togithub.com/langchain-infra) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/13240](https://togithub.com/langchain-ai/langchain/pull/13240)
- [@&#8203;Govind-S-B](https://togithub.com/Govind-S-B) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13022](https://togithub.com/langchain-ai/langchain/pull/13022)
-
[@&#8203;juan-calvo-datatonic](https://togithub.com/juan-calvo-datatonic)
made their first contribution in
[https://github.com/langchain-ai/langchain/pull/13294](https://togithub.com/langchain-ai/langchain/pull/13294)
- [@&#8203;chevalmuscle](https://togithub.com/chevalmuscle) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/11622](https://togithub.com/langchain-ai/langchain/pull/11622)
- [@&#8203;Frank995](https://togithub.com/Frank995) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13260](https://togithub.com/langchain-ai/langchain/pull/13260)
- [@&#8203;takatost](https://togithub.com/takatost) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/11604](https://togithub.com/langchain-ai/langchain/pull/11604)
- [@&#8203;iamleonie](https://togithub.com/iamleonie) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13057](https://togithub.com/langchain-ai/langchain/pull/13057)
- [@&#8203;konstantin-spiess](https://togithub.com/konstantin-spiess)
made their first contribution in
[https://github.com/langchain-ai/langchain/pull/13266](https://togithub.com/langchain-ai/langchain/pull/13266)
- [@&#8203;ruiramos](https://togithub.com/ruiramos) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/8920](https://togithub.com/langchain-ai/langchain/pull/8920)
- [@&#8203;mertkayhan](https://togithub.com/mertkayhan) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/6863](https://togithub.com/langchain-ai/langchain/pull/6863)
- [@&#8203;kenta-takeuchi](https://togithub.com/kenta-takeuchi) made
their first contribution in
[https://github.com/langchain-ai/langchain/pull/13358](https://togithub.com/langchain-ai/langchain/pull/13358)
- [@&#8203;celmore25](https://togithub.com/celmore25) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13366](https://togithub.com/langchain-ai/langchain/pull/13366)
- [@&#8203;Sumukh](https://togithub.com/Sumukh) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13232](https://togithub.com/langchain-ai/langchain/pull/13232)

**Full Changelog**:
https://github.com/langchain-ai/langchain/compare/v0.0.335...v0.0.336

</details>

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

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.192...0.0.193)

#### What's Changed

- Release 0.0.192 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3311](https://togithub.com/langchain-ai/langchainjs/pull/3311)
- Use .invoke for all agent docs and examples by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3319](https://togithub.com/langchain-ai/langchainjs/pull/3319)
- \[AUTO-GENERATED] Add JSDoc examples to classes. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3309](https://togithub.com/langchain-ai/langchainjs/pull/3309)
- updated langchain stack img to be svg by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3324](https://togithub.com/langchain-ai/langchainjs/pull/3324)
- \[AUTO-GENERATED] Add JSDoc examples to classes. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3325](https://togithub.com/langchain-ai/langchainjs/pull/3325)
- \[AUTO-GENERATED] Add JSDoc examples to classes. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3327](https://togithub.com/langchain-ai/langchainjs/pull/3327)
- \[AUTO-GENERATED] Add JSDoc examples to classes. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3329](https://togithub.com/langchain-ai/langchainjs/pull/3329)
- \[AUTO-GENERATED] Add JSDoc examples to classes. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3330](https://togithub.com/langchain-ai/langchainjs/pull/3330)
- Update Ollama functions by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3336](https://togithub.com/langchain-ai/langchainjs/pull/3336)
- Remove console.log from googlevertexai-connection.ts by
[@&#8203;raioalbano](https://togithub.com/raioalbano) in
[https://github.com/langchain-ai/langchainjs/pull/3322](https://togithub.com/langchain-ai/langchainjs/pull/3322)
- Add batch size arg by
[@&#8203;hinthornw](https://togithub.com/hinthornw) in
[https://github.com/langchain-ai/langchainjs/pull/3310](https://togithub.com/langchain-ai/langchainjs/pull/3310)
- feat: Added support of terms filter in OpenSearch vector store by
[@&#8203;faileon](https://togithub.com/faileon) in
[https://github.com/langchain-ai/langchainjs/pull/3312](https://togithub.com/langchain-ai/langchainjs/pull/3312)
- Improve MessageContent type by
[@&#8203;netzhuffle](https://togithub.com/netzhuffle) in
[https://github.com/langchain-ai/langchainjs/pull/3318](https://togithub.com/langchain-ai/langchainjs/pull/3318)
- Add missing PrismaVectorStore filter operators by
[@&#8203;Njuelle](https://togithub.com/Njuelle) in
[https://github.com/langchain-ai/langchainjs/pull/3321](https://togithub.com/langchain-ai/langchainjs/pull/3321)

#### New Contributors

- [@&#8203;raioalbano](https://togithub.com/raioalbano) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3322](https://togithub.com/langchain-ai/langchainjs/pull/3322)
- [@&#8203;faileon](https://togithub.com/faileon) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3312](https://togithub.com/langchain-ai/langchainjs/pull/3312)
- [@&#8203;netzhuffle](https://togithub.com/netzhuffle) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3318](https://togithub.com/langchain-ai/langchainjs/pull/3318)

**Full Changelog**:
https://github.com/langchain-ai/langchainjs/compare/0.0.192...0.0.193

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.191...0.0.192)

#### What's Changed

- Release 0.0.191 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3300](https://togithub.com/langchain-ai/langchainjs/pull/3300)
- Delete artifacts by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3305](https://togithub.com/langchain-ai/langchainjs/pull/3305)
- Add missing docs by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3290](https://togithub.com/langchain-ai/langchainjs/pull/3290)
- Brace/new api refs build by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3303](https://togithub.com/langchain-ai/langchainjs/pull/3303)
- Fix broken fetch usage for CFW by
[@&#8203;dqbd](https://togithub.com/dqbd) in
[https://github.com/langchain-ai/langchainjs/pull/3302](https://togithub.com/langchain-ai/langchainjs/pull/3302)
- Bump Anthropic + OpenAI versions by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3308](https://togithub.com/langchain-ai/langchainjs/pull/3308)
- Hotfix pdf by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3306](https://togithub.com/langchain-ai/langchainjs/pull/3306)
- Add PrismaVectorStore filter IN operator by
[@&#8203;Njuelle](https://togithub.com/Njuelle) in
[https://github.com/langchain-ai/langchainjs/pull/3304](https://togithub.com/langchain-ai/langchainjs/pull/3304)
- feat(apify): support Document\[] return type for mapping function by
[@&#8203;omikader](https://togithub.com/omikader) in
[https://github.com/langchain-ai/langchainjs/pull/3262](https://togithub.com/langchain-ai/langchainjs/pull/3262)
- Integrate Rockset as a vector store by
[@&#8203;kwadhwa18](https://togithub.com/kwadhwa18) in
[https://github.com/langchain-ai/langchainjs/pull/3231](https://togithub.com/langchain-ai/langchainjs/pull/3231)
- feat: add file-system based cache by
[@&#8203;vdeturckheim](https://togithub.com/vdeturckheim) in
[https://github.com/langchain-ai/langchainjs/pull/3089](https://togithub.com/langchain-ai/langchainjs/pull/3089)

#### New Contributors

- [@&#8203;Njuelle](https://togithub.com/Njuelle) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3304](https://togithub.com/langchain-ai/langchainjs/pull/3304)
- [@&#8203;kwadhwa18](https://togithub.com/kwadhwa18) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3231](https://togithub.com/langchain-ai/langchainjs/pull/3231)
- [@&#8203;vdeturckheim](https://togithub.com/vdeturckheim) made their
first contribution in
[https://github.com/langchain-ai/langchainjs/pull/3089](https://togithub.com/langchain-ai/langchainjs/pull/3089)

**Full Changelog**:
https://github.com/langchain-ai/langchainjs/compare/0.0.191...0.0.192

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.190...0.0.191)

#### What's Changed

- Release 0.0.190 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3298](https://togithub.com/langchain-ai/langchainjs/pull/3298)

**Full Changelog**:
https://github.com/langchain-ai/langchainjs/compare/0.0.190...0.0.191

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.189...0.0.190)

#### What's Changed

- Release 0.0.189 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3278](https://togithub.com/langchain-ai/langchainjs/pull/3278)
- Brace/move syntaxtypes up by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3281](https://togithub.com/langchain-ai/langchainjs/pull/3281)
- Brace/api refs css by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3282](https://togithub.com/langchain-ai/langchainjs/pull/3282)
- Added runnable to xml agent, moved legacy to hidden page by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3287](https://togithub.com/langchain-ai/langchainjs/pull/3287)
- redo intro docs page by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3288](https://togithub.com/langchain-ai/langchainjs/pull/3288)
- Add better docstrings for runnables by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3291](https://togithub.com/langchain-ai/langchainjs/pull/3291)
- Update HTTP response output parser logic by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3295](https://togithub.com/langchain-ai/langchainjs/pull/3295)

**Full Changelog**:
https://github.com/langchain-ai/langchainjs/compare/0.0.189...0.0.190

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.188...0.0.189)

#### What's Changed

- Release 0.0.188 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3276](https://togithub.com/langchain-ai/langchainjs/pull/3276)
- Revert Cohere update by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3277](https://togithub.com/langchain-ai/langchainjs/pull/3277)

**Full Changelog**:
https://github.com/langchain-ai/langchainjs/compare/0.0.188...0.0.189

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

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.187...0.0.188)

#### What's Changed

- Release 0.0.187 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3255](https://togithub.com/langchain-ai/langchainjs/pull/3255)
- Break words on api refs sidebar instead of scrolling by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3265](https://togithub.com/langchain-ai/langchainjs/pull/3265)
- Use replaceAll instead of replace when generating operationid. by
[@&#8203;Manouchehri](https://togithub.com/Manouchehri) in
[https://github.com/langchain-ai/langchainjs/pull/3267](https://togithub.com/langchain-ai/langchainjs/pull/3267)
- Brace/bump cohere by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3263](https://togithub.com/langchain-ai/langchainjs/pull/3263)
- Added documentation for few shot prompting by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3122](https://togithub.com/langchain-ai/langchainjs/pull/3122)
- Allow custom system prompt for Ollama functions by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/3264](https://togithub.com/langchain-ai/langchainjs/pull/3264)
- Brace/add ignore with tsmorph by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3271](https://togithub.com/langchain-ai/langchainjs/pull/3271)
- Added rag over code example by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3109](https://togithub.com/langchain-ai/langchainjs/pull/3109)
- Meta Llama2 support for BedrockChat by
[@&#8203;shafkevi](https://togithub.com/shafkevi) in
[https://github.com/langchain-ai/langchainjs/pull/3260](https://togithub.com/langchain-ai/langchainjs/pull/3260)
- Adds HTTP output parser to parse chunks into different content types
by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/lang

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
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:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
duwenxin99 referenced this pull request in GoogleCloudPlatform/genai-databases-retrieval-app Nov 20, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[![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.336`
-> `==0.0.337` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.337?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.337?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.336/0.0.337?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.336/0.0.337?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Make pirate-speak-configurable template not require env vars for alte…
by [@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchain/pull/13395](https://togithub.com/langchain-ai/langchain/pull/13395)
- Fix a link in docs by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchain/pull/13423](https://togithub.com/langchain-ai/langchain/pull/13423)
- updated `clickup` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13424](https://togithub.com/langchain-ai/langchain/pull/13424)
- DOCS: rag nit by [@&#8203;baskaryan](https://togithub.com/baskaryan)
in
[https://github.com/langchain-ai/langchain/pull/13436](https://togithub.com/langchain-ai/langchain/pull/13436)
- callback refactor by
[@&#8203;hwchase17](https://togithub.com/hwchase17) in
[https://github.com/langchain-ai/langchain/pull/13372](https://togithub.com/langchain-ai/langchain/pull/13372)
- updated `Activeloop DeepMemory` notebook by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13428](https://togithub.com/langchain-ai/langchain/pull/13428)
- updated `semadb` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13431](https://togithub.com/langchain-ai/langchain/pull/13431)
- Bagatur/chain of note by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13470](https://togithub.com/langchain-ai/langchain/pull/13470)
- Update multi-modal RAG cookbook by
[@&#8203;rlancemartin](https://togithub.com/rlancemartin) in
[https://github.com/langchain-ai/langchain/pull/13429](https://togithub.com/langchain-ai/langchain/pull/13429)
- Update chain of note README.md by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13473](https://togithub.com/langchain-ai/langchain/pull/13473)
- docs: `integrations/text_embeddings/` cleanup by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13476](https://togithub.com/langchain-ai/langchain/pull/13476)
- fix for `integratons/document_loaders` sidebar by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13471](https://togithub.com/langchain-ai/langchain/pull/13471)
- Add ahandle_event to *all* by
[@&#8203;eyurtsev](https://togithub.com/eyurtsev) in
[https://github.com/langchain-ai/langchain/pull/13469](https://togithub.com/langchain-ai/langchain/pull/13469)
- Astra DB: minor improvements to docstrings and demo notebook by
[@&#8203;hemidactylus](https://togithub.com/hemidactylus) in
[https://github.com/langchain-ai/langchain/pull/13449](https://togithub.com/langchain-ai/langchain/pull/13449)
- Use List instead of list by
[@&#8203;ifduyue](https://togithub.com/ifduyue) in
[https://github.com/langchain-ai/langchain/pull/13443](https://togithub.com/langchain-ai/langchain/pull/13443)
- updated `memory` Titles by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13435](https://togithub.com/langchain-ai/langchain/pull/13435)
- BUG Fix app_name in cli app new by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13482](https://togithub.com/langchain-ai/langchain/pull/13482)
- Lock pydantic v1 in app template, cli 0.0.18 by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13485](https://togithub.com/langchain-ai/langchain/pull/13485)
- Add serialisation arguments to Bedrock and ChatBedrock by
[@&#8203;dqbd](https://togithub.com/dqbd) in
[https://github.com/langchain-ai/langchain/pull/13465](https://togithub.com/langchain-ai/langchain/pull/13465)
- add input_type to VoyageEmbeddings by
[@&#8203;thomas0809](https://togithub.com/thomas0809) in
[https://github.com/langchain-ai/langchain/pull/13488](https://togithub.com/langchain-ai/langchain/pull/13488)
- Bugfix: OpenAIFunctionsAgentOutputParser doesn't handle functions with
no args by [@&#8203;chrisaffirm](https://togithub.com/chrisaffirm) in
[https://github.com/langchain-ai/langchain/pull/13467](https://togithub.com/langchain-ai/langchain/pull/13467)
- Allow openai v1 in all templates that require it by
[@&#8203;efriis](https://togithub.com/efriis) in
[https://github.com/langchain-ai/langchain/pull/13489](https://togithub.com/langchain-ai/langchain/pull/13489)
- updated `async-faiss` example by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13434](https://togithub.com/langchain-ai/langchain/pull/13434)
- docs `integrations/vectorstores/` cleanup by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13487](https://togithub.com/langchain-ai/langchain/pull/13487)
- Add optional arguments to FalkorDBGraph constructor by
[@&#8203;gkorland](https://togithub.com/gkorland) in
[https://github.com/langchain-ai/langchain/pull/13459](https://togithub.com/langchain-ai/langchain/pull/13459)
- updated `data_connection` index page by
[@&#8203;leo-gan](https://togithub.com/leo-gan) in
[https://github.com/langchain-ai/langchain/pull/13426](https://togithub.com/langchain-ai/langchain/pull/13426)
- Add Wrapping Library Metadata to MongoDB vector store by
[@&#8203;NoahStapp](https://togithub.com/NoahStapp) in
[https://github.com/langchain-ai/langchain/pull/13084](https://togithub.com/langchain-ai/langchain/pull/13084)
- \[LLMonitorCallbackHandler] Various improvements by
[@&#8203;hughcrt](https://togithub.com/hughcrt) in
[https://github.com/langchain-ai/langchain/pull/13151](https://togithub.com/langchain-ai/langchain/pull/13151)
- TEMPLATES: Add multi-index templates by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13490](https://togithub.com/langchain-ai/langchain/pull/13490)
- IMPROVEMENT: update assistants output and doc by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13480](https://togithub.com/langchain-ai/langchain/pull/13480)
- Runnable with message history by
[@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13418](https://togithub.com/langchain-ai/langchain/pull/13418)
- Add VertexAI Chuck Norris template by
[@&#8203;wietsevenema](https://togithub.com/wietsevenema) in
[https://github.com/langchain-ai/langchain/pull/13531](https://togithub.com/langchain-ai/langchain/pull/13531)
- bump 337 by [@&#8203;baskaryan](https://togithub.com/baskaryan) in
[https://github.com/langchain-ai/langchain/pull/13534](https://togithub.com/langchain-ai/langchain/pull/13534)

#### New Contributors

- [@&#8203;ifduyue](https://togithub.com/ifduyue) made their first
contribution in
[https://github.com/langchain-ai/langchain/pull/13443](https://togithub.com/langchain-ai/langchain/pull/13443)
- [@&#8203;chrisaffirm](https://togithub.com/chrisaffirm) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/13467](https://togithub.com/langchain-ai/langchain/pull/13467)
- [@&#8203;wietsevenema](https://togithub.com/wietsevenema) made their
first contribution in
[https://github.com/langchain-ai/langchain/pull/13531](https://togithub.com/langchain-ai/langchain/pull/13531)

**Full Changelog**:
langchain-ai/langchain@v0.0.336...v0.0.337

</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/database-query-extension).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
amiaxys pushed a commit to Haoming-jpg/team-skill-issue-langchain that referenced this pull request Nov 23, 2023
Add RunnableWithMessageHistory class that can wrap certain runnables and manages chat history for them.
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 Ɑ: models Related to LLMs or chat model modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants