atendentepro 0.6.8__py3-none-any.whl → 0.6.9__py3-none-any.whl

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.
@@ -115,7 +115,7 @@ async def _find_relevant_chunks(query: str, top_k: int = 3) -> List[dict]:
115
115
 
116
116
 
117
117
  @function_tool
118
- async def go_to_rag(question: str) -> KnowledgeToolResult:
118
+ async def go_to_rag(question: str) -> dict:
119
119
  """
120
120
  Utilize RAG to answer the user's question.
121
121
 
@@ -123,7 +123,7 @@ async def go_to_rag(question: str) -> KnowledgeToolResult:
123
123
  question: The question to answer using RAG.
124
124
 
125
125
  Returns:
126
- KnowledgeToolResult with answer, context, sources, and confidence.
126
+ Dictionary with answer, context, sources, and confidence (serialized KnowledgeToolResult).
127
127
  """
128
128
  from atendentepro.utils import get_async_client
129
129
  from atendentepro.config import get_config
@@ -138,7 +138,7 @@ async def go_to_rag(question: str) -> KnowledgeToolResult:
138
138
  context="",
139
139
  sources=[],
140
140
  confidence=0.0,
141
- )
141
+ ).model_dump()
142
142
 
143
143
  context_sections: List[str] = []
144
144
  sources: List[str] = []
@@ -215,7 +215,7 @@ async def go_to_rag(question: str) -> KnowledgeToolResult:
215
215
  context=context,
216
216
  sources=sources,
217
217
  confidence=confidence,
218
- )
218
+ ).model_dump()
219
219
 
220
220
 
221
221
  def create_knowledge_agent(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atendentepro
3
- Version: 0.6.8
3
+ Version: 0.6.9
4
4
  Summary: Framework de orquestração de agentes IA com tom e estilo customizáveis. Integra documentos (RAG), APIs e bancos de dados em uma plataforma inteligente multi-agente.
5
5
  Author-email: BeMonkAI <contato@monkai.com.br>
6
6
  Maintainer-email: BeMonkAI <contato@monkai.com.br>
@@ -9,7 +9,7 @@ atendentepro/agents/escalation.py,sha256=pAS1HANW1jMCBZHekVxvuN9NZ_z9IpAYWbfUzH0
9
9
  atendentepro/agents/feedback.py,sha256=cQd35y2-u93GRmu36ErAMyQEinxvNUaDGblGTGrWCfw,37486
10
10
  atendentepro/agents/flow.py,sha256=8SsAQ_f-daOM25EVBTMKGSUI9ywG3y4B0bFcCnrUfo0,2645
11
11
  atendentepro/agents/interview.py,sha256=3eWHUw63OJuVpHH-QYtdL8SadRgevNLv2N8Esa4Za2c,2722
12
- atendentepro/agents/knowledge.py,sha256=Xew_qhAdBrm3oVRvHhKh2oi6aURyeIKU5CtgfAHBYEI,11054
12
+ atendentepro/agents/knowledge.py,sha256=crBBwOjZYKVtSfRYNIU6wepMsGY4yixc-c_iyzNkGa8,11089
13
13
  atendentepro/agents/onboarding.py,sha256=IId7N9VeTvHggjK_piDOAmwzBztj6oHqbZq7YOpVJIg,2687
14
14
  atendentepro/agents/triage.py,sha256=pdYCA5AqbGMY0WoJXvdceAz_gnQ7D_fJp7dxxsD-GDg,1958
15
15
  atendentepro/agents/usage.py,sha256=tTfbqh3vRIDu0cnB65tv-Z3neEj90COp85nlIVpRLJ8,2183
@@ -36,9 +36,9 @@ atendentepro/utils/__init__.py,sha256=x2yMUueBilWmI2qASSGbFREeyu0a65r3TuDt0euxNA
36
36
  atendentepro/utils/openai_client.py,sha256=R0ns7SU36vTgploq14-QJMTke1pPxcAXlENDeoHU0L4,4552
37
37
  atendentepro/utils/tracing.py,sha256=kpTPw1PF4rR1qq1RyBnAaPIQIJRka4RF8MfG_JrRJ7U,8486
38
38
  atendentepro/utils/user_loader.py,sha256=J8wd-XF2PZg_i1ped8FI8nmGjmUafXROWJa1tYxSDMI,10623
39
- atendentepro-0.6.8.dist-info/licenses/LICENSE,sha256=TF6CdXxePoT9DXtPnCejiU5mUwWzrFzd1iyWJyoMauA,983
40
- atendentepro-0.6.8.dist-info/METADATA,sha256=oRNLhZMOr1RrV75bpeyXv_SSvnNStE7IZqhPkNjmqk8,45468
41
- atendentepro-0.6.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
42
- atendentepro-0.6.8.dist-info/entry_points.txt,sha256=OP0upzqJF3MLS6VX-M-5BfUwx5YLJO2sJ3YBAp4e6yI,89
43
- atendentepro-0.6.8.dist-info/top_level.txt,sha256=BFasD4SMmgDUmWKlTIZ1PeuukoRBhyiMIz8umKWVCcs,13
44
- atendentepro-0.6.8.dist-info/RECORD,,
39
+ atendentepro-0.6.9.dist-info/licenses/LICENSE,sha256=TF6CdXxePoT9DXtPnCejiU5mUwWzrFzd1iyWJyoMauA,983
40
+ atendentepro-0.6.9.dist-info/METADATA,sha256=kZCsfh6CtvNykwOrGViW6KdaRrxTqhFMpczizVNpwOg,45468
41
+ atendentepro-0.6.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
42
+ atendentepro-0.6.9.dist-info/entry_points.txt,sha256=OP0upzqJF3MLS6VX-M-5BfUwx5YLJO2sJ3YBAp4e6yI,89
43
+ atendentepro-0.6.9.dist-info/top_level.txt,sha256=BFasD4SMmgDUmWKlTIZ1PeuukoRBhyiMIz8umKWVCcs,13
44
+ atendentepro-0.6.9.dist-info/RECORD,,