nvidia-nat 1.2.0rc7__py3-none-any.whl → 1.2rc9__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/__init__.py +66 -0
- nat/object_store/models.py +2 -0
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/METADATA +8 -6
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/RECORD +9 -8
- nvidia_nat-1.2rc9.dist-info/licenses/LICENSE-3rd-party.txt +5478 -0
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/top_level.txt +1 -0
- nvidia_nat-1.2.0rc7.dist-info/licenses/LICENSE-3rd-party.txt +0 -3686
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/WHEEL +0 -0
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/entry_points.txt +0 -0
- {nvidia_nat-1.2.0rc7.dist-info → nvidia_nat-1.2rc9.dist-info}/licenses/LICENSE.md +0 -0
aiq/__init__.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
import sys
|
|
17
|
+
import importlib
|
|
18
|
+
import importlib.abc
|
|
19
|
+
import importlib.util
|
|
20
|
+
import warnings
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CompatFinder(importlib.abc.MetaPathFinder):
|
|
24
|
+
|
|
25
|
+
def __init__(self, alias_prefix, target_prefix):
|
|
26
|
+
self.alias_prefix = alias_prefix
|
|
27
|
+
self.target_prefix = target_prefix
|
|
28
|
+
|
|
29
|
+
def find_spec(self, fullname, path, target=None): # pylint: disable=unused-argument
|
|
30
|
+
if fullname == self.alias_prefix or fullname.startswith(self.alias_prefix + "."):
|
|
31
|
+
# Map aiq.something -> nat.something
|
|
32
|
+
target_name = self.target_prefix + fullname[len(self.alias_prefix):]
|
|
33
|
+
spec = importlib.util.find_spec(target_name)
|
|
34
|
+
if spec is None:
|
|
35
|
+
return None
|
|
36
|
+
# Wrap the loader so it loads under the alias name
|
|
37
|
+
return importlib.util.spec_from_loader(fullname, CompatLoader(fullname, target_name))
|
|
38
|
+
return None
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class CompatLoader(importlib.abc.Loader):
|
|
42
|
+
|
|
43
|
+
def __init__(self, alias_name, target_name):
|
|
44
|
+
self.alias_name = alias_name
|
|
45
|
+
self.target_name = target_name
|
|
46
|
+
|
|
47
|
+
def create_module(self, spec):
|
|
48
|
+
# Reuse the actual module so there's only one instance
|
|
49
|
+
target_module = importlib.import_module(self.target_name)
|
|
50
|
+
sys.modules[self.alias_name] = target_module
|
|
51
|
+
return target_module
|
|
52
|
+
|
|
53
|
+
def exec_module(self, module):
|
|
54
|
+
# Nothing to execute since the target is already loaded
|
|
55
|
+
pass
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# Register the compatibility finder
|
|
59
|
+
sys.meta_path.insert(0, CompatFinder("aiq", "nat"))
|
|
60
|
+
|
|
61
|
+
warnings.warn(
|
|
62
|
+
"!!! The 'aiq' namespace is deprecated and will be removed in a future release. "
|
|
63
|
+
"Please use the 'nat' namespace instead.",
|
|
64
|
+
DeprecationWarning,
|
|
65
|
+
stacklevel=2,
|
|
66
|
+
)
|
nat/object_store/models.py
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
from pydantic import BaseModel
|
|
17
|
+
from pydantic import ConfigDict
|
|
17
18
|
from pydantic import Field
|
|
18
19
|
|
|
19
20
|
|
|
@@ -30,6 +31,7 @@ class ObjectStoreItem(BaseModel):
|
|
|
30
31
|
metadata : dict[str, str] | None
|
|
31
32
|
Metadata providing context and utility for management operations.
|
|
32
33
|
"""
|
|
34
|
+
model_config = ConfigDict(ser_json_bytes="base64", val_json_bytes="base64")
|
|
33
35
|
|
|
34
36
|
data: bytes = Field(description="The data to store in the object store.")
|
|
35
37
|
content_type: str | None = Field(description="The content type of the data.", default=None)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2rc9
|
|
4
4
|
Summary: NVIDIA NeMo Agent toolkit
|
|
5
5
|
Author: NVIDIA Corporation
|
|
6
6
|
Maintainer: NVIDIA Corporation
|
|
@@ -237,12 +237,14 @@ Requires-Dist: rich~=13.9
|
|
|
237
237
|
Requires-Dist: tabulate~=0.9
|
|
238
238
|
Requires-Dist: uvicorn[standard]~=0.32.0
|
|
239
239
|
Requires-Dist: wikipedia~=1.4
|
|
240
|
+
Provides-Extra: all
|
|
241
|
+
Requires-Dist: nvidia-nat-all; extra == "all"
|
|
240
242
|
Provides-Extra: agno
|
|
241
243
|
Requires-Dist: nvidia-nat-agno; extra == "agno"
|
|
242
244
|
Provides-Extra: crewai
|
|
243
245
|
Requires-Dist: nvidia-nat-crewai; extra == "crewai"
|
|
244
246
|
Provides-Extra: ingestion
|
|
245
|
-
Requires-Dist:
|
|
247
|
+
Requires-Dist: nvidia-nat-ingestion; extra == "ingestion"
|
|
246
248
|
Provides-Extra: langchain
|
|
247
249
|
Requires-Dist: nvidia-nat-langchain; extra == "langchain"
|
|
248
250
|
Provides-Extra: llama-index
|
|
@@ -253,6 +255,8 @@ Provides-Extra: opentelemetry
|
|
|
253
255
|
Requires-Dist: nvidia-nat-opentelemetry; extra == "opentelemetry"
|
|
254
256
|
Provides-Extra: phoenix
|
|
255
257
|
Requires-Dist: nvidia-nat-phoenix; extra == "phoenix"
|
|
258
|
+
Provides-Extra: profiling
|
|
259
|
+
Requires-Dist: nvidia-nat-profiling; extra == "profiling"
|
|
256
260
|
Provides-Extra: ragaai
|
|
257
261
|
Requires-Dist: nvidia-nat-ragaai; extra == "ragaai"
|
|
258
262
|
Provides-Extra: mysql
|
|
@@ -278,10 +282,12 @@ Requires-Dist: nat_alert_triage_agent; extra == "examples"
|
|
|
278
282
|
Requires-Dist: nat_automated_description_generation; extra == "examples"
|
|
279
283
|
Requires-Dist: nat_email_phishing_analyzer; extra == "examples"
|
|
280
284
|
Requires-Dist: nat_multi_frameworks; extra == "examples"
|
|
285
|
+
Requires-Dist: nat_first_search_agent; extra == "examples"
|
|
281
286
|
Requires-Dist: nat_plot_charts; extra == "examples"
|
|
282
287
|
Requires-Dist: nat_por_to_jiratickets; extra == "examples"
|
|
283
288
|
Requires-Dist: nat_profiler_agent; extra == "examples"
|
|
284
289
|
Requires-Dist: nat_redact_pii; extra == "examples"
|
|
290
|
+
Requires-Dist: nat_retail_sales_agent; extra == "examples"
|
|
285
291
|
Requires-Dist: nat_semantic_kernel_demo; extra == "examples"
|
|
286
292
|
Requires-Dist: nat_simple_auth; extra == "examples"
|
|
287
293
|
Requires-Dist: nat_simple_web_query; extra == "examples"
|
|
@@ -295,10 +301,6 @@ Requires-Dist: nat_simple_calculator_hitl; extra == "examples"
|
|
|
295
301
|
Requires-Dist: nat_simple_rag; extra == "examples"
|
|
296
302
|
Requires-Dist: nat_swe_bench; extra == "examples"
|
|
297
303
|
Requires-Dist: nat_user_report; extra == "examples"
|
|
298
|
-
Provides-Extra: profiling
|
|
299
|
-
Requires-Dist: matplotlib~=3.9; extra == "profiling"
|
|
300
|
-
Requires-Dist: prefixspan~=0.5.2; extra == "profiling"
|
|
301
|
-
Requires-Dist: scikit-learn~=1.6; extra == "profiling"
|
|
302
304
|
Provides-Extra: gunicorn
|
|
303
305
|
Requires-Dist: gunicorn~=23.0; extra == "gunicorn"
|
|
304
306
|
Dynamic: license-file
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
aiq/__init__.py,sha256=E9vuQX0dCZIALhOg360sRLO53f6NXPgMTv3X1sh8WAM,2376
|
|
1
2
|
nat/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
3
|
nat/agent/base.py,sha256=vKD3q6RiRdXYlmsZOsB9DB0cVfSMNByhjn7uwp8TxGw,9094
|
|
3
4
|
nat/agent/dual_node.py,sha256=EOYpYzhaY-m1t2W3eiQrBjSfNjYMDttAwtzEEEcYP4s,2353
|
|
@@ -248,7 +249,7 @@ nat/meta/pypi.md,sha256=6oXSSS1rmCZGbW32_mGq0qrMh0g6aSe-_E9QwIle4Og,4524
|
|
|
248
249
|
nat/object_store/__init__.py,sha256=81UKtZ6qcc__hfNjMnEYBHE16k7XBXX6R5IJNg1zfRs,831
|
|
249
250
|
nat/object_store/in_memory_object_store.py,sha256=98UgQK2YdXTTQjBfQS-mjBCCugm1XUB7DZCFS8xe9yQ,2644
|
|
250
251
|
nat/object_store/interfaces.py,sha256=5NbsE9TccihOf5ScG04hE1eNOaiajOZIUOeK_Kvukk8,2519
|
|
251
|
-
nat/object_store/models.py,sha256=
|
|
252
|
+
nat/object_store/models.py,sha256=xsch4o3GzEFxVbFEYBfr92lEMZk5XHHr224WZGsQUNM,1537
|
|
252
253
|
nat/object_store/register.py,sha256=M93V17RxBXzGZaAmWboDw-S2XP7lrMEyzdlxXqC0f30,788
|
|
253
254
|
nat/observability/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
|
|
254
255
|
nat/observability/exporter_manager.py,sha256=5rJlgcdXIV3-EFkxVJv275V_ZGw84P9Th8LFuIZrmYo,13851
|
|
@@ -425,10 +426,10 @@ nat/utils/reactive/base/observer_base.py,sha256=UAlyAY_ky4q2t0P81RVFo2Bs_R7z5Nde
|
|
|
425
426
|
nat/utils/reactive/base/subject_base.py,sha256=UQOxlkZTIeeyYmG5qLtDpNf_63Y7p-doEeUA08_R8ME,2521
|
|
426
427
|
nat/utils/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
427
428
|
nat/utils/settings/global_settings.py,sha256=CYHQX7F6MDR18vsVFTrEySpS9cBufuVGTUqZm9lREFs,7446
|
|
428
|
-
nvidia_nat-1.
|
|
429
|
-
nvidia_nat-1.
|
|
430
|
-
nvidia_nat-1.
|
|
431
|
-
nvidia_nat-1.
|
|
432
|
-
nvidia_nat-1.
|
|
433
|
-
nvidia_nat-1.
|
|
434
|
-
nvidia_nat-1.
|
|
429
|
+
nvidia_nat-1.2rc9.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
430
|
+
nvidia_nat-1.2rc9.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
431
|
+
nvidia_nat-1.2rc9.dist-info/METADATA,sha256=LoxwV8a37Yb459jgDXB4Yg97s2Mh_uw1wTgNNpfeKjk,21776
|
|
432
|
+
nvidia_nat-1.2rc9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
433
|
+
nvidia_nat-1.2rc9.dist-info/entry_points.txt,sha256=FNh4pZVSe_61s29zdks66lmXBPtsnko8KSZ4ffv7WVE,653
|
|
434
|
+
nvidia_nat-1.2rc9.dist-info/top_level.txt,sha256=lgJWLkigiVZuZ_O1nxVnD_ziYBwgpE2OStdaCduMEGc,8
|
|
435
|
+
nvidia_nat-1.2rc9.dist-info/RECORD,,
|