-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: add filters to ChaindeskRetriever
#3314
Merged
jacoblee93
merged 3 commits into
langchain-ai:main
from
antoinewg:retriever/chaindesk-add-filters
Nov 20, 2023
Merged
feat: add filters to ChaindeskRetriever
#3314
jacoblee93
merged 3 commits into
langchain-ai:main
from
antoinewg:retriever/chaindesk-add-filters
Nov 20, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dosubot
bot
added
the
auto:improvement
Medium size change to existing code to handle new use-cases
label
Nov 17, 2023
antoinewg
changed the title
feat: add filters to
feat: add filters to Nov 17, 2023
ChaindeskRetriver
ChaindeskRetriever
jacoblee93
reviewed
Nov 17, 2023
Seems good and backwards compatible to me, see small naming nit! |
Can you run |
should be good now @jacoblee93 :) |
Thank you! |
nicolewhite
referenced
this pull request
in autoblocksai/javascript-sdk
Nov 27, 2023
[![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 | |---|---|---|---|---|---| | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`29.5.8` -> `29.5.10`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.8/29.5.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjest/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjest/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjest/29.5.8/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjest/29.5.8/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint) | [`6.11.0` -> `6.12.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.11.0/6.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.11.0/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.11.0/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint) | [`6.11.0` -> `6.12.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.11.0/6.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.11.0/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.11.0/6.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://github.com/langchain-ai/langchainjs) | [`^0.0.194` -> `^0.0.196`](https://renovatebot.com/diffs/npm/langchain/0.0.194/0.0.196) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.194/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.194/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://github.com/openai/openai-node) | [`4.19.0` -> `4.20.0`](https://renovatebot.com/diffs/npm/openai/4.19.0/4.20.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.19.0/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.19.0/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.2.2` -> `5.3.2`](https://renovatebot.com/diffs/npm/typescript/5.2.2/5.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v6.12.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6120-2023-11-20) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.11.0...v6.12.0) ##### Bug Fixes - **eslint-plugin:** \[class-methods-use-this] detect a problematic case for private/protected members if `ignoreClassesThatImplementAnInterface` is set ([#​7705](https://github.com/typescript-eslint/typescript-eslint/issues/7705)) ([155aa1f](https://github.com/typescript-eslint/typescript-eslint/commit/155aa1f533d1fe23da3c66f9832343faf4866d85)) - **eslint-plugin:** \[no-unnecessary-condition] fix false positive with computed member access and branded key type ([#​7706](https://github.com/typescript-eslint/typescript-eslint/issues/7706)) ([f151b26](https://github.com/typescript-eslint/typescript-eslint/commit/f151b26d2178a617e82ad6a0279e3145e303f4f8)) - **eslint-plugin:** \[switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly ([#​7806](https://github.com/typescript-eslint/typescript-eslint/issues/7806)) ([a034d0a](https://github.com/typescript-eslint/typescript-eslint/commit/a034d0a3856aa07bd2d52b557fa33c7a88e9e511)), closes [#​7768](https://github.com/typescript-eslint/typescript-eslint/issues/7768) ##### Features - \[member-ordering] add accessor support for member-ordering ([#​7927](https://github.com/typescript-eslint/typescript-eslint/issues/7927)) ([3c8312d](https://github.com/typescript-eslint/typescript-eslint/commit/3c8312d1e135dc65fa41f629993cd03ed82e3255)) - **eslint-plugin:** \[switch-exhaustiveness-check] add requireDefaultForNonUnion option ([#​7880](https://github.com/typescript-eslint/typescript-eslint/issues/7880)) ([4cfcd45](https://github.com/typescript-eslint/typescript-eslint/commit/4cfcd451efb2563130896e42b45252909932c679)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v6.12.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6120-2023-11-20) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.11.0...v6.12.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.196`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.196) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.195...0.0.196) #### What's Changed - Release 0.0.195 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3350](https://github.com/langchain-ai/langchainjs/pull/3350) - Jacob/core by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3354](https://github.com/langchain-ai/langchainjs/pull/3354) **Full Changelog**: langchain-ai/langchainjs@0.0.195...0.0.196 ### [`v0.0.195`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.195) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.194...0.0.195) #### What's Changed - Release 0.0.194 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3345](https://github.com/langchain-ai/langchainjs/pull/3345) - Fix ReAct agent hallucinating result by [@​dqbd](https://github.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3341](https://github.com/langchain-ai/langchainjs/pull/3341) - Adding self query for vectara by [@​adeelehsan](https://github.com/adeelehsan) in [https://github.com/langchain-ai/langchainjs/pull/3338](https://github.com/langchain-ai/langchainjs/pull/3338) - Updates to Vectara Implementation by [@​ofermend](https://github.com/ofermend) in [https://github.com/langchain-ai/langchainjs/pull/3332](https://github.com/langchain-ai/langchainjs/pull/3332) - Removed **sentence-transformers/distilbert-base-nli-mean-tokens** as default model and added **BAAI/bge-base-en-v1.5** as default model when no model param is given. by [@​sumosp](https://github.com/sumosp) in [https://github.com/langchain-ai/langchainjs/pull/3323](https://github.com/langchain-ai/langchainjs/pull/3323) - feat: add filters to `ChaindeskRetriever` by [@​antoinewg](https://github.com/antoinewg) in [https://github.com/langchain-ai/langchainjs/pull/3314](https://github.com/langchain-ai/langchainjs/pull/3314) - Add OpenAI Files for OpenAI assistant by [@​castroCrea](https://github.com/castroCrea) in [https://github.com/langchain-ai/langchainjs/pull/3228](https://github.com/langchain-ai/langchainjs/pull/3228) #### New Contributors - [@​adeelehsan](https://github.com/adeelehsan) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3338](https://github.com/langchain-ai/langchainjs/pull/3338) - [@​sumosp](https://github.com/sumosp) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3323](https://github.com/langchain-ai/langchainjs/pull/3323) - [@​antoinewg](https://github.com/antoinewg) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3314](https://github.com/langchain-ai/langchainjs/pull/3314) - [@​castroCrea](https://github.com/castroCrea) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3228](https://github.com/langchain-ai/langchainjs/pull/3228) **Full Changelog**: langchain-ai/langchainjs@0.0.194...0.0.195 </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.20.0`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4200-2023-11-22) [Compare Source](https://github.com/openai/openai-node/compare/v4.19.1...v4.20.0) Full Changelog: [v4.19.1...v4.20.0](https://github.com/openai/openai-node/compare/v4.19.1...v4.20.0) ##### Features - allow installing package directly from github ([#​522](https://github.com/openai/openai-node/issues/522)) ([51926d7](https://github.com/openai/openai-node/commit/51926d7a0092744e49de39f4988feddf313adafa)) ##### Chores - **internal:** don't call prepare in dist ([#​525](https://github.com/openai/openai-node/issues/525)) ([d09411e](https://github.com/openai/openai-node/commit/d09411ebaa28d6610e1b880d03339d520b4a1833)) ### [`v4.19.1`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4191-2023-11-20) [Compare Source](https://github.com/openai/openai-node/compare/v4.19.0...v4.19.1) Full Changelog: [v4.19.0...v4.19.1](https://github.com/openai/openai-node/compare/v4.19.0...v4.19.1) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.3.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.3.2): TypeScript 5.3 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.3.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.3.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.3.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </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://github.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/javascript-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
nicolewhite
referenced
this pull request
in autoblocksai/autoblocks-examples
Nov 27, 2023
[![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://github.com/autoblocksai/javascript-sdk) | [`^0.0.20` -> `^0.0.21`](https://renovatebot.com/diffs/npm/@autoblocks%2fclient/0.0.20/0.0.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@autoblocks%2fclient/0.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@autoblocks%2fclient/0.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@autoblocks%2fclient/0.0.20/0.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@autoblocks%2fclient/0.0.20/0.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`20.9.1` -> `20.10.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.9.1/20.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.9.1/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.9.1/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`20.9.2` -> `20.10.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.9.2/20.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.9.2/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.9.2/20.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.37` -> `18.2.38`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.37/18.2.38) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.38?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.38?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.37/18.2.38?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.37/18.2.38?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.15` -> `18.2.17`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.15/18.2.17) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.15/18.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.15/18.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ai](https://sdk.vercel.ai/docs) ([source](https://github.com/vercel/ai)) | [`2.2.24` -> `2.2.25`](https://renovatebot.com/diffs/npm/ai/2.2.24/2.2.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ai/2.2.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai/2.2.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai/2.2.24/2.2.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai/2.2.24/2.2.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://github.com/langchain-ai/langchain) | `^0.0.338` -> `^0.0.340` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/langchain/0.0.340?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/langchain/0.0.340?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/langchain/0.0.338/0.0.340?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/langchain/0.0.338/0.0.340?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://github.com/langchain-ai/langchainjs) | [`^0.0.194` -> `^0.0.196`](https://renovatebot.com/diffs/npm/langchain/0.0.194/0.0.196) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.194/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.194/0.0.196?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://github.com/openai/openai-python) | `1.3.3` -> `1.3.5` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/1.3.3/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.3.3/1.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://github.com/openai/openai-node) | [`4.17.4` -> `4.20.0`](https://renovatebot.com/diffs/npm/openai/4.17.4/4.20.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.17.4/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.17.4/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://github.com/openai/openai-node) | [`4.19.0` -> `4.20.0`](https://renovatebot.com/diffs/npm/openai/4.19.0/4.20.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.19.0/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.19.0/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tsx](https://github.com/privatenumber/tsx) | [`4.1.3` -> `4.5.0`](https://renovatebot.com/diffs/npm/tsx/4.1.3/4.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tsx/4.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tsx/4.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tsx/4.1.3/4.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsx/4.1.3/4.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.2.2` -> `5.3.2`](https://renovatebot.com/diffs/npm/typescript/5.2.2/5.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>autoblocksai/javascript-sdk (@​autoblocks/client)</summary> ### [`v0.0.21`](https://github.com/autoblocksai/javascript-sdk/compare/0.0.20...0.0.21) [Compare Source](https://github.com/autoblocksai/javascript-sdk/compare/0.0.20...0.0.21) </details> <details> <summary>vercel/ai (ai)</summary> ### [`v2.2.25`](https://github.com/vercel/ai/releases/tag/ai%402.2.25) [Compare Source](https://github.com/vercel/ai/compare/ai@2.2.24...ai@2.2.25) ##### Patch Changes - [`1e61c69`](https://github.com/vercel/ai/commit/1e61c69): chore: specify the minimum react version to 18 - [`6aec2d2`](https://github.com/vercel/ai/commit/6aec2d2): Expose threadId in useAssistant - [`c2369df`](https://github.com/vercel/ai/commit/c2369df): Add AWS Bedrock support - [`223fde3`](https://github.com/vercel/ai/commit/223fde3): ai/svelte: Add complex response parsing and StreamData support to useChat </details> <details> <summary>langchain-ai/langchain (langchain)</summary> ### [`v0.0.340`](https://github.com/langchain-ai/langchain/releases/tag/v0.0.340) [Compare Source](https://github.com/langchain-ai/langchain/compare/v0.0.339...v0.0.340) #### What's Changed - DOCS: update rag use case images by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13615](https://github.com/langchain-ai/langchain/pull/13615) - WIP: core by [@​hwchase17](https://github.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/13577](https://github.com/langchain-ai/langchain/pull/13577) - Add core as dep by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13623](https://github.com/langchain-ai/langchain/pull/13623) - Add template for gpt-crawler by [@​rlancemartin](https://github.com/rlancemartin) in [https://github.com/langchain-ai/langchain/pull/13625](https://github.com/langchain-ai/langchain/pull/13625) - Use pytest asyncio auto mode by [@​nfcampos](https://github.com/nfcampos) in [https://github.com/langchain-ai/langchain/pull/13643](https://github.com/langchain-ai/langchain/pull/13643) - Add error rate by [@​hinthornw](https://github.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/13568](https://github.com/langchain-ai/langchain/pull/13568) - Core refac by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13627](https://github.com/langchain-ai/langchain/pull/13627) - bump 0.0.339rc0 by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13664](https://github.com/langchain-ai/langchain/pull/13664) - fix templates dockerfile by [@​jakerachleff](https://github.com/jakerachleff) in [https://github.com/langchain-ai/langchain/pull/13672](https://github.com/langchain-ai/langchain/pull/13672) - update langserve to v0.0.30 by [@​jakerachleff](https://github.com/jakerachleff) in [https://github.com/langchain-ai/langchain/pull/13673](https://github.com/langchain-ai/langchain/pull/13673) - docugami cookbook by [@​tjaffri](https://github.com/tjaffri) in [https://github.com/langchain-ai/langchain/pull/13183](https://github.com/langchain-ai/langchain/pull/13183) - CLI 0.0.19 by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchain/pull/13677](https://github.com/langchain-ai/langchain/pull/13677) - Update name by [@​hinthornw](https://github.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/13676](https://github.com/langchain-ai/langchain/pull/13676) - more core fixes by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13665](https://github.com/langchain-ai/langchain/pull/13665) - Bagatur/core utils by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13688](https://github.com/langchain-ai/langchain/pull/13688) - add callback import test by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13689](https://github.com/langchain-ai/langchain/pull/13689) - bump core dep 0.0.3 by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13690](https://github.com/langchain-ai/langchain/pull/13690) - fixed import error for BashOutputParser by [@​gyliu513](https://github.com/gyliu513) in [https://github.com/langchain-ai/langchain/pull/13680](https://github.com/langchain-ai/langchain/pull/13680) - remove openai api key from cookbook by [@​gyliu513](https://github.com/gyliu513) in [https://github.com/langchain-ai/langchain/pull/13633](https://github.com/langchain-ai/langchain/pull/13633) - Update bedrock.py to fix bug by [@​ruanwz](https://github.com/ruanwz) in [https://github.com/langchain-ai/langchain/pull/13646](https://github.com/langchain-ai/langchain/pull/13646) - BUG fix anthropic models on bedrock by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchain/pull/13629](https://github.com/langchain-ai/langchain/pull/13629) - Lint for imports by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchain/pull/13632](https://github.com/langchain-ai/langchain/pull/13632) - Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) by [@​jponf](https://github.com/jponf) in [https://github.com/langchain-ai/langchain/pull/13645](https://github.com/langchain-ai/langchain/pull/13645) - chore: add serializer for tool message by [@​tanujtiwari-at](https://github.com/tanujtiwari-at) in [https://github.com/langchain-ai/langchain/pull/13626](https://github.com/langchain-ai/langchain/pull/13626) - VoyageEmbeddings embed_general_texts by [@​thomas0809](https://github.com/thomas0809) in [https://github.com/langchain-ai/langchain/pull/13620](https://github.com/langchain-ai/langchain/pull/13620) - BUGFIX: llm backwards compat imports by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13698](https://github.com/langchain-ai/langchain/pull/13698) - fix the problem that redis vector store will change metadata with val… by [@​dandanwei](https://github.com/dandanwei) in [https://github.com/langchain-ai/langchain/pull/13652](https://github.com/langchain-ai/langchain/pull/13652) - IMPROVEMENT: Conditionally import for type hints by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13700](https://github.com/langchain-ai/langchain/pull/13700) - Template Metadata pt 1 by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchain/pull/13691](https://github.com/langchain-ai/langchain/pull/13691) - BUGFIX: add prompt imports for backwards compat by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13702](https://github.com/langchain-ai/langchain/pull/13702) - Fix locking by [@​hinthornw](https://github.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/13725](https://github.com/langchain-ai/langchain/pull/13725) - Fix typo/line break in python code by [@​h3l](https://github.com/h3l) in [https://github.com/langchain-ai/langchain/pull/13708](https://github.com/langchain-ai/langchain/pull/13708) - REFACTOR: combine core documents files by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13733](https://github.com/langchain-ai/langchain/pull/13733) - DOCS: fix core api ref build by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13744](https://github.com/langchain-ai/langchain/pull/13744) - INFRA: run LC ci after core changes by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13742](https://github.com/langchain-ai/langchain/pull/13742) - Bagatur/bump core 4 by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13745](https://github.com/langchain-ai/langchain/pull/13745) - RELEASE: 0.0.339rc1 by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13746](https://github.com/langchain-ai/langchain/pull/13746) - DOCS: core editable dep api refs by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13747](https://github.com/langchain-ai/langchain/pull/13747) - Add Batch Size kwarg to the llm start callback by [@​hinthornw](https://github.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/13483](https://github.com/langchain-ai/langchain/pull/13483) - IMPROVEMENT: filter global warnings properly by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13754](https://github.com/langchain-ai/langchain/pull/13754) - rm master condition by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13753](https://github.com/langchain-ai/langchain/pull/13753) #### New Contributors - [@​gyliu513](https://github.com/gyliu513) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13680](https://github.com/langchain-ai/langchain/pull/13680) - [@​jponf](https://github.com/jponf) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13645](https://github.com/langchain-ai/langchain/pull/13645) - [@​dandanwei](https://github.com/dandanwei) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13652](https://github.com/langchain-ai/langchain/pull/13652) - [@​h3l](https://github.com/h3l) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13708](https://github.com/langchain-ai/langchain/pull/13708) **Full Changelog**: langchain-ai/langchain@v0.0.339...v0.0.340 ### [`v0.0.339`](https://github.com/langchain-ai/langchain/releases/tag/v0.0.339) [Compare Source](https://github.com/langchain-ai/langchain/compare/v0.0.338...v0.0.339) #### What's Changed - updated langchain stack img to be svg by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchain/pull/13540](https://github.com/langchain-ai/langchain/pull/13540) - DOCS `langchain decorators` update by [@​leo-gan](https://github.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/13535](https://github.com/langchain-ai/langchain/pull/13535) - fix: Make YoutubeLoader support on demand language translation by [@​RaflyLesmana3003](https://github.com/RaflyLesmana3003) in [https://github.com/langchain-ai/langchain/pull/13583](https://github.com/langchain-ai/langchain/pull/13583) - Add embedchain retriever by [@​taranjeet](https://github.com/taranjeet) in [https://github.com/langchain-ai/langchain/pull/13553](https://github.com/langchain-ai/langchain/pull/13553) - feat: load all namespaces by [@​andstu](https://github.com/andstu) in [https://github.com/langchain-ai/langchain/pull/13549](https://github.com/langchain-ai/langchain/pull/13549) - Fix for oracle schema parsing stated on the issue [#​7928](https://github.com/langchain-ai/langchain/issues/7928) by [@​Tazc54](https://github.com/Tazc54) in [https://github.com/langchain-ai/langchain/pull/13545](https://github.com/langchain-ai/langchain/pull/13545) - fix: VLLMOpenAI -- create() got an unexpected keyword argument 'api_key' by [@​umair313](https://github.com/umair313) in [https://github.com/langchain-ai/langchain/pull/13517](https://github.com/langchain-ai/langchain/pull/13517) - Fix Astra integration tests by [@​nicoloboschi](https://github.com/nicoloboschi) in [https://github.com/langchain-ai/langchain/pull/13520](https://github.com/langchain-ai/langchain/pull/13520) - Introduce search_kwargs for Custom Parameters in BingSearchAPIWrapper by [@​shumpei19](https://github.com/shumpei19) in [https://github.com/langchain-ai/langchain/pull/13525](https://github.com/langchain-ai/langchain/pull/13525) - AstraDB: use includeSimilarity option instead of $similarity by [@​nicoloboschi](https://github.com/nicoloboschi) in [https://github.com/langchain-ai/langchain/pull/13512](https://github.com/langchain-ai/langchain/pull/13512) - docs updating `AzureML` notebooks by [@​leo-gan](https://github.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/13492](https://github.com/langchain-ai/langchain/pull/13492) - Fix hunyuan appid type by [@​maiqingqiang](https://github.com/maiqingqiang) in [https://github.com/langchain-ai/langchain/pull/13496](https://github.com/langchain-ai/langchain/pull/13496) - FIX: doc-string - langchain.vectorstores.dashvector.DashVector by [@​linzeyang](https://github.com/linzeyang) in [https://github.com/langchain-ai/langchain/pull/13502](https://github.com/langchain-ai/langchain/pull/13502) - FIX: Limit Azure OpenAI embeddings chunk size by [@​mspronesti](https://github.com/mspronesti) in [https://github.com/langchain-ai/langchain/pull/13425](https://github.com/langchain-ai/langchain/pull/13425) - Feature cognitive health by [@​jwbeck97](https://github.com/jwbeck97) in [https://github.com/langchain-ai/langchain/pull/13448](https://github.com/langchain-ai/langchain/pull/13448) - Add llama2-13b-chat-v1 support to `chat_models.BedrockChat` by [@​WouterDurnez](https://github.com/WouterDurnez) in [https://github.com/langchain-ai/langchain/pull/13403](https://github.com/langchain-ai/langchain/pull/13403) - Fix tool arguments formatting in StructuredChatAgent by [@​skozlovf](https://github.com/skozlovf) in [https://github.com/langchain-ai/langchain/pull/10480](https://github.com/langchain-ai/langchain/pull/10480) - Fix typo in MongoDB memory docs by [@​sijunhe](https://github.com/sijunhe) in [https://github.com/langchain-ai/langchain/pull/13588](https://github.com/langchain-ai/langchain/pull/13588) - Minor redis improvements by [@​tylerhutcherson](https://github.com/tylerhutcherson) in [https://github.com/langchain-ai/langchain/pull/13381](https://github.com/langchain-ai/langchain/pull/13381) - DeepLake Backwards compatibility fix by [@​adolkhan](https://github.com/adolkhan) in [https://github.com/langchain-ai/langchain/pull/13388](https://github.com/langchain-ai/langchain/pull/13388) - feat: add ERNIE-Bot-4 Function Calling by [@​wangwei1237](https://github.com/wangwei1237) in [https://github.com/langchain-ai/langchain/pull/13320](https://github.com/langchain-ai/langchain/pull/13320) - VertexAI LLM count_tokens method requires list of prompts by [@​stijntratsaertit](https://github.com/stijntratsaertit) in [https://github.com/langchain-ai/langchain/pull/13451](https://github.com/langchain-ai/langchain/pull/13451) - fixed an UnboundLocalError when no documents are found by [@​lkuligin](https://github.com/lkuligin) in [https://github.com/langchain-ai/langchain/pull/12995](https://github.com/langchain-ai/langchain/pull/12995) - fix: Reduce post-processing time for `DocAIParser` by [@​holtskinner](https://github.com/holtskinner) in [https://github.com/langchain-ai/langchain/pull/13210](https://github.com/langchain-ai/langchain/pull/13210) - bugfix in using search_kwargs in Vectara retriever by [@​ofermend](https://github.com/ofermend) in [https://github.com/langchain-ai/langchain/pull/13299](https://github.com/langchain-ai/langchain/pull/13299) - bump 339 by [@​baskaryan](https://github.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/13613](https://github.com/langchain-ai/langchain/pull/13613) #### New Contributors - [@​taranjeet](https://github.com/taranjeet) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13553](https://github.com/langchain-ai/langchain/pull/13553) - [@​andstu](https://github.com/andstu) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13549](https://github.com/langchain-ai/langchain/pull/13549) - [@​Tazc54](https://github.com/Tazc54) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13545](https://github.com/langchain-ai/langchain/pull/13545) - [@​umair313](https://github.com/umair313) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13517](https://github.com/langchain-ai/langchain/pull/13517) - [@​nicoloboschi](https://github.com/nicoloboschi) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13520](https://github.com/langchain-ai/langchain/pull/13520) - [@​shumpei19](https://github.com/shumpei19) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13525](https://github.com/langchain-ai/langchain/pull/13525) - [@​linzeyang](https://github.com/linzeyang) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13502](https://github.com/langchain-ai/langchain/pull/13502) - [@​jwbeck97](https://github.com/jwbeck97) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13448](https://github.com/langchain-ai/langchain/pull/13448) - [@​WouterDurnez](https://github.com/WouterDurnez) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13403](https://github.com/langchain-ai/langchain/pull/13403) - [@​sijunhe](https://github.com/sijunhe) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13588](https://github.com/langchain-ai/langchain/pull/13588) - [@​stijntratsaertit](https://github.com/stijntratsaertit) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13451](https://github.com/langchain-ai/langchain/pull/13451) **Full Changelog**: langchain-ai/langchain@v0.0.338...v0.0.339 </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.196`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.196) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.195...0.0.196) #### What's Changed - Release 0.0.195 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3350](https://github.com/langchain-ai/langchainjs/pull/3350) - Jacob/core by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3354](https://github.com/langchain-ai/langchainjs/pull/3354) **Full Changelog**: langchain-ai/langchainjs@0.0.195...0.0.196 ### [`v0.0.195`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.195) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.194...0.0.195) #### What's Changed - Release 0.0.194 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3345](https://github.com/langchain-ai/langchainjs/pull/3345) - Fix ReAct agent hallucinating result by [@​dqbd](https://github.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3341](https://github.com/langchain-ai/langchainjs/pull/3341) - Adding self query for vectara by [@​adeelehsan](https://github.com/adeelehsan) in [https://github.com/langchain-ai/langchainjs/pull/3338](https://github.com/langchain-ai/langchainjs/pull/3338) - Updates to Vectara Implementation by [@​ofermend](https://github.com/ofermend) in [https://github.com/langchain-ai/langchainjs/pull/3332](https://github.com/langchain-ai/langchainjs/pull/3332) - Removed **sentence-transformers/distilbert-base-nli-mean-tokens** as default model and added **BAAI/bge-base-en-v1.5** as default model when no model param is given. by [@​sumosp](https://github.com/sumosp) in [https://github.com/langchain-ai/langchainjs/pull/3323](https://github.com/langchain-ai/langchainjs/pull/3323) - feat: add filters to `ChaindeskRetriever` by [@​antoinewg](https://github.com/antoinewg) in [https://github.com/langchain-ai/langchainjs/pull/3314](https://github.com/langchain-ai/langchainjs/pull/3314) - Add OpenAI Files for OpenAI assistant by [@​castroCrea](https://github.com/castroCrea) in [https://github.com/langchain-ai/langchainjs/pull/3228](https://github.com/langchain-ai/langchainjs/pull/3228) #### New Contributors - [@​adeelehsan](https://github.com/adeelehsan) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3338](https://github.com/langchain-ai/langchainjs/pull/3338) - [@​sumosp](https://github.com/sumosp) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3323](https://github.com/langchain-ai/langchainjs/pull/3323) - [@​antoinewg](https://github.com/antoinewg) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3314](https://github.com/langchain-ai/langchainjs/pull/3314) - [@​castroCrea](https://github.com/castroCrea) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3228](https://github.com/langchain-ai/langchainjs/pull/3228) **Full Changelog**: langchain-ai/langchainjs@0.0.194...0.0.195 </details> <details> <summary>openai/openai-python (openai)</summary> ### [`v1.3.5`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#135-2023-11-21) [Compare Source](https://github.com/openai/openai-python/compare/v1.3.4...v1.3.5) Full Changelog: [v1.3.4...v1.3.5](https://github.com/openai/openai-python/compare/v1.3.4...v1.3.5) ##### Bug Fixes - **azure:** ensure custom options can be passed to copy ([#​858](https://github.com/openai/openai-python/issues/858)) ([05ca0d6](https://github.com/openai/openai-python/commit/05ca0d68e84d40f975614d27cb52c0f382104377)) ##### Chores - **package:** add license classifier ([#​826](https://github.com/openai/openai-python/issues/826)) ([bec004d](https://github.com/openai/openai-python/commit/bec004d030b277e05bdd51f66fae1e881291c30b)) - **package:** add license classifier metadata ([#​860](https://github.com/openai/openai-python/issues/860)) ([80dffb1](https://github.com/openai/openai-python/commit/80dffb17ff0a10b0b9ea704c4247521e48b68408)) ### [`v1.3.4`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#134-2023-11-21) [Compare Source](https://github.com/openai/openai-python/compare/v1.3.3...v1.3.4) Full Changelog: [v1.3.3...v1.3.4](https://github.com/openai/openai-python/compare/v1.3.3...v1.3.4) ##### Bug Fixes - **client:** attempt to parse unknown json content types ([#​854](https://github.com/openai/openai-python/issues/854)) ([ba50466](https://github.com/openai/openai-python/commit/ba5046611029a67714d5120b9cc6a3c7fecce10c)) ##### Chores - **examples:** fix static types in assistants example ([#​852](https://github.com/openai/openai-python/issues/852)) ([5b47b2c](https://github.com/openai/openai-python/commit/5b47b2c542b9b4fb143af121022e2d5ad0890ef4)) </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.20.0`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4200-2023-11-22) [Compare Source](https://github.com/openai/openai-node/compare/v4.19.1...v4.20.0) Full Changelog: [v4.19.1...v4.20.0](https://github.com/openai/openai-node/compare/v4.19.1...v4.20.0) ##### Features - allow installing package directly from github ([#​522](https://github.com/openai/openai-node/issues/522)) ([51926d7](https://github.com/openai/openai-node/commit/51926d7a0092744e49de39f4988feddf313adafa)) ##### Chores - **internal:** don't call prepare in dist ([#​525](https://github.com/openai/openai-node/issues/525)) ([d09411e](https://github.com/openai/openai-node/commit/d09411ebaa28d6610e1b880d03339d520b4a1833)) ### [`v4.19.1`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4191-2023-11-20) [Compare Source](https://github.com/openai/openai-node/compare/v4.19.0...v4.19.1) Full Changelog: [v4.19.0...v4.19.1](https://github.com/openai/openai-node/compare/v4.19.0...v4.19.1) ### [`v4.19.0`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4190-2023-11-15) [Compare Source](https://github.com/openai/openai-node/compare/v4.18.0...v4.19.0) Full Changelog: [v4.18.0...v4.19.0](https://github.com/openai/openai-node/compare/v4.18.0...v4.19.0) ##### Features - **api:** updates ([#​501](https://github.com/openai/openai-node/issues/501)) ([944d58e](https://github.com/openai/openai-node/commit/944d58e5fc46f1a0671aaa2b809d28e67edf6023)) ### [`v4.18.0`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4180-2023-11-14) [Compare Source](https://github.com/openai/openai-node/compare/v4.17.5...v4.18.0) Full Changelog: [v4.17.5...v4.18.0](https://github.com/openai/openai-node/compare/v4.17.5...v4.18.0) ##### Features - **api:** add gpt-3.5-turbo-1106 ([#​496](https://github.com/openai/openai-node/issues/496)) ([45f7672](https://github.com/openai/openai-node/commit/45f7672ccf4856ac309b08c6c96f0e73ab48b525)) ### [`v4.17.5`](https://github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4175-2023-11-13) [Compare Source](https://github.com/openai/openai-node/compare/v4.17.4...v4.17.5) Full Changelog: [v4.17.4...v4.17.5](https://github.com/openai/openai-node/compare/v4.17.4...v4.17.5) ##### Chores - fix typo in docs and add request header for function calls ([#​494](https://github.com/openai/openai-node/issues/494)) ([22ce244](https://github.com/openai/openai-node/commit/22ce2443a77f10988b3215bd81ba17d4eda4b10e)) </details> <details> <summary>privatenumber/tsx (tsx)</summary> ### [`v4.5.0`](https://github.com/privatenumber/tsx/releases/tag/v4.5.0) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.4.0...v4.5.0) ##### Features - **watch:** log reason for rerun & improved exit handling ([#​412](https://github.com/privatenumber/tsx/issues/412)) ([fb59907](https://github.com/privatenumber/tsx/commit/fb599075416e4aec33d9e16014b6c2a667ae81a9)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.5.0) ### [`v4.4.0`](https://github.com/privatenumber/tsx/releases/tag/v4.4.0) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.3.0...v4.4.0) ##### Bug Fixes - send SIGKILL on unresponsive process ([#​395](https://github.com/privatenumber/tsx/issues/395)) ([fb61588](https://github.com/privatenumber/tsx/commit/fb61588933f7143e81a2243ae3f8d807e5286458)) - **watch:** dont log rerunning on first run ([5a71a87](https://github.com/privatenumber/tsx/commit/5a71a870b55b38cd06a1fc3cd37ad9d9b32e9e49)) ##### Features - support TypeScript in `--test` flag ([#​410](https://github.com/privatenumber/tsx/issues/410)) ([af1b911](https://github.com/privatenumber/tsx/commit/af1b911c0ac3bd13e12a8b71588b2178bf73e345)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.4.0) ### [`v4.3.0`](https://github.com/privatenumber/tsx/releases/tag/v4.3.0) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.2.1...v4.3.0) ##### Bug Fixes - cache bust for dynamic-import transfomer change ([15b4277](https://github.com/privatenumber/tsx/commit/15b4277502db96ed3e6028c1ba1bd6e9d491f535)) ##### Features - readable transpilation errors ([#​407](https://github.com/privatenumber/tsx/issues/407)) ([f58b496](https://github.com/privatenumber/tsx/commit/f58b49615ce248fb61ad2a11b19d010b472cfbab)) ##### Performance Improvements - **esbuild:** disable `sourcesContent` ([#​390](https://github.com/privatenumber/tsx/issues/390)) ([0b624b3](https://github.com/privatenumber/tsx/commit/0b624b34fa57eae1ffc52ff1ff6f8f46832484bb)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.3.0) ### [`v4.2.1`](https://github.com/privatenumber/tsx/releases/tag/v4.2.1) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.2.0...v4.2.1) ##### Bug Fixes - source map on dynamic import ([#​406](https://github.com/privatenumber/tsx/issues/406)) ([7a0eb7e](https://github.com/privatenumber/tsx/commit/7a0eb7e826c4330521298f2833d03f74431b0ff1)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.2.1) ### [`v4.2.0`](https://github.com/privatenumber/tsx/releases/tag/v4.2.0) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.1.4...v4.2.0) ##### Features - support TypeScript code in eval flag ([#​402](https://github.com/privatenumber/tsx/issues/402)) ([db773c5](https://github.com/privatenumber/tsx/commit/db773c566786f5c11b783d58b654a56e7d3669d4)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.2.0) ### [`v4.1.4`](https://github.com/privatenumber/tsx/releases/tag/v4.1.4) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.1.3...v4.1.4) ##### Reverts - source-map stripping ([#​398](https://github.com/privatenumber/tsx/issues/398)) ([a95a482](https://github.com/privatenumber/tsx/commit/a95a482a25b026b877d17b766d68cd38e4caa5ba)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.4) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.3.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.3.2): TypeScript 5.3 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.3.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.3.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.3.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </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://github.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>
ericckzhou
added a commit
to Ultrahi/langchainjs
that referenced
this pull request
Dec 21, 2023
* Release 0.0.193 * Pin zod-to-json-schema version (langchain-ai#3343) * Release 0.0.194 * Fix ReAct agent hallucinating result (langchain-ai#3341) * Adding self query for vectara (langchain-ai#3338) * added self query for vectara vector store * updated the docs * skip the integration test * Updated the comments in the example * Rename test, add linter warning --------- Co-authored-by: Adeel Ehsan <adeel.ehsan@wellthy.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Updates to Vectara Implementation (langchain-ai#3332) * updated documentation added X-Source to header * added deleteDocuments() method updated generation of random ID from date to UUID-like tests now fully executed and fixed to work properly * added deleteDocuments to docs fixes from yarn lint keeping test.skip * Removed **sentence-transformers/distilbert-base-nli-mean-tokens** as default model and added **BAAI/bge-base-en-v1.5** as default model when no model param is given. (langchain-ai#3323) * Update hf.ts Removed sentence-transformers/distilbert-base-nli-mean-tokens as default model and added BAAI/bge-base-en-v1.5 as default model when no model param is given * Format --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * feat: add filters to `ChaindeskRetriever` (langchain-ai#3314) * feat: add filters to `ChaindeskRetriver` reference: https://docs.chaindesk.ai/api-reference/endpoint/datastores/query * rename filter to filters * run yarn format * Add OpenAI Files for OpenAI assistant (langchain-ai#3228) * Add File to Open Ai assistant * 📝 Add documentation * ✨ Add Open File API * 📝 Add documentation on Open AI File API * ✅ Add test on Open AI File API * Update jsdoc types for params * Fix openai request options import * Extend serializable class and add return jsdoc types * 🔧 Add experimental openai_files entrypoint. * 📝 Build the doc * ♻️ Refactor OpenAIFiles to allow custom client * 📝 clean the JSDoc * Use one documentation page --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Release 0.0.195 * Jacob/core (langchain-ai#3354) * Split out core * Update package lock and yarn lock * Update core * Fix build * Fix tests * Fix test, format * Fix format * Fix format * Scripts * Bump dep * Fix examples * Remove unneeded deps * Update deps * Fix exports plz * plz * Fix plz * Fix * Plox * Fix * Disable bun * Disable API refs for now * Fix build * PLZZZZ * Bump * Bump version * Skip test * Release 0.0.196 * Refactor core (langchain-ai#3373) * Refactor core * Bump core version * Bump core * Update OpenAIAgent to support Runnable models (langchain-ai#3346) * Update OpenAIAgent to support Runnable interface * Add test with executor * Call invoke for all paths and add CallOptions * Format and fix test --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Fix streaming of Bedrock on Cloudflare Workers (langchain-ai#3364) * Fix streaming of Bedrock on Cloudflare Workers * Handle buffer 0 * Remove unnecessary break * Update quickstart.mdx (langchain-ai#3357) * Skip non LTS Node version (langchain-ai#3374) * Allow to stream files with `GithubRepoLoader` (langchain-ai#3339) * add loadAsStream method in GithubRepoLoader * apply review changes * feat: implement max marginal relevance for momento vector index (langchain-ai#3351) * chore: bump momento deps to get searchAndFetchVectors for MMR * feat: implement max marginal relevance search for mvi and int tests * fix: MongoDB Vector Search does not support integer as input (langchain-ai#3356) * fix: MongoDB Vector Search does not support integer as input * Fix lint + format --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Move more core modules (langchain-ai#3376) * Move more core modules * Bump * Format * Adds standalone @langchain/anthropic package (langchain-ai#3377) * Adds standalone @langchain/anthropic package * Format * Fix docker * Fix Docker * Support both old and new serialization ids, update prompt base class … (langchain-ai#3378) * Support both old and new serialization ids, update prompt base class as example * More namespace changes * Update lc_namespaces * Fix test * Fix tests * Bump versions --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Rename to @langchain/core (langchain-ai#3381) * Rename to @langchain/core * Fix build * Fix script * Fixed docs build issue (langchain-ai#3382) * Fixed docs build issue * chore: lint files * cr * docs fix * format * cr * Agent streaming (langchain-ai#3365) * Agent streaming * chore: lint files * fix circular dep issue * error handling * cr * cr * fix any eslint * rm commented out method * Update langchain/src/agents/executor.ts * Update langchain/src/agents/executor.ts * cr * drop husky (langchain-ai#3383) * Add OpenAI package (langchain-ai#3385) * Serialization * Add OpenAI package * Fix small core serialization issue (langchain-ai#3386) * Fix small core serialization issue * Bump * rc.1 * Add core README (langchain-ai#3396) * Revert dependencies for now (langchain-ai#3402) * Revert dependencies for now * Readd missing file * Delegate to core * Import map * Remove workspace core dep (langchain-ai#3413) * Update secret map (langchain-ai#3414) * Version * Secret map * Release 0.0.197 * feat: add support for collection name in PG Vector (langchain-ai#3353) * add support for collection name in PGVector * lint * add optional metadata as well * format * fix: Add HuggingFaceInference includeCredentials param (langchain-ai#3389) * feat: Add HfInference includeCredentials prop * Type fix --------- Co-authored-by: Alex Naymushin <alexander.naymushin@omnigon.com> * Use less tokens to describe a Neo4j graph schema (langchain-ai#3411) * WIP * Add proper typing * Update inline snapshot to demonstrate what the new schema looks like --------- Co-authored-by: Oskar Hane <oh@oskarhane.com> * Add no focused jest tests eslint rule (langchain-ai#3422) * Add no focused jest tests eslint rule * unfocus test * remove * Add more tests for agent streaming (langchain-ai#3421) * Add more tests for agent streaming * add memory * unfocus test * chore: lint files * cr * chore: lint files * Update langchain/src/agents/tests/agent.int.test.ts * Added PyInterpreterTool (langchain-ai#3090) * Added PyInterpreterTool * Updated PyInterpreterTool * Moved PythonInterpreterTool to tools/experimental * Move to experimental, fix race condition in constructor * Fix lint + test * Adds docs + example --------- Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * PPTX document loader (langchain-ai#3333) * Add Powerpoint Loader Added a powerpoint loader for pptx and unit test. * Add pptx loader example * Add documentation * Resolve the problems in the comment Move "officeparser" to the peer + dev dependencies and mark it as optional. Create a separate enrtypoint and reformat the code * Run build * Reformat the code again --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * ✨ Add modify and retrieve openAI assistant (langchain-ai#3387) * Return null if the input is undefined value. (langchain-ai#3412) * Implement ClickHouse Support (langchain-ai#3342) * Implement ClickHouse Support Co-Authored-By: CalebZhang <64758307+kz4ever@users.noreply.github.com> Co-Authored-By: Divyansh Kachchhava <114203084+divyanshuoft@users.noreply.github.com> Co-Authored-By: Alfred Tze-Hong Ha <47645447+xxlalfredo99@users.noreply.github.com> * Update ClickHouse client dependency Co-Authored-By: Divyansh Kachchhava <114203084+divyanshuoft@users.noreply.github.com> Co-Authored-By: CalebZhang <64758307+kz4ever@users.noreply.github.com> Co-Authored-By: Alfred Tze-Hong Ha <47645447+xxlalfredo99@users.noreply.github.com> * Update int test to use test.skip() * Fix SQL injection risk * Add peer deps docs * fix yarn lint issue --------- Co-authored-by: CalebZhang <64758307+kz4ever@users.noreply.github.com> Co-authored-by: Divyansh Kachchhava <114203084+divyanshuoft@users.noreply.github.com> Co-authored-by: Alfred Tze-Hong Ha <47645447+xxlalfredo99@users.noreply.github.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: CalebZhang <kevineview@gmail.com> * integration[patch]: feat: implement max marginal relevance search for Weaviate vector store (langchain-ai#3395) * feat: implement max marginal relevance search for Weaviate vector store * formatting * Adds docs --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * integration[minor]: Llama Cpp streaming (langchain-ai#3394) * Got streaming working in LLM & Chat * Linted streaming and added docs. * Small fixes * Update llama_cpp.mdx --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Fix getBufferString method (langchain-ai#3423) * Test fix * Release 0.0.198 * Make undefined input optional (langchain-ai#3436) * fix(npm script): lint fix doesn't fix fixable errors (langchain-ai#3451) * fix(npm script): lint fix doesn't fix fixable errors * Update langchain-core lint scripts * Update langchain-openai lint scripts * Update langchain-anthropic lint scripts --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Fix null or undefined records causing error in Xata similarity search method (langchain-ai#3425) * fix: records null or undefined causing error in xata similarity search method * fix: remove unnecessary line change * fix: bad type error * Format --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * new: returning generated question (langchain-ai#3433) * export InitializeAgentExecutorOptionsStructured (langchain-ai#3442) * langchain[patch]: Fix for Prisma vectorstore build query IN filter (langchain-ai#3462) * Fixing an issue, where the `IN` query filter created an incorrect value syntax by joining the values as a single value. By using the Prisma join, the syntax is corrected again. * Format --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * langchain[patch]: Implements support for Personal Access Token Authentication in the ConfluenceLoader (langchain-ai#3409) * update: optional personalAccessToken parameter Add optional personalAccessToken parameter and also making username and accessToken optional Update logic to either use personalAccessToken or username + password * update: example to include personalAccessToken * add: env examples * fix: nit langchain-ai#3409 (comment) langchain-ai#3409 (comment) * Update examples/src/document_loaders/confluence.ts Co-authored-by: Brace Sproul <braceasproul@gmail.com> * fix: initialize as undefined * update: allow for no authorization Allow for no authorization and skip auth header to allow accessing public spaces * add: get keyword * Format * Remove unnecessary default * Format * Fix build --------- Co-authored-by: Marcus Nätteldal <marcus.natteldal@ltu.se> Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * langchain[minor]: Added multi-message streaming to llama_cpp (langchain-ai#3463) * Added multi message streaming to llama_cpp * Format --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * langchain[patch]: Enhance filter functionality for Elasticsearch VectorStore (langchain-ai#3349) * adapted buildMetadataTerms method * backwards-compatibility * ran yarn lint * langchain[minor]: feat(LLM Integration): WatsonX AI Integration (langchain-ai#3399) * base watsonx file * base setup route * build * add project id lc secret * WatsonX AI Functional MVP * enable custom model parameters * enable custom model selection with llama 2 default * wrap fetch in `this.caller.call` * run format * add request error handling * update typedoc string * yarn format * add watsonx ai example * watsonx-ai -> watsonx_ai * Add watson x documentation * delete old files * yarn format * add error for missing project id * Add setup note about secrets to docs * format * remove redundant count * add var set on class instantiation example * format * update ibm cloud api key to follow common convention * fix type cast * update llmType casing * add iam token caching * use expiration field * Small style fixes in dos * Update watsonx_ai.ts --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * langchain[minor]: feat(LLM Integration): Gradient AI Integration (langchain-ai#3461) * Create gradient_ai.ts * Update package.json * Update create-entrypoints.js * temp removal of missing import * yarn build * format * update naming and add initial call * Functional mvp * add caller wrap * format * fix call wrapper * enable a single baseModel set * add example * use accessToken and workspaceId if set * Create doc page * format and lint * format example * update types * update type string * style fixes in docs * Update gradient_ai.mdx * Update gradient_ai.mdx * Update gradient_ai.mdx * Update gradient_ai.ts * Rename to match Python --------- Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * Add GooglePlaces Tool (langchain-ai#3400) * added basic functioanlity of the google places api tool * added google api tool to the index.ts * Test cases for Google Places API and improved formatting * Finishing google places tool * Fixed bugs with google places tool files * Fixed bugs with integration tests * Added example usage file * Added documentation * Configured entry points * Rename, small updates * Use headers and body in Places API request * Update build refs * Format * Remove artifact --------- Co-authored-by: Yuto Omachi <youomachi@gmail.com> Co-authored-by: Nandhakishore K.S <n.krishnamurthy@mail.utoronto.ca> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Brace Sproul <braceasproul@gmail.com> * langchain[minor]: Add document loader for ChatGPT data (langchain-ai#3439) * copy pasting and basic error fixing * fixed testing issue - fixed issue - fixed code - added blob tests - fixed test timestamps * Update chatgpt.mdx * Update chatgpt.mdx * Update chatgpt.ts * Throws errors also package.json and .gitignore update - console error logging also throws error instead of not doing that - put chatgpt.ts related files into package.json and .gitignore - ran `yarn lint` and `yarn format` many times to be sure * Format * whoops one more * Fix test --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Fix lint (langchain-ai#3466) * langchain[patch]: Add missing entrypoint (langchain-ai#3467) * Add missing entrypoint * Mark as optional * Remove double export (langchain-ai#3469) * core[patch]: Move tests into core (langchain-ai#3450) * Move tests into core * export texting utils from core * chore: lint files * Bump version * Sort entrypoints --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * langchain[patch]: Move tests (langchain-ai#3470) * Move tests * Format * Release 0.0.199 * remove run reference (langchain-ai#3481) * core[patch]: move more tests & test utils to core (langchain-ai#3483) * core[patch]: move more tests & test utils to core * cr * cr * Bump core (langchain-ai#3486) * langchain[chore]: Remove duplicated code (langchain-ai#3487) * langchain[patch]: Remove duplicated code * yarn install * cr * reinstall * reinstall * Adds core tests to CI (langchain-ai#3489) * Adds missing export (langchain-ai#3490) * Catch tiktoken errors (langchain-ai#3491) * langchain[patch]: onToken event added in ChatLlamaCpp call function (langchain-ai#3443) * onToken added in lama cpp * package update * repository username * Drop _ in _options * onToken in llama_cpp llm --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Fix build (langchain-ai#3492) * core[minor]: Runnable with message history (langchain-ai#3437) * Runnable with message history * cr * cr * adds withListeners method to runnables/callbacks * added entrypoint for root listener file * cr * cr * cr * cr * cr * support async listeners * allow for run or run and config as args to listener funcs * cr * chore: lint files * cr * cr * eslint disbale any * update types * cr * cr * cr * cr * cr * cr * Style --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * langchain[patch]: feat(Gradient LLM Integration): Add fine-tuned adapter inference support (langchain-ai#3471) * Add adapterId option * rename base example * add adapter example * update gradient docs to include adapter stuff * remove run call from gradient llm inference examples * langchain[minor]: feat(embedding integration): Gradient AI (langchain-ai#3475) * initial gradient embeddings implementation * format * remove modelslug * update package and entrypoint -> yarn build * map texts and change response reading * add example * add `caller.call` wrapper * add docs * remove run form example * Update gradient_ai.mdx --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * multi[patch]: Bump core deps (langchain-ai#3495) * Bump core * Bump core dep * Fix bug (langchain-ai#3496) * langchain[patch]: Miscellaneous test fixes (langchain-ai#3497) * Fix bug * Small fixes * Release 0.0.200 * Added extra chat message class to types for history (langchain-ai#3510) * Added extra chat message class to types for history * chore: lint files * remove run from watsonx ai example (langchain-ai#3503) * core[patch]: Export Runnable history (langchain-ai#3514) * initial docs (langchain-ai#3493) * core[fix]: RunnableFunc config types (langchain-ai#3513) * core[fix]: RunnableFunc config types * cr * chore: lint files * Bump core version (langchain-ai#3515) * Adds npx create-langchain-integration command (langchain-ai#3512) * Adds npx create-langchain-integration command * Format * all[chore]: Use turbo repo to build api refs, docs and more (langchain-ai#3511) * api_refs[chore]: use turbo repo to build api refs and other dependencies * update core docs to also use turbo * cr * use turbo in ci * cr * chore: lint files * cr * fix: query parameters are not passed correctly to WolframAlpha API (langchain-ai#3502) * fix: query parameters are not passed correctly to WolframAlpha API * Lint + format * Fix test --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Fix linter warning (langchain-ai#3528) * core[patch]: Reducing heap area consumption regardless of the number of prompts (langchain-ai#3519) * Remove unused option * Cache the Tiktoken object * Fix format * Bump core version * Upgrade to js-tiktoken@1.0.8 --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Tat Dat Duong <david@duong.cz> * cr (langchain-ai#3536) * core[tests]: Better tests for runnable history (langchain-ai#3537) * core[tests]: Better tests for runnable history * cr * docs[patch]: search experiment (langchain-ai#3538) * docs[patch]: search experiment * lockfile change * Add Gmail Tool (langchain-ai#3438) * Add GmailBaseTool * Add GmailGetMessage * Fix eslint formatting errors * fix: _call returns stringified output now * feat: create gmail draft message complete * fix: remove unused parameter * fix: removed unused import statement * fix: reformatted file and made method private * Add GmailGetThread * Fixes formatting issues * Fix _call error * Add GmailSearch * Fix build error on types * Create sent_message.ts * Update sent_message.ts run the prettier to format the document * Update sent_message.ts combine the sendMessage function into _call function * Move gmail object from children to parent GmailBaseTool * Fix formatting in gmail/base.ts * fix: switched to Buffer class for base64 encode * Make fields optional and use defaults properly in constructor Previously the default values weren't being used in the constructor, this commit fixes that. Also fields are now optional in each of the gmail tool constructors since they have defaults as backups anyways * Use Zod to parse input of GmailBaseTool constructor * Update zod schema to be entirely optional for GmailBaseToolParams * Create docs for Gmail Tool * Add comment for default parameters, fix formatting * Remove model from default parameters comment * Add relavent tools in gmail example * Add index.ts for all exports and rename send_message * Add unit tests for gmail tools * Add gmail type definitions to package.json * Update typedoc.json add gmail to typedoc.json * Update create-entrypoints.js add the entrypoints for gmail tool * add description for our function add example on our description * update .gitignore * fix the entrypoint * change order * change the zod * fix the format * Update base.ts fix lint problem * Update base.ts remove the unuse comment * add description for search * fix: gmail tools extend structured tool * Update descriptions.ts * fix: tree shaking issues with zod fixed * fix: prettier formatting * Add zod back to GmailBaseTool * Fix gmail example to work for StructuredTool * Add gmail API key setup instructions in docs * Fix formatting * Fix formatting * Replace .call with .invoke in gmail example * Update gmail.ts --------- Co-authored-by: Hamoon Zamiri <hamoon.zamiri@mail.utoronto.ca> Co-authored-by: saeedahsan <ahsan02@gmail.com> Co-authored-by: SeannnX <122410542+SeannnX@users.noreply.github.com> Co-authored-by: Hamoon <90403097+HamoonZamiri@users.noreply.github.com> Co-authored-by: Ahsan Saeed <ahsanm.saeed@mail.utoronto.ca> Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * feat: Add ObsidianLoader to Document loaders (langchain-ai#3494) * Add ObsidianLoader integration * Fix Notion test not to consider Obsidian '.md' files * Fix lint --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * all[patch]: Add .turbo to files removed by yarn clean (langchain-ai#3540) * Add Connery Tool and Toolkit (langchain-ai#3499) * Add ConneryApiClient class * Intermediate sate * Fix ConneryToolkit typo and update ConneryService method name * Init docs * Update docs * Fix imports in docs * Create entry points for the tool and toolkit * Fix the docs issue * Bump core * Release 0.0.201 * Fix OpenAI agent docs (langchain-ai#3543) * Update contributing guidelines (langchain-ai#3550) * core[infra]: Adds turbo to core (langchain-ai#3551) * docs[patch]: Agent pointer (langchain-ai#3549) * Adds pointer to OpenAI functions agent * Adds pointer to OpenAI functions agent --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Revert "all[chore]: Use turbo repo to build api refs, docs and more" (langchain-ai#3535) * Revert "all[chore]: Use turbo repo to build api refs, docs and more (langchain-ai#3511)" This reverts commit f289f3d. * cr * Upgrade xata client to 0.28.0 and apply required change (langchain-ai#3553) Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * core[docs]: Docs for with listeners runnable method (langchain-ai#3531) * core[docs]: Docs for with listeners runnable method * chore: lint files * cr * langchain[docs]: agent stream example docs (langchain-ai#3384) * agent stream example docs * cr * Fixed agent * chore: lint files * Added extra chat message class to types for history * cr * cr * cr * cr * cr * chore: yarn prettier * cr * Improve interaction with streams and Node's Readable.from() method (langchain-ai#3556) * core[patch]: Simplify RunnableSequence transform implementation (langchain-ai#3558) * Simplify RunnableSequence transform implementation * Fix test * Fix tracing tags * Bump core * Release 0.0.202 * chore: Upgrade Typescript to 5.1 (langchain-ai#3562) * upgrade typescript to 5.1 * fix some type errors --------- Co-authored-by: David Illing <dilling123@gmail.com> * core[docs]: Docs & example for runnable history (langchain-ai#3527) * core[docs]: Docs & example for runnable history * cr * cr * cr * chore: yarn prettier * cr * cr * cr * chore: lint files * cr * core[chore]: widen semver range for langsmith (langchain-ai#3564) * core[chore]: widen semver range for langsmith * Update lockfile --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * docs[patch]: Use an example file for docs code examples (langchain-ai#3567) * docs[patch]: Use an example file for docs code examples * cr * cr * cr * Update default PDF spliter (langchain-ai#3568) * Bump core (langchain-ai#3572) * langchain[minor]: Experimental Masking Module (langchain-ai#3548) * [Feature] Implementation of experimental masking parser/transformer * test: add perf unit test * fix: rename piitransformer to regextransformer * added example Kitchen Sink for masking parser * docs: Add documentation, nextjs example and kitchen sink example * fix: wording * docs: add basic example * fix: remove comment and return stream * feat: async hooks, immutable parser state * fix: parse -> mask * fix: || -> ?? * Fix lint, style * Fix build * Update mask.mdx --------- Co-authored-by: Dzmitry Dubarau <dzmitry.dubarau@ally.com> Co-authored-by: Dzmitry A Dubarau <dzmitry.dubarau@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Update build artifacts * Release 0.0.203 * Fix docs (langchain-ai#3584) * Fix typo in example (langchain-ai#3585) * core[docs]: Added get started page to LCEL (langchain-ai#3571) * core[docs]: Added get started page to LCEL * chore: lint files * cr * cr * community[major]: Merge community (langchain-ai#3610) * langchain[major]: LangChain community (langchain-ai#3581) * Initial langchain-community commit * Move LLMs * Add tools * Add more integrations * Lint, format build * More refactoring * Build fixes * Update lockfile * Fix docs (langchain-ai#3584) * Fix typo in example (langchain-ai#3585) * core[docs]: Added get started page to LCEL (langchain-ai#3571) * core[docs]: Added get started page to LCEL * chore: lint files * cr * cr * Format, lint * Move more modules * Move more modules, fix build * Move more testsg * Revert serialization changes * Use OpenAI package * Remove unused file * Format * Fix build * Sync core * Fix build command --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Move memory vector store back into langchain * Move memory * Move toolkits * Move more tools and toolkits * Update yarn lock * Fix lint * Move test * Brace/add missing neo4j test (langchain-ai#3597) * proper[minor]: Add back missing Neo4j int test * chore: lint files * community[minor]: Fix CI (langchain-ai#3601) * Fix CI * Format * Fixes * Fix * Another try * Fix typo * Brace/cleanup deps (langchain-ai#3600) * proper[major]: Cleaned up deps in langchain * cr * cr * cr * cr * cr * cr * cr * Add skeleton of import tests * comminity[major]: Cleaned deps (langchain-ai#3602) * Bump version * Remove unused types * Use different import maps for core vs main langchain (langchain-ai#3617) * Use different import maps for core vs main langchain * Expand serialization test to include more expected entrypoints --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Bump subpackage versions * Fix linter warnings * langchain[patch]: Build deps before testing (langchain-ai#3618) * Release 0.0.204 * all[patch]: Ensure other subpackages are built before test/build (langchain-ai#3624) * Ensure other subpackages are built before test/build * Fix test * Fix API ref build * Fix docs build * Fix build * Fix build * Build serially * Fix build * Bump core * Release 0.0.205 * Add community as workspace dep to examples (langchain-ai#3633) * api_refs[major]: Remove script, use custom typedoc plugin (langchain-ai#3630) * api_refs[major]: Remove script, use custom typedoc plugin * cr * cr * rm typedoc dep * force no cache * cr * cr * add custom build:vercel scripts * cr * cr * Add README for community + core (langchain-ai#3637) * Add Discord Tool (langchain-ai#3444) * Added the discord get messages tool. * Updated discord.js dependency * Added send messages tool * Added the discord channel search tool. * Fixed syntax issue * Added get servers & get text channels * Added documentation and examples * Rename discord.test.ts to discord.int.test.ts * Rename discord.test.ts to discord.int.test.ts * Passed yarn lint and yarn format * Made botToken first argument in tools * updated to single object instead of multiple args * fixed discord arguments to use fields * updated agent test * Made requested changes * Move to community * Remove build artifacts * Update lock --------- Co-authored-by: your_username <arielleramgoolie27@gmail.com> Co-authored-by: Arielle Ramgoolie <88518136+ArielleRamgoolie@users.noreply.github.com> Co-authored-by: slairu <sarah22liu@gmail.com> Co-authored-by: sh-hz <box.shzehi@gmail.com> Co-authored-by: sh-hz <144635183+sh-hz@users.noreply.github.com> Co-authored-by: Jacob Lee <jacoblee93@gmail.com> Co-authored-by: Brace Sproul <braceasproul@gmail.com> * community[patch]: removing null chars (langchain-ai#3628) * tweak: file moved * Format --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * core[patch],community[patch]: Make traced DynamicTool runs use tool name (langchain-ai#3635) * Make traced DynamicTool runs use tool name * Revert test * Fix typo * feat: add inference for RunnableMap RunOutput type (langchain-ai#3517) * add RunnableMapLike to infer RunnableMap output * remove unneeded changes * fix linting * format * fix runnable_stream_log.test * upgrade typescript version * clean types * fix structured_output_runnables.int.test * ts version ~5.1.6 * remove unused eslint-disable-next-line * remove another disable no-explicit-any * remove another no-explicit-any * move eslint * Format * Default runnable maps to any type in case inference is not possible * Add tests --------- Co-authored-by: David Illing <dilling123@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Bump versions * Update lock * Fix export test * Release 0.0.206 * Bump (langchain-ai#3640) * docs[patch]: Add yarn clean script to docs & run in build (langchain-ai#3646) * docs[patch]: Add yarn clean script to docs & run in build * cr * dont use turbo to build api refs (langchain-ai#3647) * langchain[patch]: Issue langchain-ai#2756 Add Qdrant custom payload on documents to query them by filter (langchain-ai#3431) * Add optional custom payload param and 1 test * Add Custom Payload in Documents * Resolve comments in PR * Add document changes to langchain-core * Test because all yarn test cases are passing * Update tests and fix yarn lint * Remove payload from Document and add object[] * Remove object[] and replace with objects +comments * Update add document types --------- Co-authored-by: dom_ <luszczynski.dominik@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * pass in authoptions correctly from initialization down to connection sdk (langchain-ai#3598) Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * community[major]: Added integration with new Gemini API (langchain-ai#3621) * Added integration with new Gemini API * added to requiresOptionalDependency * reverted old models * fixed linting * chat * Cleanup * Run format * Update deps * Move to chat model, add tests * Add docs markdown skeleton * Move deprecation notices around * Docs update * Fix dependency issue * Fix docs path * moved conversion function * cleanup * Update lockfile * minor cleanup * docs indent * More updates to docs * removed enum imports * fixed enum imports/exports * Docs * import order * Fix lint --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Update @langchain/google-genai versioning (langchain-ai#3648) * Use more permissive dependency range for side packages * Update package.json * Small docs update * Adds delete method to PGVectorStore (langchain-ai#3590) * added delete method to pgvectorstore * added tests for pgvectorstore delete method * fix comments * Add example --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Update AssemblyAI SDK (langchain-ai#3599) * Use latest AAI SDK * Update to latest AAI SDK * langchain-mistralai[major]: Add MistralAI chat and embed (langchain-ai#3623) * langchain-mistralai[major]: Add MistralAI chat and embed * chore: lint files * chore: lint files * cr * docs * cr * install * fix tests * fix docs * chore: lint files * dont use turbo to build api refs * cr * cr * yarn * extend base instead of simple chat model * chore: lint files * add docs for embeddings * chore: lint files * core v to 0.1.0 * cr * chore: lint files * Fix lint --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * Update test * Bump community * Release 0.0.207 * Adds integration package installation instructions (langchain-ai#3650) * Adds integration package installation instructions * Update Mistral docs * Remove old warning * Change wording (langchain-ai#3652) * docs[patch]: Added missing LangSmith trace link in mistral docs (langchain-ai#3659) * bugfixes in google Generative AI chat_model (langchain-ai#3657) * adding candidateCount + fixing stopSequences not being set in the request * Update chat_models.ts * Small Google fixes * Fix test * Format --------- Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * Bump google genai version (langchain-ai#3660) * Bump version * Update yarn lock * community[major]: Add Together AI LLM integration (langchain-ai#3627) * cr * lint * added docs & created entrypoint * chore: lint files * all[patch]: Ensure other subpackages are built before test/build (langchain-ai#3624) * Ensure other subpackages are built before test/build * Fix test * Fix API ref build * Fix docs build * Fix build * Fix build * Build serially * Fix build * Bump core * Release 0.0.205 * added docs & created entrypoint * cr * fixed stream * cr * chore: lint files * fix example * chore: lint files * streaming example * format * add langsmith --------- Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * Update README and contributing guidelines (langchain-ai#3666) * Update README and contributing guidelines * Fix links * Fix typo * Fix links * Fix link * Fix links * Update README.md Co-authored-by: Brace Sproul <braceasproul@gmail.com> --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> * Update OpenAI embeddings `stripNewLines` to be default `false` (langchain-ai#3612) * Updating the default value for `stripNewLines` to `false` in the `openai` embeddings. As removing newlines was beneficial for `V1` models (or `-001`), but should not be mandatory for `V2` models (or `-002`). This is explained in openai/openai-python#418 (comment) Therefor updating this field to be in line with the default set model `text-embedding-ada-002`. Also the langchain python library only enables this for `-001` models: https://github.com/langchain-ai/langchain/blob/c0f4b95aa9961724ab4569049b4c3bc12ebbacfc/libs/langchain/langchain/embeddings/openai.py#L466 * Reverting the default value, so it's `false` by default again. Marked with a comment to indicate this should be changed in a future minor release. Referenced the PR, as it contains the necessary information as to why this should be updated. * Resolving conflicts, adding changes again to new location. * Fix invert runId and threadId (langchain-ai#3665) Fix invert runId and threadId to match openai.beta.threads.runs.submitToolOutputs arguments * experimental[patch]: Improve AutoGPT's output_parser to extract JSON code block (langchain-ai#3656) * Improve output_parser to extract JSON code block Closes langchain-ai#3655 * Ran yarn format and lint * community[patch]: Fix RRF normalization and lucene characters for neo4j vector (langchain-ai#3653) * Fix RRF normalization and lucene characters for neo4j vector * Formatting * community[patch]: Update ElasticSearch mappings to successfully add documents from TextSplitter (langchain-ai#3629) * failing test that shows how the loc format from text splitters conflicts with elasticsearch mappings * explicitly declare .metadata.loc as an object in elasticsearch * Throw an error if inserting vectors into elasticsearch fails. * Lint + docs format * Update docs * Format --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * docs[patch]: Update LangChain README (langchain-ai#3669) * Update LangChain README * Update link * Update example * mistral[minor]: Dynamically import mistral (langchain-ai#3670) * mistral[minor]: Dynamically import mistral * dynamic import for embeddings * cr * chore: lint files * Bump version (langchain-ai#3671) * Bump version (langchain-ai#3672) * community[minor]: Adds chat endpoint and multimodal support for Ollama (langchain-ai#3673) * Adds chat endpoint support for Ollama * Fix build * Export for consistency * Add multimodal support * Fix lint + format * Bump community version * Release 0.0.208 * updated docs to reflect usage of PaLM based classes (langchain-ai#3678) * mistral[minor]: Fix assigning class properties (langchain-ai#3681) * mistral[minoir]: Fix assigning class properties * cr * chore: lint files * bump v to 0.0.3 * docs[patch]: Use mixtral default model for togetherai (langchain-ai#3679) * docs[patch]: Use mixtral default model for togetherai * chore: lint files * update langsmith link * Fix 1 typo in Assistants Docs and added 2 extra suggestions (langchain-ai#3680) * Fix typo for fileIds in openai_assistant.mdx * Update openai_assistant.mdx for preventing apiKey errors * docs[patch]: Add section about req optional dep (langchain-ai#3689) * docs[patch]: Add section about req optional dep * Update CONTRIBUTING.md * core[patch]: Use an interface for runnables to allow more compatibility between core versions (langchain-ai#3684) * Use an interface for runnables to allow more compatibility between core versions * Lint + format * Remove unnecessary exports * Add transform to required methods * core[patch]: Add LLM/ChatModel callbacks to cached generation (langchain-ai#3392) * Add _generateCached callback to chat_models * Add _generateCached to llms * Fix formatting * Remove unused ignore * Pass llmStringKey as parameter * Wrap generateCached arguments into object * Add coment for defineProperty block * Fix run managers getting filtered out * Fix formatting * Naming nit * Use more type imports * Add language model callback tests --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> * integrations[minor]: Add readmes to add integrations, improve templat… (langchain-ai#3683) * integrations[minor]: Add readmes to add integrations, improve template readme * add default readme * chore: lint files * cr * community[minor]: Jacob/vectara summarization (langchain-ai#3636) * updated documentation added X-Source to header * initial * added MMR VectaraRetriever now supports summarization as an integral part of the flow * updated example and bugfix * updated tests * updated tests * after yarn format * Renamed VectaraRetriever to VectaraSummaryRetriever Moved to langchain/retrievers/ --------- Co-authored-by: Ofer Mendelevitch <ofer@vectara.com> Co-authored-by: Ofer Mendelevitch <ofermend@gmail.com> * Add missing max_tokens option to TogetherAI (langchain-ai#3687) * init improvements, add index options, multiple binds per filter (langchain-ai#3579) resolving initialization issues, adding Co-authored-by: Phil Miesle <phil.miesle@datastax.com> * Update READMEs (langchain-ai#3693) * Bump package versions * Release 0.0.209 * Bump version * Fixed errors * Added AzureML LLM (#1) * Added azure_ml llm endpoint * Added azure_ml entrypoint * Added field check & prettified code * Fixed error string * Fixed LLM string * Added azure ml llm constants & type & example usage * Update gitignore & package.json * Added bad response check * Added comments on example * Added int test for azure ml * Added doc integration for Azure ML llm * did azureml_chat and made changes to azureml_llm * Added requested changes (#4) * Made requesed changes * Formatted --------- Co-authored-by: Vis <vishakanshanthakumar@gmail.com> * Fixed unused imports error * Prettified test file --------- Co-authored-by: Vis <vishakanshanthakumar@gmail.com> Co-authored-by: Vishakan <152434517+univish@users.noreply.github.com> * docs: keywords (langchain-ai#3705) * docs: keywords * format * google-genai[patch]: Hookup callbacks to stream & generate methods (langchain-ai#3708) * google-genai[patch]: Hookup callbacks to stream & generate methods * chore: lint files * core[minor]: Move chunk array to core (langchain-ai#3711) * all[patch]: Fix typing across different core versions by using interfaces instead of abstract classes (langchain-ai#3709) * Make model reliant modules use BaseLanguageModelInterface instead of BaseLanguageModel * Fix import * Adds BaseRetrieverInterface * Adds prompt value interface * Format * Revert * Use document and embeddings interfaces * Use vectorstore interface * Adds tool and structured tool interfaces * Use type imports * Use type import * examples[patch]: Fixes type error in vectara example (langchain-ai#3719) * examples[patch]: Fixes type error in vectara example * chore: lint files * cr * Add stop to Together AI (langchain-ai#3714) Signed-off-by: Sunghyun Hwang <hwang@hey.com> * Use new Anthropic beta endpoint in new package (langchain-ai#3720) * Use new Anthropic beta endpoint in new package * Update docs * Fix stop sequence binding * Fix lint * Update lock * Version bumps * Switch version * Release 0.0.210 * small requested changes to docs * community[tests]: Add docker-compose for easier testing of pgvector (langchain-ai#3723) * community[tests]: Add docker compose for easier testing of pgvector * cr * chore: lint files * Update Anthropic docs (langchain-ai#3728) * all[minor]: Remove duplicated chunk arr code, import from core (langchain-ai#3731) * all[minor]: Remove duplicated chunk arr code, import from core * chore: lint files * chore: lint files * fix template core version * community[major]: Together AI embeddings (langchain-ai#3729) * community[major]: TogetherAI embeddings * cr * rm docs * chore: lint files * Implementing last requested changes * Update azure_ml.int.test.ts * community[patch]: Fix bad chunk array import (langchain-ai#3733) * community[patch]: Fix bad chunk array import * chore: lint files * Fix deserialisation of additional_kwargs and tool_call_id (langchain-ai#3721) * docs[major]: Generate API refs for all packages (langchain-ai#3690) * docs[major]: Generate API refs for all packages * cr * cr * chore: lint files * remove src/ or libs/ from pathnames * proper version & name * chore: lint files * chore: lint files * cr * cr * cr * cr * filter with bang * cr * Update docs structure (langchain-ai#3736) * community[minor]: Adds optional IDs parameter to PGVectorStore add-* methods (langchain-ai#3692) * added delete method to pgvectorstore * added tests for pgvectorstore delete method * fix comments * Add example * add ids param to pgvector add methods * update doc comments * add test for id insertion * fix doc comments * Change options arg for consistency with base class * Change port to integration test default --------- Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: bracesproul <braceasproul@gmail.com> * all[major]: Better release workflow (langchain-ai#3717) * all[minor]: Better release workflow * cr * added release-it & config files to all pkgs, and template * tmp: rename mistralai to brace from langchain * tmp: rename mistralai to brace from langchain * add missing test infra to libs * cr * cr * cr * cr * cr * chore: lint files * cr * revert mistral workspace name change * chore: lint files * update pkg json script * tmp change names * cr * cr * cr * cr * cr * cr * try/catch around yarn install * cr * cr * cr * cr * cr * cr * cr * update scripts * tmp make mistral basproul npm * account for npm 2fa * cr * cr * cr * cr * support for npm tags * cr * revert basproul changes * chore: lint files * cr * drop release it script * verify version with semver * drop empty tests * fix dep * docs * Update CONTRIBUTING.md --------- Co-authored-by: Jacob Lee <jacoblee93@gmail.com> * tried to undo something * I messed up and am trying to fix it * ran eslint on azure_ml files * Prettified lint fixes * Added back combineLLMOutput --------- Signed-off-by: Sunghyun Hwang <hwang@hey.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Brace Sproul <braceasproul@gmail.com> Co-authored-by: David Duong <david@duong.cz> Co-authored-by: Adeel Ehsan <aadeel.ehsan@gmail.com> Co-authored-by: Adeel Ehsan <adeel.ehsan@wellthy.com> Co-authored-by: Ofer Mendelevitch <ofermend@gmail.com> Co-authored-by: Sumit Kumar Purohit <sumopurohit@gmail.com> Co-authored-by: Antoine Garcia <a.garcia.walecha@gmail.com> Co-authored-by: Paolo Castro <castro.crea@gmail.com> Co-authored-by: Gram Liu <gram.liu226@gmail.com> Co-authored-by: Luiz Felipe <68920578+luiz-k-alencar@users.noreply.github.com> Co-authored-by: Nicolas Juelle <n.juelle@gmail.com> Co-authored-by: Michael Landis <michael@momentohq.com> Co-authored-by: David Zhuang <i@dz.ax> Co-authored-by: Nuno Campos <nuno@boringbits.io> Co-authored-by: Devin Burnette <devin.burnette@betterment.com> Co-authored-by: Alex Naymushin <alexander.naymushin@oxicom.ru> Co-authored-by: Alex Naymushin <alexander.naymushin@omnigon.com> Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com> Co-authored-by: Oskar Hane <oh@oskarhane.com> Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com> Co-authored-by: Dezhi Ren <55412122+DravenCat@users.noreply.github.com> Co-authored-by: Kah Wai Liew <tureki@me.com> Co-authored-by: Zhitao Xu <xuzhitao200020612@gmail.com> Co-authored-by: CalebZhang <64758307+kz4ever@users.noreply.github.com> Co-authored-by: Divyansh Kachchhava <114203084+divyanshuoft@users.noreply.github.com> Co-authored-by: Alfred Tze-Hong Ha <47645447+xxlalfredo99@users.noreply.github.com> Co-authored-by: CalebZhang <kevineview@gmail.com> Co-authored-by: Alexander Claus <134403026+the-powerpointer@users.noreply.github.com> Co-authored-by: Nigel Daniels <nigel.daniels@me.com> Co-authored-by: Chase McDougall <chasemcdougall@hotmail.com> Co-authored-by: Akshay Maurya <akshaymaurya3006@gmail.com> Co-authored-by: phof <37412+phof@users.noreply.github.com> Co-authored-by: jon <906671+jondwillis@users.noreply.github.com> Co-authored-by: Jordy Hoolwerf <jordy.hoolwerf@hrorganizer.com> Co-authored-by: Marcus Nätteldal <yohasse@outlook.com> Co-authored-by: Marcus Nätteldal <marcus.natteldal@ltu.se> Co-authored-by: Laurens Tsestigh <90600075+LaurensTsestigh@users.noreply.github.com> Co-authored-by: Sanan Rao <raosanan@gmail.com> Co-authored-by: Yuto Omachi <youomachi@gmail.com> Co-authored-by: Nandhakishore K.S <n.krishnamurthy@mail.utoronto.ca> Co-authored-by: Zeneos <everythingnotgaming@gmail.com> Co-authored-by: Shareef P <shareefmorayur@gmail.com> Co-authored-by: Abderrahim Mellouki <abderrahim.mellouki.p@gmail.com> Co-authored-by: Tsukasa OISHI <tsukasa.oishi@gmail.com> Co-authored-by: Erick Friis <erick@langchain.dev> Co-authored-by: Uthman Mohamed <83053931+1239uth@users.noreply.github.com> Co-authored-by: Hamoon Zamiri <hamoon.zamiri@mail.utoronto.ca> Co-authored-by: saeedahsan <ahsan02@gmail.com> Co-authored-by: SeannnX <122410542+SeannnX@users.noreply.github.com> Co-authored-by: Hamoon <90403097+HamoonZamiri@users.noreply.github.com> Co-authored-by: Ahsan Saeed <ahsanm.saeed@mail.utoronto.ca> Co-authored-by: Eze <eactisgrosso@gmail.com> Co-authored-by: Volodymyr Machula <machulav@gmail.com> Co-authored-by: Tudor Golubenco <tudor@xata.io> Co-authored-by: David Illing <dilling@users.noreply.github.com> Co-authored-by: David Illing <dilling123@gmail.com> Co-authored-by: Maciej Holyszko <14310995+falkenhawk@users.noreply.github.com> Co-authored-by: Nolansym <gilliamja.te@gmail.com> Co-authored-by: Dzmitry Dubarau <dzmitry.dubarau@ally.com> Co-authored-by: Dzmitry A Dubarau <dzmitry.dubarau@gmail.com> Co-authored-by: Maaneth De Silva <94875583+Maanethdesilva@users.noreply.github.com> Co-authored-by: your_username <arielleramgoolie27@gmail.com> Co-authored-by: Arielle Ramgoolie <88518136+ArielleRamgoolie@users.noreply.github.com> Co-authored-by: slairu <sarah22liu@gmail.com> Co-authored-by: sh-hz <box.shzehi@gmail.com> Co-authored-by: sh-hz <144635183+sh-hz@users.noreply.github.com> Co-authored-by: youngjaeheo2002 <101202147+youngjaeheo2002@users.noreply.github.com> Co-authored-by: dom_ <luszczynski.dominik@gmail.com> Co-authored-by: GG <95317664+pixelcatgg@users.noreply.github.com> Co-authored-by: Alex Ostapenko <alx13@users.noreply.github.com> Co-authored-by: MJDeligan <48515433+MJDeligan@users.noreply.github.com> Co-authored-by: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Co-authored-by: Haouari haitam Kouider <57036855+haouarihk@users.noreply.github.com> Co-authored-by: Shady Al Shoha <48188608+shadyshoha@users.noreply.github.com> Co-authored-by: Maytee Chinavanichkit <mayt@users.noreply.github.com> Co-authored-by: Matt Raibert <mattraibert@positiondev.com> Co-authored-by: Juanjo do Olmo <87780148+SimplyJuanjo@users.noreply.github.com> Co-authored-by: Ofer Mendelevitch <ofer@vectara.com> Co-authored-by: Allan Zimmermann <allan@openrpa.dk> Co-authored-by: Phil Miesle <mieslep@users.noreply.github.com> Co-authored-by: Phil Miesle <phil.miesle@datastax.com> Co-authored-by: Vis <vishakanshanthakumar@gmail.com> Co-authored-by: Vishakan <152434517+univish@users.noreply.github.com> Co-authored-by: Sanjay Mylanathan <63125111+Ultrahi@users.noreply.github.com> Co-authored-by: Sunghyun Hwang <hwang@prep.app> Co-authored-by: Ultrahi <sanjaymylanathan85@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auto:improvement
Medium size change to existing code to handle new use-cases
lgtm
PRs that are ready to be merged as-is
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
reference: https://docs.chaindesk.ai/api-reference/endpoint/datastores/query
cc @gmpetrov