Skip to content
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

Release v0.10.0 #418

Merged
merged 23 commits into from
Feb 18, 2025
Merged

Release v0.10.0 #418

merged 23 commits into from
Feb 18, 2025

Conversation

RLKRo
Copy link
Member

@RLKRo RLKRo commented Feb 18, 2025

Changelog

Breaking Changes

Features

Documentation

Developer changes

RLKRo and others added 23 commits October 4, 2024 14:39
# Description

Benchmark data reduced in order to reduce total benchmarking time (was
more than 20 hours before; and now 5 hours).

# Checklist

- [x] I have performed a self-review of the changes

# To Consider

- Add tests (if functionality is changed)
- Update API reference / tutorials / guides
- Update CONTRIBUTING.md (if devel workflow is changed)
- Update `.ignore` files, scripts (such as `lint`), distribution
manifest (if files are added/deleted)
- Search for references to changed entities in the codebase

---------

Co-authored-by: Roman Zlobin <RLKRo@proton.me>
# Description

Remove support for 3.8; add support for 3.12.
Also updated lock file with new package versions because I couldn't
update the lock file without deleting the old one.

# Checklist

- [x] I have performed a self-review of the changes

# To Consider

- Add tests (if functionality is changed)
- Update API reference / tutorials / guides
- Update CONTRIBUTING.md (if devel workflow is changed)
- Update `.ignore` files, scripts (such as `lint`), distribution
manifest (if files are added/deleted)
- Search for references to changed entities in the codebase
# Description

Instead of reducing the number of dialog turns reduce the number of
contexts.
That way we can still stress-test the db with some absurd configs (such
as 10000 dialog turns) and also test with actually long dialogs (500
turns for large-misc-long-dialog).

# Checklist

- [x] I have performed a self-review of the changes

*List here tasks to complete in order to mark this PR as ready for
review.*

# To Consider

- Add tests (if functionality is changed)
- Update API reference / tutorials / guides
- Update CONTRIBUTING.md (if devel workflow is changed)
- Update `.ignore` files, scripts (such as `lint`), distribution
manifest (if files are added/deleted)
- Search for references to changed entities in the codebase
# Description

Added flag `allow_partial_extraction` to the `GroupSlot` class
constructor. If `True`, group slot only saves successfully extracted sub-slots.

---------

Co-authored-by: Roman Zlobin <RLKRo@proton.me>
# Description

ID string added to messenger interface constructor.
This string is added to all the messages received via this interface.
The first message origin is the origin of the context it is related to.

---------

Co-authored-by: Roman Zlobin <RLKRo@proton.me>
This reverts commit 3b0b11e.
# Description

Update dependency versions in lock file.
Set poetry version to 1.8.5.
v2.0 release breaks workflows.
# Description

Context storages are updated partially now instead of reading and
writing whole data at once.

# Checklist

- [x] I have covered the code with tests
- [x] I have added comments to my code to help others understand it
- [x] I have updated the documentation to reflect the changes
- [x] I have performed a self-review of the changes
- [x] Consider extending `UpdateScheme` from `BaseModel`
- [x] Decide how we want to use `clear` method.

---------

Co-authored-by: Roman Zlobin <RLKRo@proton.me>
Co-authored-by: = <=>
Co-authored-by: pseusys <aleksandr.sergeev.ad@gmail.com>
# Description
Added functionality for calling LLMs via langchain API for utilizing
them in responses and conditions.

# Checklist

- [x] I have performed a self-review of the changes

*List here tasks to complete in order to mark this PR as ready for
review.*

# To Consider

- Add tests
- Update API reference / tutorials / guides
- Update CONTRIBUTING.md

---------

Co-authored-by: askatasuna <andruha.chirkin@gmail.com>
Co-authored-by: Roman Zlobin <RLKRo@proton.me>
# Description

Added Sphinx Multiversioning utilising JamesIves/github-deploy-action's
feature of saving commit history on gh-pages branch.

You can see a working example here:
https://zerglev.github.io/chatsky/master/index.html. Use the version
switcher button in the top-right to switch between versions. (It's
switched off right now, but it should work in this repo)
Major changes:
- Can build and deploy documentation for any pre-configured branch or
tag. We can build docs for versions up to v0.8.0; versions before that
are too different. (due to renaming 'DFF' -> 'Chatsky')
- Has a version switcher button. (in top right corner) It only shows
`master` (as 'latest'), `dev` and all tags like `v0.9.0` from a
specified 'start_version'.
- Documentation for different versions is saved in separate folders, and
you can conveniently switch the folder to view the same file for a
different version (if it exists)

Minor details:
- In case there is no version selected for docs, say, someone used an
old link, like `https://deeppavlov.github.io/chatsky/index.html`, the
website will redirect them to `master` by default.
- In case someone makes a mistake and types `/latest/` within their docs
link, it will redirect them to `/master/`.
- All relevant links are version-dependent.

# Checklist
- [x] Made a working example with master and dev built separately
- [x] Version switcher works correctly
- [x] Using tags to create docs for different versions
- [x] Pull Requests build docs correctly
- [x] Deleting old builds before deploying new builds
- [x] Made all relevant links version-dependent
- [x] Redirects work now
- [x] I have performed a self-review of the changes
- [x] Receive a review and do the required changes

# To Consider

- We could redirect people to `chatsky` in case someone types
`dialog_flow_framework`, it's very easy to do.
- Testing Github Pages deployment from main Chatsky repo.
- Testing documentation building from Chatsky repo.
- SEO optimization (old links will show the wrong website, even though
they will get redirected now) (just need to add a few lines into
index.html if we want to do that)
- Finding a better place/design for the version switcher button. (It's
maybe okay now, actually)
- Update CONTRIBUTING.md (if devel workflow is changed)
- Update `.ignore` files, scripts (such as `lint`), distribution
manifest (if files are added/deleted)

Notes:
- "git stash" and "git checkout" are used during the Github Workflow.
I'm not sure if that poses a problem, but everything is returned to it's
place in the end, and I don't really know how to do things otherwise. It
might just be required. If other workflows just wait for this one, then
there can't be a problem, I think. Or if they don't run at the same
time.
- We're always using old conf.py files, meaning the docs will be exactly
the same way, they were before - all brand names, pictures, website
designs might be outdated.

---------

Co-authored-by: Roman Zlobin <RLKRo@proton.me>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears this PR is a release PR (change its base from master if that is not the case).

Here's a release checklist:

  • Update package version
  • Update poetry.lock
  • Change PR merge option
  • Update template repo
  • Search for objects to be deprecated
  • Test parts not covered with pytest:
    • web_api tutorials
    • Test integrations with external services (telegram; stats)

@RLKRo RLKRo merged commit cdfae50 into master Feb 18, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants