Giter Club home page Giter Club logo

chatbot's Introduction

Chatbot

A Telegram bot that understands question and provides answers.

Audience

For anyone who wants a quick adaptation of Natural Language Processing (NLP) and Machine Learning (ML) Techniques in chatbot development.

Feature To-do List

  • Question Parsing
  • Co-reference
  • Smart Answering
  • Interactivity
  • Testing and Rating
  • Provides Accurate One-line Factual Answer (Not my focus for now)

Implementation Summary for Each Feature

It's written in Python 3.

  • Question Parsing

    • This feature aims to parse questions thoughoutly for better answer extraction
    • Implemented here
  • Co-reference

    • To co-refer what users have previously said (e.g. "I want to know more about A." "What's his job?", "his" refers to "A's")
    • Uses neuralcoref for now
  • Smart Answering

    • Smarter answer for some question types (e.g. return Google Map for location questions)
    • Only LOC questions are entertained for now
    • if question type is LOC and any question entities is location-related, i.e."CITY", "STATE_OR_PROVINCE", "COUNTRY", "ORGANIZATION", "LOCATION"
    • Return Google Map of the entities to users
    • Plan to return wikipedia summary for DESC questions
  • Interactivity

    • To interact with users via casual conversation if factual question is not asked
    • Uses chatterbot to converse with users
    • chatterbot matches input with conversation turns to find the closest utterance and return the corresponding reply
  • Testing and Rating

    • To store user's rating for improving the system over time
    • Plan to ask users to rate right/wrong for each factual question answered, and rate overall experience with the chatbot after a session

Realisation

Current implementation is a Telegram bot: @corefbot You can choose your own platform to build the chatbot Nice functions of python-telegram-bot:

  • send_location(latitude, longitude): returns Google Map for users
  • Users can use \info command to signal the bot that you are asking for factual answers instead of just sharing your loneliness with the bot

chatbot's People

Contributors

kaliek avatar

Watchers

 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.