pbesa 4.0.22__tar.gz → 4.0.24__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.22 → pbesa-4.0.24}/PKG-INFO +1 -1
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/cognitive.py +2 -1
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/dispatcher_team.py +1 -1
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/prompts.py +8 -3
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa.egg-info/PKG-INFO +1 -1
- {pbesa-4.0.22 → pbesa-4.0.24}/setup.py +1 -1
- {pbesa-4.0.22 → pbesa-4.0.24}/.gitignore +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/LICENSE +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/LICENSE.txt +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/MANIFEST +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/README.md +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/db.sqlite3 +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/settings.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/wsgi.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/asgi.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/pbesa.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/settings.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/urls.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/wsgi.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/manage.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/views.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/admin.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/apps.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/translatecontroller.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/translatedelegate.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/controller/translateresponse.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/worker/translatetask.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/worker/workeragent.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/migrations/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/migrations/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/models.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/tests.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/urls.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/views.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/countercontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/counterdelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/counterresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/translatecontroller.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/translatedelegate.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/__pycache__/translateresponse.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/countercontroller.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/counterdelegate.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/controller/counterresponse.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/workeragent.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/counteragent.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/countertask.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/remote_a.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/remote_b.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/remote_c.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_casos.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_consultas.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_datos_identificables.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_expertos.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_generar_documento.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_preguntas.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_saludos.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/celula_simulador_ciudadano.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/data_extraction_cel.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/celulas/web.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/adapter.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/agent.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/io/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/io/system_file.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/io/tcp_server.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/__pycache__/__init__.cpython-36.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/__pycache__/__init__.cpython-37.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/__pycache__/__init__.cpython-38.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/__pycache__/__init__.cpython-39.pyc +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/res/conf.json +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/util.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/kernel/world.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/mas.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/models.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/adm_listener.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/adm_listener_handler.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/exceptions.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/remote_adm.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/remote/remote_adm_handler.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/__init__.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/collaborative_team.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/delegator.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/delegator_team.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/dialog.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/selected_dispatcher_team.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/templates.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa/social/worker.py +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa.egg-info/SOURCES.txt +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa.egg-info/dependency_links.txt +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa.egg-info/requires.txt +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/pbesa.egg-info/top_level.txt +0 -0
- {pbesa-4.0.22 → pbesa-4.0.24}/setup.cfg +0 -0
@@ -1553,7 +1553,8 @@ class SpecialDispatch():
|
|
1553
1553
|
self.kusto_open()
|
1554
1554
|
|
1555
1555
|
attemps = 1
|
1556
|
-
|
1556
|
+
exit = False
|
1557
|
+
while attemps <= 3 and not exit:
|
1557
1558
|
logging.info(f"Intento de selección de agente: {attemps}")
|
1558
1559
|
|
1559
1560
|
res = self.__ai_service.generate(self.__meta_work_memory, max_tokens=10)
|
@@ -172,7 +172,7 @@ class SelectedDispatcher(Action):
|
|
172
172
|
else:
|
173
173
|
logging.info(f"The {agent_id} is not instance of AugmentedGeneration or Dialog")
|
174
174
|
# Check if the mayor agent is the same as the agent
|
175
|
-
if score_mayor
|
175
|
+
if score_mayor < 2:
|
176
176
|
logging.info(f'The agent {mayor_ag.id} will be assigned')
|
177
177
|
exit = False
|
178
178
|
while not exit:
|
@@ -143,6 +143,11 @@ Requisitos:
|
|
143
143
|
- **No adiciones suposiciones** o información no mencionada por el usuario.
|
144
144
|
- No incluyas detalles innecesarios o irrelevantes.
|
145
145
|
- **No adiciones conjeturas** como "parece", "podría" o "al parecer".
|
146
|
+
- **No menciones: el usario...*** solo sintetiza la intención del usuario.
|
147
|
+
- No responas: "El usuario reporta..." o "El usuario menciona..." o "El usuario pregunta..."
|
148
|
+
- No responas "Pregunta por..." o "Menciona..." o "Solicita información sobre..."
|
149
|
+
- Solo responde con la intención del usuario de manera directa y clara.
|
150
|
+
- No responas: "El usuario reporta..." o "El usuario menciona..." o "El usuario pregunta... o "Pregunta por..." o "Menciona..." o "Solicita información sobre..."
|
146
151
|
|
147
152
|
---
|
148
153
|
|
@@ -158,7 +163,7 @@ assistant: "De acuerdo, ¿Puede indicarme más detalles el dinero se encontraba
|
|
158
163
|
|
159
164
|
user: "Sí, el dinero estaba en la guantera del carro"
|
160
165
|
|
161
|
-
Respuesta: "
|
166
|
+
Respuesta: "Robo de dinero que se encontraba en la guantera de su carro en un parqueadero."
|
162
167
|
|
163
168
|
---
|
164
169
|
|
@@ -172,7 +177,7 @@ user: "Se me cayo el techo"
|
|
172
177
|
|
173
178
|
assistant: "De acuerdo, ¿Está presentado un problema con la aseguradora?
|
174
179
|
|
175
|
-
Respuesta: "
|
180
|
+
Respuesta: "Problema con el techo de su casa y pregunta por la aseguradora."
|
176
181
|
|
177
182
|
---
|
178
183
|
|
@@ -190,7 +195,7 @@ user: "Me robaron, yo compre un bono y la EPS no me lo quieren reconocer"
|
|
190
195
|
|
191
196
|
assistant: "Al parecer tiene un incoveniente con una entidad prestadora de salud, ¿Puede indicarme más detalles sobre ésta entidad?"
|
192
197
|
|
193
|
-
Respuesta: "
|
198
|
+
Respuesta: "Robo relacionado con un bono que compró y menciona que la EPS no lo quiere reconocer."
|
194
199
|
|
195
200
|
---
|
196
201
|
|
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.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/pbesa.cpython-36.pyc
RENAMED
File without changes
|
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/helloworld/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/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.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/admin.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/apps.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/models.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/django/helloworld/translate/__pycache__/urls.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/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.22 → pbesa-4.0.24}/examples/django/helloworld/translate/mas/worker/translatetask.py
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/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.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/counteragent.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/countertask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/examples/remote/mas/worker/__pycache__/translatetask.cpython-36.pyc
RENAMED
File without changes
|
{pbesa-4.0.22 → pbesa-4.0.24}/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
|
File without changes
|
File without changes
|
File without changes
|