Coder Social home page Coder Social logo

vycktorstark / simsimi Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 10.0 39 KB

This is a project that will use the simsimi API to create a chatterbot on the telegram to chat with other users, which can be used for testing purposes.

License: GNU Affero General Public License v3.0

Python 100.00%
simsimi artificial-intelligence-requests heroku intent fulfillment bot chatbot chatbot-application telegrambot simsimi-api

simsimi's Introduction

Getting Started

This is a project that will use the simsimi API to create a chatterbot on the telegram to chat with other users, which can be used for testing purposes.

Below, I am providing instructions for you to have a copy of the project. These instructions will show you how to start using it for learning, development and testing purposes.

Configuring the bot to run on the terminal

You must have your machine up to date and have Python 3 installed, as well as some modules, such as: flask and requests, if you don't have it, you will need to install it this way here:

# Tested on Ubuntu 14.04, 15.04 and 16.04, Debian 7, Linux Mint 17.2
$ sudo apt-get update && sudo apt-get upgrade   
$ sudo apt install python3 && python3-pip
$ sudo pip3 install flask && requests

With everything installed, we will clone the repository like this:

$ git clone https://github.com/VycktorStark/SimSimi.git

With the repository installed, you must have the bot token created by BotFather; if you don't have one, you'll need to create one (more information on official robot FAQ page)

To add your token to the project, I advise you to configure your ".bashrc", putting something like:

export LN="en"
export SECRET_KEY="12918981:dFwnfweFw2oju28ru239r8389iEJOIJO"
export SECRET_KEY_SIMSIMI="dFw1weFs212w8r2u239r813JO9"

Or just configure the tools.py, To obtain a simsimi token key to use this project, visit developer.simsimi.com, where you will find all instructions Note: this API is paid according to usage, and the free version can be used for the period of time established; see this information directly on the website

Boot process

  • To start the bot, run: sudo ./main.py
  • To stop the bot, press Ctrl + C. You can also start the bot with python3 main.py

Configuring the bot to run on heroku

Click the button below and configure your language, also setting your bot's token.

Deploy to Heroku

Only that, the project will already be working.

simsimi's People

Contributors

tiagodanin avatar vycktorstark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simsimi's Issues

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.