-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: validate input or throw when using MessagesPlaceholder #2874
Merged
jacoblee93
merged 14 commits into
langchain-ai:main
from
bracesproul:fix/valiate-type-messages-placeholder
Oct 12, 2023
Merged
Fix: validate input or throw when using MessagesPlaceholder #2874
jacoblee93
merged 14 commits into
langchain-ai:main
from
bracesproul:fix/valiate-type-messages-placeholder
Oct 12, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dosubot
bot
added
the
auto:bug
Related to a bug, vulnerability, unexpected error with an existing feature
label
Oct 11, 2023
bracesproul
changed the title
fix: validate types or throw when using MessagesPlaceholder class
Fix: validate types or throw when using MessagesPlaceholder class
Oct 11, 2023
bracesproul
changed the title
Fix: validate types or throw when using MessagesPlaceholder class
Fix: validate input or throw when using Oct 11, 2023
MessagesPlaceholder.formatMessages
method
bracesproul
changed the title
Fix: validate input or throw when using
Fix: validate input or throw when using MessagesPlaceholder
Oct 11, 2023
MessagesPlaceholder.formatMessages
method
jacoblee93
reviewed
Oct 11, 2023
jacoblee93
reviewed
Oct 11, 2023
Thank you! |
jacoblee93
approved these changes
Oct 12, 2023
nicolewhite
referenced
this pull request
in autoblocksai/javascript-sdk
Oct 31, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [langchain](https://github.com/langchain-ai/langchainjs) | [`^0.0.165` -> `^0.0.175`](https://renovatebot.com/diffs/npm/langchain/0.0.165/0.0.175) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.175?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.175?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.165/0.0.175?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.165/0.0.175?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.175`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.175) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.174...0.0.175) #### What's Changed - Release 0.0.174 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3064](https://github.com/langchain-ai/langchainjs/pull/3064) - Adds basic critique revise cookbook by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3067](https://github.com/langchain-ai/langchainjs/pull/3067) - fix: calculate Milvus textlength in bytes by [@​kurtmoser](https://github.com/kurtmoser) in [https://github.com/langchain-ai/langchainjs/pull/3079](https://github.com/langchain-ai/langchainjs/pull/3079) - Add Convex integration by [@​xixixao](https://github.com/xixixao) in [https://github.com/langchain-ai/langchainjs/pull/2977](https://github.com/langchain-ai/langchainjs/pull/2977) - Make "IN-filters" possible for Vercel Postgres Metadata by [@​rbouschery](https://github.com/rbouschery) in [https://github.com/langchain-ai/langchainjs/pull/3040](https://github.com/langchain-ai/langchainjs/pull/3040) - Fix Convex typo by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3081](https://github.com/langchain-ai/langchainjs/pull/3081) #### New Contributors - [@​kurtmoser](https://github.com/kurtmoser) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3079](https://github.com/langchain-ai/langchainjs/pull/3079) - [@​xixixao](https://github.com/xixixao) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2977](https://github.com/langchain-ai/langchainjs/pull/2977) - [@​rbouschery](https://github.com/rbouschery) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3040](https://github.com/langchain-ai/langchainjs/pull/3040) **Full Changelog**: langchain-ai/langchainjs@0.0.174...0.0.175 ### [`v0.0.174`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.174) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.173...0.0.174) #### What's Changed - Release 0.0.173 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3054](https://github.com/langchain-ai/langchainjs/pull/3054) - fix: LANGCHAIN_VERBOSE=false does not turn off verbose logging. by [@​xianminx](https://github.com/xianminx) in [https://github.com/langchain-ai/langchainjs/pull/3057](https://github.com/langchain-ai/langchainjs/pull/3057) - Format by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3058](https://github.com/langchain-ai/langchainjs/pull/3058) - fix: improper markdown links by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3061](https://github.com/langchain-ai/langchainjs/pull/3061) - Adds MMR search for Pinecone by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3059](https://github.com/langchain-ai/langchainjs/pull/3059) - Allow vectorstore retrievers in SemanticSimilarityExampleSelector.ts by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3056](https://github.com/langchain-ai/langchainjs/pull/3056) - Add getOutputValue to langchain/memory exports by [@​mattmcgiv](https://github.com/mattmcgiv) in [https://github.com/langchain-ai/langchainjs/pull/3060](https://github.com/langchain-ai/langchainjs/pull/3060) #### New Contributors - [@​xianminx](https://github.com/xianminx) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3057](https://github.com/langchain-ai/langchainjs/pull/3057) - [@​mattmcgiv](https://github.com/mattmcgiv) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3060](https://github.com/langchain-ai/langchainjs/pull/3060) **Full Changelog**: langchain-ai/langchainjs@0.0.173...0.0.174 ### [`v0.0.173`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.173) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.172...0.0.173) #### What's Changed - Release 0.0.172 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3030](https://github.com/langchain-ai/langchainjs/pull/3030) - feat: base storage docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2984](https://github.com/langchain-ai/langchainjs/pull/2984) - Refactor docs, add Scrimba course by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3032](https://github.com/langchain-ai/langchainjs/pull/3032) - Hide storage docs for now by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3034](https://github.com/langchain-ai/langchainjs/pull/3034) - Update broken link on SerpApi documentation by [@​hilmanski](https://github.com/hilmanski) in [https://github.com/langchain-ai/langchainjs/pull/3033](https://github.com/langchain-ai/langchainjs/pull/3033) - Fix broken docs links by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3035](https://github.com/langchain-ai/langchainjs/pull/3035) - feat: added openai functions output parser class by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3029](https://github.com/langchain-ai/langchainjs/pull/3029) - feat: added agent xml output parser class by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3037](https://github.com/langchain-ai/langchainjs/pull/3037) - Use node: prefixed deps by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3038](https://github.com/langchain-ai/langchainjs/pull/3038) - Add cookbook section and rewrite-retrieve-read example by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3039](https://github.com/langchain-ai/langchainjs/pull/3039) - Update deps in cookbook by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3046](https://github.com/langchain-ai/langchainjs/pull/3046) - fix: remove .js from imports in examples by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3047](https://github.com/langchain-ai/langchainjs/pull/3047) - Fix: bug where pgvector cant add more than chunk size by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3049](https://github.com/langchain-ai/langchainjs/pull/3049) - Add new scrims to docs by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3050](https://github.com/langchain-ai/langchainjs/pull/3050) - Use prepared statements + add concurrency for Cassandra by [@​mieslep](https://github.com/mieslep) in [https://github.com/langchain-ai/langchainjs/pull/3043](https://github.com/langchain-ai/langchainjs/pull/3043) - fix: add util for formatting docs page content by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3048](https://github.com/langchain-ai/langchainjs/pull/3048) - Feat: runnable examples in agent how to docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3027](https://github.com/langchain-ai/langchainjs/pull/3027) - feat: rag fusion notebook by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3051](https://github.com/langchain-ai/langchainjs/pull/3051) #### New Contributors - [@​hilmanski](https://github.com/hilmanski) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3033](https://github.com/langchain-ai/langchainjs/pull/3033) - [@​mieslep](https://github.com/mieslep) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3043](https://github.com/langchain-ai/langchainjs/pull/3043) **Full Changelog**: langchain-ai/langchainjs@0.0.172...0.0.173 ### [`v0.0.172`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.172) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.171...0.0.172) #### What's Changed - Release 0.0.171 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3019](https://github.com/langchain-ai/langchainjs/pull/3019) - Avoid hardcoding embedding size to OpenAI dimensions in Qdrant client by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3024](https://github.com/langchain-ai/langchainjs/pull/3024) - Remove more hard-coded values by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3025](https://github.com/langchain-ai/langchainjs/pull/3025) - feat: added react output parser and tests by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3020](https://github.com/langchain-ai/langchainjs/pull/3020) - Feat: generic file system kv store by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3013](https://github.com/langchain-ai/langchainjs/pull/3013) - Respect organization in OpenAIEmbeddings by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3028](https://github.com/langchain-ai/langchainjs/pull/3028) **Full Changelog**: langchain-ai/langchainjs@0.0.171...0.0.172 ### [`v0.0.171`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.171) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.170...0.0.171) #### What's Changed - Release 0.0.170 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2996](https://github.com/langchain-ai/langchainjs/pull/2996) - fix: updated title of docs and file name by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2997](https://github.com/langchain-ai/langchainjs/pull/2997) - Chore/neo4j security note by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2998](https://github.com/langchain-ai/langchainjs/pull/2998) - IterableReadableStream.fromReadableStream reader releaseLock by [@​AIXGEEK](https://github.com/AIXGEEK) in [https://github.com/langchain-ai/langchainjs/pull/3003](https://github.com/langchain-ai/langchainjs/pull/3003) - Ensure shell expansions are quoted in docs workflows. by [@​obi1kenobi](https://github.com/obi1kenobi) in [https://github.com/langchain-ai/langchainjs/pull/3014](https://github.com/langchain-ai/langchainjs/pull/3014) - Upgrade `actions/checkout` to v4 in all workflows. by [@​obi1kenobi](https://github.com/obi1kenobi) in [https://github.com/langchain-ai/langchainjs/pull/3015](https://github.com/langchain-ai/langchainjs/pull/3015) - fix top_p value by [@​hemanth](https://github.com/hemanth) in [https://github.com/langchain-ai/langchainjs/pull/3008](https://github.com/langchain-ai/langchainjs/pull/3008) - nit: add missing eslint disable any to runnable passthrough by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3017](https://github.com/langchain-ai/langchainjs/pull/3017) - Feat: added runnable examples to agent docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3000](https://github.com/langchain-ai/langchainjs/pull/3000) - WebPDFLoader: allow usage of custom pdfjs build by [@​DennisKo](https://github.com/DennisKo) in [https://github.com/langchain-ai/langchainjs/pull/3010](https://github.com/langchain-ai/langchainjs/pull/3010) - Feat/parent doc score threshold by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3011](https://github.com/langchain-ai/langchainjs/pull/3011) - Llama2 node-llama-cpp chat module by [@​nigel-daniels](https://github.com/nigel-daniels) in [https://github.com/langchain-ai/langchainjs/pull/2999](https://github.com/langchain-ai/langchainjs/pull/2999) - Add support for cassandra filtering, update docs by [@​alexleventer](https://github.com/alexleventer) in [https://github.com/langchain-ai/langchainjs/pull/2967](https://github.com/langchain-ai/langchainjs/pull/2967) - feat: update mvi integration for more metadata types by [@​malandis](https://github.com/malandis) in [https://github.com/langchain-ai/langchainjs/pull/3002](https://github.com/langchain-ai/langchainjs/pull/3002) #### New Contributors - [@​AIXGEEK](https://github.com/AIXGEEK) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3003](https://github.com/langchain-ai/langchainjs/pull/3003) - [@​hemanth](https://github.com/hemanth) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3008](https://github.com/langchain-ai/langchainjs/pull/3008) - [@​DennisKo](https://github.com/DennisKo) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3010](https://github.com/langchain-ai/langchainjs/pull/3010) **Full Changelog**: langchain-ai/langchainjs@0.0.170...0.0.171 ### [`v0.0.170`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.170) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.169...0.0.170) ##### What's Changed - Release 0.0.169 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2971](https://github.com/langchain-ai/langchainjs/pull/2971) - fix: show voe notebook in docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2973](https://github.com/langchain-ai/langchainjs/pull/2973) - Revert "fix: show voe notebook in docs" by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2974](https://github.com/langchain-ai/langchainjs/pull/2974) - fix: wildcard suffix for yielding keys by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2980](https://github.com/langchain-ai/langchainjs/pull/2980) - Feat/security notice openapi by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2959](https://github.com/langchain-ai/langchainjs/pull/2959) - feat: SQL chain security disclaimers to documentation & JSDoc by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2962](https://github.com/langchain-ai/langchainjs/pull/2962) - fix: update links to langchain org by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2983](https://github.com/langchain-ai/langchainjs/pull/2983) - Fixed order of LCEL menu and added tables in interface page by [@​tsensei](https://github.com/tsensei) in [https://github.com/langchain-ai/langchainjs/pull/2986](https://github.com/langchain-ai/langchainjs/pull/2986) - Add exports, small CI fix by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2993](https://github.com/langchain-ai/langchainjs/pull/2993) - Sveltekit - deployment guide by [@​SimonPrammer](https://github.com/SimonPrammer) in [https://github.com/langchain-ai/langchainjs/pull/2987](https://github.com/langchain-ai/langchainjs/pull/2987) - feat: added invoke method to chat model docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2981](https://github.com/langchain-ai/langchainjs/pull/2981) - fix: add missing codeblock import by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2994](https://github.com/langchain-ai/langchainjs/pull/2994) - Run format on docs PRs by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2995](https://github.com/langchain-ai/langchainjs/pull/2995) - Add ERNIE-Bot-4 from Baidu Wenxin Qianfan by [@​sunner](https://github.com/sunner) in [https://github.com/langchain-ai/langchainjs/pull/2969](https://github.com/langchain-ai/langchainjs/pull/2969) - Feat/upstash redis storage by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2963](https://github.com/langchain-ai/langchainjs/pull/2963) - feat: runnables powered agent by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2927](https://github.com/langchain-ai/langchainjs/pull/2927) - Feat: runnable assign by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2948](https://github.com/langchain-ai/langchainjs/pull/2948) - fix: ensure metadata is cast to jsonb for pgvector by [@​devinburnette](https://github.com/devinburnette) in [https://github.com/langchain-ai/langchainjs/pull/2949](https://github.com/langchain-ai/langchainjs/pull/2949) - Get transcript text by ID in AssemblyAI by [@​Swimburger](https://github.com/Swimburger) in [https://github.com/langchain-ai/langchainjs/pull/2582](https://github.com/langchain-ai/langchainjs/pull/2582) ##### New Contributors - [@​devinburnette](https://github.com/devinburnette) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2949](https://github.com/langchain-ai/langchainjs/pull/2949) **Full Changelog**: langchain-ai/langchainjs@0.0.169...0.0.170 ### [`v0.0.169`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.169) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.168...0.0.169) ##### What's Changed - Release 0.0.168 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2950](https://github.com/langchain-ai/langchainjs/pull/2950) - Add build + docs deploy step in GHA by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2957](https://github.com/langchain-ai/langchainjs/pull/2957) - Fixed typo in documentation by [@​tsensei](https://github.com/tsensei) in [https://github.com/langchain-ai/langchainjs/pull/2952](https://github.com/langchain-ai/langchainjs/pull/2952) - Feat: general security doc by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2958](https://github.com/langchain-ai/langchainjs/pull/2958) - zep: Add native MMR to Zep Retriever by [@​danielchalef](https://github.com/danielchalef) in [https://github.com/langchain-ai/langchainjs/pull/2955](https://github.com/langchain-ai/langchainjs/pull/2955) - add delete for faiss by [@​ewfian](https://github.com/ewfian) in [https://github.com/langchain-ai/langchainjs/pull/2924](https://github.com/langchain-ai/langchainjs/pull/2924) - Weaviate - throw error if storing vectors fails by [@​the-powerpointer](https://github.com/the-powerpointer) in [https://github.com/langchain-ai/langchainjs/pull/2942](https://github.com/langchain-ai/langchainjs/pull/2942) - Add missing CI action env by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2965](https://github.com/langchain-ai/langchainjs/pull/2965) - LLMonitor Callback Handler: fix tracking users on agents by [@​vincelwt](https://github.com/vincelwt) in [https://github.com/langchain-ai/langchainjs/pull/2941](https://github.com/langchain-ai/langchainjs/pull/2941) - Add YandexGPT Chat model by [@​tyumentsev4](https://github.com/tyumentsev4) in [https://github.com/langchain-ai/langchainjs/pull/2930](https://github.com/langchain-ai/langchainjs/pull/2930) - Remove preview deploy for now by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2968](https://github.com/langchain-ai/langchainjs/pull/2968) - Feat: violations of expectations chain by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2945](https://github.com/langchain-ai/langchainjs/pull/2945) - Adds base URL support for Cloudflare WorkersAI by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2970](https://github.com/langchain-ai/langchainjs/pull/2970) ##### New Contributors - [@​tsensei](https://github.com/tsensei) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2952](https://github.com/langchain-ai/langchainjs/pull/2952) **Full Changelog**: langchain-ai/langchainjs@0.0.168...0.0.169 ### [`v0.0.168`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.168) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.167...0.0.168) #### What's Changed - Release 0.0.167 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2916](https://github.com/langchain-ai/langchainjs/pull/2916) - Mark the docs scripts files as executable. by [@​obi1kenobi](https://github.com/obi1kenobi) in [https://github.com/langchain-ai/langchainjs/pull/2932](https://github.com/langchain-ai/langchainjs/pull/2932) - Add more memory to linter by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2934](https://github.com/langchain-ai/langchainjs/pull/2934) - Update repo path to point to `langchain-ai` GitHub org. by [@​obi1kenobi](https://github.com/obi1kenobi) in [https://github.com/langchain-ai/langchainjs/pull/2933](https://github.com/langchain-ai/langchainjs/pull/2933) - fix: update llm_streaming_stream_method.ts doc by [@​cjbt](https://github.com/cjbt) in [https://github.com/langchain-ai/langchainjs/pull/2929](https://github.com/langchain-ai/langchainjs/pull/2929) - Make format_instructions an optional argument in chat agent by [@​EKMeyerson](https://github.com/EKMeyerson) in [https://github.com/langchain-ai/langchainjs/pull/2931](https://github.com/langchain-ai/langchainjs/pull/2931) - Update graph_db_custom_prompt.ts by [@​tomasonjo](https://github.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/2920](https://github.com/langchain-ai/langchainjs/pull/2920) - Simplify docs structure, remove skeleton by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2935](https://github.com/langchain-ai/langchainjs/pull/2935) - Run build in series by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2936](https://github.com/langchain-ai/langchainjs/pull/2936) - Remove snippets by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2937](https://github.com/langchain-ai/langchainjs/pull/2937) - Use SWC to generate AST by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2939](https://github.com/langchain-ai/langchainjs/pull/2939) - WIP: add runManager.handleLLMNewToken missing call by [@​ivoneijr](https://github.com/ivoneijr) in [https://github.com/langchain-ai/langchainjs/pull/2910](https://github.com/langchain-ai/langchainjs/pull/2910) - Run exports tests in parallel on GitHub CI. by [@​obi1kenobi](https://github.com/obi1kenobi) in [https://github.com/langchain-ai/langchainjs/pull/2944](https://github.com/langchain-ai/langchainjs/pull/2944) - feat: add CloseVector as VectorStore provider by [@​jo32](https://github.com/jo32) in [https://github.com/langchain-ai/langchainjs/pull/2832](https://github.com/langchain-ai/langchainjs/pull/2832) - Feature: Add Fake integration support to match Python library by [@​frankolson](https://github.com/frankolson) in [https://github.com/langchain-ai/langchainjs/pull/2928](https://github.com/langchain-ai/langchainjs/pull/2928) - Adds Cloudflare Workers AI LLM and chat model by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2923](https://github.com/langchain-ai/langchainjs/pull/2923) #### New Contributors - [@​cjbt](https://github.com/cjbt) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2929](https://github.com/langchain-ai/langchainjs/pull/2929) - [@​EKMeyerson](https://github.com/EKMeyerson) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2931](https://github.com/langchain-ai/langchainjs/pull/2931) - [@​jo32](https://github.com/jo32) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2832](https://github.com/langchain-ai/langchainjs/pull/2832) - [@​frankolson](https://github.com/frankolson) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2928](https://github.com/langchain-ai/langchainjs/pull/2928) **Full Changelog**: langchain-ai/langchainjs@0.0.167...0.0.168 ### [`v0.0.167`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.167) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.166...0.0.167) #### What's Changed - Release 0.0.166 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2894](https://github.com/langchain-ai/langchainjs/pull/2894) - elasticsearch: customize user-agent for es client by [@​TattdCodeMonkey](https://github.com/TattdCodeMonkey) in [https://github.com/langchain-ai/langchainjs/pull/2897](https://github.com/langchain-ai/langchainjs/pull/2897) - Chore: update SQL popular chain docs to use runnables by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2877](https://github.com/langchain-ai/langchainjs/pull/2877) - fix: hide from sidebar by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2909](https://github.com/langchain-ai/langchainjs/pull/2909) - Chore: conversational QA docs to use Runnables by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2890](https://github.com/langchain-ai/langchainjs/pull/2890) - refactor: openai function calling docs by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2893](https://github.com/langchain-ai/langchainjs/pull/2893) - chore: added why use LCEL doc by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2900](https://github.com/langchain-ai/langchainjs/pull/2900) - fix: batch embedding queries, fix get client in tests by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2908](https://github.com/langchain-ai/langchainjs/pull/2908) - Improve Cassandra vector store docs by [@​alexleventer](https://github.com/alexleventer) in [https://github.com/langchain-ai/langchainjs/pull/2903](https://github.com/langchain-ai/langchainjs/pull/2903) - feat: Add Neo4j vector store by [@​easwee](https://github.com/easwee) in [https://github.com/langchain-ai/langchainjs/pull/2852](https://github.com/langchain-ai/langchainjs/pull/2852) - Add YandexGPT LLM model by [@​tyumentsev4](https://github.com/tyumentsev4) in [https://github.com/langchain-ai/langchainjs/pull/2906](https://github.com/langchain-ai/langchainjs/pull/2906) - Allow ParentDocumentRetriever to subclass MultiVectorRetriever by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2853](https://github.com/langchain-ai/langchainjs/pull/2853) - Add neo4j vector index docs by [@​tomasonjo](https://github.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/2895](https://github.com/langchain-ai/langchainjs/pull/2895) - Docs updates by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2915](https://github.com/langchain-ai/langchainjs/pull/2915) - Add Vercel KV base store by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2912](https://github.com/langchain-ai/langchainjs/pull/2912) #### New Contributors - [@​TattdCodeMonkey](https://github.com/TattdCodeMonkey) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2897](https://github.com/langchain-ai/langchainjs/pull/2897) **Full Changelog**: langchain-ai/langchainjs@0.0.166...0.0.167 ### [`v0.0.166`](https://github.com/langchain-ai/langchainjs/releases/tag/0.0.166) [Compare Source](https://github.com/langchain-ai/langchainjs/compare/0.0.165...0.0.166) #### What's Changed - Release 0.0.165 by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2870](https://github.com/langchain-ai/langchainjs/pull/2870) - Update docs for model streaming by [@​jacoblee93](https://github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/2887](https://github.com/langchain-ai/langchainjs/pull/2887) - Remote Runnables by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchainjs/pull/2828](https://github.com/langchain-ai/langchainjs/pull/2828) - added force default filter option to mergeFilters by [@​valdo99](https://github.com/valdo99) in [https://github.com/langchain-ai/langchainjs/pull/2882](https://github.com/langchain-ai/langchainjs/pull/2882) - Implement max marginal relevance search for Supabase vector store by [@​carlobeltrame](https://github.com/carlobeltrame) in [https://github.com/langchain-ai/langchainjs/pull/2800](https://github.com/langchain-ai/langchainjs/pull/2800) - feat: add momento vector index as a vector store provider by [@​malandis](https://github.com/malandis) in [https://github.com/langchain-ai/langchainjs/pull/2851](https://github.com/langchain-ai/langchainjs/pull/2851) - Fix: validate input or throw when using MessagesPlaceholder by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2874](https://github.com/langchain-ai/langchainjs/pull/2874) - Feat: added new advanced convo qa runnables use case doc by [@​bracesproul](https://github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/2889](https://github.com/langchain-ai/langchainjs/pull/2889) - Unstructured API - additional props by [@​perstarkse](https://github.com/perstarkse) in [https://github.com/langchain-ai/langchainjs/pull/2888](https://github.com/langchain-ai/langchainjs/pull/2888) - Add AnthropicFunctionsBedrock by [@​efriis](https://github.com/efriis) in [https://github.com/langchain-ai/langchainjs/pull/2892](https://github.com/langchain-ai/langchainjs/pull/2892) #### New Contributors - [@​valdo99](https://github.com/valdo99) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2882](https://github.com/langchain-ai/langchainjs/pull/2882) - [@​carlobeltrame](https://github.com/carlobeltrame) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2800](https://github.com/langchain-ai/langchainjs/pull/2800) - [@​perstarkse](https://github.com/perstarkse) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2888](https://github.com/langchain-ai/langchainjs/pull/2888) **Full Changelog**: langchain-ai/langchainjs@0.0.165...0.0.166 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/autoblocksai/javascript-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicole White <nicole@autoblocks.ai>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2871
Throw when input passed to
MessagesPlaceholder.formatMessages
is not of correct type