12

Julia

 4 years ago
source link: https://github.com/assisfery/Julia
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

uUN3um6.png!web

A productive chatbot development engine,
where we can build chatbots in simple
way without spend time.

Documentation | GitHub

bAZVrym.png!web

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK