1
# in python

> object tempCall python
   return 'right'
< object

< object test python

   temp_query = rs.get_uservar(rs.current_user(),"temp_query")
   print(temp_query)

> object

# in rivescript

+ xyz (x|y|z)
- <set temp_query=answer is <call>tempCall <star></call>
^ <call>test</call>

输出:答案是 { call }tempCall x{ call }

我希望“答案是正确的”作为输出。

我如何使它工作?我错过了什么吗?请指导我。谢谢!

4

0 回答 0