Commit Graph

10825 Commits

Author SHA1 Message Date
Eugene Yurtsev
266cd15511 ADd Skip Validation 2024-08-07 10:51:43 -04:00
Eugene Yurtsev
9debf8144e ADd Skip Validation 2024-08-07 10:51:02 -04:00
Eugene Yurtsev
78ce0ed337 Fix broken type 2024-08-07 10:23:55 -04:00
Eugene Yurtsev
4aa1932bea update 2024-08-07 09:52:33 -04:00
Eugene Yurtsev
b658295b97 update 2024-08-07 09:40:29 -04:00
Eugene Yurtsev
8c59b6a026 Merge fix 2024-08-07 09:32:25 -04:00
Eugene Yurtsev
e35b43a7a7 Fix ConfigDict to be populate by name 2024-08-07 09:16:23 -04:00
Eugene Yurtsev
7288d914a8 Add missing model rebuild and optional 2024-08-07 09:14:06 -04:00
Eugene Yurtsev
1b487e261a add missing pydantic import 2024-08-07 09:04:36 -04:00
Eugene Yurtsev
3934663db9 Merge branch 'master' into eugene/merge_pydantic_3_changes 2024-08-07 08:59:28 -04:00
Eugene Yurtsev
4d28c70000 core[patch]: Sort Config attributes (#25127)
This PR does an aesthetic sort of the config object attributes. This
will make it a bit easier to go back and forth between pydantic v1 and
pydantic v2 on the 0.3.x branch
2024-08-07 02:53:50 +00:00
Eugene Yurtsev
fb639cb49c lint 2024-08-06 22:02:31 -04:00
Erick Friis
46a47710b0 partners/milvus: release 0.1.4 (#25058) langchain-milvus==0.1.4 2024-08-06 16:29:29 -07:00
Erick Friis
35ebd2620c infra,cli: template matching registration (#25110) 2024-08-06 15:29:55 -07:00
ccurme
23c9aba575 groq[patch]: allow warnings during tests (#25105)
Among integration packages in libs/partners, Groq is an exception in
that it errors on warnings.

Following https://github.com/langchain-ai/langchain/pull/25084, Groq
fails with

> pydantic.warnings.PydanticDeprecatedSince20: The `__fields__`
attribute is deprecated, use `model_fields` instead. Deprecated in
Pydantic V2.0 to be removed in V3.0.

Here we update the behavior to no longer fail on warning, which is
consistent with the rest of the packages in libs/partners.
langchain-openai==0.1.21rc1
2024-08-06 18:02:20 -04:00
Bagatur
1331e8589c docs: oai chat nit (#25117) 2024-08-06 22:00:42 +00:00
Bagatur
7882d5c978 openai[patch]: Release 0.1.21rc1 (#25116) 2024-08-06 21:50:36 +00:00
Bagatur
70677202c7 core[patch]: Release 0.2.29rc1 (#25115) langchain-core==0.2.29rc1 2024-08-06 21:36:56 +00:00
Bagatur
78403a3746 core[patch], openai[patch]: enable strict tool calling (#25111)
Introduced
https://openai.com/index/introducing-structured-outputs-in-the-api/
2024-08-06 21:21:06 +00:00
Eugene Yurtsev
1856387e9e Add missing imports load and dumpd 2024-08-06 17:10:42 -04:00
Eugene Yurtsev
a5ad775a90 Add Optional import 2024-08-06 17:10:18 -04:00
ccurme
5d10139fc7 docs[patch]: add to qa with sources guide (#25112) 2024-08-06 17:08:35 -04:00
Eugene Yurtsev
a321401683 Update pydantic utility 2024-08-06 16:54:55 -04:00
Eugene Yurtsev
8839220a00 Restore more missing stuff 2024-08-06 16:10:59 -04:00
Eugene Yurtsev
e6b2ca4da3 x 2024-08-06 16:08:06 -04:00
Eugene Yurtsev
d0c52d1dec x 2024-08-06 16:06:44 -04:00
Eugene Yurtsev
a5fa6d1c43 x 2024-08-06 16:05:43 -04:00
Eugene Yurtsev
7f79bd6e04 x 2024-08-06 16:04:14 -04:00
Eugene Yurtsev
339985e39e merge more 2024-08-06 15:59:53 -04:00
Eugene Yurtsev
f4ecd749d5 x 2024-08-06 15:58:55 -04:00
Eugene Yurtsev
cb61c6b4bf Merge branch 'master' into eugene/merge_pydantic_3_changes 2024-08-06 15:57:37 -04:00
Eugene Yurtsev
b42c2c6cd6 Update to master 2024-08-06 15:57:35 -04:00
Eugene Yurtsev
d283f452cc core[minor]: Add support for DocumentIndex in the index api (#25100)
Support document index in the index api.
2024-08-06 12:30:49 -07:00
Virat Singh
264ab96980 community: Add stock market tools from financialdatasets.ai (#25025)
**Description:**
In this PR, I am adding three stock market tools from
financialdatasets.ai (my API!):
- get balance sheets
- get cash flow statements
- get income statements

Twitter handle: [@virattt](https://twitter.com/virattt)

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-06 18:28:12 +00:00
William FH
267855b3c1 Set Context in RunnableSequence & RunnableParallel (#25073) 2024-08-06 11:10:37 -07:00
Naval Chand
71c0698ee4 Added bedrock 3-5 sonnet cost detials for BedrockAnthropicTokenUsageCallbackHandler (#25104)
Thank you for contributing to LangChain!

- [ ] **PR title**: "package: description"
- Example: "community: Added bedrock 3-5 sonnet cost detials for
BedrockAnthropicTokenUsageCallbackHandler"


- [ ] **PR message**: ***Delete this entire checklist*** and replace
with
    - **Description:** a description of the change
    - **Issue:** the issue # it fixes, if applicable
    - **Dependencies:** any dependencies required for this change
- **Twitter handle:** if your PR gets announced, and you'd like a
mention, we'll gladly shout you out!


- [ ] **Add tests and docs**: If you're adding a new integration, please
include
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.


- [ ] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:
- Make sure optional dependencies are imported within a function.
- Please do not add dependencies to pyproject.toml files (even optional
ones) unless they are required for unit tests.
- Most PRs should not touch more than one package.
- Changes should be backwards compatible.
- If you are adding something to community, do not re-import it in
langchain.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

Co-authored-by: Naval Chand <navalchand@192.168.1.36>
2024-08-06 17:28:47 +00:00
Isaac Francisco
a72fddbf8d [docs]: vector store integration pages (#24858)
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-06 17:20:27 +00:00
Eugene Yurtsev
da6633bf0d update 2024-08-06 13:08:53 -04:00
Eugene Yurtsev
0193d18bec update 2024-08-06 13:04:17 -04:00
Bagatur
2c798622cd docs: runnable docstring space (#25106) 2024-08-06 16:46:50 +00:00
Eugene Yurtsev
0a82192e36 update forward refs 2024-08-06 12:41:52 -04:00
Eugene Yurtsev
202f6fef95 update 2024-08-06 12:39:00 -04:00
Eugene Yurtsev
c49416e908 fix typo 2024-08-06 12:35:05 -04:00
Eugene Yurtsev
ec93ea6240 update 2024-08-06 12:33:43 -04:00
Eugene Yurtsev
add20dc9a8 update 2024-08-06 12:30:33 -04:00
Bagatur
3abf1b6905 docs: versions sidebar (#25061) 2024-08-06 09:23:43 -07:00
Eugene Yurtsev
7799474746 MANUAL: May need to revert 2024-08-06 11:47:27 -04:00
Eugene Yurtsev
d98c1f115f update 2024-08-06 11:46:39 -04:00
maang-h
1028af17e7 docs: Standardize Tongyi (#25103)
- **Description:** Standardize Tongyi LLM,include:
  - docs, the issue #24803
  - model init arg names, the issue #20085
2024-08-06 11:44:12 -04:00
Eugene Yurtsev
d97f70def4 Update 2024-08-06 11:43:25 -04:00