nvidia-nat-agno 1.2.0rc5__py3-none-any.whl → 1.2.0rc6__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.
- {aiq → nat}/meta/pypi.md +1 -1
- {aiq → nat}/plugins/agno/llm.py +7 -7
- {aiq → nat}/plugins/agno/tool_wrapper.py +7 -7
- {aiq → nat}/plugins/agno/tools/serp_api_tool.py +6 -6
- {nvidia_nat_agno-1.2.0rc5.dist-info → nvidia_nat_agno-1.2.0rc6.dist-info}/METADATA +4 -4
- nvidia_nat_agno-1.2.0rc6.dist-info/RECORD +13 -0
- nvidia_nat_agno-1.2.0rc6.dist-info/entry_points.txt +3 -0
- nvidia_nat_agno-1.2.0rc6.dist-info/top_level.txt +1 -0
- nvidia_nat_agno-1.2.0rc5.dist-info/RECORD +0 -13
- nvidia_nat_agno-1.2.0rc5.dist-info/entry_points.txt +0 -3
- nvidia_nat_agno-1.2.0rc5.dist-info/top_level.txt +0 -1
- {aiq → nat}/plugins/agno/__init__.py +0 -0
- {aiq → nat}/plugins/agno/register.py +0 -0
- {aiq → nat}/plugins/agno/tools/__init__.py +0 -0
- {aiq → nat}/plugins/agno/tools/register.py +0 -0
- {nvidia_nat_agno-1.2.0rc5.dist-info → nvidia_nat_agno-1.2.0rc6.dist-info}/WHEEL +0 -0
{aiq → nat}/meta/pypi.md
RENAMED
@@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
|
|
15
15
|
limitations under the License.
|
16
16
|
-->
|
17
17
|
|
18
|
-

