T
T
tundramani2020-05-20 10:06:34
JavaScript
tundramani, 2020-05-20 10:06:34

How are bots made?

I am a js web developer and a linguist, so the topic of bots is interesting.
Interested in making boots to order.

Bots talking, answering questions, leading the conversation.

How is it architecturally implemented?

The main question is whether this solution is ok - AI runs on Node.js on my server and serves clients that need bots, for example on a website. That is, to sell an AI service - client.js sends requests to my server.

Will people buy such a product and service?
Is there a demand for this?

Of course, if the AI ​​copes with the task, this is not a question.

I don’t want to give away the AI ​​source code and it is constantly updated and developed, so it’s more convenient when it is in one place.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2020-05-20
@xmoonlight

Bot text:

They bought a car and went to the sea.

Bot question:
how did they go to sea?

Bot answer: ..... (what should he answer?)
-----
It depends on this whether they will buy or not.
Architecture: accessing the client's knowledge base via API from your server to the client's server and returning the result also to the client's server: all communication takes place through a "dialogue" between the servers, the browser-based end front client (user of the bot site) does not participate in this dialogue !
JS on the front (dialog widget) - can be done by the client, or you can give a script, but which will work with the bot's client server (and not with yours!).

D
Developer, 2020-05-20
@samodum

Only not bots, but chat bots in your case.
There are trillions of options to make bots.
Starting from if ... then, then AI and other technologies.
I can even write a simple chat bot here:

public String getAnswer(String text){
   if(text.startsWith("Привет")) return "Здравствуй!";
   if(text.startsWith("как тебя зовут")) return "Меня зовут Евлампия";
   if(text.startsWith("Пока")) return "До свидания";
...
   return "Я тебя не понимаю";
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question