Coder Social home page Coder Social logo

chatbot's Introduction

ChatBot

Basic ChatBot

Türkçe

Bu kod bir sohbet botu oluşturur ve kullanıcıyla etkileşim kurar. Bot, aşağıdaki işlevleri yerine getirebilir:

Kullanıcıya merhaba diyerek karşılama yapar ve ne yapabileceğini sorar. Kullanıcının adını sorar ve hoş geldiniz mesajı verir. Kullanıcının hava durumu hakkında sorması durumunda, Ankara, İstanbul veya İzmir'deki hava durumunu söyler.(Hava durumu gerçek değil) Kullanıcının nasılsın gibi bir sorusu olduğunda, iyi olduğunu belirtir ve kullanıcının da nasıl olduğunu sorar. Kullanıcının şaka yapmasını veya espri yapmasını istediğinde, birkaç farklı espri seçeneği sunar. Kullanıcının "çıkış" kelimesini yazması durumunda, bot işlemleri sonlandırır ve görüşürüz mesajı verir. Kullanıcının anlaşılmayan bir şey yazması durumunda, ne demek istediğini tam olarak anlamadığını belirterek kullanıcıya sorar.

Neler Eklenebilir; -Neler yaptığı ekrana yazılabilir... -Birçok etkileşimli araç eklenebilir...


English

This code creates a chatbot and interacts with the user. The bot can perform the following functions:

He greets the user by saying hello and asks what he can do. It asks for the user's name and gives a welcome message. If the user asks about the weather, it tells the weather in Ankara, Istanbul or Izmir.(The weather is not real) When the user has a question like how are you, he states that he is fine and asks how the user is. It offers several different joke options when it asks the user to joke or make a joke. If the user types the word "exit", the bot will terminate the processes and issue a bye message. If the user writes something that is not understood, it prompts the user, stating that he does not fully understand what he means.

What Can Be Added; -What he does can be written on the screen... -Many interactive tools can be added...


chatbot's People

Contributors

01kevin01 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.