atendentepro 0.6.2__py3-none-any.whl → 0.6.3__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.
@@ -58,9 +58,22 @@ def load_embeddings() -> List[dict]:
58
58
  return []
59
59
 
60
60
 
61
+ def _check_rag_dependencies() -> None:
62
+ """Check if RAG dependencies are installed."""
63
+ try:
64
+ import numpy # noqa: F401
65
+ import sklearn # noqa: F401
66
+ except ImportError as e:
67
+ raise ImportError(
68
+ "RAG dependencies not installed. "
69
+ "Install with: pip install atendentepro[rag]"
70
+ ) from e
71
+
72
+
61
73
  async def _find_relevant_chunks(query: str, top_k: int = 3) -> List[dict]:
62
74
  """Find most relevant chunks for a given query."""
63
75
  try:
76
+ _check_rag_dependencies()
64
77
  from sklearn.metrics.pairwise import cosine_similarity
65
78
  import numpy as np
66
79
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atendentepro
3
- Version: 0.6.2
3
+ Version: 0.6.3
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>
@@ -25,33 +25,33 @@ Classifier: Operating System :: OS Independent
25
25
  Requires-Python: >=3.9
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
- Requires-Dist: openai-agents>=0.3.3
29
- Requires-Dist: openai>=1.107.1
30
- Requires-Dist: pydantic>=2.0.0
31
- Requires-Dist: PyYAML>=6.0
32
- Requires-Dist: python-dotenv>=1.0.0
33
- Requires-Dist: httpx>=0.27.0
34
- Requires-Dist: numpy>=1.24.0
35
- Requires-Dist: scikit-learn>=1.3.0
28
+ Requires-Dist: openai-agents<1.0.0,>=0.3.3
29
+ Requires-Dist: openai<2.0.0,>=1.107.1
30
+ Requires-Dist: pydantic<3.0.0,>=2.0.0
31
+ Requires-Dist: PyYAML<7.0,>=6.0
32
+ Requires-Dist: python-dotenv<2.0.0,>=1.0.0
33
+ Requires-Dist: httpx<1.0.0,>=0.27.0
36
34
  Provides-Extra: dev
37
- Requires-Dist: pytest>=7.0.0; extra == "dev"
38
- Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
39
- Requires-Dist: black>=23.0.0; extra == "dev"
40
- Requires-Dist: isort>=5.12.0; extra == "dev"
41
- Requires-Dist: mypy>=1.0.0; extra == "dev"
35
+ Requires-Dist: pytest<9.0.0,>=7.0.0; extra == "dev"
36
+ Requires-Dist: pytest-asyncio<1.0.0,>=0.21.0; extra == "dev"
37
+ Requires-Dist: black<25.0.0,>=23.0.0; extra == "dev"
38
+ Requires-Dist: isort<6.0.0,>=5.12.0; extra == "dev"
39
+ Requires-Dist: mypy<2.0.0,>=1.0.0; extra == "dev"
42
40
  Provides-Extra: docs
43
- Requires-Dist: mkdocs>=1.5.0; extra == "docs"
44
- Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
41
+ Requires-Dist: mkdocs<2.0.0,>=1.5.0; extra == "docs"
42
+ Requires-Dist: mkdocs-material<10.0.0,>=9.0.0; extra == "docs"
45
43
  Provides-Extra: rag
46
- Requires-Dist: PyPDF2>=3.0.0; extra == "rag"
47
- Requires-Dist: python-docx>=0.8.11; extra == "rag"
48
- Requires-Dist: python-pptx>=0.6.21; extra == "rag"
49
- Requires-Dist: PyMuPDF>=1.23.0; extra == "rag"
44
+ Requires-Dist: numpy<2.0.0,>=1.24.0; extra == "rag"
45
+ Requires-Dist: scikit-learn<2.0.0,>=1.3.0; extra == "rag"
46
+ Requires-Dist: PyPDF2<4.0.0,>=3.0.0; extra == "rag"
47
+ Requires-Dist: python-docx<2.0.0,>=0.8.11; extra == "rag"
48
+ Requires-Dist: python-pptx<1.0.0,>=0.6.21; extra == "rag"
49
+ Requires-Dist: PyMuPDF<2.0.0,>=1.23.0; extra == "rag"
50
50
  Provides-Extra: tracing
