Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在从响应表的文本部分找到最接近的匹配项后,我想知道chatterbot如何生成“ in_response_to”列表和“in_response_to_contains”列表。如果有人可以启发我,那将是一个很大的帮助。
in_response_to 列表是根据机器人收到的先前输入语句生成的。例如,假设发生了以下交互:
在这种情况下,机器人将根据用户对其的响应方式进行学习。所以“我也很好”。被添加到“我很好,你好吗”的 in_response_to 列表中。
对于您问题的第二部分,这in_response_to__contains是一个属性,用于告诉聊天机器人查询数据库中in_response_to字段包含特定响应的语句。
in_response_to__contains
in_response_to