AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Reading MongoDB using chatscript
 
 

recently mongodb support was added for chatscript. I was able to make the mongoserver on linus machine and also able to write and read in the mongodb using mongoinsertdocument and mongofinddocument. But the problem we are facing is how do we read the db which has been created by some other application.
By default CS creates only 2 key value pair like : {keyName: <name of the key> , keyvalue:<value of the key , JSON string>}. Now mongofinddocument returns the value of keyvalue , once you provide the value of keyName.
There is no possibility to change the keys from default “keyname” and “keyvalue”.
There is something called as “mongogetdocument” in the .h and .cpp files but is not accessible from chatscript.
Can something like this be done through CS ?

Thanks
Hitesh

 

 
  login or register to react