Giter Club home page Giter Club logo

chatbot's Introduction

Hi there 👋

chatbot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatbot's Issues

Storing Predicates in Database

Can User Names Be Saved In Database With Sessions ID's
{"status":"success","type":"talk","message":"oh , your name is userName , i remembered it last time ...","data":[]}
And What is that data: Used For

system 标签无法使用

dame.aiml 有一段注释

        4:think,system tag: 支持简单逻辑记忆及自定义函数(本来打算扩展一下AIML, 搞一个支持Groovy语言的标签, 结果看到了它的<system>标签, 遂作罢)

增加的规则

<category>
        <pattern>TIME</pattern>
        <template>
            <system>date</system>
        </template>
</category>
  • 返回:'date‘ 字符串
  • 期望返回: linux 命令 date 返回结果

xss vulnerability ?

It seems there's a XSS vulnerability ?

<script>alert("faille XSS");</script> show the alert message.

Could you do something please ?
Or show me how to correct this ?

Thanks for your work.

Not Working

I Get Undefined Error Every time i try to chat with the bot

Undefined chatbot reply

Screenshot_26
Screenshot_27
Screenshot_28

Hello, can you help me with this case?

i still get undefined reply on index.php. when i check the : "api.php?requestType=talk&userInput=hello" the log worked well and give aiml responses. But when i check "api.php", the log say Undefined array key "requestType".

on "api.php" file, there no "requestType" in array. when i add the "requestType" in array, its still not worked.

thanks for help

condition

condition
hi, my name is abi. I want to ask question.

  • how to use tag condition, and topic in file. aiml ?
    when i,m run the bot, tag aiml topic and condition can't run .
    when i said selamat pagi. bot response is pagi siang malam.

  • how to make a new line or function br in file.aiml ?

  • how to make a tag button in file.aiml ?

  • how to make a tag img or image in file.aiml ?

  • what the different type "user" and type="bot"?

sorry, if my english language is bad.

Thank You.

关于aiml编辑器

请问,如何快速批量的编辑aiml词条和文件?
外网有很多可以下载的aiml编辑,比如GaitoBot AIML editor、Simple AIML Editor等,是否适合编辑您的经过修改的aiml格式的文件?
您是否有计划开发一个aiml编辑器?
或者是否有其他更合适的方法编辑aiml文件?

Date fields not parsing

Thank you so much for the contribution, this is fantastic!! I do have a problem however where date fields are not parsing (). - Is there any way you could provide an example on how to implement? I've tried using the example shown (pasting into "date.aiml" and am not getting any response. Any suggestions?

<category>
    <pattern>system</pattern>
    <template>
        <system>
            date_default_timezone_set('PRC');
            return date('Y/m/d H:i:s');
        </system>
    </template>
</category> 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.