-
Notifications
You must be signed in to change notification settings - Fork 16.9k
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
Modify LLMs/Anyscale work with OpenAI API v1 #14206
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kylehh ! I don't think this will work as-is. Could you look through the CI failures as well as some of the comments to fix?
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.
Does this work for you locally? I get invalid model id
for any of the models, I believe from the OpenAI sdk, so this might not achieve what it intends.
raise ValueError( | ||
f"Model name {model_name} not found in available models: " | ||
f"{available_models}.", | ||
if model_name != "test": |
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.
Feels like the wrong place to check test mode, but ok for now. If you have time for a follow-up PR, would be great to mock out the model availability call in the unit test!
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.
Agree. Checking model available here would need api_key and can't pass the unit test ( that's why I added the test condition). Will fix it
which API you are referring here? |
Using Anyscale or ChatAnyscale in this PR with OpenAI v1 |
to reproduce:
I get different errors on OpenAI v0 and v1, but neither of them seem to work: on |
Appreciate it! Retrying |
This fixed with |
Added fix for it. baiscally we need pass values to |
sounds good. This won't go in until next week because of some ongoing refactoring in these folders. Will follow up next week, and may require some small changes to address merge conflicts. |
@kylehh sorry for the late pin! That refactor is in, so if you want to move this change over to community, that would be great! |
@root_validator() | ||
def validate_environment(cls, values: dict) -> dict: |
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.
why was this necessary?
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.
(the change in the validator type)
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 recalled that we needed this change, otherwise it would complain no openai_api_token
environment set
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.
Just tested and confirmed. with pre=True, you will get following validation error
"Did not find openai_api_key, please add an environment variable OPENAI_API_KEY
which contains it, or pass openai_api_key
as a named parameter. (type=value_error)"
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.
My intuition is that this will still fail if you don't have OPENAI_API_KEY
in your environment then. I think this is the reason this implementation used to store the api key in openai_api_key
instead of anyscale_api_key
. It may be worth it to leave that as-is.
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.
User should NOT use OPENAI_API_KEY environment var when using Anyscale, but only need to supply ANYSCALE_API_KEY. This change is for this purpose. Otherwise code would fail even if you have ANYSCALE_API_KEY but missing OPENAI_API_KEY
raise ValueError( | ||
f"Model name {model_name} not found in available models: " | ||
f"{available_models}.", | ||
if model_name != "test": |
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 this conditional something we want to keep?
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.
added this condition for unit test. But we can remove
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.
removed
if model_name not in COMPLETION_MODELS: | ||
return AnyscaleChat(**data) |
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.
what is this case for? Should we just throw an error and tell users to use ChatAnyscale
here instead?
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.
Hi Erick, just got back from vacation. Now I have a second thought on it. Yes. I think i should make this client simpler by only accept completion models, and remind ppl to use chat_model client for chat models.
Let's rework and test out your changes as well
Hey @kylehh ! I changed a lot, so I'd love your take on some of the unresolved comments. Overall, I like the changes related to the openai client, but there were a bunch of others that I don't think we want. Let me know what you think. |
…llms (which is NOT completion model name)
@@ -152,6 +146,8 @@ def validate_environment_override(cls, values: dict) -> dict: | |||
} | |||
values["client"] = openai.OpenAI(**client_params).chat.completions | |||
else: | |||
values["openai_api_base"] = values["anyscale_api_base"] | |||
values["openai_api_key"] = values["anyscale_api_key"].get_secret_value() |
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.
this is changing to a SecretStr as well soon 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.
Sorry, I don't understand this comment. In openai.py
, the values["openai_api_key"]
is assigned as string as well
Hi @efriis Can this PR be merged? |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.17` -> `20.11.19`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.17/20.11.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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.55` -> `18.2.56`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.55/18.2.56) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchain) | `0.1.6` -> `0.1.7` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchainjs/tree/main/langchain/) ([source](https://togithub.com/langchain-ai/langchainjs)) | [`0.1.17` -> `0.1.20`](https://renovatebot.com/diffs/npm/langchain/0.1.17/0.1.20) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [novel](https://novel.sh) ([source](https://togithub.com/steven-tey/novel)) | [`0.2.0` -> `0.2.4`](https://renovatebot.com/diffs/npm/novel/0.2.0/0.2.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-node) | [`4.27.1` -> `4.28.0`](https://renovatebot.com/diffs/npm/openai/4.27.1/4.28.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `8.0.0` -> `8.0.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain-ai/langchain (langchain)</summary> ### [`v0.1.7`](https://togithub.com/langchain-ai/langchain/releases/tag/v0.1.7) [Compare Source](https://togithub.com/langchain-ai/langchain/compare/v0.1.6...v0.1.7) #### What's Changed - Added LangGraph in framework parts of readme file by [@​kartheekyakkala](https://togithub.com/kartheekyakkala) in [https://github.com/langchain-ai/langchain/pull/17279](https://togithub.com/langchain-ai/langchain/pull/17279) - google-vertexai\[patch]: Fixed SafetySettings handling in streaming API in VertexAI by [@​rubenhak](https://togithub.com/rubenhak) in [https://github.com/langchain-ai/langchain/pull/17278](https://togithub.com/langchain-ai/langchain/pull/17278) - google-genai\[patch]: fix streaming, function calling by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17268](https://togithub.com/langchain-ai/langchain/pull/17268) - langchain_google_genai : Add missing \_identifying_params property. by [@​GMartin-dev](https://togithub.com/GMartin-dev) in [https://github.com/langchain-ai/langchain/pull/17224](https://togithub.com/langchain-ai/langchain/pull/17224) - templates: simplify tool in gemini-functions-agent by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17282](https://togithub.com/langchain-ai/langchain/pull/17282) - google-genai\[patch]: fix tool format, use protos by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17284](https://togithub.com/langchain-ai/langchain/pull/17284) - templates: simplify tool in gemini-functions-agent 2 by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17283](https://togithub.com/langchain-ai/langchain/pull/17283) - google-genai\[patch]: release 0.0.8 by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17285](https://togithub.com/langchain-ai/langchain/pull/17285) - templates: gemini-functions-agent genai package bump by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17286](https://togithub.com/langchain-ai/langchain/pull/17286) - CI: Update documentation template by [@​eyurtsev](https://togithub.com/eyurtsev) in [https://github.com/langchain-ai/langchain/pull/17325](https://togithub.com/langchain-ai/langchain/pull/17325) - community\[patch]: Fix typo in milvus vectorstore by [@​decentNick](https://togithub.com/decentNick) in [https://github.com/langchain-ai/langchain/pull/17324](https://togithub.com/langchain-ai/langchain/pull/17324) - core\[patch]: Add unit test to cover different streaming format for json parsing by [@​eyurtsev](https://togithub.com/eyurtsev) in [https://github.com/langchain-ai/langchain/pull/17063](https://togithub.com/langchain-ai/langchain/pull/17063) - docstrings `core` update by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/16813](https://togithub.com/langchain-ai/langchain/pull/16813) - docstrings `community` update by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/16810](https://togithub.com/langchain-ai/langchain/pull/16810) - partner: nvidia-ai-endpoints model arguments (i.e. temperature) on construction bug by [@​VKudlay](https://togithub.com/VKudlay) in [https://github.com/langchain-ai/langchain/pull/17290](https://togithub.com/langchain-ai/langchain/pull/17290) - nvidia-ai-endpoints\[patch]: release 0.0.3 by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17345](https://togithub.com/langchain-ai/langchain/pull/17345) - templates: gemini-functions-agent readme update by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17288](https://togithub.com/langchain-ai/langchain/pull/17288) - vertexai\[patch]: rm deps by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17077](https://togithub.com/langchain-ai/langchain/pull/17077) - Upgrade configuration for Ruff v0.2.0 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/langchain-ai/langchain/pull/16905](https://togithub.com/langchain-ai/langchain/pull/16905) - Modify LLMs/Anyscale work with OpenAI API v1 by [@​kylehh](https://togithub.com/kylehh) in [https://github.com/langchain-ai/langchain/pull/14206](https://togithub.com/langchain-ai/langchain/pull/14206) - Make some functions work with Milvus by [@​hoanq1811](https://togithub.com/hoanq1811) in [https://github.com/langchain-ai/langchain/pull/10695](https://togithub.com/langchain-ai/langchain/pull/10695) - community\[patch]: Fix Milvus add texts when ids=None by [@​jaelgu](https://togithub.com/jaelgu) in [https://github.com/langchain-ai/langchain/pull/17021](https://togithub.com/langchain-ai/langchain/pull/17021) - infra: add print rule to ruff by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/16221](https://togithub.com/langchain-ai/langchain/pull/16221) - Support serialization when inputs/outputs contain generators by [@​hinthornw](https://togithub.com/hinthornw) in [https://github.com/langchain-ai/langchain/pull/17338](https://togithub.com/langchain-ai/langchain/pull/17338) - infra: no print in newer partner packages by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17353](https://togithub.com/langchain-ai/langchain/pull/17353) - cli\[patch]: integration template nits by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/14691](https://togithub.com/langchain-ai/langchain/pull/14691) - Update chat_models.py by [@​mlFanatic](https://togithub.com/mlFanatic) in [https://github.com/langchain-ai/langchain/pull/16924](https://togithub.com/langchain-ai/langchain/pull/16924) - Improve graph cypher qa prompt by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchain/pull/17380](https://togithub.com/langchain-ai/langchain/pull/17380) - Updated doc for tools/pubmed with new functions: invoke. by [@​PennlaineChu](https://togithub.com/PennlaineChu) in [https://github.com/langchain-ai/langchain/pull/17378](https://togithub.com/langchain-ai/langchain/pull/17378) - docs: update documentation for file system tool integration by [@​jiangzf93](https://togithub.com/jiangzf93) in [https://github.com/langchain-ai/langchain/pull/17377](https://togithub.com/langchain-ai/langchain/pull/17377) - community: add gpt-4-turbo and gpt-4-0125 costs by [@​mspronesti](https://togithub.com/mspronesti) in [https://github.com/langchain-ai/langchain/pull/17349](https://togithub.com/langchain-ai/langchain/pull/17349) - tools:docs: update google_search.ipynb - change tool name by [@​jexp](https://togithub.com/jexp) in [https://github.com/langchain-ai/langchain/pull/17354](https://togithub.com/langchain-ai/langchain/pull/17354) - Update �Docs for TFIDFRetriever Import Path by [@​ByeongUkChoi](https://togithub.com/ByeongUkChoi) in [https://github.com/langchain-ai/langchain/pull/17322](https://togithub.com/langchain-ai/langchain/pull/17322) - add self discover notebook by [@​hwchase17](https://togithub.com/hwchase17) in [https://github.com/langchain-ai/langchain/pull/17387](https://togithub.com/langchain-ai/langchain/pull/17387) - openai\[patch]: code cleaning by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17355](https://togithub.com/langchain-ai/langchain/pull/17355) - community: Add mmr and similarity_score_threshold retrieval to DatabricksVectorSearch by [@​david-tempelmann](https://togithub.com/david-tempelmann) in [https://github.com/langchain-ai/langchain/pull/16829](https://togithub.com/langchain-ai/langchain/pull/16829) - community: AWS Athena Document Loader by [@​abhijeethp](https://togithub.com/abhijeethp) in [https://github.com/langchain-ai/langchain/pull/15625](https://togithub.com/langchain-ai/langchain/pull/15625) - google-genai\[minor]: add safety settings by [@​Adi8885](https://togithub.com/Adi8885) in [https://github.com/langchain-ai/langchain/pull/16836](https://togithub.com/langchain-ai/langchain/pull/16836) - community: fixed vector similarity filtering by [@​ablacklama](https://togithub.com/ablacklama) in [https://github.com/langchain-ai/langchain/pull/16967](https://togithub.com/langchain-ai/langchain/pull/16967) - community\[patch]: remove print by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17435](https://togithub.com/langchain-ai/langchain/pull/17435) - docs: fix typo in vikingdb.ipynb by [@​eltociear](https://togithub.com/eltociear) in [https://github.com/langchain-ai/langchain/pull/17429](https://togithub.com/langchain-ai/langchain/pull/17429) - infra: update pr template by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17437](https://togithub.com/langchain-ai/langchain/pull/17437) - infra: pr template nit by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17438](https://togithub.com/langchain-ai/langchain/pull/17438) - Updated docs for sitemap loader to use correct URL by [@​PennlaineChu](https://togithub.com/PennlaineChu) in [https://github.com/langchain-ai/langchain/pull/17395](https://togithub.com/langchain-ai/langchain/pull/17395) - docs:fix typo in question_answering quickstart.ipynb by [@​minseon9](https://togithub.com/minseon9) in [https://github.com/langchain-ai/langchain/pull/17393](https://togithub.com/langchain-ai/langchain/pull/17393) - community watsonx\[patch]: Invoke callback prior to yielding token by [@​h0rv](https://togithub.com/h0rv) in [https://github.com/langchain-ai/langchain/pull/17346](https://togithub.com/langchain-ai/langchain/pull/17346) - community\[patch]: doc loaders mypy fixes by [@​h0rv](https://togithub.com/h0rv) in [https://github.com/langchain-ai/langchain/pull/17368](https://togithub.com/langchain-ai/langchain/pull/17368) - Updated doc for integrations/chat/anthropic_functions [#​15664](https://togithub.com/langchain-ai/langchain/issues/15664) by [@​Naveenkhasyap](https://togithub.com/Naveenkhasyap) in [https://github.com/langchain-ai/langchain/pull/17226](https://togithub.com/langchain-ai/langchain/pull/17226) - community\[patch]: give reranker default client val by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17289](https://togithub.com/langchain-ai/langchain/pull/17289) - docs `Redis` page update by [@​leo-gan](https://togithub.com/leo-gan) in [https://github.com/langchain-ai/langchain/pull/16906](https://togithub.com/langchain-ai/langchain/pull/16906) - community:Add Pagination to GitHubIssuesLoader for Efficient GitHub Issues Retrieval by [@​xiaokuili](https://togithub.com/xiaokuili) in [https://github.com/langchain-ai/langchain/pull/16934](https://togithub.com/langchain-ai/langchain/pull/16934) - core\[patch]: Replace memory stream implementation used by LogStreamCallbackHandler by [@​eyurtsev](https://togithub.com/eyurtsev) in [https://github.com/langchain-ai/langchain/pull/17185](https://togithub.com/langchain-ai/langchain/pull/17185) - Add async methods to InMemoryCache by [@​cbornet](https://togithub.com/cbornet) in [https://github.com/langchain-ai/langchain/pull/17425](https://togithub.com/langchain-ai/langchain/pull/17425) - Add async methods to VectorStoreQATool by [@​cbornet](https://togithub.com/cbornet) in [https://github.com/langchain-ai/langchain/pull/16949](https://togithub.com/langchain-ai/langchain/pull/16949) - community ollama\[patch]: Invoke callback prior to yielding token by [@​h0rv](https://togithub.com/h0rv) in [https://github.com/langchain-ai/langchain/pull/17348](https://togithub.com/langchain-ai/langchain/pull/17348) - community: update AzureSearch class to work with azure-search-documents=11.4.0 by [@​lz-chen](https://togithub.com/lz-chen) in [https://github.com/langchain-ai/langchain/pull/15659](https://togithub.com/langchain-ai/langchain/pull/15659) - docs: optimize memory usage by [@​Undertone0809](https://togithub.com/Undertone0809) in [https://github.com/langchain-ai/langchain/pull/16876](https://togithub.com/langchain-ai/langchain/pull/16876) - \[community] docs: another auth method for ElasticsearchStore by [@​maxjakob](https://togithub.com/maxjakob) in [https://github.com/langchain-ai/langchain/pull/16831](https://togithub.com/langchain-ai/langchain/pull/16831) - core: unit testing `check_package_version` by [@​jamesbraza](https://togithub.com/jamesbraza) in [https://github.com/langchain-ai/langchain/pull/16825](https://togithub.com/langchain-ai/langchain/pull/16825) - make `.gitignore` consistent with standard python gitignore by [@​Bhupesh-V](https://togithub.com/Bhupesh-V) in [https://github.com/langchain-ai/langchain/pull/16828](https://togithub.com/langchain-ai/langchain/pull/16828) - community: Enhancement/add proxy support playwrighturlloader 16751 by [@​xiaokuili](https://togithub.com/xiaokuili) in [https://github.com/langchain-ai/langchain/pull/16822](https://togithub.com/langchain-ai/langchain/pull/16822) - community: add delete method to rocksetdb vectorstore to support recordmanager by [@​morganda](https://togithub.com/morganda) in [https://github.com/langchain-ai/langchain/pull/17030](https://togithub.com/langchain-ai/langchain/pull/17030) - Community: Fix github search issues and PRs PaginatedList has no len() error by [@​dbfr3qs](https://togithub.com/dbfr3qs) in [https://github.com/langchain-ai/langchain/pull/16806](https://togithub.com/langchain-ai/langchain/pull/16806) - community\[fix] - in FAISS vector store, support passing custom DocStore implementation when using from_xxx methods by [@​ksachdeva](https://togithub.com/ksachdeva) in [https://github.com/langchain-ai/langchain/pull/16801](https://togithub.com/langchain-ai/langchain/pull/16801) - Core: Support .yml extension for YAML by [@​TykanN](https://togithub.com/TykanN) in [https://github.com/langchain-ai/langchain/pull/16783](https://togithub.com/langchain-ai/langchain/pull/16783) - community/SQLDatabase: Generalize and trim software tests by [@​amotl](https://togithub.com/amotl) in [https://github.com/langchain-ai/langchain/pull/16659](https://togithub.com/langchain-ai/langchain/pull/16659) - feat(langchain): add FlashRank ranker by [@​mspronesti](https://togithub.com/mspronesti) in [https://github.com/langchain-ai/langchain/pull/16785](https://togithub.com/langchain-ai/langchain/pull/16785) - \[Community] infinity embeddings: update incorrect default url by [@​michaelfeil](https://togithub.com/michaelfeil) in [https://github.com/langchain-ai/langchain/pull/16759](https://togithub.com/langchain-ai/langchain/pull/16759) - Langchain by [@​mhavey](https://togithub.com/mhavey) in [https://github.com/langchain-ai/langchain/pull/16650](https://togithub.com/langchain-ai/langchain/pull/16650) - docs: Fix broken link in LLMs index.mdx by [@​sheilnaik](https://togithub.com/sheilnaik) in [https://github.com/langchain-ai/langchain/pull/16557](https://togithub.com/langchain-ai/langchain/pull/16557) - docs: Fix broken link in summarization use-case by [@​pdsouza](https://togithub.com/pdsouza) in [https://github.com/langchain-ai/langchain/pull/16554](https://togithub.com/langchain-ai/langchain/pull/16554) - community: Add pebblo safe document loader by [@​srics](https://togithub.com/srics) in [https://github.com/langchain-ai/langchain/pull/16862](https://togithub.com/langchain-ai/langchain/pull/16862) - community: Fixed the 'aembed' method of 'CohereEmbeddings'. by [@​abhi922](https://togithub.com/abhi922) in [https://github.com/langchain-ai/langchain/pull/16497](https://togithub.com/langchain-ai/langchain/pull/16497) - experimental\[patch]: fix zero-shot pandas agent by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17442](https://togithub.com/langchain-ai/langchain/pull/17442) - langchain\[patch], templates\[patch]: fix multi query retriever, web re… by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17434](https://togithub.com/langchain-ai/langchain/pull/17434) - docs: add use case for managing chat messages via Apache Kafka by [@​merlin-quix](https://togithub.com/merlin-quix) in [https://github.com/langchain-ai/langchain/pull/16771](https://togithub.com/langchain-ai/langchain/pull/16771) - Framework for supporting more languages in LanguageParser by [@​ThatsJustCheesy](https://togithub.com/ThatsJustCheesy) in [https://github.com/langchain-ai/langchain/pull/13318](https://togithub.com/langchain-ai/langchain/pull/13318) - core: improve None value processing in merge_dicts() by [@​skozlovf](https://togithub.com/skozlovf) in [https://github.com/langchain-ai/langchain/pull/17462](https://togithub.com/langchain-ai/langchain/pull/17462) - google-genai\[patch]: release 0.0.9, safety settings docs by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17432](https://togithub.com/langchain-ai/langchain/pull/17432) - pinecone\[patch]: release 0.0.2rc0, remove simsimd dep by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17469](https://togithub.com/langchain-ai/langchain/pull/17469) - pinecone\[patch]: poetry update by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17471](https://togithub.com/langchain-ai/langchain/pull/17471) - Langchain: Ensure that the Elasticsearch Query Translator functions accurately w… by [@​khabouss](https://togithub.com/khabouss) in [https://github.com/langchain-ai/langchain/pull/17044](https://togithub.com/langchain-ai/langchain/pull/17044) - Community: integrate chat models with Yuan2.0 by [@​cauwulixuan](https://togithub.com/cauwulixuan) in [https://github.com/langchain-ai/langchain/pull/16575](https://togithub.com/langchain-ai/langchain/pull/16575) - Langchain: Fix to avoid infinite loop during collapse chain in map reduce by [@​whchun](https://togithub.com/whchun) in [https://github.com/langchain-ai/langchain/pull/16253](https://togithub.com/langchain-ai/langchain/pull/16253) - openai\[patch]: relax tiktoken constraint, release 0.0.6 by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17472](https://togithub.com/langchain-ai/langchain/pull/17472) - pinecone\[patch]: release 0.0.2 by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17477](https://togithub.com/langchain-ai/langchain/pull/17477) - infra: azure release integration testing secrets by [@​efriis](https://togithub.com/efriis) in [https://github.com/langchain-ai/langchain/pull/17476](https://togithub.com/langchain-ai/langchain/pull/17476) - \[community] ElasticsearchStore: preserve user headers by [@​maxjakob](https://togithub.com/maxjakob) in [https://github.com/langchain-ai/langchain/pull/16830](https://togithub.com/langchain-ai/langchain/pull/16830) - core\[patch]: Release 0.1.23 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17479](https://togithub.com/langchain-ai/langchain/pull/17479) - community\[patch]: Release 0.0.20 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17480](https://togithub.com/langchain-ai/langchain/pull/17480) - langchain\[patch]: Release 0.1.7 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17482](https://togithub.com/langchain-ai/langchain/pull/17482) - experimental\[patch]: Release 0.0.51 by [@​baskaryan](https://togithub.com/baskaryan) in [https://github.com/langchain-ai/langchain/pull/17484](https://togithub.com/langchain-ai/langchain/pull/17484) #### New Contributors - [@​rubenhak](https://togithub.com/rubenhak) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17278](https://togithub.com/langchain-ai/langchain/pull/17278) - [@​decentNick](https://togithub.com/decentNick) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17324](https://togithub.com/langchain-ai/langchain/pull/17324) - [@​charliermarsh](https://togithub.com/charliermarsh) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16905](https://togithub.com/langchain-ai/langchain/pull/16905) - [@​hoanq1811](https://togithub.com/hoanq1811) made their first contribution in [https://github.com/langchain-ai/langchain/pull/10695](https://togithub.com/langchain-ai/langchain/pull/10695) - [@​mlFanatic](https://togithub.com/mlFanatic) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16924](https://togithub.com/langchain-ai/langchain/pull/16924) - [@​PennlaineChu](https://togithub.com/PennlaineChu) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17378](https://togithub.com/langchain-ai/langchain/pull/17378) - [@​jiangzf93](https://togithub.com/jiangzf93) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17377](https://togithub.com/langchain-ai/langchain/pull/17377) - [@​david-tempelmann](https://togithub.com/david-tempelmann) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16829](https://togithub.com/langchain-ai/langchain/pull/16829) - [@​abhijeethp](https://togithub.com/abhijeethp) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15625](https://togithub.com/langchain-ai/langchain/pull/15625) - [@​ablacklama](https://togithub.com/ablacklama) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16967](https://togithub.com/langchain-ai/langchain/pull/16967) - [@​minseon9](https://togithub.com/minseon9) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17393](https://togithub.com/langchain-ai/langchain/pull/17393) - [@​h0rv](https://togithub.com/h0rv) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17346](https://togithub.com/langchain-ai/langchain/pull/17346) - [@​Naveenkhasyap](https://togithub.com/Naveenkhasyap) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17226](https://togithub.com/langchain-ai/langchain/pull/17226) - [@​lz-chen](https://togithub.com/lz-chen) made their first contribution in [https://github.com/langchain-ai/langchain/pull/15659](https://togithub.com/langchain-ai/langchain/pull/15659) - [@​Bhupesh-V](https://togithub.com/Bhupesh-V) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16828](https://togithub.com/langchain-ai/langchain/pull/16828) - [@​morganda](https://togithub.com/morganda) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17030](https://togithub.com/langchain-ai/langchain/pull/17030) - [@​dbfr3qs](https://togithub.com/dbfr3qs) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16806](https://togithub.com/langchain-ai/langchain/pull/16806) - [@​TykanN](https://togithub.com/TykanN) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16783](https://togithub.com/langchain-ai/langchain/pull/16783) - [@​mhavey](https://togithub.com/mhavey) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16650](https://togithub.com/langchain-ai/langchain/pull/16650) - [@​sheilnaik](https://togithub.com/sheilnaik) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16557](https://togithub.com/langchain-ai/langchain/pull/16557) - [@​pdsouza](https://togithub.com/pdsouza) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16554](https://togithub.com/langchain-ai/langchain/pull/16554) - [@​srics](https://togithub.com/srics) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16862](https://togithub.com/langchain-ai/langchain/pull/16862) - [@​abhi922](https://togithub.com/abhi922) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16497](https://togithub.com/langchain-ai/langchain/pull/16497) - [@​merlin-quix](https://togithub.com/merlin-quix) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16771](https://togithub.com/langchain-ai/langchain/pull/16771) - [@​ThatsJustCheesy](https://togithub.com/ThatsJustCheesy) made their first contribution in [https://github.com/langchain-ai/langchain/pull/13318](https://togithub.com/langchain-ai/langchain/pull/13318) - [@​khabouss](https://togithub.com/khabouss) made their first contribution in [https://github.com/langchain-ai/langchain/pull/17044](https://togithub.com/langchain-ai/langchain/pull/17044) - [@​cauwulixuan](https://togithub.com/cauwulixuan) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16575](https://togithub.com/langchain-ai/langchain/pull/16575) - [@​whchun](https://togithub.com/whchun) made their first contribution in [https://github.com/langchain-ai/langchain/pull/16253](https://togithub.com/langchain-ai/langchain/pull/16253) **Full Changelog**: https://github.com/langchain-ai/langchain/compare/v0.1.6...v0.1.7 </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.1.20`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.20) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.19...0.1.20) #### What's Changed - langchain\[patch]: Release 0.1.19 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4428](https://togithub.com/langchain-ai/langchainjs/pull/4428) - core\[minor]: Improve error handling by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/4435](https://togithub.com/langchain-ai/langchainjs/pull/4435) - langchain\[patch]: Make AgentExecutor pass config object through to tools by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4436](https://togithub.com/langchain-ai/langchainjs/pull/4436) - community\[patch], azure-openai\[patch]: tag langchainjs in azure integrations calls by [@​sinedied](https://togithub.com/sinedied) in [https://github.com/langchain-ai/langchainjs/pull/4411](https://togithub.com/langchain-ai/langchainjs/pull/4411) - azure-openai\[patch]: Release 0.0.2 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4437](https://togithub.com/langchain-ai/langchainjs/pull/4437) - community\[patch]: add neo4j-graph generics, don't swallow query execution errors by [@​adam-cowley](https://togithub.com/adam-cowley) in [https://github.com/langchain-ai/langchainjs/pull/4434](https://togithub.com/langchain-ai/langchainjs/pull/4434) - langchain\[patch]: Upgrade Google Cloud Storage dependency by [@​JackEdgar](https://togithub.com/JackEdgar) in [https://github.com/langchain-ai/langchainjs/pull/4368](https://togithub.com/langchain-ai/langchainjs/pull/4368) - langchain\[minor]: Fix missing traces when traceable used in runOnDataset, API update by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/4430](https://togithub.com/langchain-ai/langchainjs/pull/4430) - community\[minor]: add CassandraKVStore by [@​mieslep](https://togithub.com/mieslep) in [https://github.com/langchain-ai/langchainjs/pull/4418](https://togithub.com/langchain-ai/langchainjs/pull/4418) - core\[patch]: Release 0.1.30 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4438](https://togithub.com/langchain-ai/langchainjs/pull/4438) - community\[patch]: Release 0.0.30 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4439](https://togithub.com/langchain-ai/langchainjs/pull/4439) #### New Contributors - [@​adam-cowley](https://togithub.com/adam-cowley) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4434](https://togithub.com/langchain-ai/langchainjs/pull/4434) - [@​JackEdgar](https://togithub.com/JackEdgar) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4368](https://togithub.com/langchain-ai/langchainjs/pull/4368) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.1.19...0.1.20 ### [`v0.1.19`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.19) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.18...0.1.19) #### What's Changed - langchain\[patch]: Release 0.1.18 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4403](https://togithub.com/langchain-ai/langchainjs/pull/4403) - cloudflare\[patch]: Release 0.0.3 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4404](https://togithub.com/langchain-ai/langchainjs/pull/4404) - Use onRunCreate by [@​hinthornw](https://togithub.com/hinthornw) in [https://github.com/langchain-ai/langchainjs/pull/4405](https://togithub.com/langchain-ai/langchainjs/pull/4405) - langchain\[patch], core\[patch], community\[patch]: Bump LangSmith versions by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4414](https://togithub.com/langchain-ai/langchainjs/pull/4414) - core\[patch]: Make custom tools pass raw config to functions by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4419](https://togithub.com/langchain-ai/langchainjs/pull/4419) - docs\[patch]: Add warnings about SQL Injection for Postgres integrations by [@​MJDeligan](https://togithub.com/MJDeligan) in [https://github.com/langchain-ai/langchainjs/pull/4398](https://togithub.com/langchain-ai/langchainjs/pull/4398) - community\[patch]: Remove deprecated call of serializable.js by [@​mkesper](https://togithub.com/mkesper) in [https://github.com/langchain-ai/langchainjs/pull/4410](https://togithub.com/langchain-ai/langchainjs/pull/4410) - core\[patch]: Add optional type param to JsonOutputParser by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4420](https://togithub.com/langchain-ai/langchainjs/pull/4420) - Improve developer-facing evaluations API by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/4370](https://togithub.com/langchain-ai/langchainjs/pull/4370) - docs\[minor]: Fix broken link used in quickstart by [@​rogerthatdev](https://togithub.com/rogerthatdev) in [https://github.com/langchain-ai/langchainjs/pull/4422](https://togithub.com/langchain-ai/langchainjs/pull/4422) - langchain\[minor]: Couchbase document loader by [@​lokesh-couchbase](https://togithub.com/lokesh-couchbase) in [https://github.com/langchain-ai/langchainjs/pull/4364](https://togithub.com/langchain-ai/langchainjs/pull/4364) - core\[patch]: Release 0.1.29 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4424](https://togithub.com/langchain-ai/langchainjs/pull/4424) - community\[patch], langchain\[patch]: Bump core versions by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4425](https://togithub.com/langchain-ai/langchainjs/pull/4425) - community\[patch]: Release 0.0.29 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4426](https://togithub.com/langchain-ai/langchainjs/pull/4426) - langchain\[patch]: Bump community by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4427](https://togithub.com/langchain-ai/langchainjs/pull/4427) #### New Contributors - [@​rogerthatdev](https://togithub.com/rogerthatdev) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4422](https://togithub.com/langchain-ai/langchainjs/pull/4422) - [@​lokesh-couchbase](https://togithub.com/lokesh-couchbase) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4364](https://togithub.com/langchain-ai/langchainjs/pull/4364) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.1.18...0.1.19 ### [`v0.1.18`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.18) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.17...0.1.18) #### What's Changed - langchain\[patch]: Release 0.1.16 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4334](https://togithub.com/langchain-ai/langchainjs/pull/4334) - Correct waitlist instruction in README by [@​eknuth](https://togithub.com/eknuth) in [https://github.com/langchain-ai/langchainjs/pull/4335](https://togithub.com/langchain-ai/langchainjs/pull/4335) - docs\[patch]: Fix broken link by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4336](https://togithub.com/langchain-ai/langchainjs/pull/4336) - langchain\[patch]: Export helper functions from indexing api by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4344](https://togithub.com/langchain-ai/langchainjs/pull/4344) - docs\[minor]: Add Human-in-the-loop to tools use case by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4314](https://togithub.com/langchain-ai/langchainjs/pull/4314) - langchain\[minor],docs\[minor]: Add `SitemapLoader` by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4331](https://togithub.com/langchain-ai/langchainjs/pull/4331) - langchain\[patch]: Rm unwanted build artifacts by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4345](https://togithub.com/langchain-ai/langchainjs/pull/4345) - langchain\[patch]: Release 0.1.17 by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4347](https://togithub.com/langchain-ai/langchainjs/pull/4347) - langchain\[patch],docs\[patch]: Fix double redirect by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4348](https://togithub.com/langchain-ai/langchainjs/pull/4348) - core\[patch]: Fix remote runnable streamLog type, update docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4353](https://togithub.com/langchain-ai/langchainjs/pull/4353) - core\[patch]: Release 0.1.26 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4354](https://togithub.com/langchain-ai/langchainjs/pull/4354) - docs\[patch]: corrected typo in output parsers documentation by [@​kenchandev](https://togithub.com/kenchandev) in [https://github.com/langchain-ai/langchainjs/pull/4356](https://togithub.com/langchain-ai/langchainjs/pull/4356) - community\[patch]: Support OpenSearch Serverless by [@​huuyafwww](https://togithub.com/huuyafwww) in [https://github.com/langchain-ai/langchainjs/pull/4229](https://togithub.com/langchain-ai/langchainjs/pull/4229) - langchain\[patch]: Make sitemap test integration by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4358](https://togithub.com/langchain-ai/langchainjs/pull/4358) - community\[minor]: Added `SQLiteRecordManager` by [@​jasonnathan](https://togithub.com/jasonnathan) in [https://github.com/langchain-ai/langchainjs/pull/4321](https://togithub.com/langchain-ai/langchainjs/pull/4321) - community\[minor]: Add Dria retriever by [@​erhant](https://togithub.com/erhant) in [https://github.com/langchain-ai/langchainjs/pull/4302](https://togithub.com/langchain-ai/langchainjs/pull/4302) - community\[minor],docs\[minor]: Add `UpstashVector` by [@​fahreddinozcan](https://togithub.com/fahreddinozcan) in [https://github.com/langchain-ai/langchainjs/pull/4288](https://togithub.com/langchain-ai/langchainjs/pull/4288) - community\[patch]: Release 0.0.27 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4359](https://togithub.com/langchain-ai/langchainjs/pull/4359) - core\[minor]: Adds streamEvents method to runnables by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4349](https://togithub.com/langchain-ai/langchainjs/pull/4349) - docs\[minor]: Add streamEvents docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4365](https://togithub.com/langchain-ai/langchainjs/pull/4365) - Fix doc typo for formatPromptValue in prompts/quick_start.mdx by [@​TonyGravagno](https://togithub.com/TonyGravagno) in [https://github.com/langchain-ai/langchainjs/pull/4378](https://togithub.com/langchain-ai/langchainjs/pull/4378) - core\[minor]: Adds addMessages method for chat history by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4381](https://togithub.com/langchain-ai/langchainjs/pull/4381) - langchain\[patch]: Update cypher qa prompt by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/4369](https://togithub.com/langchain-ai/langchainjs/pull/4369) - community\[patch]: allow to modify OpenSerach number of shards/replicas by [@​ansnoussi](https://togithub.com/ansnoussi) in [https://github.com/langchain-ai/langchainjs/pull/4372](https://togithub.com/langchain-ai/langchainjs/pull/4372) - community\[patch]: Update `firebase-admin` dependency by [@​JakubKontra](https://togithub.com/JakubKontra) in [https://github.com/langchain-ai/langchainjs/pull/4377](https://togithub.com/langchain-ai/langchainjs/pull/4377) - docs\[patch],langchain\[patch]: Clean up legacy retrieval QA chain code in docs, fix bad type by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4384](https://togithub.com/langchain-ai/langchainjs/pull/4384) - langchain\[patch]: Bump langchainhub dep to latest by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4382](https://togithub.com/langchain-ai/langchainjs/pull/4382) - core\[patch]: Relax required arguments on core load method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4385](https://togithub.com/langchain-ai/langchainjs/pull/4385) - cohere\[minor]: Add cohere rerank by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4380](https://togithub.com/langchain-ai/langchainjs/pull/4380) - cohere\[patch]: Release 0.0.5 by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/4389](https://togithub.com/langchain-ai/langchainjs/pull/4389) - docs\[minor], core\[patch]: Adds docs for creating custom modules and extending LangChain by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4397](https://togithub.com/langchain-ai/langchainjs/pull/4397) - core\[patch]: Release 0.1.28 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4399](https://togithub.com/langchain-ai/langchainjs/pull/4399) - experimental\[patch]: Add threadId and runId to OpenAIAssistantRunnable returnValues for AgentExecutor by [@​imjwang](https://togithub.com/imjwang) in [https://github.com/langchain-ai/langchainjs/pull/4392](https://togithub.com/langchain-ai/langchainjs/pull/4392) - cloudflare\[patch]: Add metadata filtering support to Cloudflare Vectorize by [@​davkorss](https://togithub.com/davkorss) in [https://github.com/langchain-ai/langchainjs/pull/4387](https://togithub.com/langchain-ai/langchainjs/pull/4387) - community\[patch]: Fix neo4j vector for multiple indexes by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/4390](https://togithub.com/langchain-ai/langchainjs/pull/4390) - community\[patch]: Bump versions by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4400](https://togithub.com/langchain-ai/langchainjs/pull/4400) - community\[patch]: Release 0.0.28 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4401](https://togithub.com/langchain-ai/langchainjs/pull/4401) - langchain\[patch]: Bump deps by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4402](https://togithub.com/langchain-ai/langchainjs/pull/4402) - langchain\[patch]: Fix: Prevent text-splitter `createDocments` metadata being overwritten. by [@​iperzic](https://togithub.com/iperzic) in [https://github.com/langchain-ai/langchainjs/pull/4350](https://togithub.com/langchain-ai/langchainjs/pull/4350) #### New Contributors - [@​eknuth](https://togithub.com/eknuth) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4335](https://togithub.com/langchain-ai/langchainjs/pull/4335) - [@​kenchandev](https://togithub.com/kenchandev) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4356](https://togithub.com/langchain-ai/langchainjs/pull/4356) - [@​huuyafwww](https://togithub.com/huuyafwww) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4229](https://togithub.com/langchain-ai/langchainjs/pull/4229) - [@​erhant](https://togithub.com/erhant) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4302](https://togithub.com/langchain-ai/langchainjs/pull/4302) - [@​fahreddinozcan](https://togithub.com/fahreddinozcan) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4288](https://togithub.com/langchain-ai/langchainjs/pull/4288) - [@​TonyGravagno](https://togithub.com/TonyGravagno) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4378](https://togithub.com/langchain-ai/langchainjs/pull/4378) - [@​ansnoussi](https://togithub.com/ansnoussi) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4372](https://togithub.com/langchain-ai/langchainjs/pull/4372) - [@​JakubKontra](https://togithub.com/JakubKontra) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4377](https://togithub.com/langchain-ai/langchainjs/pull/4377) - [@​davkorss](https://togithub.com/davkorss) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4387](https://togithub.com/langchain-ai/langchainjs/pull/4387) - [@​iperzic](https://togithub.com/iperzic) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4350](https://togithub.com/langchain-ai/langchainjs/pull/4350) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.1.16...0.1.18 </details> <details> <summary>steven-tey/novel (novel)</summary> ### [`v0.2.4`](https://togithub.com/steven-tey/novel/releases/tag/0.2.4) [Compare Source](https://togithub.com/steven-tey/novel/compare/0.2.3...0.2.4) #### What's Changed - chore: update tiptap markdown by [@​andrewdoro](https://togithub.com/andrewdoro) in [https://github.com/steven-tey/novel/pull/295](https://togithub.com/steven-tey/novel/pull/295) **Full Changelog**: https://github.com/steven-tey/novel/compare/0.2.3...0.2.4 ### [`v0.2.3`](https://togithub.com/steven-tey/novel/releases/tag/0.2.3) [Compare Source](https://togithub.com/steven-tey/novel/compare/8d168f58ca8e6cc9a859f232a570a2ded6532367...0.2.3) **Full Changelog**: https://github.com/steven-tey/novel/compare/0.2.1...0.2.3 ### [`v0.2.2`](https://togithub.com/steven-tey/novel/compare/0.2.1...8d168f58ca8e6cc9a859f232a570a2ded6532367) [Compare Source](https://togithub.com/steven-tey/novel/compare/0.2.1...8d168f58ca8e6cc9a859f232a570a2ded6532367) ### [`v0.2.1`](https://togithub.com/steven-tey/novel/releases/tag/0.2.1) [Compare Source](https://togithub.com/steven-tey/novel/compare/0.2.0...0.2.1) #### What's Changed (Minor): Updated Placeholder `without or '++' for AI autocomplete...` until AI features are available **Full Changelog**: https://github.com/steven-tey/novel/compare/v0.1.0...0.2.1 </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.28.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4280-2024-02-13) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.27.1...v4.28.0) Full Changelog: [v4.27.1...v4.28.0](https://togithub.com/openai/openai-node/compare/v4.27.1...v4.28.0) ##### Features - **api:** updates ([#​669](https://togithub.com/openai/openai-node/issues/669)) ([e1900f9](https://togithub.com/openai/openai-node/commit/e1900f97ee3f4758d47a7eb4659e30abe3750c99)) </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v8.0.1`](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.1) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.0.0...8.0.1) # pytest 8.0.1 (2024-02-16) ## Bug Fixes - [#​11875](https://togithub.com/pytest-dev/pytest/issues/11875): Correctly handle errors from `getpass.getuser`{.interpreted-text role="func"} in Python 3.13. - [#​11879](https://togithub.com/pytest-dev/pytest/issues/11879): Fix an edge case where `ExceptionInfo._stringify_exception` could crash `pytest.raises`{.interpreted-text role="func"}. - [#​11906](https://togithub.com/pytest-dev/pytest/issues/11906): Fix regression with `pytest.warns`{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their \[\__init\_\_]{.title-ref}. - [#​11907](https://togithub.com/pytest-dev/pytest/issues/11907): Fix a regression in pytest 8.0.0 whereby calling `pytest.skip`{.interpreted-text role="func"} and similar control-flow exceptions within a `pytest.warns()`{.interpreted-text role="func"} block would get suppressed instead of propagating. - [#​11929](https://togithub.com/pytest-dev/pytest/issues/11929): Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module. - [#​11937](https://togithub.com/pytest-dev/pytest/issues/11937): Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances. </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/autoblocks-examples). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOTEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE5MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
anyscale_api_base
toanyscale_base_url
to follow OAI name convention (reverted)