/*$reply = 'What you said is too profound and I still don't understand it. Can you teach me? [Rabbit]';
$json = json_decode($json, 1);
if (isset($json['response'])) {
$reply = $json['response'];
}
echo $reply;
}*/
}
?>
Learn to use js, ajax, php to make a simple little yellow chicken page (calling simsimi API): http://www.verydemo.com/demo_c98_i8695.html
Please type the message in the input box and press Enter:
Requesting for teasing:
Little bitch: Uncle, come and tease me~~~
http://www.bkjia.com/PHPjc/477669.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477669.htmlTechArticlehttp://developer.simsimi.com/api SimSimi AICR APIs 1. Conversation API Conversation API enables you to get SimSimis response data. Use the Conversation REST API Request URL: http://...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn