Dynamic/Runtime Creation of Bots?

19 views
Skip to first unread message

jona...@osrce.com

unread,
Apr 25, 2013, 6:05:32 PM4/25/13
to open...@googlegroups.com
Hello,
   Is it possible to create new bots programmatically rather then using the cowebConfig.json file?  I'd like to be able to create bots on demand based on the data the user is requesting.

Chris Cotter

unread,
Apr 25, 2013, 7:34:38 PM4/25/13
to open...@googlegroups.com
I don't think so. The way I remember that bots work (in Java, and probably Python) is that bots are not started up until
a client makes a service request. So, I start the coweb server, open a new application session, and no bots have been
initialized yet. Then, when I (the client) makes a service request, the server sees that the bot is not active yet, and the
server creates the bot.

The server creates the bot using information in the cowebConfig.json file, so if the bot is not defined in that file, no bot
will be created.

This shouldn't be too difficult to do. I created an issue on opencoweb's github.

There are probably many different ways to design what you have in mind, so can you post a description of your use case
on the github issue?

-Chris

jona...@osrce.com

unread,
Apr 25, 2013, 8:15:19 PM4/25/13
to open...@googlegroups.com
Thanks for the quick reply.  It didn't look that way but I wanted to double check.  I'll post my use case on the github issue.
Reply all
Reply to author
Forward
0 new messages