Larave Artificial Intelligence(Chatbots)

Technohive solutions Chatbots AI

According to Search Enterprise AI Artificial intelligence (AI) is the simulation of human intelligence processes by machines, especially computer systems. These processes include learning (the acquisition of information and rules for using the information), reasoning (using rules to reach approximate or definite conclusions) and self-correction. Particular applications of AI include expert systemsspeech recognition and machine vision.

Going per this definition, AI is becoming essential for every day life. In this tutorial I’ll take you through the step by step development of Chatbot in Laravel PHP framework.

Just to mention We’re advocates for php and laravel framework.

To demonstrate this we’ll use a free and open source laravel chatbot package called botman by Marcel.

Whats botman?

From its website ,

BotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger, WeChat and many more.

Getting started with botman?

How do I get started with botman? glad you asked that question. If you are able create  a project via composer then you are good to go. The only technical requirements to run a botman as a standalone project is Php 7.1.3 as at Botman version v2.

You can run Botman as a standalone project but you can easily get started with botman studio. So whats botman studio?

BotMan Studio installer gives you BotMan on top of a fresh Larvel application. This also gives you advanced development tools, like out-of-box chatbot testing support and CLI tools to quickly create new conversations and middleware classes

  • Step 1: install the BotMan Studio installer globally.

To use BotMan studio in the most efficient way, install the BotMan Studio installer globally

  • Create a new BotMan Project

If you do have botman installer installed globally you can install by issue an composer create project command.

Replace <directory> with your desired project name. e.g technohive

  • Run php artisan serve  to test the project.


Leave a Reply

Your email address will not be published. Required fields are marked *