-
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
yandex[major]: Add @langchain/yandex
package
#3791
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,101 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! I noticed that this PR includes changes to the dependencies and configuration fields, which may impact the peer/dev/hard dependencies of the project. I'm flagging this for the maintainers to review and ensure everything aligns with the project's requirements. Great work on the PR!
@@ -0,0 +1,166 @@ | |||
import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! This PR adds a new external HTTP request using the fetch
function. I've flagged this change for your review to ensure it aligns with the project's requirements. Let me know if you have any questions or need further clarification.
@@ -0,0 +1,166 @@ | |||
import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! I've reviewed the code changes and flagged the PR for maintainers to review the addition of environment variable access via getEnvironmentVariable
. This is an important change that needs careful consideration. Let me know if you have any questions or need further assistance with this.
@@ -0,0 +1,161 @@ | |||
import { getEnvironmentVariable } from "@langchain/core/utils/env"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey team, just wanted to flag that this PR introduces a new HTTP request using the fetch
function to make a POST request to the YandexGPT API endpoint. This comment is to bring this change to the maintainers' attention for review. Let me know if you have any questions or need further clarification.
@@ -0,0 +1,161 @@ | |||
import { getEnvironmentVariable } from "@langchain/core/utils/env"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! 👋 I've reviewed the code changes and flagged it for your attention. The added code explicitly accesses and reads environment variables using the getEnvironmentVariable
function, so it's important to review this for any potential impact on the application's behavior. Let me know if you have any questions or need further clarification!
@@ -0,0 +1,165 @@ | |||
import { getEnvironmentVariable } from "@langchain/core/utils/env"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey team, just wanted to flag that this PR introduces a new HTTP request using the fetch
function in the _call
method of the YandexGPT
class. This is just to ensure that the addition of this new request is reviewed by the maintainers. Great work overall!
@@ -0,0 +1,165 @@ | |||
import { getEnvironmentVariable } from "@langchain/core/utils/env"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! I've reviewed the code changes and flagged a specific section related to environment variable usage for the maintainers to review. It looks like the code is explicitly adding and accessing environment variables via the getEnvironmentVariable
function. Let me know if you have any questions or need further clarification!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!! I committed a few changes, and will get to reviewing the rest in a little.
@langchain/yandex
package
597ef66
to
9a194e2
Compare
}; | ||
|
||
try { | ||
const response = await fetch(apiUrl, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: May want to support concurrency here
const apiUrl = | ||
"https://llm.api.cloud.yandex.net/foundationModels/v1/textEmbedding"; | ||
|
||
export interface YandexGPTEmbeddingsParams extends EmbeddingsParams { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any changed docs for embeddings?
Looks good, a few nits but nothing blocking. Will merge tonight! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.46` -> `18.2.47`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.46/18.2.47) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.47?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.47?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.46/18.2.47?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.46/18.2.47?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`6.17.0` -> `6.18.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.17.0/6.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.17.0/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.17.0/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`6.17.0` -> `6.18.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.17.0/6.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.17.0/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.17.0/6.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchainjs) | [`^0.0.209` -> `^0.1.0`](https://renovatebot.com/diffs/npm/langchain/0.0.209/0.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.209/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.209/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v6.18.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6180-2024-01-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.17.0...v6.18.0) ##### 🚀 Features - **typescript-estree:** throw on invalid update expressions - **eslint-plugin:** \[no-var-requires, no-require-imports] allow option ##### ❤️ Thank You - auvred - Joshua Chen 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.18.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6180-2024-01-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.17.0...v6.18.0) This was a version bump only for parser to align it with other projects, there were no code changes. 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.1.1`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.1) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.0...0.1.1) #### What's Changed - langchain\[minor]: Release 0.1.0 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3933](https://togithub.com/langchain-ai/langchainjs/pull/3933) - docs\[patch]: Replace imports by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3931](https://togithub.com/langchain-ai/langchainjs/pull/3931) - langchain\[patch]: Fix lint by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3936](https://togithub.com/langchain-ai/langchainjs/pull/3936) - langchain\[patch]\[tests]: Added tests for new create agent functions by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3930](https://togithub.com/langchain-ai/langchainjs/pull/3930) - core\[patch]: Narrow iterable readable stream typing by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3938](https://togithub.com/langchain-ai/langchainjs/pull/3938) - docs\[patch]: Fix features having strikethrough when not deprecated by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3940](https://togithub.com/langchain-ai/langchainjs/pull/3940) - langchain\[minor]: Adds create runnable chain functions by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3928](https://togithub.com/langchain-ai/langchainjs/pull/3928) **Full Changelog**: langchain-ai/langchainjs@0.1.0...0.1.1 ### [`v0.1.0`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.0) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.214...0.1.0) ##### What's Changed - langchain\[patch]: Release 0.0.214 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3876](https://togithub.com/langchain-ai/langchainjs/pull/3876) - core\[patch]: Release 0.1.7 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3877](https://togithub.com/langchain-ai/langchainjs/pull/3877) - docs\[patch]: Update imports in docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3878](https://togithub.com/langchain-ai/langchainjs/pull/3878) - core\[patch]: Add token usage interface to core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3871](https://togithub.com/langchain-ai/langchainjs/pull/3871) - ci\[patch]: Adds initial dependency range test, move tests by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3887](https://togithub.com/langchain-ai/langchainjs/pull/3887) - docs\[patch]: update llm quickstart section heading by [@​medic-code](https://togithub.com/medic-code) in [https://github.com/langchain-ai/langchainjs/pull/3889](https://togithub.com/langchain-ai/langchainjs/pull/3889) - community\[patch]: Move all tests to community by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3893](https://togithub.com/langchain-ai/langchainjs/pull/3893) - docs\[patch]: Replace lc proper OpenAI imports with [@​langchain/openai](https://togithub.com/langchain/openai) by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3886](https://togithub.com/langchain-ai/langchainjs/pull/3886) - docs\[patch]: Add storage docs by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3870](https://togithub.com/langchain-ai/langchainjs/pull/3870) - Jacob/connery update by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3896](https://togithub.com/langchain-ai/langchainjs/pull/3896) - Jacob/llmonitor to lunary by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3895](https://togithub.com/langchain-ai/langchainjs/pull/3895) - community\[patch]: Release 0.0.14 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3899](https://togithub.com/langchain-ai/langchainjs/pull/3899) - Update embedQuery to use inputType by [@​EricThompson-PeopleReign](https://togithub.com/EricThompson-PeopleReign) in [https://github.com/langchain-ai/langchainjs/pull/3901](https://togithub.com/langchain-ai/langchainjs/pull/3901) - cohere\[patch]: Fix Cohere release command by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3902](https://togithub.com/langchain-ai/langchainjs/pull/3902) - cohere\[patch]: Release 0.0.2 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3904](https://togithub.com/langchain-ai/langchainjs/pull/3904) - template\[patch]: Add passWithNoTests to template jest config by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3903](https://togithub.com/langchain-ai/langchainjs/pull/3903) - template\[patch]: Bump create-langchain-integration by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3905](https://togithub.com/langchain-ai/langchainjs/pull/3905) - docs\[patch]: Update examples imports to use core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3898](https://togithub.com/langchain-ai/langchainjs/pull/3898) - ci\[minor]: Add lowest dependency range CI check by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3906](https://togithub.com/langchain-ai/langchainjs/pull/3906) - community\[patch]: Add external dep to tree shaking list by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3911](https://togithub.com/langchain-ai/langchainjs/pull/3911) - core\[patch]: Readd core entrypoint by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3912](https://togithub.com/langchain-ai/langchainjs/pull/3912) - langchain\[patch]: Test housekeeping by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3913](https://togithub.com/langchain-ai/langchainjs/pull/3913) - core\[patch]: Add generics to `RunnablePassthrough.assign` by [@​zirkelc](https://togithub.com/zirkelc) in [https://github.com/langchain-ai/langchainjs/pull/3844](https://togithub.com/langchain-ai/langchainjs/pull/3844) - core\[patch]: Release 0.1.8 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3914](https://togithub.com/langchain-ai/langchainjs/pull/3914) - docs\[patch]: Update anthropic imports to use anthropic package by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3915](https://togithub.com/langchain-ai/langchainjs/pull/3915) - docs\[patch]: Add more distinct deprecation warning in api refs by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3926](https://togithub.com/langchain-ai/langchainjs/pull/3926) - langchain\[minor], core\[patch]: 0.1.0 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3861](https://togithub.com/langchain-ai/langchainjs/pull/3861) ##### New Contributors - [@​medic-code](https://togithub.com/medic-code) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3889](https://togithub.com/langchain-ai/langchainjs/pull/3889) - [@​EricThompson-PeopleReign](https://togithub.com/EricThompson-PeopleReign) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3901](https://togithub.com/langchain-ai/langchainjs/pull/3901) - [@​zirkelc](https://togithub.com/zirkelc) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3844](https://togithub.com/langchain-ai/langchainjs/pull/3844) **Full Changelog**: langchain-ai/langchainjs@0.0.214...0.1.0 ### [`v0.0.214`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.214) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.213...0.0.214) ##### What's Changed - docs\[minor]: Revamp model io docs by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3815](https://togithub.com/langchain-ai/langchainjs/pull/3815) - docs\[patch]: Add CMD + K shortcut to API refs by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3832](https://togithub.com/langchain-ai/langchainjs/pull/3832) - cohere\[major]: [@​langchain/cohere](https://togithub.com/langchain/cohere) init by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3762](https://togithub.com/langchain-ai/langchainjs/pull/3762) - docs\[patch]: module customization and prompt hub links by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3833](https://togithub.com/langchain-ai/langchainjs/pull/3833) - core\[patch]: Fix tracing order for transform streaming runnables by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3835](https://togithub.com/langchain-ai/langchainjs/pull/3835) - core\[patch]: Release 0.1.6 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3838](https://togithub.com/langchain-ai/langchainjs/pull/3838) - Return run manager arg to not being a promise by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3839](https://togithub.com/langchain-ai/langchainjs/pull/3839) - fix(doc): Sidebar how_to (tools) by [@​gkhngyk](https://togithub.com/gkhngyk) in [https://github.com/langchain-ai/langchainjs/pull/3843](https://togithub.com/langchain-ai/langchainjs/pull/3843) - docs\[patch]: relevant example for map reduce by [@​anass-arrhioui-nw](https://togithub.com/anass-arrhioui-nw) in [https://github.com/langchain-ai/langchainjs/pull/3842](https://togithub.com/langchain-ai/langchainjs/pull/3842) - fix: textFieldMaxLength parameter missing by [@​CoalYa](https://togithub.com/CoalYa) in [https://github.com/langchain-ai/langchainjs/pull/3846](https://togithub.com/langchain-ai/langchainjs/pull/3846) - feat: add formatMessages types & prompt test by [@​gkhngyk](https://togithub.com/gkhngyk) in [https://github.com/langchain-ai/langchainjs/pull/3820](https://togithub.com/langchain-ai/langchainjs/pull/3820) - docs\[patch]: Use component for integration install instructions by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3859](https://togithub.com/langchain-ai/langchainjs/pull/3859) - langchain\[patch]: Adds entrypoint deprecation log method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3860](https://togithub.com/langchain-ai/langchainjs/pull/3860) - Todo: propagate error in Neo4jGraph by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/3855](https://togithub.com/langchain-ai/langchainjs/pull/3855) - google-genai: fix streaming via callback handlers for ChatGoogleGenerativeAI by [@​StreetLamb](https://togithub.com/StreetLamb) in [https://github.com/langchain-ai/langchainjs/pull/3834](https://togithub.com/langchain-ai/langchainjs/pull/3834) - google-genai\[patch]: Release 0.0.7 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3863](https://togithub.com/langchain-ai/langchainjs/pull/3863) - docs\[patch]: Allow for cmd k on ALL pages by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3862](https://togithub.com/langchain-ai/langchainjs/pull/3862) - langchain\[patch],core\[patch]: Remove v1 tracer and move test to core by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3865](https://togithub.com/langchain-ai/langchainjs/pull/3865) - core\[patch]: Compute trace_id and dotted_run_id client side by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3867](https://togithub.com/langchain-ai/langchainjs/pull/3867) - docs\[patch]: Adds token tracking usage docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3868](https://togithub.com/langchain-ai/langchainjs/pull/3868) - docs\[patch]: Replace examples imports with [@​langchain/community](https://togithub.com/langchain/community) by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3796](https://togithub.com/langchain-ai/langchainjs/pull/3796) - langchain\[patch]: Allow for passing bytestore into multi vector retriever by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3760](https://togithub.com/langchain-ai/langchainjs/pull/3760) - langchain\[minor]: fix: use zod validation when using createStructuredOutputChainFromZod by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3866](https://togithub.com/langchain-ai/langchainjs/pull/3866) - community\[patch]: Move remote retriever to community by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3869](https://togithub.com/langchain-ai/langchainjs/pull/3869) - yandex\[major]: Add `@langchain/yandex` package by [@​tyumentsev4](https://togithub.com/tyumentsev4) in [https://github.com/langchain-ai/langchainjs/pull/3791](https://togithub.com/langchain-ai/langchainjs/pull/3791) - fix a bug in Bedrock streaming by [@​Yofial](https://togithub.com/Yofial) in [https://github.com/langchain-ai/langchainjs/pull/3854](https://togithub.com/langchain-ai/langchainjs/pull/3854) - community\[patch]: Release 0.0.13 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3873](https://togithub.com/langchain-ai/langchainjs/pull/3873) - yandex\[patch]: Initial release by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3874](https://togithub.com/langchain-ai/langchainjs/pull/3874) - langchain\[patch]: Bump community dependency by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3875](https://togithub.com/langchain-ai/langchainjs/pull/3875) ##### New Contributors - [@​anass-arrhioui-nw](https://togithub.com/anass-arrhioui-nw) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3842](https://togithub.com/langchain-ai/langchainjs/pull/3842) - [@​CoalYa](https://togithub.com/CoalYa) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3846](https://togithub.com/langchain-ai/langchainjs/pull/3846) - [@​StreetLamb](https://togithub.com/StreetLamb) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3834](https://togithub.com/langchain-ai/langchainjs/pull/3834) - [@​Yofial](https://togithub.com/Yofial) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3854](https://togithub.com/langchain-ai/langchainjs/pull/3854) **Full Changelog**: langchain-ai/langchainjs@0.0.213...0.0.214 ### [`v0.0.213`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.213) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.212...0.0.213) #### What's Changed - feat: Add Astra DB Vector Store Integration by [@​mfortman11](https://togithub.com/mfortman11) in [https://github.com/langchain-ai/langchainjs/pull/3732](https://togithub.com/langchain-ai/langchainjs/pull/3732) - Add AzureOpenAI and AzureChatOpenAI classes for Python interop by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3625](https://togithub.com/langchain-ai/langchainjs/pull/3625) - integrations\[patch]: Bump version by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3771](https://togithub.com/langchain-ai/langchainjs/pull/3771) - community\[patch]: Release 0.0.11 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3772](https://togithub.com/langchain-ai/langchainjs/pull/3772) - Fix lint warnings by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3788](https://togithub.com/langchain-ai/langchainjs/pull/3788) - docs\[patch]: Fix structured agent output example by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3770](https://togithub.com/langchain-ai/langchainjs/pull/3770) - core\[minor]: Nc/dec26/runnable stream by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3792](https://togithub.com/langchain-ai/langchainjs/pull/3792) - Implement optional message placeholder in js by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3795](https://togithub.com/langchain-ai/langchainjs/pull/3795) - RunnablePassthrough.pick() by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3798](https://togithub.com/langchain-ai/langchainjs/pull/3798) - core\[patch]: Add LanguageModelLike type by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3799](https://togithub.com/langchain-ai/langchainjs/pull/3799) - template\[patch]: Add lc_secrets to template code by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3789](https://togithub.com/langchain-ai/langchainjs/pull/3789) - Implement stream for runnable lambda by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3801](https://togithub.com/langchain-ai/langchainjs/pull/3801) - docs\[patch]: typo in Azure OpenAI integration by [@​rikimbili](https://togithub.com/rikimbili) in [https://github.com/langchain-ai/langchainjs/pull/3803](https://togithub.com/langchain-ai/langchainjs/pull/3803) - core\[patch]: Fix optional message placeholder use in a chat prompt template by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3805](https://togithub.com/langchain-ai/langchainjs/pull/3805) - Add optional name for runnable sequence by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3806](https://togithub.com/langchain-ai/langchainjs/pull/3806) - core\[patch]: Fix runnable with message history for async histories by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3808](https://togithub.com/langchain-ai/langchainjs/pull/3808) - Add .pick and .assign methods to Runnable by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3807](https://togithub.com/langchain-ai/langchainjs/pull/3807) - langchain\[minor]: Adds create chat retrieval chain method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3800](https://togithub.com/langchain-ai/langchainjs/pull/3800) - langchain\[minor]: Add stuff docs chain by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3809](https://togithub.com/langchain-ai/langchainjs/pull/3809) - docs\[patch]: Fix more core imports by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3817](https://togithub.com/langchain-ai/langchainjs/pull/3817) - fix: use [@​gomoment/sdk-core](https://togithub.com/gomoment/sdk-core) instead of [@​gomoment/sdk](https://togithub.com/gomoment/sdk) for edge server integrations ([#​3784](https://togithub.com/langchain-ai/langchainjs/issues/3784)) by [@​hideokamoto](https://togithub.com/hideokamoto) in [https://github.com/langchain-ai/langchainjs/pull/3813](https://togithub.com/langchain-ai/langchainjs/pull/3813) - core\[minor]: Streaming List Parsers by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3819](https://togithub.com/langchain-ai/langchainjs/pull/3819) - core\[minor]: Add JSON parser by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3821](https://togithub.com/langchain-ai/langchainjs/pull/3821) - langchain\[minor]: Adds new agent create methods and docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3802](https://togithub.com/langchain-ai/langchainjs/pull/3802) - core\[patch]: Release 0.1.5 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3828](https://togithub.com/langchain-ai/langchainjs/pull/3828) - all\[patch]: Bump deps by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3829](https://togithub.com/langchain-ai/langchainjs/pull/3829) - langchain\[patch]: Release 0.0.213 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3830](https://togithub.com/langchain-ai/langchainjs/pull/3830) #### New Contributors - [@​mfortman11](https://togithub.com/mfortman11) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3732](https://togithub.com/langchain-ai/langchainjs/pull/3732) - [@​rikimbili](https://togithub.com/rikimbili) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3803](https://togithub.com/langchain-ai/langchainjs/pull/3803) - [@​hideokamoto](https://togithub.com/hideokamoto) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3813](https://togithub.com/langchain-ai/langchainjs/pull/3813) **Full Changelog**: langchain-ai/langchainjs@0.0.212...0.0.213 ### [`v0.0.212`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.212) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.211...0.0.212) ##### What's Changed - integration\[patch]: Bump Anthropic SDK dep by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3742](https://togithub.com/langchain-ai/langchainjs/pull/3742) - integration\[release]: [@​langchain/anthropic](https://togithub.com/langchain/anthropic) 0.0.8 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3743](https://togithub.com/langchain-ai/langchainjs/pull/3743) - Remove build artifacts by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3748](https://togithub.com/langchain-ai/langchainjs/pull/3748) - all\[patch]: Add confirmation & skip export tests for non primary proj… by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3747](https://togithub.com/langchain-ai/langchainjs/pull/3747) - core\[patch]: Pass configurable as config when separating call options by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3751](https://togithub.com/langchain-ai/langchainjs/pull/3751) - langchain\[patch]: Adds warning when attempting to import from root entrypoint by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3750](https://togithub.com/langchain-ai/langchainjs/pull/3750) - ci\[minor]: Add workflow to build examples in CI by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3753](https://togithub.com/langchain-ai/langchainjs/pull/3753) - integrations\[patch]: Move OpenAI tests and add one for JSON mode caching by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3754](https://togithub.com/langchain-ai/langchainjs/pull/3754) - community\[minor]: Add support for Azure Cosmos DB vector store by [@​sinedied](https://togithub.com/sinedied) in [https://github.com/langchain-ai/langchainjs/pull/3727](https://togithub.com/langchain-ai/langchainjs/pull/3727) - community\[patch]: Release 0.0.10 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3757](https://togithub.com/langchain-ai/langchainjs/pull/3757) - docs\[patch]: Update import by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3759](https://togithub.com/langchain-ai/langchainjs/pull/3759) - docs\[patch]: Adds docs for streamLog by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3767](https://togithub.com/langchain-ai/langchainjs/pull/3767) - langchain\[minor]: Support stream log for agent executors by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3765](https://togithub.com/langchain-ai/langchainjs/pull/3765) - docs\[patch]: Build code blocks when importing runnables from core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3768](https://togithub.com/langchain-ai/langchainjs/pull/3768) - langchain\[patch]: Release 0.0.212 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3769](https://togithub.com/langchain-ai/langchainjs/pull/3769) ##### New Contributors - [@​sinedied](https://togithub.com/sinedied) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3727](https://togithub.com/langchain-ai/langchainjs/pull/3727) **Full Changelog**: langchain-ai/langchainjs@0.0.211...0.0.212 ### [`v0.0.211`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.211) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.210...0.0.211) #### What's Changed - Release 0.0.210 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3722](https://togithub.com/langchain-ai/langchainjs/pull/3722) - community\[tests]: Add docker-compose for easier testing of pgvector by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3723](https://togithub.com/langchain-ai/langchainjs/pull/3723) - Update Anthropic docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3728](https://togithub.com/langchain-ai/langchainjs/pull/3728) - all\[minor]: Remove duplicated chunk arr code, import from core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3731](https://togithub.com/langchain-ai/langchainjs/pull/3731) - community\[major]: Together AI embeddings by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3729](https://togithub.com/langchain-ai/langchainjs/pull/3729) - community\[patch]: Fix bad chunk array import by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3733](https://togithub.com/langchain-ai/langchainjs/pull/3733) - Fix deserialisation of additional_kwargs and tool_call_id by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3721](https://togithub.com/langchain-ai/langchainjs/pull/3721) - docs\[major]: Generate API refs for all packages by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3690](https://togithub.com/langchain-ai/langchainjs/pull/3690) - docs\[patch]: Update visible docs structure to match Python by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3736](https://togithub.com/langchain-ai/langchainjs/pull/3736) - community\[minor]: Adds optional IDs parameter to PGVectorStore add-\* methods by [@​MJDeligan](https://togithub.com/MJDeligan) in [https://github.com/langchain-ai/langchainjs/pull/3692](https://togithub.com/langchain-ai/langchainjs/pull/3692) - all\[major]: Better release workflow by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3717](https://togithub.com/langchain-ai/langchainjs/pull/3717) - langchain\[patch]: fix:docx loader load error by [@​iccyuan](https://togithub.com/iccyuan) in [https://github.com/langchain-ai/langchainjs/pull/3737](https://togithub.com/langchain-ai/langchainjs/pull/3737) - core\[release]: 0.1.4 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3739](https://togithub.com/langchain-ai/langchainjs/pull/3739) - community\[release]: 0.0.9 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3740](https://togithub.com/langchain-ai/langchainjs/pull/3740) - langchain\[release]: 0.0.211 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3741](https://togithub.com/langchain-ai/langchainjs/pull/3741) #### New Contributors - [@​iccyuan](https://togithub.com/iccyuan) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3737](https://togithub.com/langchain-ai/langchainjs/pull/3737) **Full Changelog**: langchain-ai/langchainjs@0.0.210...0.0.211 ### [`v0.0.210`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.210) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.209...0.0.210) #### What's Changed - Release 0.0.209 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3694](https://togithub.com/langchain-ai/langchainjs/pull/3694) - docs: keywords by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchainjs/pull/3705](https://togithub.com/langchain-ai/langchainjs/pull/3705) - google-genai\[patch]: Hookup callbacks to stream & generate methods by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3708](https://togithub.com/langchain-ai/langchainjs/pull/3708) - core\[minor]: Move chunk array to core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3711](https://togithub.com/langchain-ai/langchainjs/pull/3711) - all\[patch]: Fix typing across different core versions by using interfaces instead of abstract classes by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3709](https://togithub.com/langchain-ai/langchainjs/pull/3709) - examples\[patch]: Fixes type error in vectara example by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3719](https://togithub.com/langchain-ai/langchainjs/pull/3719) - Add `stop` option to Together AI by [@​sunghyunzz](https://togithub.com/sunghyunzz) in [https://github.com/langchain-ai/langchainjs/pull/3714](https://togithub.com/langchain-ai/langchainjs/pull/3714) - Use new Anthropic beta endpoint in new package by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3720](https://togithub.com/langchain-ai/langchainjs/pull/3720) #### New Contributors - [@​sunghyunzz](https://togithub.com/sunghyunzz) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3714](https://togithub.com/langchain-ai/langchainjs/pull/3714) **Full Changelog**: langchain-ai/langchainjs@0.0.209...0.0.210 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/autoblocksai/javascript-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This pull request adds yandex library with new Foundation Models API. Marks community modules as deprecated.