aiqtoolkit-semantic-kernel 1.2.0.dev0__py3-none-any.whl → 1.2.0rc2__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.

Potentially problematic release.


This version of aiqtoolkit-semantic-kernel might be problematic. Click here for more details.

aiq/meta/pypi.md CHANGED
@@ -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
- ![NVIDIA Agent Intelligence Toolkit](https://media.githubusercontent.com/media/NVIDIA/AIQToolkit/refs/heads/main/docs/source/_static/aiqtoolkit_banner.png "AIQ toolkit banner image")
18
+ ![NVIDIA Agent Intelligence Toolkit](https://media.githubusercontent.com/media/NVIDIA/NeMo-Agent-Toolkit/refs/heads/main/docs/source/_static/aiqtoolkit_banner.png "AIQ toolkit banner image")
19
19
 
20
20
  # NVIDIA Agent Intelligence Toolkit Subpackage
21
21
  This is a subpackage for Semantic-Kernel integration in AIQ toolkit.
@@ -16,7 +16,9 @@
16
16
  from aiq.builder.builder import Builder
17
17
  from aiq.builder.framework_enum import LLMFrameworkEnum
18
18
  from aiq.cli.register_workflow import register_llm_client
19
+ from aiq.data_models.retry_mixin import RetryMixin
19
20
  from aiq.llm.openai_llm import OpenAIModelConfig
21
+ from aiq.utils.exception_handlers.automatic_retries import patch_with_retry
20
22
 
21
23
 
22
24
  @register_llm_client(config_type=OpenAIModelConfig, wrapper_type=LLMFrameworkEnum.SEMANTIC_KERNEL)
@@ -30,4 +32,10 @@ async def openai_semantic_kernel(llm_config: OpenAIModelConfig, builder: Builder
30
32
 
31
33
  llm = OpenAIChatCompletion(ai_model_id=config_obj.get("model"))
32
34
 
35
+ if isinstance(llm_config, RetryMixin):
36
+ llm = patch_with_retry(llm,
37
+ retries=llm_config.num_retries,
38
+ retry_codes=llm_config.retry_on_status_codes,
39
+ retry_on_messages=llm_config.retry_on_errors)
40
+
33
41
  yield llm
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiqtoolkit-semantic-kernel
3
- Version: 1.2.0.dev0
3
+ Version: 1.2.0rc2
4
4
  Summary: Subpackage for Semantic-Kernel integration in AIQtoolkit
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: aiqtoolkit==v1.2.0-dev
9
+ Requires-Dist: aiqtoolkit==v1.2.0-rc2
10
10
  Requires-Dist: semantic-kernel~=1.24.0
11
11
 
12
12
  <!--
@@ -26,7 +26,7 @@ See the License for the specific language governing permissions and
26
26
  limitations under the License.
27
27
  -->
28
28
 
29
- ![NVIDIA Agent Intelligence Toolkit](https://media.githubusercontent.com/media/NVIDIA/AIQToolkit/refs/heads/main/docs/source/_static/aiqtoolkit_banner.png "AIQ toolkit banner image")
29
+ ![NVIDIA Agent Intelligence Toolkit](https://media.githubusercontent.com/media/NVIDIA/NeMo-Agent-Toolkit/refs/heads/main/docs/source/_static/aiqtoolkit_banner.png "AIQ toolkit banner image")
30
30
 
31
31
  # NVIDIA Agent Intelligence Toolkit Subpackage
32
32
  This is a subpackage for Semantic-Kernel integration in AIQ toolkit.
@@ -0,0 +1,10 @@
1
+ aiq/meta/pypi.md,sha256=Fz0ye_uf6risEpiRBtYo301nUqmAuVCSquYhJMZQlzQ,1092
2
+ aiq/plugins/semantic_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ aiq/plugins/semantic_kernel/llm.py,sha256=l13R5Wv50iQ8OQ2juAFCoPoll6ZtIbojTnWjyGjepGI,1744
4
+ aiq/plugins/semantic_kernel/register.py,sha256=RKXyuaXy4ftA5IL2RrCofIBjpie_-2lP9YZoHAiyPU0,863
5
+ aiq/plugins/semantic_kernel/tool_wrapper.py,sha256=miogE5cp3o5H-KxaKp1dMqqJZnV-UMsYb1PQ4ox-xKY,7175
6
+ aiqtoolkit_semantic_kernel-1.2.0rc2.dist-info/METADATA,sha256=QoqT_YcBVIoWX7D1cNVZwXYcxVzezcqSSnYVndilcRI,1446
7
+ aiqtoolkit_semantic_kernel-1.2.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ aiqtoolkit_semantic_kernel-1.2.0rc2.dist-info/entry_points.txt,sha256=qGCOsf9tkWvc5EUonXrUI96cDrTJ3qoueyy3DgClK3M,76
9
+ aiqtoolkit_semantic_kernel-1.2.0rc2.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
10
+ aiqtoolkit_semantic_kernel-1.2.0rc2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- aiq/meta/pypi.md,sha256=-z3ZliaV40QQZ7rJMQt0IWSRo3udWZgAkQMCHjU1tXY,1084
2
- aiq/plugins/semantic_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- aiq/plugins/semantic_kernel/llm.py,sha256=WzzdOZXgWEUFzmfgfgLSTFjbvv0GDlaKIiyDChjANnQ,1320
4
- aiq/plugins/semantic_kernel/register.py,sha256=RKXyuaXy4ftA5IL2RrCofIBjpie_-2lP9YZoHAiyPU0,863
5
- aiq/plugins/semantic_kernel/tool_wrapper.py,sha256=miogE5cp3o5H-KxaKp1dMqqJZnV-UMsYb1PQ4ox-xKY,7175
6
- aiqtoolkit_semantic_kernel-1.2.0.dev0.dist-info/METADATA,sha256=3LuLrAx2o3Zl3ctiz0E8deSw-_N_oFqPbjL-3K-9-I4,1440
7
- aiqtoolkit_semantic_kernel-1.2.0.dev0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
8
- aiqtoolkit_semantic_kernel-1.2.0.dev0.dist-info/entry_points.txt,sha256=qGCOsf9tkWvc5EUonXrUI96cDrTJ3qoueyy3DgClK3M,76
9
- aiqtoolkit_semantic_kernel-1.2.0.dev0.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
10
- aiqtoolkit_semantic_kernel-1.2.0.dev0.dist-info/RECORD,,