51
- Requires-Dist: monkai-trace>=0.2.9; extra == "tracing"
51
+ Requires-Dist: monkai-trace<1.0.0,>=0.2.9; extra == "tracing"
52
52
  Provides-Extra: azure
53
- Requires-Dist: opentelemetry-sdk>=1.20.0; extra == "azure"
54
- Requires-Dist: azure-monitor-opentelemetry-exporter>=1.0.0; extra == "azure"
53
+ Requires-Dist: opentelemetry-sdk<2.0.0,>=1.20.0; extra == "azure"
54
+ Requires-Dist: azure-monitor-opentelemetry-exporter<2.0.0,>=1.0.0; extra == "azure"
55
55
  Provides-Extra: all
56
56
  Requires-Dist: atendentepro[azure,dev,docs,rag,tracing]; extra == "all"
57
57
  Dynamic: license-file
@@ -9,7 +9,7 @@ atendentepro/agents/escalation.py,sha256=tnFhHaV8VnrMMh_p8Xt9JTMe4bkWcGb6mChECm8
9
9
  atendentepro/agents/feedback.py,sha256=0cU6LVcIp_2ZBB-Cdprnwgw1C5IKYC_ydQ8HJnlheqo,33585
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=gqvz_YYMJfG7NrcR8xaLD7ofOs3sHixs6wfIkXwqFWs,10669
12
+ atendentepro/agents/knowledge.py,sha256=Xew_qhAdBrm3oVRvHhKh2oi6aURyeIKU5CtgfAHBYEI,11054
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
@@ -35,9 +35,9 @@ atendentepro/templates/manager.py,sha256=VHnu2dxWA6TR07QjJtsDZIRkwIjq-zGoIDysul7
35
35
  atendentepro/utils/__init__.py,sha256=WCJ6_btsLaI6xxHXvNHNue-nKrXWTKscNZGTToQiJ8A,833
36
36
  atendentepro/utils/openai_client.py,sha256=R0ns7SU36vTgploq14-QJMTke1pPxcAXlENDeoHU0L4,4552
37
37
  atendentepro/utils/tracing.py,sha256=kpTPw1PF4rR1qq1RyBnAaPIQIJRka4RF8MfG_JrRJ7U,8486
38
- atendentepro-0.6.2.dist-info/licenses/LICENSE,sha256=TF6CdXxePoT9DXtPnCejiU5mUwWzrFzd1iyWJyoMauA,983
39
- atendentepro-0.6.2.dist-info/METADATA,sha256=DjOwtsn9Bj3-ivCI3S5q01S15RiT_saXh-WZPQ2bA-I,27649
40
- atendentepro-0.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
41
- atendentepro-0.6.2.dist-info/entry_points.txt,sha256=OP0upzqJF3MLS6VX-M-5BfUwx5YLJO2sJ3YBAp4e6yI,89
42
- atendentepro-0.6.2.dist-info/top_level.txt,sha256=BFasD4SMmgDUmWKlTIZ1PeuukoRBhyiMIz8umKWVCcs,13
43
- atendentepro-0.6.2.dist-info/RECORD,,
38
+ atendentepro-0.6.3.dist-info/licenses/LICENSE,sha256=TF6CdXxePoT9DXtPnCejiU5mUwWzrFzd1iyWJyoMauA,983
39
+ atendentepro-0.6.3.dist-info/METADATA,sha256=ijYMZnbksuX5O7ao9bA0deK6gI5eYM3jtE2S_hd2WOE,27835
40
+ atendentepro-0.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
41
+ atendentepro-0.6.3.dist-info/entry_points.txt,sha256=OP0upzqJF3MLS6VX-M-5BfUwx5YLJO2sJ3YBAp4e6yI,89
42
+ atendentepro-0.6.3.dist-info/top_level.txt,sha256=BFasD4SMmgDUmWKlTIZ1PeuukoRBhyiMIz8umKWVCcs,13
43
+ atendentepro-0.6.3.dist-info/RECORD,,