upgraded types

This commit is contained in:
saloui 2023-06-23 16:48:09 +02:00
parent 97105865e4
commit 17e51933d8
2 changed files with 9 additions and 7 deletions

View File

@ -4,9 +4,11 @@ class MSG_TYPE(Enum):
MSG_TYPE_CHUNK=0 # A chunk of a message (used for classical chat)
MSG_TYPE_FULL=1 # A full message (for some personality the answer is sent in bulk)
MSG_TYPE_EXCEPTION=2 # An exception occured
MSG_TYPE_STEP=3 # A step has been done (the text contains an explanation of the step done by he personality)
MSG_TYPE_PROGRESS=4 # The progress value (the text contains a percentage and can be parsed by the reception)
MSG_TYPE_META=5 # Generic metadata
MSG_TYPE_REF=6 # References (in form of []() )
MSG_TYPE_CODE=7 # A HTML code to be embedded in the answer
MSG_TYPE_UI=8 # A vue.js component to show
MSG_TYPE_STEP_START=3 # A step has started (the text contains an explanation of the step done by he personality)
MSG_TYPE_STEP_PROGRESS=4 # The progress value (the text contains a percentage and can be parsed by the reception)
MSG_TYPE_STEP_END=5 # A step has been done (the text contains an explanation of the step done by he personality)
MSG_TYPE_REF=6 # References (in form of [text](path))
MSG_TYPE_CODE=7 # A javascript code to execute
MSG_TYPE_UI=8 # A vue.js component to show (we need to build some and parse the text to show it)

View File

@ -26,7 +26,7 @@ def get_all_files(path):
setuptools.setup(
name="lollms",
version="2.0.23",
version="2.0.25",
author="Saifeddine ALOUI",
author_email="aloui.saifeddine@gmail.com",
description="A python library for AI personality definition",