pbesa 4.0.26__tar.gz → 4.0.28__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.26 → pbesa-4.0.28}/PKG-INFO +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_casos.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_consultas.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_datos_identificables.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_expertos.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_pertinencia.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_saludos.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/cognitive.py +5 -5
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa.egg-info/PKG-INFO +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/setup.py +1 -1
- {pbesa-4.0.26 → pbesa-4.0.28}/.gitignore +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/LICENSE +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/LICENSE.txt +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/MANIFEST +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/README.md +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/db.sqlite3 +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/settings.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/wsgi.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/asgi.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/pbesa.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/settings.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/urls.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/wsgi.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/manage.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/views.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/admin.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/apps.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/translatecontroller.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/translatedelegate.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/controller/translateresponse.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/translatetask.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/workeragent.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/migrations/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/migrations/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/models.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/tests.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/urls.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/views.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/countercontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/counterdelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/counterresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/countercontroller.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/counterdelegate.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/controller/counterresponse.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/counteragent.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/countertask.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/remote_a.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/remote_b.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/remote_c.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_generar_documento.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_preguntas.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/celula_simulador_ciudadano.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/data_extraction_cel.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/celulas/web.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/adapter.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/agent.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/io/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/io/system_file.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/io/tcp_server.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/__pycache__/__init__.cpython-37.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/__pycache__/__init__.cpython-38.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/__pycache__/__init__.cpython-39.pyc +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/res/conf.json +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/util.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/kernel/world.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/mas.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/models.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/adm_listener.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/adm_listener_handler.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/exceptions.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/remote_adm.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/remote/remote_adm_handler.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/__init__.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/collaborative_team.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/delegator.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/delegator_team.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/dialog.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/dispatcher_team.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/prompts.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/selected_dispatcher_team.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/templates.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa/social/worker.py +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa.egg-info/SOURCES.txt +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa.egg-info/dependency_links.txt +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa.egg-info/requires.txt +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/pbesa.egg-info/top_level.txt +0 -0
- {pbesa-4.0.26 → pbesa-4.0.28}/setup.cfg +0 -0
@@ -54,7 +54,7 @@ def derive(service, text, max_tkns=4096) -> any:
|
|
54
54
|
if not res or res == "":
|
55
55
|
res = text
|
56
56
|
logging.warning(f"[Celula][Casos]: No obtener una respuesta.")
|
57
|
-
return res
|
57
|
+
return res.replace("*", "").strip()
|
58
58
|
except Exception as e:
|
59
59
|
logging.error(f"[Celula][Casos]: Error al procesar: {text}")
|
60
60
|
logging.error(e)
|
@@ -40,7 +40,7 @@ def derive(service, text, max_tkns=4096) -> any:
|
|
40
40
|
if not res or res == "":
|
41
41
|
res = text
|
42
42
|
logging.warning(f"[Celula][Consultas]: No obtener una respuesta.")
|
43
|
-
return res
|
43
|
+
return res.replace("*", "").strip()
|
44
44
|
except Exception as e:
|
45
45
|
logging.error(f"[Celula][Consultas]: Error al procesar: {text}")
|
46
46
|
logging.error(e)
|
@@ -47,7 +47,7 @@ def derive(service, text, max_tkns=4096) -> any:
|
|
47
47
|
if not res or res == "":
|
48
48
|
res = text
|
49
49
|
logging.warning(f"No obtener una respuesta.")
|
50
|
-
return res
|
50
|
+
return res.replace("*", "").strip()
|
51
51
|
except Exception as e:
|
52
52
|
logging.error(f"Error al procesar: {text}")
|
53
53
|
logging.error(e)
|
@@ -50,7 +50,7 @@ def derive(service, text, conocimiento, max_tkns=4096) -> any:
|
|
50
50
|
if not res or res == "":
|
51
51
|
res = text
|
52
52
|
logging.warning(f"[Celula][Expertos]: No obtener una respuesta.")
|
53
|
-
return res
|
53
|
+
return res.replace("*", "").strip()
|
54
54
|
except Exception as e:
|
55
55
|
logging.error(f"[Celula][Expertos]: Error al procesar: {text}")
|
56
56
|
logging.error(e)
|
@@ -51,7 +51,7 @@ def derive(service, text, max_tkns=4096) -> any:
|
|
51
51
|
if not res or res == "":
|
52
52
|
res = text
|
53
53
|
logging.warning(f"[Celula][Saludos]: No obtener una respuesta.")
|
54
|
-
return res
|
54
|
+
return res.replace("*", "").strip()
|
55
55
|
except Exception as e:
|
56
56
|
logging.error(f"[Celula][Saludos]: Error al procesar: {text}")
|
57
57
|
logging.error(e)
|
@@ -37,7 +37,7 @@ def derive(service, text, max_tkns=4096) -> any:
|
|
37
37
|
if not res or res == "":
|
38
38
|
res = text
|
39
39
|
logging.warning(f"[Celula][Saludos]: No obtener una respuesta.")
|
40
|
-
return res
|
40
|
+
return res.replace("*", "").strip()
|
41
41
|
except Exception as e:
|
42
42
|
logging.error(f"[Celula][Saludos]: Error al procesar: {text}")
|
43
43
|
logging.error(e)
|
@@ -914,14 +914,14 @@ class Dialog(ABC):
|
|
914
914
|
dicriminador = "consulta"
|
915
915
|
per_res = celula_pertinencia.derive(self.__ai_service, query, max_tkns=10)
|
916
916
|
if per_res and not per_res == "":
|
917
|
-
if "
|
917
|
+
if "ABSURDO" in per_res:
|
918
918
|
dicriminador = None
|
919
919
|
res = msg
|
920
920
|
elif es_caso and not es_saludo and not es_consulta:
|
921
921
|
dicriminador = "caso"
|
922
922
|
per_res = celula_pertinencia.derive(self.__ai_service, query, max_tkns=10)
|
923
923
|
if per_res and not per_res == "":
|
924
|
-
if "
|
924
|
+
if "ABSURDO" in per_res:
|
925
925
|
dicriminador = None
|
926
926
|
res = msg
|
927
927
|
|
@@ -930,14 +930,14 @@ class Dialog(ABC):
|
|
930
930
|
dicriminador = "consulta"
|
931
931
|
per_res = celula_pertinencia.derive(self.__ai_service, query, max_tkns=10)
|
932
932
|
if per_res and not per_res == "":
|
933
|
-
if "
|
933
|
+
if "ABSURDO" in per_res:
|
934
934
|
dicriminador = None
|
935
935
|
res = msg
|
936
936
|
elif es_saludo and es_caso and not es_consulta:
|
937
937
|
dicriminador = "caso"
|
938
938
|
per_res = celula_pertinencia.derive(self.__ai_service, query, max_tkns=10)
|
939
939
|
if per_res and not per_res == "":
|
940
|
-
if "
|
940
|
+
if "ABSURDO" in per_res:
|
941
941
|
dicriminador = None
|
942
942
|
res = msg
|
943
943
|
|
@@ -948,7 +948,7 @@ class Dialog(ABC):
|
|
948
948
|
ambiguedad = True
|
949
949
|
per_res = celula_pertinencia.derive(self.__ai_service, query, max_tkns=10)
|
950
950
|
if per_res and not per_res == "":
|
951
|
-
if "
|
951
|
+
if "ABSURDO" in per_res:
|
952
952
|
dicriminador = None
|
953
953
|
res = msg
|
954
954
|
ambiguedad = False
|
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.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/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.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/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.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/translatetask.py
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/django/helloworld/translate/mas/worker/workeragent.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
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.26 → pbesa-4.0.28}/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
|
File without changes
|