pbesa 4.0.9__tar.gz → 4.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pbesa-4.0.9 → pbesa-4.0.10}/PKG-INFO +1 -1
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/cognitive.py +12 -8
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa.egg-info/PKG-INFO +1 -1
- {pbesa-4.0.9 → pbesa-4.0.10}/setup.py +1 -1
- {pbesa-4.0.9 → pbesa-4.0.10}/.gitignore +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/LICENSE +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/LICENSE.txt +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/MANIFEST +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/README.md +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/db.sqlite3 +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/settings.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/wsgi.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/asgi.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/pbesa.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/settings.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/urls.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/wsgi.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/manage.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/views.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/admin.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/apps.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/translatecontroller.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/translatedelegate.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/controller/translateresponse.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/worker/translatetask.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/worker/workeragent.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/migrations/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/migrations/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/models.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/tests.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/urls.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/views.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/countercontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/counterdelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/counterresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/countercontroller.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/counterdelegate.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/controller/counterresponse.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/counteragent.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/countertask.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/remote_a.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/remote_b.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/remote_c.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/celulas/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/celulas/celula_casos.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/celulas/celula_consultas.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/celulas/celula_saludos.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/celulas/web.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/adapter.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/agent.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/io/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/io/system_file.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/io/tcp_server.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/__pycache__/__init__.cpython-37.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/__pycache__/__init__.cpython-38.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/__pycache__/__init__.cpython-39.pyc +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/res/conf.json +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/util.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/kernel/world.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/mas.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/models.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/adm_listener.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/adm_listener_handler.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/exceptions.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/remote_adm.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/remote/remote_adm_handler.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/__init__.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/collaborative_team.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/delegator.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/delegator_team.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/dialog.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/dispatcher_team.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/prompts.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/selected_dispatcher_team.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/templates.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa/social/worker.py +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa.egg-info/SOURCES.txt +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa.egg-info/dependency_links.txt +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa.egg-info/requires.txt +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/pbesa.egg-info/top_level.txt +0 -0
- {pbesa-4.0.9 → pbesa-4.0.10}/setup.cfg +0 -0
@@ -717,13 +717,15 @@ class Dialog(ABC):
|
|
717
717
|
consulta = celula_consultas.derive(self.__ai_service, query)
|
718
718
|
saludo = celula_saludos.derive(self.__ai_service, query)
|
719
719
|
# Verifica si es un saludo
|
720
|
-
es_saludo =
|
721
|
-
es_consulta =
|
722
|
-
es_caso =
|
720
|
+
es_saludo = ("SALUDO" in saludo) and ("NO_PREGUNTA" in consulta) and ("NO_QUEJA_DEMANDA" in caso)
|
721
|
+
es_consulta = ("PREGUNTA_O_SOLICITUD" in consulta) and ("NO_QUEJA_DEMANDA" in caso) and ("NO_SALUDO" in saludo)
|
722
|
+
es_caso = ("QUEJA_DEMANDA" in caso) and ("NO_PREGUNTA" in consulta) and ("NO_SALUDO" in saludo)
|
723
|
+
logging.info(f"==> Saludo: {saludo}, Consulta: {consulta}, Caso: {caso}")
|
724
|
+
logging.info(f"==> Es saludo: {es_saludo}, Es consulta: {es_consulta}, Es caso: {es_caso}")
|
723
725
|
# Verifica los casos
|
724
726
|
dicriminador = "Ninguno"
|
725
727
|
if es_saludo or es_consulta or es_caso:
|
726
|
-
logging.info("
|
728
|
+
logging.info("Respuesta Clara")
|
727
729
|
self.notify("discriminando...")
|
728
730
|
if es_saludo:
|
729
731
|
dicriminador = "saluda"
|
@@ -732,12 +734,14 @@ class Dialog(ABC):
|
|
732
734
|
elif es_caso:
|
733
735
|
dicriminador = "caso"
|
734
736
|
else:
|
735
|
-
logging.info("
|
737
|
+
logging.info("Respuesta con ambiguedad")
|
736
738
|
self.notify("identificando ambiguedad...")
|
737
|
-
if
|
738
|
-
dicriminador = "
|
739
|
-
|
739
|
+
if caso == "QUEJA_DEMANDA":
|
740
|
+
dicriminador = "caso"
|
741
|
+
elif consulta == "PREGUNTA_O_SOLICITUD":
|
740
742
|
dicriminador = "consulta"
|
743
|
+
elif saludo == "SALUDO":
|
744
|
+
dicriminador = "saluda"
|
741
745
|
#--------------------------
|
742
746
|
# Obtiene los hijos del
|
743
747
|
# nodo
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/helloworld/__pycache__/wsgi.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/__pycache__/views.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/django/helloworld/translate/mas/worker/translatetask.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.9 → pbesa-4.0.10}/examples/remote/mas/worker/__pycache__/workeragent.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|