-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Validate Conversation ID #7238
Merged
Merged
Validate Conversation ID #7238
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f00cf8b
Create decorator to validate if conversation_id exists
RomuloSouza 90066ee
Add decorator to required functions
aleronupe 03a7567
Merge branch 'master' of https://github.com/FGA-GCES/rasa into valida…
aleronupe 9955405
Add changelog file
RomuloSouza faf75c2
Merge branch 'master' of https://github.com/FGA-GCES/rasa into valida…
aleronupe 9572e3a
Make clean code changes
aleronupe 91f5980
Merge branch 'validate_conversation_id' of https://github.com/FGA-GCE…
aleronupe dff15ae
Update changelog file and implement function type
aleronupe 00cec5c
Add method exists in TrackerStore interface
RomuloSouza 9dab7b4
Merge branch 'master' of https://github.com/RasaHQ/rasa into validate…
RomuloSouza 95920dc
Create tests for endpoints that use decorator
aleronupe 9f1560a
Merge branch 'master' of https://github.com/RasaHQ/rasa into validate…
aleronupe a45e2d5
Merge branch 'master' of https://github.com/RasaHQ/rasa into validate…
RomuloSouza ddfd8bd
Rewrite comments and change values to constants
RomuloSouza 4618354
Extract agent from request and remove app param
RomuloSouza cd27837
Merge branch 'master' of https://github.com/RasaHQ/rasa into validate…
RomuloSouza 9586cad
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza f43873d
Fix comments and remove unused code in tests
RomuloSouza 9cd843b
Fix URL tests
aleronupe cbb6e7e
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza 74a50df
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza 724cc79
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza da43126
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza f5249af
Merge branch 'main' of https://github.com/RasaHQ/rasa into validate_c…
RomuloSouza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The following endpoints now require the existence of the conversation for the specified conversation ID, raising an exception and returning a 404 status code. | ||
|
||
* `GET /conversations/<conversation_id:path>/story` | ||
|
||
* `POST /conversations/<conversation_id:path>/execute` | ||
|
||
* `POST /conversations/<conversation_id:path>/predict` |
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
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
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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out of the scope of your PR / optional: We should actually use the
lockstore
here asprocessor.predict_next
persists the updated tracker.