MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Chatbots/comments/c68yp1/creating_a_chatbot_with_rivescript_p2_more_on/
r/Chatbots • u/[deleted] • Jun 27 '19
6 comments sorted by
1
one draw back is memories are never stored permanently.
1 u/[deleted] Jul 01 '19 Actually, you can use a object macro and call it in the response to store it in a file. 1 u/loopy_fun Jul 01 '19 could you post an example of this? 1 u/[deleted] Jul 01 '19 > object remember pythonf = open('remember.txt', 'w')f.write(args)<//this will store your name in a file called 'remember.txt'+ my name is *- Okay<call><star></call> 1 u/loopy_fun Jul 01 '19 I thought opening textfiles closing textfiles over and over takes up a lot memory.
Actually, you can use a object macro and call it in the response to store it in a file.
1 u/loopy_fun Jul 01 '19 could you post an example of this? 1 u/[deleted] Jul 01 '19 > object remember pythonf = open('remember.txt', 'w')f.write(args)<//this will store your name in a file called 'remember.txt'+ my name is *- Okay<call><star></call> 1 u/loopy_fun Jul 01 '19 I thought opening textfiles closing textfiles over and over takes up a lot memory.
could you post an example of this?
1 u/[deleted] Jul 01 '19 > object remember pythonf = open('remember.txt', 'w')f.write(args)<//this will store your name in a file called 'remember.txt'+ my name is *- Okay<call><star></call> 1 u/loopy_fun Jul 01 '19 I thought opening textfiles closing textfiles over and over takes up a lot memory.
> object remember python
f = open('remember.txt', 'w')
f.write(args)
<
//this will store your name in a file called 'remember.txt'
+ my name is *
- Okay<call><star></call>
1 u/loopy_fun Jul 01 '19 I thought opening textfiles closing textfiles over and over takes up a lot memory.
I thought opening textfiles closing textfiles over and over takes up a lot memory.
I just use the default brain and modify it.
1
u/loopy_fun Jun 30 '19
one draw back is memories are never stored permanently.