Hi, I want to run Chatterbot from a Java program, Which is the best option?
How can I achieve that?
@juanpialbano Currently there is no support on Java. However you could make other workarounds like Django integration
@juanpialbano Just to add to what @vkosuri mentioned, it is possible to build a web API that could allow a Java application to post data and get responses from a chat bot.
I want to put it in Production in my job, I developed an api with werkzeug but there is not suppor for python in the server ...
I'm trying to make it work with Jython but I have a lot of problems
Have you used Chatterbot with Jython ?
Sorry, I don't have any experience with Jython.
I believe if you make a server and then access the chatterbot with custom setup api then you can definitely run chatterbot inside java.
If there will be a web api , like which produces JSON objects as response then it can be used over multiple platforms.
I hope this helps. And feel free to ping.
Cheers!
@gunthercox sir,
can i make the API for chatterbot?
@gabru-md What kind of web platform are you imagining?
sorry! i mean an API as i discussed above.
It will give JSON results for every query. So that any Chatterbot can be used with any programming language.
i have it ready.
Is your API build using ChatterBot's Django integration or does it use a different framework?
mine is simple.
It uses node.js for backend and python for response prediction.
sir, you can see it here: chatterbot-api
i've tried it on localhost though! :P
any suggestions sir ?
ChatterBot is intended to support the ability for developer to use it in web based APIs. I'm glad that you were able to get this to work for your project.
Right now I don't think I'm ready to support an additional API example being added to the project.
@juanpialbano I'm going to close this ticket off. I hope this conversation has served to provide a sufficient response. There are many ways to get software written in different programming languages to communicate with each other.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
ChatterBot is intended to support the ability for developer to use it in web based APIs. I'm glad that you were able to get this to work for your project.
Right now I don't think I'm ready to support an additional API example being added to the project.
@juanpialbano I'm going to close this ticket off. I hope this conversation has served to provide a sufficient response. There are many ways to get software written in different programming languages to communicate with each other.