nvidia-nat-semantic-kernel 1.3.0a20250930__py3-none-any.whl → 1.3.0a20251111__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.
- nat/plugins/semantic_kernel/llm.py +2 -4
- {nvidia_nat_semantic_kernel-1.3.0a20250930.dist-info → nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info}/METADATA +10 -2
- nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/RECORD +12 -0
- nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/licenses/LICENSE-3rd-party.txt +5478 -0
- nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/licenses/LICENSE.md +201 -0
- nvidia_nat_semantic_kernel-1.3.0a20250930.dist-info/RECORD +0 -10
- {nvidia_nat_semantic_kernel-1.3.0a20250930.dist-info → nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info}/WHEEL +0 -0
- {nvidia_nat_semantic_kernel-1.3.0a20250930.dist-info → nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_semantic_kernel-1.3.0a20250930.dist-info → nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info}/top_level.txt +0 -0
|
@@ -35,8 +35,6 @@ ModelType = TypeVar("ModelType")
|
|
|
35
35
|
def _patch_llm_based_on_config(client: ModelType, llm_config: LLMBaseConfig) -> ModelType:
|
|
36
36
|
|
|
37
37
|
from semantic_kernel.contents.chat_history import ChatHistory
|
|
38
|
-
from semantic_kernel.contents.chat_message_content import ChatMessageContent
|
|
39
|
-
from semantic_kernel.contents.utils.author_role import AuthorRole
|
|
40
38
|
|
|
41
39
|
class SemanticKernelThinkingInjector(BaseThinkingInjector):
|
|
42
40
|
|
|
@@ -61,8 +59,8 @@ def _patch_llm_based_on_config(client: ModelType, llm_config: LLMBaseConfig) ->
|
|
|
61
59
|
return FunctionArgumentWrapper(new_messages, *args, **kwargs)
|
|
62
60
|
else:
|
|
63
61
|
new_messages = ChatHistory(
|
|
64
|
-
|
|
65
|
-
system_message=chat_history.system_message,
|
|
62
|
+
chat_history.messages,
|
|
63
|
+
system_message=f"{self.system_prompt}\n\n{chat_history.system_message}",
|
|
66
64
|
)
|
|
67
65
|
return FunctionArgumentWrapper(new_messages, *args, **kwargs)
|
|
68
66
|
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-semantic-kernel
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.0a20251111
|
|
4
4
|
Summary: Subpackage for Semantic-Kernel integration in NeMo Agent toolkit
|
|
5
|
+
Author: NVIDIA Corporation
|
|
6
|
+
Maintainer: NVIDIA Corporation
|
|
7
|
+
License: Apache-2.0
|
|
8
|
+
Project-URL: documentation, https://docs.nvidia.com/nemo/agent-toolkit/latest/
|
|
9
|
+
Project-URL: source, https://github.com/NVIDIA/NeMo-Agent-Toolkit
|
|
5
10
|
Keywords: ai,rag,agents
|
|
6
11
|
Classifier: Programming Language :: Python
|
|
7
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -9,8 +14,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
9
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
10
15
|
Requires-Python: <3.14,>=3.11
|
|
11
16
|
Description-Content-Type: text/markdown
|
|
12
|
-
|
|
17
|
+
License-File: LICENSE-3rd-party.txt
|
|
18
|
+
License-File: LICENSE.md
|
|
19
|
+
Requires-Dist: nvidia-nat==v1.3.0a20251111
|
|
13
20
|
Requires-Dist: semantic-kernel~=1.35
|
|
21
|
+
Dynamic: license-file
|
|
14
22
|
|
|
15
23
|
<!--
|
|
16
24
|
SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
nat/meta/pypi.md,sha256=rFmwVds3akmoz0TE1SOjCjCUbB6SWfaRex_Vi5OfUAk,1116
|
|
2
|
+
nat/plugins/semantic_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
nat/plugins/semantic_kernel/llm.py,sha256=z_Qeky9kndYsDEbJaHHALe6hcT1dc1NiBJTpLxif6_c,4622
|
|
4
|
+
nat/plugins/semantic_kernel/register.py,sha256=_R3bhGmz___696_NwyIcpw3koMBiWqIFoWEFJ0VAgXs,831
|
|
5
|
+
nat/plugins/semantic_kernel/tool_wrapper.py,sha256=N6WGEdveLYFKtOKjxEMMNT5vG8QJUoSddtswQ1fPEzQ,7121
|
|
6
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
7
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
8
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/METADATA,sha256=4ik8uvw-XCMOru-uLIHhoLiAa0vd5Icn8PxibP2luL8,1946
|
|
9
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/entry_points.txt,sha256=0jCtQBAn5Ohs9XoVCF34WvNCV33OwAsH8bjFzgw_ByM,76
|
|
11
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
12
|
+
nvidia_nat_semantic_kernel-1.3.0a20251111.dist-info/RECORD,,
|