RUVIDEO
Поделитесь видео 🙏

2. Basic Interaction with a Chatbot | Chatbot WPF C# смотреть онлайн

Set basic interaction via the "Send" button.

Subscribe! ► https://www.youtube.com/c/QuasimodoPrograms?sub_confirmation=1

A series of several videos on creating a WPF C# chatbot using Visual Studio.

Let's set basic interaction with a chatbot via the Send button.
We are going to have 2 different plots: 1) first time conversation; 2) non-first.
We will start with the first time.
To progress the conversation, we are going to keep track of it using the int field "plot".
If plot is 0, Alph must have asked us the name. And that is what we are supposed to send first.
Let's create a helper method that will return true if the sent user's response is in an array of possible items.
The method will be static and return bool.
I'll name it checkArr.
So, only if the sent text contains any item in the array, should the method return true.
Let's create a string array of unfriendly responses.
Array items are going to be enumerated in { } separated by commas.
Now, let's check if the sent username is in the array of unfriendly responses.
Also, let's check if UserName is empty.
If so, the chatbot will ask to answer.
Otherwise, if the name is fine...
The chatbot will greet us using our name and proceed the conversation.
It also means that we can increase the plot value.
If plot is already 1 when we press "Send"...
We will store our response to How are you.
Again, we'll check if this response is unfriendly.
If it is, the chatbot will react in a passive manner.
Let's create another string array for questions.
The program is going check if we asked a question as well.
If so, the chatbot will respond too.
In any case, the chatbot will proceed and ask us the age.
So, the plot will change to 2.

More WPF Chatbot ► https://youtube.com/playlist?list=PL3g0PHY_11p4PD7Dt4X9KCLpOiyCsW8UD

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «2. Basic Interaction with a Chatbot | Chatbot WPF C#» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.