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.
我不想用“那个”来获取机器人的最后一个响应,我想知道是否有任何方法可以获取用户先前的输入,以查看用户是否再次键入相同的语句并做出相应的响应,而不是简单地重复相同的响应和再次。AIML 中是否有任何标签?
您可以为此使用输入 index=n 标记
正如您所说, < input index="n"/> 应该可以工作。N=1 表示最近的输入等。