Giter Site home page Giter Site logo

luna-1's Introduction

Luna is my personal assistant chatbot.

It's build with ChatterBot and with pyTelegramBotAPI (and, of course, with some good โค).

Features

  • Luna has a cool conversational dialog engine, which allows her to hold a fluid conversation (the longer the corpus training used for the initial boosting, the better quality of conversations).

  • She likes to speak by Telegram.

  • She learns very quickly. She has a confidence rate, located in the config\bot.json which determines in a scale 0-1 how sure she has to be with her answer to actually respond to you. If she can't reach a statement with that level of confidence to your message, she asks you to teach her the appropriate answer, and she adds it to the database.

  • She can auto-regulate her own params. If you want her to increment the confidence ratio of her answers (and therefore reduce the number of errors), you can tell her to change it, and she edits the file for you.

  • Aditionally to the normal conversations, she can also do a set of custom tasks for you, like waking you up at a certain time or taking a list of to-do notes. You can add your own custom tasks by writting them on the utils\commands.json and utils\command_handlers.py files.

How to use

  • Clone/download the repo and run the setup.py file.

  • Install the dependencies with pip install requisites.txt

  • Talk to the Bot Father on Telegram and ask him to give you a Telegram API key.

  • Write your Telegram API key on the config\apis.json file, and also add your telegram username to the config\user.json file (Luna will only answer to your messages).

Things to improve

  • When she learns a new response to a sentence, if you want her to forget that response, you need to edit the SQLite database. It would be nice if she could forget that response by herself, like a custom command.

  • More custom commands are on the way (search on google, music/movies recommendation, integration with some APIs like maps, calendar, etc...).

License

Of course! MIT License <3

have fun!

luna-1's People

Contributors

josehervas 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.