crell / eliza
The famous Eliza chatbot therapist.
0.2
2018-12-05 00:46 UTC
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2024-12-18 05:24:52 UTC
README
This is a straight port of the Eliza chatbot therapist to PHP.
Based very closely on this Python implementation: https://www.smallsurething.com/implementing-the-famous-eliza-chatbot-in-python/
CLI
The main.php
file is a basic CLI that lets you talk to Eliza.
Library
Alternatively, you can use the Crell\Eliza
class as a library within another application. The only API call is analyze(string)
, which will return a string response from Eliza.
License
This library is released under the MIT license.