Giter Site home page Giter Site logo

chatbot's Introduction

Groot JobSeeker ChatBot

groot

πŸ“ Introduction

Groot JobSeeker is a chatbot on discord server used to find job opportunities in a country and it can also tell jokes πŸ˜‚

This chatbot was coded in 🐍 Python language. You can find a source code in the "Project" folder, and you can see a live exemple in the attached video below.

Groot JobSeeker can respond to five types of conversation :

  • Greeting β‡’ hi, hello, how are you ...
  • Ending β‡’ bye, goodbye, thanks ...
  • Joking β‡’ tell me a joke, let's laugh ...
  • Helping β‡’ help plz, ...
  • Job β‡’ I am looking for a job, find me an intership ...

If Groot doesn't understand any message, it responds with "I am Groot?!"

Just watch the video below to understand what Groot can do !

Groot chatbot]

πŸ‘©β€πŸ’» Just tell me what to do

  1. Install all the libraries required to our Groot chatbot using this command : pip install -r requirements.txt

  2. Add a TOKEN KEY from discord developers service at the end of the server.py file.

  3. Open Project folder, run the server file using python server.py

  4. Go to a Discord server, you will find Groot JobSeeker active.

    NB: you should create an account if you don't have one
  5. Start chating with him πŸ’¬

πŸ“ Some explanations

The architecture of Groot JobSeeker fall into the task-oriented dialog system, it is designed for a particular task (here Job finder & Telling jokes). It's set up to get information from the user to help complete the task. Like the Control structure of Frame Based Dialogue System, it has a set of slots for the job frame that specifies what the system needs to know, then define the values that each slot can take by asking questions of each. Consider this very simple finite-state control architecture shown in the table below implementing a job finder system asking the user for the information for 3 slots: keyword, location and salary.

Slot Question
Keyword What is the name of your desired position ? βœ’οΈ
Location Where do you want this Job ? 🌎
Salary How much do you want to earn for this Job ? πŸ’°

Here is a simple example of our chatbot :

graph TD; 
H{Start} --Greeting-->A
  A(Hi ! How can I help you ?)--Job-->B[Let's find your dream job];
  A--Joke-->C[Let me tell you a Joke];
  B-.Joke.-C;
  B--> D[What is the name of your desired position ?]
  D-.Joke.-C;
  D--KeyWord-->E[Where do you want this Job ?]
  E-.Joke.-C;
  E--Location-->F[How much do you want to earn for this Job ?]
  F-.Joke.-C;
  F--digit-->G(Here is the Job Found)
  G-->A
  G--Bye-->N{End}
  C--Thx-->M{End}
Loading

At first, the speaker have the control of the conversation, then the bot takes control to ask the questions to fill the slot. But, at any time, it can br interrupted to tell a joke and get back on track if it hasn't finished all the slots yet.


Bonus: In this project, we added some features to make our chatbot more convenient:

  • We added it on a discord server by using the discord developer service.
  • We used a NLP python library "nltk" to get more synonyms of words to get better reactions of the chatbot.

πŸŽ“Developers

Students at ESILV. A4 -IBO5 {PROMO 2021}

  • Alban STEFF
  • Soumaya SABRY

chatbot's People

Contributors

albansteff avatar

Watchers

 avatar  avatar

Forkers

soumayasabry

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.