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

fix custom messenger interface #206

Merged
merged 17 commits into from
Nov 16, 2023
Merged

fix custom messenger interface #206

merged 17 commits into from
Nov 16, 2023

Conversation

ruthenian8
Copy link
Member

Description

move custom messenger interface tutor to web_api folder; add form; modify web application logic

Checklist

  • I have covered the code with tests
  • I have added comments to my code to help others understand it
  • I have updated the documentation to reflect the changes
  • I have performed a self-review of the changes

Copy link
Member

@RLKRo RLKRo left a comment

Choose a reason for hiding this comment

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

I think this tutorial needs a rework. It has some issues (e.g. every dialog with this interface shares the same context).

I think it would be best if we remove this tutorial and add CallbackMessengerInterface and a docstring about messenger interfaces in the fastapi tutorial. (also add CallbackMessengerInterface in the websocket_chat tutorial)

@ruthenian8 ruthenian8 marked this pull request as ready for review September 25, 2023 09:25
@RLKRo RLKRo added the documentation Improvements or additions to documentation label Sep 26, 2023
@RLKRo RLKRo mentioned this pull request Nov 13, 2023
4 tasks
# Conflicts:
#	tutorials/messengers/web_api_interface/1_fastapi.py
#	tutorials/messengers/web_api_interface/2_websocket_chat.py
#	tutorials/pipeline/6_custom_messenger_interface.py
Copy link
Member

@RLKRo RLKRo left a comment

Choose a reason for hiding this comment

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

Could you do a review of my changes and squash-merge if all good?

tutorials/messengers/web_api_interface/1_fastapi.py Outdated Show resolved Hide resolved
@ruthenian8 ruthenian8 merged commit 14e6f1e into dev Nov 16, 2023
16 checks passed
@RLKRo RLKRo deleted the fix/custom_mess branch November 16, 2023 15:06
@RLKRo RLKRo mentioned this pull request Nov 21, 2023
1 task
RLKRo added a commit that referenced this pull request Nov 21, 2023
Release v0.6.3

# Release notes

- Update README to make it more concise and include reasons to use DFF (#281)
- Add [DFF optimization guide](https://deeppavlov.github.io/dialog_flow_framework/user_guides/optimization_guide.html) (#236)
- Add documentation section description for the [index page](https://deeppavlov.github.io/dialog_flow_framework/index.html) (#281)
- Add async method [dff.messengers.common.interface.CallbackMessengerInterface.on_request_async](https://deeppavlov.github.io/dialog_flow_framework/apiref/dff.messengers.common.interface.html#dff.messengers.common.interface.CallbackMessengerInterface.on_request_async) (#206)
- Move information about messenger interfaces from `pipeline.6_custom_messenger_interface` (removed) to [messengers.web_api_interface.1_fastapi](https://deeppavlov.github.io/dialog_flow_framework/tutorials/tutorials.messengers.web_api_interface.1_fastapi.html) (#206)
- Fix cross-references in [dff.messengers.common.interface](https://deeppavlov.github.io/dialog_flow_framework/apiref/dff.messengers.common.interface.html) (#206)
- Update tutorials to fit into documentation without side-scrolling (#241)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants