-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integration[minor]: Llama Cpp streaming #3394
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Very nice! |
runManager?: CallbackManagerForLLMRun | ||
): AsyncGenerator<ChatGenerationChunk> { | ||
if (input.length !== 1) { | ||
throw new Error("Only one human message should be provided."); |
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.
Is there a way we can fix this for multi-turn messages?
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’ll explore this, ‘llama-node-cpp’ sets some of this up explicitly with the instantiation of a session. I should be able to compose a prompt annotated for ‘llama2’, although milage may vary if someone is using a none ‘llama2’ model.
runManager?: CallbackManagerForLLMRun | ||
): AsyncGenerator<GenerationChunk> { | ||
const promptOptions = { | ||
temperature: this?.temperature, |
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.
maxTokens should be here too?
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.
‘maxTokens’ is set on the prompt method but to stream I’m using the evaluation method directly on the context. Unfortunately ‘maxTokens’ is not an option available on that method :(
Some small questions but I think good to go |
Thank you! |
[![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | [`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/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.37` -> `18.2.41`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.37/18.2.41) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.41?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.41?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.41?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.41?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.11.0` -> `6.13.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.11.0/6.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.13.1?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.13.1?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.13.1?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.11.0` -> `6.13.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.11.0/6.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.13.1?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.13.1?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.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ai-jsx](https://ai-jsx.com) ([source](https://togithub.com/fixie-ai/ai-jsx)) | [`0.28.1` -> `0.28.2`](https://renovatebot.com/diffs/npm/ai-jsx/0.28.1/0.28.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ai-jsx/0.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai-jsx/0.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai-jsx/0.28.1/0.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai-jsx/0.28.1/0.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.54.0` -> `8.55.0`](https://renovatebot.com/diffs/npm/eslint/8.54.0/8.55.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.54.0/8.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.54.0/8.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-config-prettier](https://togithub.com/prettier/eslint-config-prettier) | [`9.0.0` -> `9.1.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/9.0.0/9.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-prettier/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-prettier/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-prettier/9.0.0/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-prettier/9.0.0/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchainjs) | [`^0.0.196` -> `^0.0.200`](https://renovatebot.com/diffs/npm/langchain/0.0.196/0.0.200) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.200?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.200?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.196/0.0.200?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.196/0.0.200?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`15.1.0` -> `15.2.0`](https://renovatebot.com/diffs/npm/lint-staged/15.1.0/15.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.1.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.1.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-node) | [`4.19.0` -> `4.20.1`](https://renovatebot.com/diffs/npm/openai/4.19.0/4.20.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.19.0/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.19.0/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.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.13.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6131-2023-11-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) 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. ### [`v6.13.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6130-2023-11-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.12.0...v6.13.0) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) 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. ### [`v6.12.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6120-2023-11-20) [Compare Source](https://togithub.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://togithub.com/typescript-eslint/typescript-eslint/issues/7705)) ([155aa1f](https://togithub.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://togithub.com/typescript-eslint/typescript-eslint/issues/7706)) ([f151b26](https://togithub.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://togithub.com/typescript-eslint/typescript-eslint/issues/7806)) ([a034d0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/a034d0a3856aa07bd2d52b557fa33c7a88e9e511)), closes [#​7768](https://togithub.com/typescript-eslint/typescript-eslint/issues/7768) ##### Features - \[member-ordering] add accessor support for member-ordering ([#​7927](https://togithub.com/typescript-eslint/typescript-eslint/issues/7927)) ([3c8312d](https://togithub.com/typescript-eslint/typescript-eslint/commit/3c8312d1e135dc65fa41f629993cd03ed82e3255)) - **eslint-plugin:** \[switch-exhaustiveness-check] add requireDefaultForNonUnion option ([#​7880](https://togithub.com/typescript-eslint/typescript-eslint/issues/7880)) ([4cfcd45](https://togithub.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.13.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6131-2023-11-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.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. ### [`v6.13.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6130-2023-11-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.12.0...v6.13.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.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. ### [`v6.12.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6120-2023-11-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.11.0...v6.12.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.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>eslint/eslint (eslint)</summary> ### [`v8.55.0`](https://togithub.com/eslint/eslint/releases/tag/v8.55.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.54.0...v8.55.0) #### Features - [`8c9e6c1`](https://togithub.com/eslint/eslint/commit/8c9e6c100a6eb69da292463293b3b48cff911a01) feat: importNamePattern option in no-restricted-imports ([#​17721](https://togithub.com/eslint/eslint/issues/17721)) (Tanuj Kanti) #### Documentation - [`83ece2a`](https://togithub.com/eslint/eslint/commit/83ece2afc2dc6c49efe82678663fe4cba590c0e5) docs: fix typo `--rules` -> `--rule` ([#​17806](https://togithub.com/eslint/eslint/issues/17806)) (OKURA Masafumi) - [`fffca5c`](https://togithub.com/eslint/eslint/commit/fffca5c362bcd205dbf79d1bb52834f8a98fc6bd) docs: remove "Open in Playground" buttons for removed rules ([#​17791](https://togithub.com/eslint/eslint/issues/17791)) (Francesco Trotta) - [`a6d9442`](https://togithub.com/eslint/eslint/commit/a6d9442a9ab34d5d19f78d8c8fd0767a1237bfe3) docs: fix correct/incorrect examples of rules ([#​17789](https://togithub.com/eslint/eslint/issues/17789)) (Tanuj Kanti) - [`383e999`](https://togithub.com/eslint/eslint/commit/383e99928d7ce649ec9030c9856b03fbac0c3501) docs: update and fix examples for `no-unused-vars` ([#​17788](https://togithub.com/eslint/eslint/issues/17788)) (Tanuj Kanti) - [`5a8efd5`](https://togithub.com/eslint/eslint/commit/5a8efd5b7ad13eb320a1f468d1d4ab3c8ab99214) docs: add specific stylistic rule for each deprecated rule ([#​17778](https://togithub.com/eslint/eslint/issues/17778)) (Etienne) #### Chores - [`eb8950c`](https://togithub.com/eslint/eslint/commit/eb8950c3b811c9163b9aae23af8b6266ad98b295) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).55.0 ([#​17811](https://togithub.com/eslint/eslint/issues/17811)) (Milos Djermanovic) - [`93df384`](https://togithub.com/eslint/eslint/commit/93df3849a7a25ebe0502000bf0bfb80a6613a5ae) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (Jenkins) - [`fe4b954`](https://togithub.com/eslint/eslint/commit/fe4b9545a83e9aca7ba4bb77bc9c868d57de777f) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).1.4 ([#​17799](https://togithub.com/eslint/eslint/issues/17799)) (Milos Djermanovic) - [`bd8911d`](https://togithub.com/eslint/eslint/commit/bd8911db85c7a1127543c9212c8cea47a5cb687d) ci: pin Node.js 21.2.0 ([#​17809](https://togithub.com/eslint/eslint/issues/17809)) (Milos Djermanovic) - [`b29a16b`](https://togithub.com/eslint/eslint/commit/b29a16b22f234f6134475efb6c7be5ac946556ee) chore: fix several `cli` tests to run in the intended flat config mode ([#​17797](https://togithub.com/eslint/eslint/issues/17797)) (Milos Djermanovic) - [`de165c1`](https://togithub.com/eslint/eslint/commit/de165c108203c6703516ac651f5b4cac5b241804) chore: remove unused config-extends fixtures ([#​17781](https://togithub.com/eslint/eslint/issues/17781)) (Milos Djermanovic) - [`d4304b8`](https://togithub.com/eslint/eslint/commit/d4304b8b66eac870ffbf4840d84add8a123b25fc) chore: remove formatting/stylistic rules from new rule templates ([#​17780](https://togithub.com/eslint/eslint/issues/17780)) (Francesco Trotta) - [`21024fe`](https://togithub.com/eslint/eslint/commit/21024fe2029420b413bed11d23761c87e9a02a1a) chore: check rule examples for syntax errors ([#​17718](https://togithub.com/eslint/eslint/issues/17718)) (Francesco Trotta) </details> <details> <summary>prettier/eslint-config-prettier (eslint-config-prettier)</summary> ### [`v9.1.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-910-2023-12-02) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0) - Added: \[unicorn/template-indent], (as a \[special rule]\[unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu ([@​gurgunday](https://togithub.com/gurgunday))! - Changed: All the \[formatting rules that were deprecated in ESLint 8.53.0]\[deprecated-8.53.0] are now excluded if you set the `ESLINT_CONFIG_PRETTIER_NO_DEPRECATED` environment variable. </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.200`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.200) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.199...0.0.200) ##### What's Changed - langchain\[patch]: Release 0.0.199 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3472](https://togithub.com/langchain-ai/langchainjs/pull/3472) - chore: update contribution docs by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3481](https://togithub.com/langchain-ai/langchainjs/pull/3481) - core\[patch]: move more tests & test utils to core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3483](https://togithub.com/langchain-ai/langchainjs/pull/3483) - core\[patch]: Bump core by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3486](https://togithub.com/langchain-ai/langchainjs/pull/3486) - langchain\[chore]: Remove duplicated code by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3487](https://togithub.com/langchain-ai/langchainjs/pull/3487) - langchain\[patch]: Adds core tests to CI by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3489](https://togithub.com/langchain-ai/langchainjs/pull/3489) - langchain\[patch]: Adds missing export by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3490](https://togithub.com/langchain-ai/langchainjs/pull/3490) - core\[patch]: Catch tiktoken errors by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3491](https://togithub.com/langchain-ai/langchainjs/pull/3491) - langchain\[patch]: onToken event added in ChatLlamaCpp call function by [@​shareefmorayur](https://togithub.com/shareefmorayur) in [https://github.com/langchain-ai/langchainjs/pull/3443](https://togithub.com/langchain-ai/langchainjs/pull/3443) - Fix build by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3492](https://togithub.com/langchain-ai/langchainjs/pull/3492) - core\[minor]: Runnable with message history by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3437](https://togithub.com/langchain-ai/langchainjs/pull/3437) - langchain\[patch]: feat(Gradient LLM Integration): Add fine-tuned adapter inference support by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3471](https://togithub.com/langchain-ai/langchainjs/pull/3471) - langchain\[minor]: feat(embedding integration): Gradient AI by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3475](https://togithub.com/langchain-ai/langchainjs/pull/3475) - multi\[patch]: Bump core deps by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3495](https://togithub.com/langchain-ai/langchainjs/pull/3495) - core\[patch]: Fix token counting by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3496](https://togithub.com/langchain-ai/langchainjs/pull/3496) - langchain\[patch]: Miscellaneous test fixes by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3497](https://togithub.com/langchain-ai/langchainjs/pull/3497) ##### New Contributors - [@​shareefmorayur](https://togithub.com/shareefmorayur) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3443](https://togithub.com/langchain-ai/langchainjs/pull/3443) **Full Changelog**: langchain-ai/langchainjs@0.0.199...0.0.200 ### [`v0.0.199`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.199) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.198...0.0.199) #### What's Changed - Release 0.0.198 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3424](https://togithub.com/langchain-ai/langchainjs/pull/3424) - Make undefined input optional by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3436](https://togithub.com/langchain-ai/langchainjs/pull/3436) - fix(npm script): lint fix doesn't fix fixable errors by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3451](https://togithub.com/langchain-ai/langchainjs/pull/3451) - Fix null or undefined records causing error in Xata similarity search method by [@​codenameakshay](https://togithub.com/codenameakshay) in [https://github.com/langchain-ai/langchainjs/pull/3425](https://togithub.com/langchain-ai/langchainjs/pull/3425) - new: returning generated question by [@​phof](https://togithub.com/phof) in [https://github.com/langchain-ai/langchainjs/pull/3433](https://togithub.com/langchain-ai/langchainjs/pull/3433) - export InitializeAgentExecutorOptionsStructured by [@​jondwillis](https://togithub.com/jondwillis) in [https://github.com/langchain-ai/langchainjs/pull/3442](https://togithub.com/langchain-ai/langchainjs/pull/3442) - langchain\[patch]: Fix for Prisma vectorstore build query IN filter by [@​Knordy](https://togithub.com/Knordy) in [https://github.com/langchain-ai/langchainjs/pull/3462](https://togithub.com/langchain-ai/langchainjs/pull/3462) - langchain\[patch]: Implements support for Personal Access Token Authentication in the ConfluenceLoader by [@​yoHasse](https://togithub.com/yoHasse) in [https://github.com/langchain-ai/langchainjs/pull/3409](https://togithub.com/langchain-ai/langchainjs/pull/3409) - langchain\[minor]: Added multi-message streaming to llama_cpp by [@​nigel-daniels](https://togithub.com/nigel-daniels) in [https://github.com/langchain-ai/langchainjs/pull/3463](https://togithub.com/langchain-ai/langchainjs/pull/3463) - langchain\[patch]: Enhance filter functionality for Elasticsearch VectorStore by [@​LaurensTsestigh](https://togithub.com/LaurensTsestigh) in [https://github.com/langchain-ai/langchainjs/pull/3349](https://togithub.com/langchain-ai/langchainjs/pull/3349) - langchain\[minor]: feat(LLM Integration): WatsonX AI Integration by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3399](https://togithub.com/langchain-ai/langchainjs/pull/3399) - langchain\[minor]: feat(LLM Integration): Gradient AI Integration by [@​chasemcdo](https://togithub.com/chasemcdo) in [https://github.com/langchain-ai/langchainjs/pull/3461](https://togithub.com/langchain-ai/langchainjs/pull/3461) - Add GooglePlaces Tool by [@​SananR](https://togithub.com/SananR) in [https://github.com/langchain-ai/langchainjs/pull/3400](https://togithub.com/langchain-ai/langchainjs/pull/3400) - langchain\[minor]: Add document loader for ChatGPT data by [@​Zeneos](https://togithub.com/Zeneos) in [https://github.com/langchain-ai/langchainjs/pull/3439](https://togithub.com/langchain-ai/langchainjs/pull/3439) - langchain\[patch]: Fix lint by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3466](https://togithub.com/langchain-ai/langchainjs/pull/3466) - langchain\[patch]: Add missing entrypoint by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3467](https://togithub.com/langchain-ai/langchainjs/pull/3467) - langchain\[patch]: Remove double export by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3469](https://togithub.com/langchain-ai/langchainjs/pull/3469) - core\[patch]: Move tests into core by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3450](https://togithub.com/langchain-ai/langchainjs/pull/3450) - langchain\[patch]: Move tests by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3470](https://togithub.com/langchain-ai/langchainjs/pull/3470) #### New Contributors - [@​codenameakshay](https://togithub.com/codenameakshay) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3425](https://togithub.com/langchain-ai/langchainjs/pull/3425) - [@​phof](https://togithub.com/phof) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3433](https://togithub.com/langchain-ai/langchainjs/pull/3433) - [@​Knordy](https://togithub.com/Knordy) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3462](https://togithub.com/langchain-ai/langchainjs/pull/3462) - [@​yoHasse](https://togithub.com/yoHasse) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3409](https://togithub.com/langchain-ai/langchainjs/pull/3409) - [@​LaurensTsestigh](https://togithub.com/LaurensTsestigh) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3349](https://togithub.com/langchain-ai/langchainjs/pull/3349) - [@​SananR](https://togithub.com/SananR) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3400](https://togithub.com/langchain-ai/langchainjs/pull/3400) - [@​Zeneos](https://togithub.com/Zeneos) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3439](https://togithub.com/langchain-ai/langchainjs/pull/3439) **Full Changelog**: langchain-ai/langchainjs@0.0.198...0.0.199 ### [`v0.0.198`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.198) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.197...0.0.198) #### What's Changed - Release 0.0.197 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3420](https://togithub.com/langchain-ai/langchainjs/pull/3420) - feat: add support for collection name in PG Vector by [@​devinburnette](https://togithub.com/devinburnette) in [https://github.com/langchain-ai/langchainjs/pull/3353](https://togithub.com/langchain-ai/langchainjs/pull/3353) - fix: Add HuggingFaceInference includeCredentials param by [@​Xelaan](https://togithub.com/Xelaan) in [https://github.com/langchain-ai/langchainjs/pull/3389](https://togithub.com/langchain-ai/langchainjs/pull/3389) - Use less tokens to describe a Neo4j graph schema by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/3411](https://togithub.com/langchain-ai/langchainjs/pull/3411) - Add no focused jest tests eslint rule by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3422](https://togithub.com/langchain-ai/langchainjs/pull/3422) - Add more tests for agent streaming by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3421](https://togithub.com/langchain-ai/langchainjs/pull/3421) - Added PyInterpreterTool by [@​mishushakov](https://togithub.com/mishushakov) in [https://github.com/langchain-ai/langchainjs/pull/3090](https://togithub.com/langchain-ai/langchainjs/pull/3090) - PPTX document loader by [@​DravenCat](https://togithub.com/DravenCat) in [https://github.com/langchain-ai/langchainjs/pull/3333](https://togithub.com/langchain-ai/langchainjs/pull/3333) - langchain\[patch]: Add modify and retrieve openAI assistant by [@​castroCrea](https://togithub.com/castroCrea) in [https://github.com/langchain-ai/langchainjs/pull/3387](https://togithub.com/langchain-ai/langchainjs/pull/3387) - fix: JSON parsePartialJson undefined value by [@​tureki](https://togithub.com/tureki) in [https://github.com/langchain-ai/langchainjs/pull/3412](https://togithub.com/langchain-ai/langchainjs/pull/3412) - Implement ClickHouse Support by [@​Neverland3124](https://togithub.com/Neverland3124) in [https://github.com/langchain-ai/langchainjs/pull/3342](https://togithub.com/langchain-ai/langchainjs/pull/3342) - integration\[patch]: feat: implement max marginal relevance search for Weaviate vector store by [@​the-powerpointer](https://togithub.com/the-powerpointer) in [https://github.com/langchain-ai/langchainjs/pull/3395](https://togithub.com/langchain-ai/langchainjs/pull/3395) - integration\[minor]: Llama Cpp streaming by [@​nigel-daniels](https://togithub.com/nigel-daniels) in [https://github.com/langchain-ai/langchainjs/pull/3394](https://togithub.com/langchain-ai/langchainjs/pull/3394) - core\[patch]: Fix getBufferString method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3423](https://togithub.com/langchain-ai/langchainjs/pull/3423) #### New Contributors - [@​Xelaan](https://togithub.com/Xelaan) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3389](https://togithub.com/langchain-ai/langchainjs/pull/3389) - [@​mishushakov](https://togithub.com/mishushakov) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3090](https://togithub.com/langchain-ai/langchainjs/pull/3090) - [@​DravenCat](https://togithub.com/DravenCat) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3333](https://togithub.com/langchain-ai/langchainjs/pull/3333) - [@​tureki](https://togithub.com/tureki) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3412](https://togithub.com/langchain-ai/langchainjs/pull/3412) - [@​Neverland3124](https://togithub.com/Neverland3124) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3342](https://togithub.com/langchain-ai/langchainjs/pull/3342) **Full Changelog**: langchain-ai/langchainjs@0.0.197...0.0.198 ### [`v0.0.197`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.197) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.196...0.0.197) #### What's Changed - Release 0.0.196 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3366](https://togithub.com/langchain-ai/langchainjs/pull/3366) - Refactor core by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3373](https://togithub.com/langchain-ai/langchainjs/pull/3373) - Update OpenAIAgent to support Runnable models by [@​gramliu](https://togithub.com/gramliu) in [https://github.com/langchain-ai/langchainjs/pull/3346](https://togithub.com/langchain-ai/langchainjs/pull/3346) - Fix streaming of Bedrock on Cloudflare Workers by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3364](https://togithub.com/langchain-ai/langchainjs/pull/3364) - Update quickstart.mdx by [@​luiz-k-alencar](https://togithub.com/luiz-k-alencar) in [https://github.com/langchain-ai/langchainjs/pull/3357](https://togithub.com/langchain-ai/langchainjs/pull/3357) - Skip non LTS Node version by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3374](https://togithub.com/langchain-ai/langchainjs/pull/3374) - Allow to stream files with `GithubRepoLoader` by [@​Njuelle](https://togithub.com/Njuelle) in [https://github.com/langchain-ai/langchainjs/pull/3339](https://togithub.com/langchain-ai/langchainjs/pull/3339) - feat: implement max marginal relevance for momento vector index by [@​malandis](https://togithub.com/malandis) in [https://github.com/langchain-ai/langchainjs/pull/3351](https://togithub.com/langchain-ai/langchainjs/pull/3351) - fix: MongoDB Vector Search does not support integer as input by [@​cnbeining](https://togithub.com/cnbeining) in [https://github.com/langchain-ai/langchainjs/pull/3356](https://togithub.com/langchain-ai/langchainjs/pull/3356) - Move more core modules by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3376](https://togithub.com/langchain-ai/langchainjs/pull/3376) - Adds standalone [@​langchain/anthropic](https://togithub.com/langchain/anthropic) package by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3377](https://togithub.com/langchain-ai/langchainjs/pull/3377) - Support both old and new serialization ids, update prompt base class … by [@​nfcampos](https://togithub.com/nfcampos) in [https://github.com/langchain-ai/langchainjs/pull/3378](https://togithub.com/langchain-ai/langchainjs/pull/3378) - Rename to [@​langchain/core](https://togithub.com/langchain/core) by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3381](https://togithub.com/langchain-ai/langchainjs/pull/3381) - Fixed docs build issue by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3382](https://togithub.com/langchain-ai/langchainjs/pull/3382) - Agent streaming by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3365](https://togithub.com/langchain-ai/langchainjs/pull/3365) - drop husky by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3383](https://togithub.com/langchain-ai/langchainjs/pull/3383) - Add OpenAI package by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3385](https://togithub.com/langchain-ai/langchainjs/pull/3385) - Fix small core serialization issue by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3386](https://togithub.com/langchain-ai/langchainjs/pull/3386) - Add core README by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3396](https://togithub.com/langchain-ai/langchainjs/pull/3396) - Revert dependencies for now by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3402](https://togithub.com/langchain-ai/langchainjs/pull/3402) - Remove workspace core dep by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3413](https://togithub.com/langchain-ai/langchainjs/pull/3413) - Update secret map by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3414](https://togithub.com/langchain-ai/langchainjs/pull/3414) #### New Contributors - [@​gramliu](https://togithub.com/gramliu) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3346](https://togithub.com/langchain-ai/langchainjs/pull/3346) - [@​luiz-k-alencar](https://togithub.com/luiz-k-alencar) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3357](https://togithub.com/langchain-ai/langchainjs/pull/3357) - [@​cnbeining](https://togithub.com/cnbeining) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3356](https://togithub.com/langchain-ai/langchainjs/pull/3356) **Full Changelog**: langchain-ai/langchainjs@0.0.196...0.0.197 </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.0`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1520) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.1.0...v15.2.0) ##### Minor Changes - [#​1371](https://togithub.com/lint-staged/lint-staged/pull/1371) [`f3378be`](https://togithub.com/lint-staged/lint-staged/commit/f3378be894fb84800341800b1e4f6f8bc8dfd904) Thanks [@​iiroj](https://togithub.com/iiroj)! - Using the `--no-stash` flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag `--no-hide-partially-staged` that is automatically enabled when `--no-stash` is used. ##### Patch Changes - [#​1362](https://togithub.com/lint-staged/lint-staged/pull/1362) [`17bc480`](https://togithub.com/lint-staged/lint-staged/commit/17bc480c0f8767407a87527931558de8d1d1551d) Thanks [@​antonk52](https://togithub.com/antonk52)! - update lilconfig@3.0.0 - [#​1368](https://togithub.com/lint-staged/lint-staged/pull/1368) [`7c55ca9`](https://togithub.com/lint-staged/lint-staged/commit/7c55ca9f410043016e8b33b3b523b9b7e764acf4) Thanks [@​iiroj](https://togithub.com/iiroj)! - Update most dependencies - [#​1368](https://togithub.com/lint-staged/lint-staged/pull/1368) [`777d4e9`](https://togithub.com/lint-staged/lint-staged/commit/777d4e976852af4c181ffbe055f3531343349695) Thanks [@​iiroj](https://togithub.com/iiroj)! - To improve performance, only use `lilconfig` when searching for config files outside the git repo. In the regular case, *lint-staged* finds the config files from the Git index and loads them directly. - [#​1373](https://togithub.com/lint-staged/lint-staged/pull/1373) [`85eb0dd`](https://togithub.com/lint-staged/lint-staged/commit/85eb0ddab1eba0c0bcc8cc109e17dc2bbb3d044e) Thanks [@​iiroj](https://togithub.com/iiroj)! - When determining git directory, use `fs.realpath()` only for symlinks. It looks like `fs.realpath()` changes some Windows mapped network filepaths unexpectedly, causing issues. </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.20.1`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4201-2023-11-24) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.20.0...v4.20.1) Full Changelog: [v4.20.0...v4.20.1](https://togithub.com/openai/openai-node/compare/v4.20.0...v4.20.1) ##### Chores - **internal:** remove file import and conditionally run prepare ([#​533](https://togithub.com/openai/openai-node/issues/533)) ([48cb729](https://togithub.com/openai/openai-node/commit/48cb729bfc484ce3d04273be417b307a0d20644f)) ##### Documentation - **readme:** fix typo and add examples link ([#​529](https://togithub.com/openai/openai-node/issues/529)) ([cf959b1](https://togithub.com/openai/openai-node/commit/cf959b17db0a4f8dd7eb59add333c4a461b02459)) ### [`v4.20.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4200-2023-11-22) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.19.1...v4.20.0) Full Changelog: [v4.19.1...v4.20.0](https://togithub.com/openai/openai-node/compare/v4.19.1...v4.20.0) ##### Features - allow installing package directly from github ([#​522](https://togithub.com/openai/openai-node/issues/522)) ([51926d7](https://togithub.com/openai/openai-node/commit/51926d7a0092744e49de39f4988feddf313adafa)) ##### Chores - **internal:** don't call prepare in dist ([#​525](https://togithub.com/openai/openai-node/issues/525)) ([d09411e](https://togithub.com/openai/openai-node/commit/d09411ebaa28d6610e1b880d03339d520b4a1833)) ### [`v4.19.1`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4191-2023-11-20) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.19.0...v4.19.1) Full Changelog: [v4.19.0...v4.19.1](https://togithub.com/openai/openai-node/compare/v4.19.0...v4.19.1) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.3.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.3.2): TypeScript 5.3 [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.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://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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* 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>
This PR adds streaming to the Llama CPP LLM and Chat modules.