Skip to content

Commit

Permalink
Action serialization (#1570)
Browse files Browse the repository at this point in the history
* temporary commit action serialization

* added unit tests for action_serializer.py
and data_validation.py

* added unit tests for action_serializer.py
and data_validation.py

* fix

* fixed more test cases and logical errors

* fixed test cases

* temp push

* temp push

* temp push

* added more testcases, removed some unused code

* removed print statements

---------

Co-authored-by: spandan.mondal <[email protected]>
  • Loading branch information
hasinaxp and spandan.mondal authored Oct 17, 2024
1 parent 2c41888 commit 45c16d4
Show file tree
Hide file tree
Showing 23 changed files with 3,448 additions and 1,668 deletions.
1 change: 0 additions & 1 deletion kairon/api/app/routers/bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ def upload_files(
"""
Uploads training data nlu.yml, domain.yml, stories.yml, config.yml, rules.yml and actions.yml files.
"""
print(training_files)
event = TrainingDataImporterEvent(
current_user.get_bot(), current_user.get_user(), import_data=import_data, overwrite=overwrite
)
Expand Down
Loading

0 comments on commit 45c16d4

Please sign in to comment.