kompasim / chatbot Goto Github PK
View Code? Open in Web Editor NEWchatbot, an aiml interpreter for PHP
License: MIT License
chatbot, an aiml interpreter for PHP
License: MIT License
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
dame.aiml 有一段注释
4:think,system tag: 支持简单逻辑记忆及自定义函数(本来打算扩展一下AIML, 搞一个支持Groovy语言的标签, 结果看到了它的<system>标签, 遂作罢)
增加的规则
<category>
<pattern>TIME</pattern>
<template>
<system>date</system>
</template>
</category>
date
返回结果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.
I Get Undefined Error Every time i try to chat with the bot
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
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编辑,比如GaitoBot AIML editor、Simple AIML Editor等,是否适合编辑您的经过修改的aiml格式的文件?
您是否有计划开发一个aiml编辑器?
或者是否有其他更合适的方法编辑aiml文件?
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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.