Commit Graph

11351 Commits

Author SHA1 Message Date
ccurme
b5bd9701c7 openai[patch]: release 0.2.0.dev2 (#26158)
To fix warnings stemming from OpenAIEmbeddings.
langchain-openai==0.2.0.dev2
2024-09-06 14:53:20 -04:00
Chester Curme
c55d40bc3b Merge branch 'v0.3rc' into v0.3/dev_releases 2024-09-06 14:40:35 -04:00
ccurme
1b77063c88 openai[patch]: set protected namespaces on embeddings (#26155) 2024-09-06 13:00:41 -04:00
Chester Curme
d68214e756 Merge branch 'v0.3rc' into v0.3/dev_releases 2024-09-06 12:54:50 -04:00
ccurme
b74546a458 core[patch]: add google genai to serialization (#26154) 2024-09-06 12:54:16 -04:00
Bagatur
8a3a9c8968 core[patch]: concrete prompt value test (#26128) 2024-09-05 20:49:05 -04:00
Erick Friis
776d01db49 infra: remove fail fast in v0.3rc branch (#26127) 2024-09-05 17:32:17 -07:00
Chester Curme
70f9d5a1f3 Revert "temporarily disable min version tests"
This reverts commit 323a7b6490.
2024-09-05 18:37:54 -04:00
Eugene Yurtsev
40b43b0bfb core[patch]: Remove some usage of .copy() in favor of .model_copy() (#26126)
Address under place where deprecated functionality is used.
2024-09-05 18:34:43 -04:00
Chester Curme
323a7b6490 temporarily disable min version tests langchain-community==0.3.0.dev1 2024-09-05 18:31:20 -04:00
Eugene Yurtsev
6fd4ac4283 core[patch]: Replace @validator with @model_validator in length based example selector (#26124)
Resolves another warning from usage of deprecated functionality in
pydantic 2
2024-09-05 18:26:43 -04:00
Eugene Yurtsev
f4e7cb394f core[patch]: Ignore pydantic deprecation warnings in validate_arguments (#26122)
For now, we'll use the deprecation functionality which is present until
pydantic 3.
2024-09-05 18:23:48 -04:00
ccurme
364237bc8b community[patch]: release 0.3.0.dev1 (#26125) 2024-09-05 18:18:11 -04:00
ccurme
0e4106256d anthropic, fireworks, groq, openai: dev releases (#26123) langchain-anthropic==0.2.0.dev1 langchain-fireworks==0.2.0.dev1 langchain-groq==0.2.0.dev1 langchain-openai==0.2.0.dev1 2024-09-05 18:07:21 -04:00
Chester Curme
933f4ab230 bump core dep in langchain langchain==0.3.0.dev1 2024-09-05 17:49:15 -04:00
Eugene Yurtsev
1ecaffab8a core[patch]: Fix regression in core (#26121)
Limited to unit testing code -- did not cause any actual issues
2024-09-05 17:41:36 -04:00
ccurme
42d8b3631a core: release 0.3.0.dev2 (#26120) langchain-core==0.3.0.dev2 2024-09-05 17:39:17 -04:00
Chester Curme
4200876531 Merge branch 'v0.3rc' into v0.3/dev_releases 2024-09-05 17:00:16 -04:00
ccurme
5bbd5364f1 core[patch]: call RunnableConfigurableFields.model_rebuild() (#26118)
To fix a test in `langchain`
2024-09-05 16:59:52 -04:00
Chester Curme
f3b12f8c0c vbump langchain 2024-09-05 16:36:13 -04:00
Eugene Yurtsev
e02b093d81 community[patch]: Fix more issues (#26116)
This PR resolves more type checking issues and fixes some bugs.
2024-09-05 16:31:21 -04:00
Chester Curme
522203c752 Merge branch 'v0.3/dev_releases' of github.com:langchain-ai/langchain into v0.3/dev_releases langchain-text-splitters==0.3.0.dev1 2024-09-05 16:15:42 -04:00
Chester Curme
c492b7d33a vbump 2024-09-05 16:15:33 -04:00
Bagatur
8c4a52a9cc poetry 2024-09-05 16:01:37 -04:00
Eugene Yurtsev
0cc6584889 community[patch]: Resolve more linting issues (#26115)
Resolve a bunch of errors caught with mypy
2024-09-05 15:59:30 -04:00
Bagatur
8696f9f3a0 temporarily xfail concrete val test 2024-09-05 15:51:29 -04:00
ccurme
e1ab188e82 langchain: release 0.3.0.dev0 (#26113) 2024-09-05 15:22:29 -04:00
Eugene Yurtsev
6e1b0d0228 community[patch]: Skip unit test that depends on langchain-aws and fix pydantic settings (#26111)
* Skip unit test that depends on langchain-aws
* fix pydantic settings
2024-09-05 15:08:34 -04:00
Eugene Yurtsev
a111098230 community[patch]: Remove usage of deprecated pydantic config option (#26107)
Remove usage of deprecated pydantic config option
2024-09-05 15:05:00 -04:00
ccurme
9e7222618b core: reduce warnings (#26108) 2024-09-05 15:04:41 -04:00
Harrison Chase
8516a03a02 langchain-community[major]: Upgrade community to pydantic 2 (#26011)
This PR upgrades langchain-community to pydantic 2.


* Most of this PR was auto-generated using code mods with gritql
(https://github.com/eyurtsev/migrate-pydantic/tree/main)
* Subsequently, some code was fixed manually due to accommodate
differences between pydantic 1 and 2

Breaking Changes:

- Use TEXTEMBED_API_KEY and TEXTEMBEB_API_URL for env variables for text
embed integrations:
cbea780492

Other changes:

- Added pydantic_settings as a required dependency for community. This
may be removed if we have enough time to convert the dependency into an
optional one.

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-09-05 14:07:10 -04:00
ccurme
d0222964c1 groq, fireworks, text-splitters (#26104) langchain-fireworks==0.2.0.dev0 langchain-groq==0.2.0.dev0 langchain-text-splitters==0.3.0.dev0 2024-09-05 13:51:41 -04:00
Chester Curme
b97307c8b4 Merge branch 'v0.3rc' into v0.3/dev_releases 2024-09-05 13:42:00 -04:00
ccurme
1ad66e70dc text-splitters[major]: update core dep + drop support for python 3.8 (#26102) 2024-09-05 13:41:28 -04:00
Bagatur
76564edd3a openai[patch]: update configurable model dumps (#26101) 2024-09-05 13:26:40 -04:00
Eugene Yurtsev
1c51e1693d core[patch]: Fix issue with adapter utility for pydantic repr (#26099)
This repr will be deleted prior to release -- it's temporarily here to
make it easy to separate code changes in langchain vs. code changes
stemming from breaking changes in pydantic
2024-09-05 12:27:01 -04:00
Bagatur
c0f886dc52 fix core version langchain-anthropic==0.2.0.dev0 langchain-openai==0.2.0.dev0 2024-09-05 11:57:52 -04:00
Eugene Yurtsev
a267da6a3a core[minor]: Add type overload for secret_from_env factory (#26091)
Add type overload
2024-09-05 11:52:19 -04:00
Bagatur
0c63b18c1f ci 2024-09-05 11:47:56 -04:00
Bagatur
915c1e3dfb Merge branch 'v0.3rc' into v0.3/dev_releases 2024-09-05 11:41:32 -04:00
Bagatur
8da2ace99d openai[patch]: update snapshots (#26098) 2024-09-05 11:41:14 -04:00
Bagatur
81cd73cfca openai 0.2.0.dev0, anthropic 0.2.0.dev0 2024-09-05 11:07:47 -04:00
ccurme
e358846b39 core[patch]: add bedrock to load.mapping (#26094) 2024-09-05 10:56:46 -04:00
Eugene Yurtsev
3c598d25a6 core[minor]: Add get_input_jsonschema, get_output_jsonschema, get_config_jsonschema (#26034)
This PR adds methods to directly get the json schema for inputs,
outputs, and config.
Currently, it's delegating to the underlying pydantic implementation,
but this may be changed in the future to be independent of pydantic.
2024-09-05 10:36:42 -04:00
ccurme
e5aa0f938b mongo[major]: upgrade pydantic (#26053) 2024-09-05 09:05:41 -04:00
Bagatur
79c46319dd couchbase[patch]: rm pydantic usage (#26068) 2024-09-04 16:29:14 -07:00
ccurme
c5d4dfefc0 prompty[major]: upgrade pydantic (#26056) 2024-09-04 19:26:18 -04:00
ccurme
6e853501ec voyageai[major]: upgrade pydantic (#26070) 2024-09-04 18:59:13 -04:00
Bagatur
fd1f3ca213 exa[major]: use pydantic v2 (#26069) 2024-09-04 15:02:05 -07:00
Bagatur
567a4ce5aa box[major]: use pydantic v2 (#26067) 2024-09-04 14:51:53 -07:00