Download the PHP package serpentine/serpentine without Composer
On this page you can find all versions of the php package serpentine/serpentine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download serpentine/serpentine
More information about serpentine/serpentine
Files in serpentine/serpentine
Package serpentine
Short Description Intellectual bot creation platform for PHP 8
License GPL-3.0-or-later
Homepage https://github.com/serpentine-ai/serpentine
Informations about the package serpentine
🚀 Serpentine
Serpentine is a platform to create an intellectual bot on in PHP 8
Installation
Brief info
This package provides only foundation for your bot system. It realizes a lot of interfaces, basic Serpentine class and the machine learning model - CATI Tree
That means that you can't just use this project. You should extend it, install or create other modules and build your own bot with native language commands understanding
More information you can see inside the code or in the Serpentine packages

This is how Serpentine looks inside
The first thing you meet is IO objects. This objects realizes functionality to work with user input and output. For example, Telegram IO will realize methods to get new messages from telegram user and send answers back
After IO receives a message - this will be applied to every InputHandler. These callbacks will do they stuff and if it needs - disallow new message being processed
If all the input handlers will allow the message to be processed - then this message will be applied to the ContextIdentifiers. These ones will try to parse some useful info from the message text like dates and times
After that, action predictor (CATI Tree model) will try to find the Action for this message and if it found - then it will be executed
Example
Author: Nikita Podvirnyy
All versions of serpentine with dependencies
ext-mbstring Version *
wamania/php-stemmer Version ^3.0
krypt0nn/cati-tree Version ^0.2.3