人工智能机器回话 api + html

之前发现一个有趣的API接口(图灵机器人),就简单写了一个html页面,无聊和机器人聊聊天,发给死肥宅们解闷


开始加入一个  

  • 找我干啥呢?亲
  • 人工智能机器回话 api + html_第1张图片

    机器人自动回话

    人工智能机器回话 api + html_第2张图片


    当然,也做了自适应,适合移动端使用

    人工智能机器回话 api + html_第3张图片


    再把对话记录写入 note.txt 里面

    $myfile = fopen("note.txt", "a+") or die("Unable to open file!");
    $txt = $info.' '.date("Y-m-d H:i:s",time())."\r\n";
    fwrite($myfile, $txt);
    fclose($myfile);


    演示地址: http://www.wuxiaodong.cn//tuling

    github地址:https://github.com/a519395243/tuling

    欢迎吐槽,共同进步!

    你可能感兴趣的:(人工智能机器回话 api + html)