|
19
19
|
|
20
20
|
# NVIDIA NeMo Agent Toolkit Subpackage
|
21
21
|
|
{aiq → nat}/plugins/agno/llm.py
RENAMED
@@ -15,13 +15,13 @@
|
|
15
15
|
|
16
16
|
import os
|
17
17
|
|
18
|
-
from
|
19
|
-
from
|
20
|
-
from
|
21
|
-
from
|
22
|
-
from
|
23
|
-
from
|
24
|
-
from
|
18
|
+
from nat.builder.builder import Builder
|
19
|
+
from nat.builder.framework_enum import LLMFrameworkEnum
|
20
|
+
from nat.cli.register_workflow import register_llm_client
|
21
|
+
from nat.data_models.retry_mixin import RetryMixin
|
22
|
+
from nat.llm.nim_llm import NIMModelConfig
|
23
|
+
from nat.llm.openai_llm import OpenAIModelConfig
|
24
|
+
from nat.utils.exception_handlers.automatic_retries import patch_with_retry
|
25
25
|
|
26
26
|
|
27
27
|
@register_llm_client(config_type=NIMModelConfig, wrapper_type=LLMFrameworkEnum.AGNO)
|
@@ -25,10 +25,10 @@ from typing import List
|
|
25
25
|
|
26
26
|
from agno.tools import tool
|
27
27
|
|
28
|
-
from
|
29
|
-
from
|
30
|
-
from
|
31
|
-
from
|
28
|
+
from nat.builder.builder import Builder
|
29
|
+
from nat.builder.framework_enum import LLMFrameworkEnum
|
30
|
+
from nat.builder.function import Function
|
31
|
+
from nat.cli.register_workflow import register_tool_wrapper
|
32
32
|
|
33
33
|
logger = logging.getLogger(__name__)
|
34
34
|
|
@@ -297,9 +297,9 @@ def execute_agno_tool(name: str,
|
|
297
297
|
@register_tool_wrapper(wrapper_type=LLMFrameworkEnum.AGNO)
|
298
298
|
def agno_tool_wrapper(name: str, fn: Function, builder: Builder):
|
299
299
|
"""
|
300
|
-
Wraps
|
300
|
+
Wraps a NAT Function to be usable as an Agno tool.
|
301
301
|
|
302
|
-
This wrapper handles the conversion of async
|
302
|
+
This wrapper handles the conversion of async NAT functions to
|
303
303
|
the format expected by Agno tools. It properly handles input schema,
|
304
304
|
descriptions, and async invocation.
|
305
305
|
|
@@ -308,7 +308,7 @@ def agno_tool_wrapper(name: str, fn: Function, builder: Builder):
|
|
308
308
|
name : str
|
309
309
|
The name of the tool
|
310
310
|
fn : Function
|
311
|
-
The
|
311
|
+
The NAT Function to wrap
|
312
312
|
builder : Builder
|
313
313
|
The builder instance
|
314
314
|
|
@@ -18,11 +18,11 @@ import os
|
|
18
18
|
|
19
19
|
from pydantic import Field
|
20
20
|
|
21
|
-
from
|
22
|
-
from
|
23
|
-
from
|
24
|
-
from
|
25
|
-
from
|
21
|
+
from nat.builder.builder import Builder
|
22
|
+
from nat.builder.framework_enum import LLMFrameworkEnum
|
23
|
+
from nat.builder.function_info import FunctionInfo
|
24
|
+
from nat.cli.register_workflow import register_function
|
25
|
+
from nat.data_models.function import FunctionBaseConfig
|
26
26
|
|
27
27
|
logger = logging.getLogger(__name__)
|
28
28
|
|
@@ -44,7 +44,7 @@ async def serp_api_tool(tool_config: SerpApiToolConfig, builder: Builder):
|
|
44
44
|
|
45
45
|
Args:
|
46
46
|
tool_config (SerpApiToolConfig): Configuration for the SerpAPI tool.
|
47
|
-
builder (Builder): The
|
47
|
+
builder (Builder): The NAT builder instance.
|
48
48
|
|
49
49
|
Returns:
|
50
50
|
FunctionInfo: A FunctionInfo object wrapping the SerpAPI search functionality.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nvidia-nat-agno
|
3
|
-
Version: 1.2.
|
4
|
-
Summary: Subpackage for Agno integration in
|
3
|
+
Version: 1.2.0rc6
|
4
|
+
Summary: Subpackage for Agno integration in NeMo Agent toolkit
|
5
5
|
Keywords: ai,rag,agents
|
6
6
|
Classifier: Programming Language :: Python
|
7
7
|
Requires-Python: <3.13,>=3.11
|
8
8
|
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: nvidia-nat
|
9
|
+
Requires-Dist: nvidia-nat==v1.2.0-rc6
|
10
10
|
Requires-Dist: agno~=1.2.3
|
11
11
|
Requires-Dist: openai~=1.66
|
12
12
|
Requires-Dist: google-search-results~=2.4.2
|
@@ -28,7 +28,7 @@ See the License for the specific language governing permissions and
|
|
28
28
|
limitations under the License.
|
29
29
|
-->
|
30
30
|
|
31
|
-

|
32
32
|
|
33
33
|
# NVIDIA NeMo Agent Toolkit Subpackage
|
34
34
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
nat/meta/pypi.md,sha256=tZD7hiOSYWgiAdddD1eIJ8T5ipZwEIjnd8ilgmasdmw,1198
|
2
|
+
nat/plugins/agno/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
nat/plugins/agno/llm.py,sha256=hvPu0-gkRasnWZY5kwHOiA6rZ1ZIGlnaH3nPPfqrFJ8,3434
|
4
|
+
nat/plugins/agno/register.py,sha256=6vC1TjMxo3igqTnEtVFgLEf_jgLYkBfBZxjwqxGng6w,820
|
5
|
+
nat/plugins/agno/tool_wrapper.py,sha256=uClYG-LvRj1OBTMwzMuE40cibLhqVRXSCiqniVQND2Y,15914
|
6
|
+
nat/plugins/agno/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
nat/plugins/agno/tools/register.py,sha256=OCmzR03CHmQHm34ZEascM1dRVh-ALMs2mafDcqLDz6s,775
|
8
|
+
nat/plugins/agno/tools/serp_api_tool.py,sha256=AJQH6-1iEUUrk_nzfZ3zZqutEKhJ_LMOUJi_iol65Sc,4442
|
9
|
+
nvidia_nat_agno-1.2.0rc6.dist-info/METADATA,sha256=ak0G57vAXtMAtPGridIyPbNPrHfXzsrAzO4InQ3Vo3Q,1598
|
10
|
+
nvidia_nat_agno-1.2.0rc6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
+
nvidia_nat_agno-1.2.0rc6.dist-info/entry_points.txt,sha256=qRhuHKj2WmdJkLpbVXpYkdtc2cZdG4LPlBsABG2ImVI,103
|
12
|
+
nvidia_nat_agno-1.2.0rc6.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
13
|
+
nvidia_nat_agno-1.2.0rc6.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
nat
|
@@ -1,13 +0,0 @@
|
|
1
|
-
aiq/meta/pypi.md,sha256=r3EME9Ia3YUpqw1R78wNcQqKdUnngGvv-EhrPOAadss,1209
|
2
|
-
aiq/plugins/agno/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
aiq/plugins/agno/llm.py,sha256=d08EfB4xOFwNh6cgaAoFPBiXVSofazd_puZRK1oO8Zg,3434
|
4
|
-
aiq/plugins/agno/register.py,sha256=6vC1TjMxo3igqTnEtVFgLEf_jgLYkBfBZxjwqxGng6w,820
|
5
|
-
aiq/plugins/agno/tool_wrapper.py,sha256=bWsCdx6IkzOZbvBYC30N5mvGnHNVBScdHji6Mj9amB0,15939
|
6
|
-
aiq/plugins/agno/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
aiq/plugins/agno/tools/register.py,sha256=OCmzR03CHmQHm34ZEascM1dRVh-ALMs2mafDcqLDz6s,775
|
8
|
-
aiq/plugins/agno/tools/serp_api_tool.py,sha256=gTLWwsDmkzmJ6Zp-OzupbwA6t_neSCGrzKdrGQcpIkg,4450
|
9
|
-
nvidia_nat_agno-1.2.0rc5.dist-info/METADATA,sha256=vXGqLNWBK_gbTVaHoVKatQ7cJ-9W8qwEAhtBoBoCZo8,1594
|
10
|
-
nvidia_nat_agno-1.2.0rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
-
nvidia_nat_agno-1.2.0rc5.dist-info/entry_points.txt,sha256=iMjZt0Aziz5vGiuTfSNjy1gWeOj2URFhhKt-gti-9sY,103
|
12
|
-
nvidia_nat_agno-1.2.0rc5.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
|
13
|
-
nvidia_nat_agno-1.2.0rc5.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
aiq
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|