Skip to content

Commit

Permalink
AUTO docusaurus 20230913
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub CI committed Sep 13, 2023
1 parent d364df1 commit ecb57d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog/12790.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed `KeyError` which resulted when `domain_responses` doesn't exist as a keyword argument while using a custom action dispatcher with nlg server.
2 changes: 1 addition & 1 deletion docs/docs/sources/rasa_interactive___help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ options:
--conversation-id CONVERSATION_ID
Specify the id of the conversation the messages are
in. Defaults to a UUID that will be randomly
generated. (default: 967bca2c921b417d9bbd4bda963688bb)
generated. (default: 0292bc2f6f7c48e9a286cb513fc9d1ba)
--endpoints ENDPOINTS
Configuration file for the model server and the
connectors as a yml file. (default: endpoints.yml)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/sources/rasa_shell___help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ options:
-h, --help show this help message and exit
--conversation-id CONVERSATION_ID
Set the conversation ID. (default:
e524b693e0c14a89b4c0da1df58d83c1)
1b70314c42b441068ef476a3adb2b870)
-m MODEL, --model MODEL
Path to a trained Rasa model. If a directory is
specified, it will use the latest model in this
Expand Down
2 changes: 1 addition & 1 deletion rasa/core/nlg/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def generate(
**kwargs: Any,
) -> Dict[Text, Any]:
"""Retrieve a named response from the domain using an endpoint."""
domain_responses = kwargs.pop("domain_responses")
domain_responses = kwargs.pop("domain_responses", None)
response_id = self.fetch_response_id(
utter_action, tracker, output_channel, domain_responses
)
Expand Down

0 comments on commit ecb57d9

Please sign in to comment.