Releases: eyurtsev/kor
Version 2.0.0
What's Changed
- Fix release to use main branch by @eyurtsev in #224
- Updating model kwargs usage in documentation by @smwitkowski in #227
- Bump urllib3 from 2.0.4 to 2.0.7 by @dependabot in #241
- Bump langchain from 0.0.283 to 0.0.317 by @dependabot in #242
- Bump langchain from 0.0.317 to 0.0.325 by @dependabot in #245
- upgrade langchain by @chaimt in #257
- Version 1.0.1 by @eyurtsev in #258
- Update README.md by @eyurtsev in #271
- Bump langchain from 0.1.4 to 0.1.11 by @dependabot in #269
- Update README.md by @eyurtsev in #272
- Bump langchain-core from 0.1.29 to 0.1.30 by @dependabot in #273
- Upgrade dependencies by @eyurtsev in #287
- re-run notebooks by @eyurtsev in #302
- kor: update constraints for min dependencies by @eyurtsev in #304
- Release 1.0.2 by @eyurtsev in #303
- Remove deprecated chain by @Sachin-Bhat in #306
- Specify type on parser by @eyurtsev in #308
- update notebooks by @eyurtsev in #309
- Depend only on langchain-core by @eyurtsev in #310
- Release 2.0.0 by @eyurtsev in #311
New Contributors
- @smwitkowski made their first contribution in #227
- @dependabot made their first contribution in #241
- @chaimt made their first contribution in #257
- @Sachin-Bhat made their first contribution in #306
Full Changelog: 1.0.0...2.0.0
Version 1.0.0
Changes
kor
is now compatible with both pydantic v2 and v1- pydantic v2 had significant breaking changes w/ respect to v1, so a major version bump was used in
kor
as a precaution to warn users about potential breaking changes.
Main things to watch out for when bumping to new pydantic version and new kor:
- Use a
default
value for any Optional fields if using pydantic v2 for validation.
class MusicRequest(BaseModel):
song: Optional[List[str]] = Field(
default=None,
description="The song(s) that the user would like to be played."
)
-
Kor schema is typed checked using pydantic. Pydantic v2 is stricter, and may
catch issues that were hiding in existing user code that was using thekor
library. -
Serialization has not yet been implemented with pydantic v2.
Other changes
node ids are not longer required to be valid identifiers. This helps when using node ids which are attribute names written in other languages (e.g., chinese).
What's Changed
- Update docs to use run by @eyurtsev in #197
- update workflow by @eyurtsev in #208
- Pydantic v1 and v2 support by @eyurtsev in #213
- Fix release workflow by @eyurtsev in #214
- Update notebooks by @eyurtsev in #215
- Update README for pydantic v2 by @eyurtsev in #216
- Update workflow to run pydantic compatibility by @eyurtsev in #217
- Update poetry lock file by @eyurtsev in #218
- Version 1.0.0 release by @eyurtsev in #223
Full Changelog: 0.13.0...1.0.0
Version 0.13.0
What's Changed
- BREAKING CHANGE Use run instead of predict_and_parse by @BorisWilhelms in #188
Attaches parser directly to extraction chain, allowing usage of the run
method and deprecating usage of predict_and_parse
(and async variants respectively).
Full Changelog: 0.12.0...0.13.0
Version 0.12.0
Version 0.11.0
What's Changed
- Load schema from JSON by @BorisWilhelms in #178
- fix(docs): typo by @Seb0 in #167
- Fix typo in apis.ipynb by @eltociear in #175
New Contributors
- @Seb0 made their first contribution in #167
- @eltociear made their first contribution in #175
- @BorisWilhelms made their first contribution in #178
Full Changelog: 0.10.0...0.11.0
Version 0.10.0
What's Changed
Full Changelog: 0.9.2...0.10.0
Version 0.9.2
What's Changed
Fix for JSON encoding when extracting non English text (#152)
- Fix to allow encoding non ascii in JSON by @eyurtsev in #153
- Add kor to sys path when generating docs by @eyurtsev in #116
- Set default of JSON encoder to ensure_ascii = False by @eyurtsev in #154
Full Changelog: 0.9.1...0.9.2
Version 0.9.1
What's Changed
Full Changelog: 0.9.0...0.9.1
Version 0.9.0
What's Changed
Propagating verbosity flag to allow users to set verbosity on the extraction chain: @eyurtsev in #137
Full Changelog: 0.8.1...0.9.0
Version 0.8.1
What's Changed
Fix for this issue: #130 -- If the examples that were defined on an object were a list of dicts with each dict containing exactly 2 items, then the list of dicts was incorrectly coerced by pydantic into a dict
Full Changelog: 0.8.0...0.8.1