Giter Site home page Giter Site logo

projet---7's Introduction

GrandPy - Bot

Grandpy-Bot est un bot qui émule un chat avec un grand-père qui s'y connaît à fond en géographie et en culture générale, n'hésitez pas à lui parler ou lui demander des adresses il a beaucoup voyagé !

Prérequis

Tout les dépendances sont dans le fichier requirements.txt.

$ pip install -r requirements.txt

Utilisation

Vous pouvez questionner GrandPy ici : https://grandpapy-bot.herokuapp.com

GrandPy utilise un algorithme qui tente de comprendre au mieux votre message, cependant il parle principalement un français correct sans trop de fautes d'orthographe et aura donc du mal avec votre langage SMS habituel ! Il a beau savoir utiliser un ordinateur comme un chef il préfererait que vous utiliser un langage correct !

Salut GrandPy ! Est-ce que tu connais l'adresse d'OpenClassrooms ?

Retournera des informations sur OpenClassrooms venant de wikipedia et une carte affichant sa position !

Sais tu où se trouve le Louvre ?

Retournera des informations sur le Louvre venant de wikipedia et une carte affichant sa position !

Faire tourner le code soi même

Pour pouvoir utiliser GrandPy depuis un autre site que Heroku vous aurez besoin d'une clé Google Api. Créez un fichier config.py dans le dossier grand_py/ spécifiant une clé api Google et une clé secrète pour Flask.

config.py

GOOGLE_API_KEY = 'YOUR_GOOGLE_API_KEY'
SECRET_KEY = 'YOUR_SECRET_KEY'

Créé avec

Auteur

  • Xavier Endres

projet---7's People

Contributors

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