-
Notifications
You must be signed in to change notification settings - Fork 9
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
Partial context updates #93
Open
pseusys
wants to merge
282
commits into
dev
Choose a base branch
from
feat/partial_context_updates
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* add install-dependencies to test matrix * skip telegram tests on missing dependencies * skip telegram tests on missing dependencies * add a separate job for `test_no_deps`
* release notes added to docs * no error on environment misconfiguration * lint applied * fix typos GTIHUB -> GITHUB * favicon code changed * header size changed * add sections to Development * key added to env file * feat/release_notes_in_docs: add new token & use build by read-only GH token * feat/release_notes_in_docs: re-order development content of doc * feat/release_notes_in_docs: change token setuping only in GH env --------- Co-authored-by: avsakharov <[email protected]> Co-authored-by: Denis Kuznetsov <[email protected]>
* module index generator scripts changed * example links generation code and interface changed; examples made flat. * lint fixed * conf file reformatted * library source patching added * lint applied * patching called before `sphinx-build` * double patching fixed * example title in nbgalleries patched * linted * format tests fixed * patching docs added * lint fixed * TODO added * type hints fixed * one element tuples removed * optional replaced with unions * contribution fixed
* docs: remove actor from example * docs: rename documentation to API reference * docs: replace examples with tutorials and vice versa * docs: add toy_script to the doc * docs: add description to tutorials * add description to community section * fix misprint * add description to development section * fix link * docs: add description for each stage of ActorStage * fix: favicons warning * docs: remove unnecessary descriptions * doc: add modules descriptions in utils * linted * delete dbs/file.json * add release_notes to gitignore * unnecessary files deleted * docs: add descriptions to message.py * docs: small fixes * Update dff/utils/testing/toy_script.py Co-authored-by: Roman Zlobin <[email protected]> * docs/rename_and_replace_some_sections: rm build links of examples from docs * Update docs/source/examples.rst Co-authored-by: Roman Zlobin <[email protected]> * Update docs/source/tutorials.rst Co-authored-by: Roman Zlobin <[email protected]> * Update docs/source/tutorials.rst Co-authored-by: Roman Zlobin <[email protected]> * Update dff/utils/testing/common.py Co-authored-by: Roman Zlobin <[email protected]> * docs: bug fixes * Update dff/context_storages/protocol.py Co-authored-by: Roman Zlobin <[email protected]> * docs: corrections * docs: add info about basic tutorials * docs building fixed * docs/rename_and_replace_some_sections: fix README --------- Co-authored-by: Denis Kuznetsov <[email protected]> Co-authored-by: Roman Zlobin <[email protected]> Co-authored-by: pseusys <[email protected]>
* pipeline properties * functions signature changed * actor removed from imports * actor args added to pipeline constructor * all signatures changed, tests passing * test coverage and lint * Actor encapsulated into Pipeline * pipeline naming changed in examples * docs cleaned from actor leftovers * `Actor` is no longer a `BaseModel` * formatted * documentation fixed (?) * actor method signatures updated * actors replaced with pipelines * method docs updated * unused params removed from actor * merge error found and fixed * remove actor mentions from tg && remove no_pipeline examples * docs: change returns to return, othe, remove types * label priority returned * update set_actor method * replace pl by _ * docs: add description about actor * underscores fixed * docs: add descriptions about start and fallback labels * docs: Correct the list display * remove actor from 1_basic.py example * docs: Correct to Pipeline * docs: fix some mistakes * docs: remove actor from README * fix linting * remove actor mentions from telegram examples * actor moved to pipeline * no pipeline examples removed * coveragerc cleaned --------- Co-authored-by: Denis Kuznetsov <[email protected]> Co-authored-by: Roman Zlobin <[email protected]> Co-authored-by: avsakharov <[email protected]>
This splits test functions into separate test cases. Might be better to parametrize over functions and define test cases as db-specific (like before).
…ppavlov/dialog_flow_framework into feat/partial_context_updates
RLKRo
reviewed
Oct 1, 2024
- Make them modular - Remove unnecessary context/context_dict usage - Add test for concurrent db usage Some tests fail. Most of these are due to wrong return list order but there's one test (test_raises_on_missing_field_keys) that represents a needed change.
# Conflicts: # chatsky/__rebuild_pydantic_models__.py # chatsky/core/context.py # chatsky/core/pipeline.py # tests/core/test_actor.py # tests/stats/test_defaults.py # tutorials/pipeline/2_pre_and_post_processors.py # tutorials/pipeline/3_pipeline_dict_with_services_full.py
RLKRo
reviewed
Oct 2, 2024
…ppavlov/dialog_flow_framework into feat/partial_context_updates
…to feat/partial_context_updates
RLKRo
reviewed
Oct 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Context storages are updated partially now instead of reading and writing whole data at once.
Checklist
UpdateScheme
fromBaseModel
clear
method.