Skip to content

Mushu2a/CommunitiBot

Repository files navigation

BotMan Studio

About BotMan Studio

While BotMan itself is framework agnostic, BotMan is also available as a bundle with the great Laravel PHP framework. This bundled version is called BotMan Studio and makes your chatbot development experience even better. By providing testing tools, an out of the box web driver implementation and additional tools like an enhanced CLI with driver installation, class generation and configuration support, it speeds up the development significantly.

Documentation

You can find the BotMan and BotMan Studio documentation at http://botman.io.

License

BotMan is free software distributed under the terms of the MIT license.

Why ?

https://www.universita.corsica/fr/hack4corsica-1er-hackathon-de-luniversite-de-corse, first for university of Corsica, first for me too.

Project: https://www.communiti.corsica want on a chatbot use with there API and basics question.

Why Botman ? Because was really cool, and practice to use.

Now let's get started !

Configuration

  1. Install dependencies with composer
# Root directory
composer install
  1. Run
php artisan serve
  1. a

All working code and bot logic can be found here : /app/Http/Controllers/BotManController.php

  1. More powerfull

Response use DialogFlow, change this line on /vendor/botman/botman/src/Middleware/ApiAi.php line 113 Or override dialogflow middleware received

# And add this
$messages = isset($response->result->fulfillment->messages) ? (array) $response->result->fulfillment->messages : [];

Database

Can be use with

php artisan migrate --seed

Dialogflow

https://dialogflow.com/, you have to create on account and configure all (intent, entities, training, etc...) You can find my work on it here, folder /public/bot

Task

  • Web integration
  • Messenger integration
  • Use communiti API
  • Dialogflow
  • Image
  • Video
  • Button
  • Conversation (skip, stop)
  • Get url link
  • Reply with attachments
  • Received attachments (bug)
  • Ovverride middleware
  • Middleware system
  • Other integration (slack, telegram, nexmo)
  • Store user information
  • More dialogflow training
  • Optimisation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published