Erick Friis
238a31bbd9
core: release 0.3.5 ( #26737 )
2024-09-21 00:26:39 +00:00
Erick Friis
4a2745064a
core: release 0.3.4 ( #26729 )
2024-09-20 14:47:15 -07:00
Erick Friis
465e43cd43
core: release 0.3.3 ( #26713 )
2024-09-20 13:54:19 -07:00
William FH
19ce95d3c9
Avoid copying runs ( #26689 )
...
Also, re-unify run trees. Use a single shared client.
2024-09-20 10:57:41 -07:00
Bagatur
c453b76579
core[patch]: Release 0.3.2 ( #26686 )
2024-09-19 14:58:45 -07:00
Christophe Bornet
fd21ffe293
core: Add N(naming) ruff rules ( #25362 )
...
Public classes/functions are not renamed and rule is ignored for them.
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-09-19 05:09:39 +00:00
Erick Friis
9909354cd0
core: use ruff.target-version instead ( #26634 )
...
tested on one of the replacement cases and seems to work!

2024-09-18 21:06:14 +00:00
Erick Friis
84b831356c
core: remove [project] tag from pyproject ( #26633 )
...
makes core incompatible with uv installs
2024-09-18 20:39:49 +00:00
Christophe Bornet
a47b332841
core: Put Python version as a project requirement so it is considered by ruff ( #26608 )
...
Ruff doesn't know about the python version in
`[tool.poetry.dependencies]`. It can get it from
`project.requires-python`.
Notes:
* poetry seems to have issues getting the python constraints from
`requires-python` and using `python` in per dependency constraints. So I
had to duplicate the info. I will open an issue on poetry.
* `inspect.isclass()` doesn't work correctly with `GenericAlias`
(`list[...]`, `dict[..., ...]`) on Python <3.11 so I added some `not
isinstance(type, GenericAlias)` checks:
Python 3.11
```pycon
>>> import inspect
>>> inspect.isclass(list)
True
>>> inspect.isclass(list[str])
False
```
Python 3.9
```pycon
>>> import inspect
>>> inspect.isclass(list)
True
>>> inspect.isclass(list[str])
True
```
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2024-09-18 14:37:57 +00:00
Christophe Bornet
3a99467ccb
core[patch]: Add ruff rule UP006(use PEP585 annotations) ( #26574 )
...
* Added rules `UPD006` now that Pydantic is v2+
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2024-09-17 21:22:50 +00:00
Bagatur
145a49cca2
core[patch]: Release 0.3.1 ( #26581 )
2024-09-17 17:34:09 +00:00
Erick Friis
d46ab19954
core: release 0.3.0 ( #26453 )
2024-09-13 21:45:45 +00:00
Erick Friis
c2a3021bb0
multiple: pydantic 2 compatibility, v0.3 ( #26443 )
...
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Dan O'Donovan <dan.odonovan@gmail.com>
Co-authored-by: Tom Daniel Grande <tomdgrande@gmail.com>
Co-authored-by: Grande <Tom.Daniel.Grande@statsbygg.no>
Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: ccurme <chester.curme@gmail.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com>
Co-authored-by: ZhangShenao <15201440436@163.com>
Co-authored-by: Friso H. Kingma <fhkingma@gmail.com>
Co-authored-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: Morgante Pell <morgantep@google.com>
2024-09-13 14:38:45 -07:00
Bagatur
0f2b32ffa9
core[patch]: Release 0.2.40 ( #26435 )
2024-09-13 09:57:09 -07:00
Bagatur
17659ca2cd
core[patch]: Release 0.2.39 ( #26279 )
2024-09-10 20:11:27 +00:00
William FH
262e19b15d
infra: Clear cache for env-var checks ( #26073 )
2024-09-06 21:29:29 +00:00
Bagatur
0c69c9fb3f
core[patch]: Release 0.2.38 ( #25974 )
2024-09-03 17:31:41 +00:00
Bagatur
fabe32c06d
core[patch]: Release 0.2.37 ( #25900 )
2024-08-30 22:29:12 +00:00
Erick Friis
d6c4803ab0
core: release 0.2.36 ( #25819 )
2024-08-28 18:04:51 +00:00
Christophe Bornet
ff0df5ea15
core[patch]: Add B(bugbear) ruff rules ( #25520 )
...
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-08-28 07:09:29 +00:00
Bagatur
30f1bf24ac
core[patch]: Release 0.2.35 ( #25729 )
2024-08-25 16:49:27 -07:00
Christophe Bornet
7f1e444efa
partners: Use simsimd types ( #25299 )
...
The simsimd package [now has
types](https://github.com/ashvardanian/SimSIMD/releases/tag/v5.0.0 )
2024-08-23 10:41:39 -04:00
Christophe Bornet
ee98da4f4e
core[patch]: Add UP(upgrade) ruff rules ( #25358 )
2024-08-22 16:29:22 -07:00
Bagatur
628574b9c2
core[patch]: Release 0.2.34 ( #25622 )
2024-08-21 16:26:51 +00:00
Bagatur
df98552b6f
core[patch]: Release 0.2.33 ( #25498 )
2024-08-16 11:18:54 -07:00
Bagatur
ec8ffc8f40
core[patch]: Release 0.2.32 ( #25420 )
2024-08-14 15:56:56 -07:00
Bagatur
a58d4ba340
core[patch]: Release 0.2.31 ( #25388 )
2024-08-14 11:26:49 -07:00
Erick Friis
252f0877d1
core: release 0.2.30 ( #25321 )
2024-08-12 22:01:24 +00:00
Bagatur
b4c12346cc
core[patch]: Release 0.2.29 ( #25126 )
2024-08-07 09:50:20 -07:00
Bagatur
70677202c7
core[patch]: Release 0.2.29rc1 ( #25115 )
2024-08-06 21:36:56 +00:00
Bagatur
4305f78e40
core[patch]: Release 0.2.28 ( #25000 )
2024-08-02 21:07:06 +00:00
Bagatur
245cb5a252
core[patch]: Release 0.2.27 ( #24952 )
2024-08-02 01:43:24 +00:00
Bagatur
7d1694040d
core[patch]: Release 0.2.26 ( #24898 )
2024-07-31 19:00:50 +00:00
Bagatur
8461934c2b
core[patch], integrations[patch]: convert TypedDict to tool schema support ( #24641 )
...
supports following UX
```python
class SubTool(TypedDict):
"""Subtool docstring"""
args: Annotated[Dict[str, Any], {}, "this does bar"]
class Tool(TypedDict):
"""Docstring
Args:
arg1: foo
"""
arg1: str
arg2: Union[int, str]
arg3: Optional[List[SubTool]]
arg4: Annotated[Literal["bar", "baz"], ..., "this does foo"]
arg5: Annotated[Optional[float], None]
```
- can parse google style docstring
- can use Annotated to specify default value (second arg)
- can use Annotated to specify arg description (third arg)
- can have nested complex types
2024-07-31 18:27:24 +00:00
Erick Friis
88418af3f5
core: release 0.2.25 ( #24833 )
2024-07-30 18:41:09 +00:00
Bagatur
8964f8a710
core: use mypy<1.11 ( #24749 )
...
Bug in mypy 1.11.0 blocking CI, see example:
https://github.com/langchain-ai/langchain/actions/runs/10127096903/job/28004492692?pr=24641
2024-07-27 16:37:02 -07:00
Bagatur
315223ce26
core[patch]: Release 0.2.24 ( #24722 )
2024-07-26 18:55:32 +00:00
Bagatur
918e1c8a93
core[patch]: Release 0.2.23 ( #24557 )
2024-07-23 09:01:18 -07:00
Erick Friis
3dce2e1d35
all: add release notes to pypi ( #24519 )
2024-07-22 13:59:13 -07:00
Erick Friis
ef049769f0
core[patch]: Release 0.2.22 ( #24423 )
...
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2024-07-19 09:09:24 -07:00
Bagatur
a4c101ae97
core[patch]: Release 0.2.21 ( #24372 )
2024-07-17 22:44:35 +00:00
Bagatur
80e7cd6cff
core[patch]: Release 0.2.20 ( #24322 )
2024-07-16 15:04:36 -07:00
Bagatur
620b118c70
core[patch]: Release 0.2.19 ( #24272 )
2024-07-15 07:51:30 -07:00
Bagatur
5c3e2612da
core[patch]: Release 0.2.18 ( #24230 )
2024-07-13 09:14:43 -07:00
Bagatur
0a1e475a30
core[patch]: Release 0.2.17 ( #24189 )
2024-07-12 17:08:29 +00:00
Erick Friis
1132fb801b
core: release 0.2.16 ( #24159 )
2024-07-11 23:59:41 +00:00
Bagatur
eeb996034b
core[patch]: Release 0.2.15 ( #24149 )
2024-07-11 21:34:25 +00:00
Erick Friis
c4417ea93c
core: release 0.2.14, remove poetry 1.7 incompatible flag from root ( #24137 )
2024-07-11 17:59:51 +00:00
Erick Friis
6ea6f9f7bc
core: release 0.2.13 ( #24096 )
2024-07-10 16:39:15 -07:00
Bagatur
6928f4c438
core[minor]: Add ToolMessage.raw_output ( #23994 )
...
Decisions to discuss:
1. is a new attr needed or could additional_kwargs be used for this
2. is raw_output a good name for this attr
3. should raw_output default to {} or None
4. should raw_output be included in serialization
5. do we need to update repr/str to exclude raw_output
2024-07-10 20:11:10 +00:00