A productive chatbot development engine, where we can build chatbots in simple way without spend time.
Web Chatbot
Start developing your chatbot in easy and practical way.
<?php
include "../lib/WebBot.php";
use Julia\WebBot;
use Julia\Message;
// create the bot
$myBot = new WebBot();
// handle the received message
$myBot->listen();
// when the bot get a message that contains "hello"
// it will respond "Hello my friend"
$myBot->hears("hello", function($bot){
$bot->answer(new Message("text", "Hello my friend"));
});
// send all responses
$myBot->respond();
?>
Contribute
Come contribute with us and let's make the world a better place.
Others
Icons made by Freepik from www.flaticon.com
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Ruby on Rails社区网站开发
布拉德伯纳 / 柳靖 / 2008-10 / 55.00元
《Ruby on Rails社区网站开发》全面探讨创建完整社区网站的开发过程。首先介绍开发一个内容简单的管理系统,之后逐渐添加新特性,以创建更完整的、使用Ruby on Rails 的Web 2.0 社区网站。还给出了开发和测试中的一些建议和提示,同时指导如何使网站更生动以及维护得更好。《Ruby on Rails社区网站开发》也探讨了如何与Flickr 、Google Maps 等其他平台集成,......一起来看看 《Ruby on Rails社区网站开发》 这本书的介绍吧!