无法执行此命令“rasa 运行 actions & rasa shell”

Cannot execute this command “rasa run actions & rasa shell”

使用 Rasa 开源我尝试执行 (Windows Powershell) 这个命令 rasa run action & rasa shell 它产生了这样的错误:

At line:1 char:17
+ rasa run action & rasa shell
+                 ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to      
pass it as part of a string.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : AmpersandNotAllowed

在 PowerShell 中,您可以使用分号来 运行 2 个命令(注意它应该是 rasa 运行 操作):

rasa shell; rasa run actions

在 cmd 中您仍然可以使用 & 符号。

然而,这不适用于 Windows 命令是 运行 顺序。一种解决方案是为每个命令设置一个终端会话(您也不要混淆日志,如果需要可以只重新启动一个)

您正在尝试 运行 在 shell 上执行 2 个不同的命令。 shell 不知道“&”。

Rasa 运行命令用于运行rasa框架作为localhost:5005

上的服务器

rasa shell 用于终端聊天机器人运行,服务器会自动启动。

我更愿意 运行 2 个不同的命令 shell 以减少调试混乱