nvidia-nat 1.2.0rc5__py3-none-any.whl → 1.2.0rc7__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.
Files changed (441) hide show
  1. {aiq → nat}/agent/react_agent/agent.py +12 -12
  2. {aiq → nat}/agent/react_agent/register.py +20 -20
  3. {aiq → nat}/agent/reasoning_agent/reasoning_agent.py +14 -14
  4. {aiq → nat}/agent/rewoo_agent/agent.py +7 -7
  5. {aiq → nat}/agent/rewoo_agent/prompt.py +11 -12
  6. {aiq → nat}/agent/rewoo_agent/register.py +47 -49
  7. {aiq → nat}/agent/tool_calling_agent/agent.py +4 -4
  8. {aiq → nat}/agent/tool_calling_agent/register.py +8 -8
  9. {aiq → nat}/authentication/api_key/api_key_auth_provider.py +6 -6
  10. {aiq → nat}/authentication/api_key/api_key_auth_provider_config.py +5 -5
  11. {aiq → nat}/authentication/api_key/register.py +4 -4
  12. {aiq → nat}/authentication/http_basic_auth/http_basic_auth_provider.py +10 -10
  13. {aiq → nat}/authentication/http_basic_auth/register.py +4 -4
  14. {aiq → nat}/authentication/interfaces.py +6 -6
  15. {aiq → nat}/authentication/oauth2/oauth2_auth_code_flow_provider.py +11 -11
  16. {aiq → nat}/authentication/oauth2/oauth2_auth_code_flow_provider_config.py +1 -1
  17. {aiq → nat}/authentication/oauth2/register.py +4 -4
  18. {aiq → nat}/authentication/register.py +3 -3
  19. {aiq → nat}/builder/builder.py +30 -30
  20. {aiq → nat}/builder/component_utils.py +23 -23
  21. {aiq → nat}/builder/context.py +35 -29
  22. {aiq → nat}/builder/embedder.py +1 -1
  23. {aiq → nat}/builder/eval_builder.py +13 -13
  24. {aiq → nat}/builder/evaluator.py +3 -3
  25. {aiq → nat}/builder/front_end.py +11 -11
  26. {aiq → nat}/builder/function.py +8 -8
  27. {aiq → nat}/builder/function_base.py +6 -6
  28. {aiq → nat}/builder/function_info.py +3 -3
  29. {aiq → nat}/builder/intermediate_step_manager.py +13 -13
  30. {aiq → nat}/builder/llm.py +1 -1
  31. {aiq → nat}/builder/retriever.py +1 -1
  32. {aiq → nat}/builder/user_interaction_manager.py +14 -10
  33. {aiq → nat}/builder/workflow.py +25 -25
  34. {aiq → nat}/builder/workflow_builder.py +86 -86
  35. {aiq → nat}/cli/cli_utils/config_override.py +2 -2
  36. {aiq → nat}/cli/cli_utils/validation.py +4 -4
  37. {aiq → nat}/cli/commands/configure/channel/add.py +2 -2
  38. {aiq → nat}/cli/commands/configure/channel/channel.py +4 -6
  39. {aiq → nat}/cli/commands/configure/channel/remove.py +2 -2
  40. {aiq → nat}/cli/commands/configure/channel/update.py +2 -2
  41. {aiq → nat}/cli/commands/configure/configure.py +3 -3
  42. {aiq → nat}/cli/commands/evaluate.py +3 -3
  43. {aiq → nat}/cli/commands/info/info.py +5 -7
  44. {aiq → nat}/cli/commands/info/list_channels.py +1 -1
  45. {aiq → nat}/cli/commands/info/list_components.py +14 -14
  46. {aiq → nat}/cli/commands/info/list_mcp.py +106 -15
  47. {aiq → nat}/cli/commands/registry/publish.py +9 -9
  48. {aiq → nat}/cli/commands/registry/pull.py +10 -10
  49. {aiq → nat}/cli/commands/registry/registry.py +5 -7
  50. {aiq → nat}/cli/commands/registry/remove.py +8 -8
  51. {aiq → nat}/cli/commands/registry/search.py +15 -15
  52. {aiq → nat}/cli/commands/sizing/calc.py +3 -3
  53. {aiq → nat}/cli/commands/start.py +15 -15
  54. {aiq → nat}/cli/commands/uninstall.py +5 -5
  55. {aiq → nat}/cli/commands/validate.py +1 -1
  56. {aiq → nat}/cli/commands/workflow/templates/pyproject.toml.j2 +4 -4
  57. {aiq → nat}/cli/commands/workflow/templates/workflow.py.j2 +4 -4
  58. {aiq → nat}/cli/commands/workflow/workflow.py +3 -3
  59. {aiq → nat}/cli/commands/workflow/workflow_commands.py +15 -11
  60. {aiq → nat}/cli/entrypoint.py +6 -6
  61. {aiq → nat}/cli/main.py +15 -2
  62. {aiq → nat}/cli/register_workflow.py +70 -70
  63. {aiq → nat}/cli/type_registry.py +82 -82
  64. {aiq → nat}/data_models/api_server.py +121 -99
  65. {aiq → nat}/data_models/authentication.py +2 -2
  66. {aiq → nat}/data_models/component.py +5 -1
  67. {aiq → nat}/data_models/component_ref.py +12 -12
  68. {aiq → nat}/data_models/config.py +17 -13
  69. {aiq → nat}/data_models/dataset_handler.py +58 -12
  70. {aiq → nat}/data_models/discovery_metadata.py +36 -66
  71. {aiq → nat}/data_models/evaluate.py +9 -9
  72. {aiq → nat}/data_models/intermediate_step.py +7 -7
  73. {aiq → nat}/data_models/retriever.py +2 -2
  74. {aiq → nat}/data_models/span.py +10 -7
  75. {aiq → nat}/data_models/step_adaptor.py +1 -1
  76. {aiq → nat}/data_models/telemetry_exporter.py +2 -2
  77. {aiq → nat}/embedder/nim_embedder.py +5 -5
  78. {aiq → nat}/embedder/openai_embedder.py +5 -5
  79. {aiq/retriever → nat/embedder}/register.py +2 -2
  80. {aiq → nat}/eval/config.py +4 -4
  81. {aiq → nat}/eval/dataset_handler/dataset_downloader.py +1 -1
  82. {aiq → nat}/eval/dataset_handler/dataset_filter.py +1 -1
  83. {aiq → nat}/eval/dataset_handler/dataset_handler.py +127 -14
  84. {aiq → nat}/eval/evaluate.py +38 -34
  85. {aiq → nat}/eval/evaluator/base_evaluator.py +9 -5
  86. {aiq → nat}/eval/evaluator/evaluator_model.py +4 -4
  87. {aiq → nat}/eval/intermediate_step_adapter.py +2 -2
  88. {aiq → nat}/eval/rag_evaluator/evaluate.py +8 -8
  89. {aiq → nat}/eval/rag_evaluator/register.py +7 -7
  90. {aiq → nat}/eval/remote_workflow.py +8 -8
  91. {aiq → nat}/eval/runners/config.py +2 -2
  92. {aiq → nat}/eval/runners/multi_eval_runner.py +4 -4
  93. {aiq → nat}/eval/runtime_event_subscriber.py +3 -3
  94. {aiq → nat}/eval/swe_bench_evaluator/evaluate.py +6 -6
  95. {aiq → nat}/eval/swe_bench_evaluator/register.py +4 -4
  96. {aiq → nat}/eval/trajectory_evaluator/evaluate.py +5 -5
  97. {aiq → nat}/eval/trajectory_evaluator/register.py +5 -5
  98. {aiq → nat}/eval/tunable_rag_evaluator/evaluate.py +3 -3
  99. {aiq → nat}/eval/tunable_rag_evaluator/register.py +6 -6
  100. {aiq → nat}/eval/utils/output_uploader.py +1 -1
  101. {aiq → nat}/eval/utils/weave_eval.py +6 -6
  102. {aiq → nat}/experimental/decorators/experimental_warning_decorator.py +6 -2
  103. {aiq → nat}/experimental/test_time_compute/editing/iterative_plan_refinement_editor.py +10 -10
  104. {aiq → nat}/experimental/test_time_compute/editing/llm_as_a_judge_editor.py +10 -10
  105. {aiq → nat}/experimental/test_time_compute/editing/motivation_aware_summarization.py +10 -10
  106. {aiq → nat}/experimental/test_time_compute/functions/execute_score_select_function.py +10 -10
  107. {aiq → nat}/experimental/test_time_compute/functions/plan_select_execute_function.py +17 -17
  108. aiq/experimental/test_time_compute/functions/its_tool_orchestration_function.py → nat/experimental/test_time_compute/functions/ttc_tool_orchestration_function.py +12 -12
  109. aiq/experimental/test_time_compute/functions/its_tool_wrapper_function.py → nat/experimental/test_time_compute/functions/ttc_tool_wrapper_function.py +10 -10
  110. {aiq → nat}/experimental/test_time_compute/models/editor_config.py +2 -2
  111. {aiq → nat}/experimental/test_time_compute/models/scoring_config.py +2 -2
  112. {aiq → nat}/experimental/test_time_compute/models/search_config.py +2 -2
  113. {aiq → nat}/experimental/test_time_compute/models/selection_config.py +2 -2
  114. {aiq → nat}/experimental/test_time_compute/models/strategy_base.py +4 -4
  115. {aiq → nat}/experimental/test_time_compute/register.py +2 -2
  116. {aiq → nat}/experimental/test_time_compute/scoring/llm_based_agent_scorer.py +11 -11
  117. {aiq → nat}/experimental/test_time_compute/scoring/llm_based_plan_scorer.py +11 -11
  118. {aiq → nat}/experimental/test_time_compute/scoring/motivation_aware_scorer.py +10 -10
  119. {aiq → nat}/experimental/test_time_compute/search/multi_llm_planner.py +10 -10
  120. {aiq → nat}/experimental/test_time_compute/search/multi_query_retrieval_search.py +10 -10
  121. {aiq → nat}/experimental/test_time_compute/search/single_shot_multi_plan_planner.py +11 -11
  122. {aiq → nat}/experimental/test_time_compute/selection/best_of_n_selector.py +7 -7
  123. {aiq → nat}/experimental/test_time_compute/selection/llm_based_agent_output_selector.py +11 -11
  124. {aiq → nat}/experimental/test_time_compute/selection/llm_based_output_merging_selector.py +11 -11
  125. {aiq → nat}/experimental/test_time_compute/selection/llm_based_plan_selector.py +11 -11
  126. {aiq → nat}/experimental/test_time_compute/selection/threshold_selector.py +7 -7
  127. {aiq → nat}/front_ends/console/authentication_flow_handler.py +6 -6
  128. {aiq → nat}/front_ends/console/console_front_end_config.py +2 -2
  129. {aiq → nat}/front_ends/console/console_front_end_plugin.py +9 -9
  130. {aiq → nat}/front_ends/console/register.py +5 -5
  131. {aiq → nat}/front_ends/fastapi/auth_flow_handlers/http_flow_handler.py +4 -4
  132. {aiq → nat}/front_ends/fastapi/auth_flow_handlers/websocket_flow_handler.py +6 -6
  133. {aiq → nat}/front_ends/fastapi/fastapi_front_end_config.py +22 -15
  134. {aiq → nat}/front_ends/fastapi/fastapi_front_end_plugin.py +10 -10
  135. {aiq → nat}/front_ends/fastapi/fastapi_front_end_plugin_worker.py +110 -115
  136. {aiq → nat}/front_ends/fastapi/intermediate_steps_subscriber.py +10 -10
  137. {aiq → nat}/front_ends/fastapi/main.py +8 -8
  138. {aiq → nat}/front_ends/fastapi/message_handler.py +58 -36
  139. {aiq → nat}/front_ends/fastapi/message_validator.py +55 -48
  140. {aiq → nat}/front_ends/fastapi/register.py +5 -5
  141. {aiq → nat}/front_ends/fastapi/response_helpers.py +26 -26
  142. {aiq → nat}/front_ends/fastapi/step_adaptor.py +35 -37
  143. {aiq → nat}/front_ends/mcp/mcp_front_end_config.py +12 -8
  144. nat/front_ends/mcp/mcp_front_end_plugin.py +81 -0
  145. nat/front_ends/mcp/mcp_front_end_plugin_worker.py +143 -0
  146. {aiq → nat}/front_ends/mcp/register.py +5 -5
  147. {aiq → nat}/front_ends/mcp/tool_converter.py +20 -21
  148. {aiq → nat}/front_ends/simple_base/simple_front_end_plugin_base.py +6 -6
  149. {aiq → nat}/llm/aws_bedrock_llm.py +5 -5
  150. {aiq → nat}/llm/nim_llm.py +5 -5
  151. {aiq → nat}/llm/openai_llm.py +5 -5
  152. {aiq → nat}/memory/__init__.py +2 -2
  153. nat/meta/pypi.md +58 -0
  154. {aiq → nat}/object_store/__init__.py +2 -2
  155. {aiq → nat}/object_store/in_memory_object_store.py +6 -6
  156. {aiq → nat}/observability/exporter/base_exporter.py +9 -9
  157. {aiq → nat}/observability/exporter/exporter.py +1 -1
  158. {aiq → nat}/observability/exporter/file_exporter.py +6 -6
  159. {aiq → nat}/observability/exporter/processing_exporter.py +9 -9
  160. {aiq → nat}/observability/exporter/raw_exporter.py +4 -4
  161. {aiq → nat}/observability/exporter/span_exporter.py +57 -34
  162. {aiq → nat}/observability/exporter_manager.py +6 -6
  163. {aiq → nat}/observability/mixin/file_mixin.py +2 -2
  164. {aiq → nat}/observability/processor/batching_processor.py +1 -1
  165. {aiq → nat}/observability/processor/callback_processor.py +1 -1
  166. {aiq → nat}/observability/processor/intermediate_step_serializer.py +4 -4
  167. {aiq → nat}/observability/processor/processor.py +1 -1
  168. {aiq → nat}/observability/register.py +7 -7
  169. {aiq → nat}/profiler/calc/calc_runner.py +18 -18
  170. {aiq → nat}/profiler/calc/calculations.py +3 -3
  171. {aiq → nat}/profiler/calc/plot.py +2 -2
  172. {aiq → nat}/profiler/callbacks/agno_callback_handler.py +14 -14
  173. {aiq → nat}/profiler/callbacks/langchain_callback_handler.py +11 -11
  174. {aiq → nat}/profiler/callbacks/llama_index_callback_handler.py +12 -12
  175. {aiq → nat}/profiler/callbacks/semantic_kernel_callback_handler.py +11 -11
  176. {aiq → nat}/profiler/data_models.py +2 -2
  177. {aiq → nat}/profiler/decorators/framework_wrapper.py +6 -6
  178. {aiq → nat}/profiler/decorators/function_tracking.py +10 -10
  179. {aiq → nat}/profiler/forecasting/model_trainer.py +5 -5
  180. {aiq → nat}/profiler/forecasting/models/linear_model.py +5 -4
  181. {aiq → nat}/profiler/forecasting/models/random_forest_regressor.py +5 -4
  182. {aiq → nat}/profiler/inference_optimization/bottleneck_analysis/nested_stack_analysis.py +7 -7
  183. {aiq → nat}/profiler/inference_optimization/bottleneck_analysis/simple_stack_analysis.py +4 -4
  184. {aiq → nat}/profiler/inference_optimization/experimental/concurrency_spike_analysis.py +6 -6
  185. {aiq → nat}/profiler/inference_optimization/experimental/prefix_span_analysis.py +6 -6
  186. {aiq → nat}/profiler/inference_optimization/llm_metrics.py +2 -2
  187. {aiq → nat}/profiler/inference_optimization/prompt_caching.py +5 -5
  188. {aiq → nat}/profiler/inference_optimization/token_uniqueness.py +4 -4
  189. {aiq → nat}/profiler/inference_optimization/workflow_runtimes.py +3 -3
  190. {aiq → nat}/profiler/intermediate_property_adapter.py +3 -3
  191. {aiq → nat}/profiler/profile_runner.py +17 -17
  192. {aiq → nat}/profiler/utils.py +4 -4
  193. {aiq → nat}/registry_handlers/local/local_handler.py +19 -19
  194. {aiq → nat}/registry_handlers/local/register_local.py +4 -4
  195. {aiq → nat}/registry_handlers/metadata_factory.py +7 -7
  196. {aiq → nat}/registry_handlers/package_utils.py +37 -33
  197. {aiq → nat}/registry_handlers/pypi/pypi_handler.py +21 -21
  198. {aiq → nat}/registry_handlers/pypi/register_pypi.py +6 -6
  199. {aiq → nat}/registry_handlers/registry_handler_base.py +21 -21
  200. {aiq → nat}/registry_handlers/rest/register_rest.py +7 -7
  201. {aiq → nat}/registry_handlers/rest/rest_handler.py +19 -19
  202. {aiq → nat}/registry_handlers/schemas/package.py +3 -3
  203. {aiq → nat}/registry_handlers/schemas/publish.py +17 -12
  204. {aiq → nat}/registry_handlers/schemas/pull.py +6 -6
  205. {aiq → nat}/registry_handlers/schemas/remove.py +2 -2
  206. {aiq → nat}/registry_handlers/schemas/search.py +11 -11
  207. {aiq → nat}/retriever/interface.py +6 -2
  208. {aiq → nat}/retriever/milvus/register.py +7 -7
  209. {aiq → nat}/retriever/milvus/retriever.py +8 -8
  210. {aiq → nat}/retriever/models.py +10 -7
  211. {aiq → nat}/retriever/nemo_retriever/register.py +6 -6
  212. {aiq → nat}/retriever/nemo_retriever/retriever.py +10 -10
  213. {aiq/embedder → nat/retriever}/register.py +2 -4
  214. {aiq → nat}/runtime/loader.py +38 -33
  215. {aiq → nat}/runtime/runner.py +30 -25
  216. {aiq → nat}/runtime/session.py +19 -15
  217. {aiq → nat}/runtime/user_metadata.py +1 -1
  218. {aiq → nat}/settings/global_settings.py +11 -11
  219. {aiq → nat}/tool/chat_completion.py +6 -6
  220. {aiq → nat}/tool/code_execution/README.md +2 -2
  221. {aiq → nat}/tool/code_execution/code_sandbox.py +1 -1
  222. {aiq → nat}/tool/code_execution/register.py +5 -5
  223. {aiq → nat}/tool/code_execution/test_code_execution_sandbox.py +1 -1
  224. {aiq → nat}/tool/datetime_tools.py +4 -4
  225. {aiq → nat}/tool/document_search.py +6 -6
  226. {aiq → nat}/tool/github_tools/create_github_commit.py +4 -4
  227. {aiq → nat}/tool/github_tools/create_github_issue.py +4 -4
  228. {aiq → nat}/tool/github_tools/create_github_pr.py +4 -4
  229. {aiq → nat}/tool/github_tools/get_github_file.py +4 -4
  230. {aiq → nat}/tool/github_tools/get_github_issue.py +4 -4
  231. {aiq → nat}/tool/github_tools/get_github_pr.py +4 -4
  232. {aiq → nat}/tool/github_tools/update_github_issue.py +4 -4
  233. {aiq → nat}/tool/mcp/exceptions.py +1 -1
  234. {aiq → nat}/tool/mcp/mcp_client.py +2 -2
  235. {aiq → nat}/tool/mcp/mcp_tool.py +7 -7
  236. {aiq → nat}/tool/memory_tools/add_memory_tool.py +6 -6
  237. {aiq → nat}/tool/memory_tools/delete_memory_tool.py +6 -6
  238. {aiq → nat}/tool/memory_tools/get_memory_tool.py +6 -6
  239. {aiq → nat}/tool/nvidia_rag.py +4 -4
  240. {aiq → nat}/tool/retriever.py +20 -15
  241. {aiq → nat}/tool/server_tools.py +16 -16
  242. {aiq → nat}/utils/dump_distro_mapping.py +2 -2
  243. {aiq → nat}/utils/exception_handlers/mcp.py +8 -8
  244. {aiq → nat}/utils/io/yaml_tools.py +1 -1
  245. {aiq → nat}/utils/metadata_utils.py +2 -2
  246. {aiq → nat}/utils/reactive/base/observable_base.py +2 -2
  247. {aiq → nat}/utils/reactive/base/subject_base.py +1 -1
  248. {aiq → nat}/utils/reactive/observable.py +5 -5
  249. {aiq → nat}/utils/reactive/observer.py +1 -1
  250. {aiq → nat}/utils/reactive/subject.py +4 -4
  251. {aiq → nat}/utils/reactive/subscription.py +1 -1
  252. {aiq → nat}/utils/settings/global_settings.py +4 -4
  253. {aiq → nat}/utils/type_converter.py +1 -1
  254. {nvidia_nat-1.2.0rc5.dist-info → nvidia_nat-1.2.0rc7.dist-info}/METADATA +37 -37
  255. nvidia_nat-1.2.0rc7.dist-info/RECORD +434 -0
  256. nvidia_nat-1.2.0rc7.dist-info/entry_points.txt +21 -0
  257. nvidia_nat-1.2.0rc7.dist-info/top_level.txt +1 -0
  258. aiq/embedder/langchain_client.py +0 -41
  259. aiq/front_ends/mcp/mcp_front_end_plugin.py +0 -93
  260. aiq/meta/module_to_distro.json +0 -3
  261. aiq/meta/pypi.md +0 -58
  262. nvidia_nat-1.2.0rc5.dist-info/RECORD +0 -435
  263. nvidia_nat-1.2.0rc5.dist-info/entry_points.txt +0 -20
  264. nvidia_nat-1.2.0rc5.dist-info/top_level.txt +0 -1
  265. {aiq → nat}/agent/__init__.py +0 -0
  266. {aiq → nat}/agent/base.py +0 -0
  267. {aiq → nat}/agent/dual_node.py +0 -0
  268. {aiq → nat}/agent/react_agent/__init__.py +0 -0
  269. {aiq → nat}/agent/react_agent/output_parser.py +0 -0
  270. {aiq → nat}/agent/react_agent/prompt.py +0 -0
  271. {aiq → nat}/agent/reasoning_agent/__init__.py +0 -0
  272. {aiq → nat}/agent/register.py +0 -0
  273. {aiq → nat}/agent/rewoo_agent/__init__.py +0 -0
  274. {aiq → nat}/agent/tool_calling_agent/__init__.py +0 -0
  275. {aiq → nat}/authentication/__init__.py +0 -0
  276. {aiq → nat}/authentication/api_key/__init__.py +0 -0
  277. {aiq → nat}/authentication/exceptions/__init__.py +0 -0
  278. {aiq → nat}/authentication/exceptions/api_key_exceptions.py +0 -0
  279. {aiq → nat}/authentication/http_basic_auth/__init__.py +0 -0
  280. {aiq → nat}/authentication/oauth2/__init__.py +0 -0
  281. {aiq → nat}/builder/__init__.py +0 -0
  282. {aiq → nat}/builder/framework_enum.py +0 -0
  283. {aiq → nat}/cli/__init__.py +0 -0
  284. {aiq → nat}/cli/cli_utils/__init__.py +0 -0
  285. {aiq → nat}/cli/commands/__init__.py +0 -0
  286. {aiq → nat}/cli/commands/configure/__init__.py +0 -0
  287. {aiq → nat}/cli/commands/configure/channel/__init__.py +0 -0
  288. {aiq → nat}/cli/commands/info/__init__.py +0 -0
  289. {aiq → nat}/cli/commands/registry/__init__.py +0 -0
  290. {aiq → nat}/cli/commands/sizing/__init__.py +0 -0
  291. {aiq → nat}/cli/commands/sizing/sizing.py +0 -0
  292. {aiq → nat}/cli/commands/workflow/__init__.py +0 -0
  293. {aiq → nat}/cli/commands/workflow/templates/__init__.py.j2 +0 -0
  294. {aiq → nat}/cli/commands/workflow/templates/config.yml.j2 +0 -0
  295. {aiq → nat}/cli/commands/workflow/templates/register.py.j2 +0 -0
  296. {aiq → nat}/data_models/__init__.py +0 -0
  297. {aiq → nat}/data_models/common.py +0 -0
  298. {aiq → nat}/data_models/embedder.py +0 -0
  299. {aiq → nat}/data_models/evaluator.py +0 -0
  300. {aiq → nat}/data_models/front_end.py +0 -0
  301. {aiq → nat}/data_models/function.py +0 -0
  302. {aiq → nat}/data_models/function_dependencies.py +0 -0
  303. {aiq → nat}/data_models/interactive.py +0 -0
  304. {aiq → nat}/data_models/invocation_node.py +0 -0
  305. {aiq → nat}/data_models/llm.py +0 -0
  306. {aiq → nat}/data_models/logging.py +0 -0
  307. {aiq → nat}/data_models/memory.py +0 -0
  308. {aiq → nat}/data_models/object_store.py +0 -0
  309. {aiq → nat}/data_models/profiler.py +0 -0
  310. {aiq → nat}/data_models/registry_handler.py +0 -0
  311. {aiq → nat}/data_models/retry_mixin.py +0 -0
  312. {aiq → nat}/data_models/streaming.py +0 -0
  313. {aiq → nat}/data_models/swe_bench_model.py +0 -0
  314. {aiq → nat}/data_models/ttc_strategy.py +0 -0
  315. {aiq → nat}/embedder/__init__.py +0 -0
  316. {aiq → nat}/eval/__init__.py +0 -0
  317. {aiq → nat}/eval/dataset_handler/__init__.py +0 -0
  318. {aiq → nat}/eval/evaluator/__init__.py +0 -0
  319. {aiq → nat}/eval/rag_evaluator/__init__.py +0 -0
  320. {aiq → nat}/eval/register.py +0 -0
  321. {aiq → nat}/eval/runners/__init__.py +0 -0
  322. {aiq → nat}/eval/swe_bench_evaluator/__init__.py +0 -0
  323. {aiq → nat}/eval/trajectory_evaluator/__init__.py +0 -0
  324. {aiq → nat}/eval/tunable_rag_evaluator/__init__.py +0 -0
  325. {aiq → nat}/eval/usage_stats.py +0 -0
  326. {aiq → nat}/eval/utils/__init__.py +0 -0
  327. {aiq → nat}/eval/utils/tqdm_position_registry.py +0 -0
  328. {aiq → nat}/experimental/__init__.py +0 -0
  329. {aiq → nat}/experimental/decorators/__init__.py +0 -0
  330. {aiq → nat}/experimental/test_time_compute/__init__.py +0 -0
  331. {aiq → nat}/experimental/test_time_compute/editing/__init__.py +0 -0
  332. {aiq → nat}/experimental/test_time_compute/functions/__init__.py +0 -0
  333. {aiq → nat}/experimental/test_time_compute/models/__init__.py +0 -0
  334. {aiq → nat}/experimental/test_time_compute/models/stage_enums.py +0 -0
  335. {aiq → nat}/experimental/test_time_compute/models/tool_use_config.py +0 -0
  336. {aiq → nat}/experimental/test_time_compute/models/ttc_item.py +0 -0
  337. {aiq → nat}/experimental/test_time_compute/scoring/__init__.py +0 -0
  338. {aiq → nat}/experimental/test_time_compute/search/__init__.py +0 -0
  339. {aiq → nat}/experimental/test_time_compute/selection/__init__.py +0 -0
  340. {aiq → nat}/front_ends/__init__.py +0 -0
  341. {aiq → nat}/front_ends/console/__init__.py +0 -0
  342. {aiq → nat}/front_ends/cron/__init__.py +0 -0
  343. {aiq → nat}/front_ends/fastapi/__init__.py +0 -0
  344. {aiq → nat}/front_ends/fastapi/auth_flow_handlers/__init__.py +0 -0
  345. {aiq → nat}/front_ends/fastapi/fastapi_front_end_controller.py +0 -0
  346. {aiq → nat}/front_ends/fastapi/html_snippets/__init__.py +0 -0
  347. {aiq → nat}/front_ends/fastapi/html_snippets/auth_code_grant_success.py +0 -0
  348. {aiq → nat}/front_ends/fastapi/job_store.py +0 -0
  349. {aiq → nat}/front_ends/mcp/__init__.py +0 -0
  350. {aiq → nat}/front_ends/register.py +0 -0
  351. {aiq → nat}/front_ends/simple_base/__init__.py +0 -0
  352. {aiq → nat}/llm/__init__.py +0 -0
  353. {aiq → nat}/llm/register.py +0 -0
  354. {aiq → nat}/llm/utils/__init__.py +0 -0
  355. {aiq → nat}/llm/utils/env_config_value.py +0 -0
  356. {aiq → nat}/llm/utils/error.py +0 -0
  357. {aiq → nat}/memory/interfaces.py +0 -0
  358. {aiq → nat}/memory/models.py +0 -0
  359. {aiq → nat}/object_store/interfaces.py +0 -0
  360. {aiq → nat}/object_store/models.py +0 -0
  361. {aiq → nat}/object_store/register.py +0 -0
  362. {aiq → nat}/observability/__init__.py +0 -0
  363. {aiq → nat}/observability/exporter/__init__.py +0 -0
  364. {aiq → nat}/observability/mixin/__init__.py +0 -0
  365. {aiq → nat}/observability/mixin/batch_config_mixin.py +0 -0
  366. {aiq → nat}/observability/mixin/collector_config_mixin.py +0 -0
  367. {aiq → nat}/observability/mixin/file_mode.py +0 -0
  368. {aiq → nat}/observability/mixin/resource_conflict_mixin.py +0 -0
  369. {aiq → nat}/observability/mixin/serialize_mixin.py +0 -0
  370. {aiq → nat}/observability/mixin/type_introspection_mixin.py +0 -0
  371. {aiq → nat}/observability/processor/__init__.py +0 -0
  372. {aiq → nat}/observability/utils/__init__.py +0 -0
  373. {aiq → nat}/observability/utils/dict_utils.py +0 -0
  374. {aiq → nat}/observability/utils/time_utils.py +0 -0
  375. {aiq → nat}/plugins/.namespace +0 -0
  376. {aiq → nat}/profiler/__init__.py +0 -0
  377. {aiq → nat}/profiler/calc/__init__.py +0 -0
  378. {aiq → nat}/profiler/calc/data_models.py +0 -0
  379. {aiq → nat}/profiler/callbacks/__init__.py +0 -0
  380. {aiq → nat}/profiler/callbacks/base_callback_class.py +0 -0
  381. {aiq → nat}/profiler/callbacks/token_usage_base_model.py +0 -0
  382. {aiq → nat}/profiler/data_frame_row.py +0 -0
  383. {aiq → nat}/profiler/decorators/__init__.py +0 -0
  384. {aiq → nat}/profiler/forecasting/__init__.py +0 -0
  385. {aiq → nat}/profiler/forecasting/config.py +0 -0
  386. {aiq → nat}/profiler/forecasting/models/__init__.py +0 -0
  387. {aiq → nat}/profiler/forecasting/models/forecasting_base_model.py +0 -0
  388. {aiq → nat}/profiler/inference_metrics_model.py +0 -0
  389. {aiq → nat}/profiler/inference_optimization/__init__.py +0 -0
  390. {aiq → nat}/profiler/inference_optimization/bottleneck_analysis/__init__.py +0 -0
  391. {aiq → nat}/profiler/inference_optimization/data_models.py +0 -0
  392. {aiq → nat}/profiler/inference_optimization/experimental/__init__.py +0 -0
  393. {aiq → nat}/registry_handlers/__init__.py +0 -0
  394. {aiq → nat}/registry_handlers/local/__init__.py +0 -0
  395. {aiq → nat}/registry_handlers/pypi/__init__.py +0 -0
  396. {aiq → nat}/registry_handlers/register.py +0 -0
  397. {aiq → nat}/registry_handlers/rest/__init__.py +0 -0
  398. {aiq → nat}/registry_handlers/schemas/__init__.py +0 -0
  399. {aiq → nat}/registry_handlers/schemas/headers.py +0 -0
  400. {aiq → nat}/registry_handlers/schemas/status.py +0 -0
  401. {aiq → nat}/retriever/__init__.py +0 -0
  402. {aiq → nat}/retriever/milvus/__init__.py +0 -0
  403. {aiq → nat}/retriever/nemo_retriever/__init__.py +0 -0
  404. {aiq → nat}/runtime/__init__.py +0 -0
  405. {aiq → nat}/settings/__init__.py +0 -0
  406. {aiq → nat}/test/.namespace +0 -0
  407. {aiq → nat}/tool/__init__.py +0 -0
  408. {aiq → nat}/tool/code_execution/__init__.py +0 -0
  409. {aiq → nat}/tool/code_execution/local_sandbox/.gitignore +0 -0
  410. {aiq → nat}/tool/code_execution/local_sandbox/Dockerfile.sandbox +0 -0
  411. {aiq → nat}/tool/code_execution/local_sandbox/__init__.py +0 -0
  412. {aiq → nat}/tool/code_execution/local_sandbox/local_sandbox_server.py +0 -0
  413. {aiq → nat}/tool/code_execution/local_sandbox/sandbox.requirements.txt +0 -0
  414. {aiq → nat}/tool/code_execution/local_sandbox/start_local_sandbox.sh +0 -0
  415. {aiq → nat}/tool/code_execution/utils.py +0 -0
  416. {aiq → nat}/tool/github_tools/__init__.py +0 -0
  417. {aiq → nat}/tool/mcp/__init__.py +0 -0
  418. {aiq → nat}/tool/memory_tools/__init__.py +0 -0
  419. {aiq → nat}/tool/register.py +0 -0
  420. {aiq → nat}/utils/__init__.py +0 -0
  421. {aiq → nat}/utils/data_models/__init__.py +0 -0
  422. {aiq → nat}/utils/data_models/schema_validator.py +0 -0
  423. {aiq → nat}/utils/debugging_utils.py +0 -0
  424. {aiq → nat}/utils/exception_handlers/__init__.py +0 -0
  425. {aiq → nat}/utils/exception_handlers/automatic_retries.py +0 -0
  426. {aiq → nat}/utils/exception_handlers/schemas.py +0 -0
  427. {aiq → nat}/utils/io/__init__.py +0 -0
  428. {aiq → nat}/utils/io/model_processing.py +0 -0
  429. {aiq → nat}/utils/log_utils.py +0 -0
  430. {aiq → nat}/utils/optional_imports.py +0 -0
  431. {aiq → nat}/utils/producer_consumer_queue.py +0 -0
  432. {aiq → nat}/utils/reactive/__init__.py +0 -0
  433. {aiq → nat}/utils/reactive/base/__init__.py +0 -0
  434. {aiq → nat}/utils/reactive/base/observer_base.py +0 -0
  435. {aiq → nat}/utils/settings/__init__.py +0 -0
  436. {aiq → nat}/utils/string_utils.py +0 -0
  437. {aiq → nat}/utils/type_utils.py +0 -0
  438. {aiq → nat}/utils/url_utils.py +0 -0
  439. {nvidia_nat-1.2.0rc5.dist-info → nvidia_nat-1.2.0rc7.dist-info}/WHEEL +0 -0
  440. {nvidia_nat-1.2.0rc5.dist-info → nvidia_nat-1.2.0rc7.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
  441. {nvidia_nat-1.2.0rc5.dist-info → nvidia_nat-1.2.0rc7.dist-info}/licenses/LICENSE.md +0 -0
@@ -17,16 +17,16 @@ import asyncio
17
17
  import logging
18
18
  import re
19
19
 
20
- from aiq.builder.builder import Builder
21
- from aiq.builder.framework_enum import LLMFrameworkEnum
22
- from aiq.cli.register_workflow import register_ttc_strategy
23
- from aiq.data_models.ttc_strategy import TTCStrategyBaseConfig
24
- from aiq.experimental.test_time_compute.models.search_config import SingleShotMultiPlanConfig
25
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
26
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
27
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
28
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
29
- from aiq.utils.io.model_processing import remove_r1_think_tags
20
+ from nat.builder.builder import Builder
21
+ from nat.builder.framework_enum import LLMFrameworkEnum
22
+ from nat.cli.register_workflow import register_ttc_strategy
23
+ from nat.data_models.ttc_strategy import TTCStrategyBaseConfig
24
+ from nat.experimental.test_time_compute.models.search_config import SingleShotMultiPlanConfig
25
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
26
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
27
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
28
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
29
+ from nat.utils.io.model_processing import remove_r1_think_tags
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
 
@@ -64,7 +64,7 @@ class SingleShotMultiPlanPlanner(StrategyBase):
64
64
  from langchain_core.prompts import PromptTemplate
65
65
  except ImportError:
66
66
  raise ImportError("langchain-core is not installed. Please install it to use SingleShotMultiPlanPlanner.\n"
67
- "This error can be resolve by installing aiqtoolkit-langchain.")
67
+ "This error can be resolve by installing nvidia-nat-langchain.")
68
68
 
69
69
  planning_template = PromptTemplate(template=self.config.planning_template,
70
70
  input_variables=["context", "prompt"],
@@ -15,13 +15,13 @@
15
15
 
16
16
  import logging
17
17
 
18
- from aiq.builder.builder import Builder
19
- from aiq.cli.register_workflow import register_ttc_strategy
20
- from aiq.experimental.test_time_compute.models.selection_config import BestOfNSelectionConfig
21
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
22
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
23
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
24
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
18
+ from nat.builder.builder import Builder
19
+ from nat.cli.register_workflow import register_ttc_strategy
20
+ from nat.experimental.test_time_compute.models.selection_config import BestOfNSelectionConfig
21
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
22
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
23
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
24
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
25
25
 
26
26
  logger = logging.getLogger(__name__)
27
27
 
@@ -16,16 +16,16 @@
16
16
  import logging
17
17
  import re
18
18
 
19
- from aiq.builder.builder import Builder
20
- from aiq.builder.framework_enum import LLMFrameworkEnum
21
- from aiq.cli.register_workflow import register_ttc_strategy
22
- from aiq.data_models.ttc_strategy import TTCStrategyBaseConfig
23
- from aiq.experimental.test_time_compute.models.selection_config import LLMBasedAgentOutputSelectionConfig
24
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
25
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
26
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
27
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
28
- from aiq.utils.io.model_processing import remove_r1_think_tags
19
+ from nat.builder.builder import Builder
20
+ from nat.builder.framework_enum import LLMFrameworkEnum
21
+ from nat.cli.register_workflow import register_ttc_strategy
22
+ from nat.data_models.ttc_strategy import TTCStrategyBaseConfig
23
+ from nat.experimental.test_time_compute.models.selection_config import LLMBasedAgentOutputSelectionConfig
24
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
25
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
26
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
27
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
28
+ from nat.utils.io.model_processing import remove_r1_think_tags
29
29
 
30
30
  logger = logging.getLogger(__name__)
31
31
 
@@ -70,7 +70,7 @@ class LLMBasedAgentOutputSelector(StrategyBase):
70
70
  from langchain_core.prompts import PromptTemplate
71
71
  except ImportError:
72
72
  raise ImportError("langchain-core is not installed. Please install it to use SingleShotMultiPlanPlanner.\n"
73
- "This error can be resolved by installing aiqtoolkit-langchain.")
73
+ "This error can be resolved by installing nvidia-nat-langchain.")
74
74
 
75
75
  from pydantic import BaseModel
76
76
 
@@ -15,16 +15,16 @@
15
15
 
16
16
  import logging
17
17
 
18
- from aiq.builder.builder import Builder
19
- from aiq.builder.framework_enum import LLMFrameworkEnum
20
- from aiq.cli.register_workflow import register_ttc_strategy
21
- from aiq.data_models.ttc_strategy import TTCStrategyBaseConfig
22
- from aiq.experimental.test_time_compute.models.selection_config import LLMBasedOutputMergingConfig
23
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
24
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
25
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
26
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
27
- from aiq.utils.io.model_processing import remove_r1_think_tags
18
+ from nat.builder.builder import Builder
19
+ from nat.builder.framework_enum import LLMFrameworkEnum
20
+ from nat.cli.register_workflow import register_ttc_strategy
21
+ from nat.data_models.ttc_strategy import TTCStrategyBaseConfig
22
+ from nat.experimental.test_time_compute.models.selection_config import LLMBasedOutputMergingConfig
23
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
24
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
25
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
26
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
27
+ from nat.utils.io.model_processing import remove_r1_think_tags
28
28
 
29
29
  logger = logging.getLogger(__name__)
30
30
 
@@ -69,7 +69,7 @@ class LLMBasedOutputMergingSelector(StrategyBase):
69
69
  from langchain_core.prompts import PromptTemplate
70
70
  except ImportError:
71
71
  raise ImportError("langchain-core is not installed. Please install it to use SingleShotMultiPlanPlanner.\n"
72
- "This error can be resolved by installing aiqtoolkit-langchain.")
72
+ "This error can be resolved by installing nvidia-nat-langchain.")
73
73
 
74
74
  from typing import Callable
75
75
 
@@ -16,16 +16,16 @@
16
16
  import logging
17
17
  import re
18
18
 
19
- from aiq.builder.builder import Builder
20
- from aiq.builder.framework_enum import LLMFrameworkEnum
21
- from aiq.cli.register_workflow import register_ttc_strategy
22
- from aiq.data_models.ttc_strategy import TTCStrategyBaseConfig
23
- from aiq.experimental.test_time_compute.models.selection_config import LLMBasedPlanSelectionConfig
24
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
25
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
26
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
27
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
28
- from aiq.utils.io.model_processing import remove_r1_think_tags
19
+ from nat.builder.builder import Builder
20
+ from nat.builder.framework_enum import LLMFrameworkEnum
21
+ from nat.cli.register_workflow import register_ttc_strategy
22
+ from nat.data_models.ttc_strategy import TTCStrategyBaseConfig
23
+ from nat.experimental.test_time_compute.models.selection_config import LLMBasedPlanSelectionConfig
24
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
25
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
26
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
27
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
28
+ from nat.utils.io.model_processing import remove_r1_think_tags
29
29
 
30
30
  logger = logging.getLogger(__name__)
31
31
 
@@ -70,7 +70,7 @@ class LLMBasedPlanSelector(StrategyBase):
70
70
  from langchain_core.prompts import PromptTemplate
71
71
  except ImportError:
72
72
  raise ImportError("langchain-core is not installed. Please install it to use SingleShotMultiPlanPlanner.\n"
73
- "This error can be resolved by installing aiqtoolkit-langchain.")
73
+ "This error can be resolved by installing nvidia-nat-langchain.")
74
74
 
75
75
  if not isinstance(self.llm_bound, BaseChatModel):
76
76
  raise ValueError("The `selection_llm` must be an instance of `BaseChatModel`.")
@@ -15,13 +15,13 @@
15
15
 
16
16
  import logging
17
17
 
18
- from aiq.builder.builder import Builder
19
- from aiq.cli.register_workflow import register_ttc_strategy
20
- from aiq.experimental.test_time_compute.models.selection_config import ThresholdSelectionConfig
21
- from aiq.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
22
- from aiq.experimental.test_time_compute.models.stage_enums import StageTypeEnum
23
- from aiq.experimental.test_time_compute.models.strategy_base import StrategyBase
24
- from aiq.experimental.test_time_compute.models.ttc_item import TTCItem
18
+ from nat.builder.builder import Builder
19
+ from nat.cli.register_workflow import register_ttc_strategy
20
+ from nat.experimental.test_time_compute.models.selection_config import ThresholdSelectionConfig
21
+ from nat.experimental.test_time_compute.models.stage_enums import PipelineTypeEnum
22
+ from nat.experimental.test_time_compute.models.stage_enums import StageTypeEnum
23
+ from nat.experimental.test_time_compute.models.strategy_base import StrategyBase
24
+ from nat.experimental.test_time_compute.models.ttc_item import TTCItem
25
25
 
26
26
  logger = logging.getLogger(__name__)
27
27
 
@@ -25,12 +25,12 @@ from authlib.integrations.httpx_client import AsyncOAuth2Client
25
25
  from fastapi import FastAPI
26
26
  from fastapi import Request
27
27
 
28
- from aiq.authentication.interfaces import FlowHandlerBase
29
- from aiq.authentication.oauth2.oauth2_auth_code_flow_provider_config import OAuth2AuthCodeFlowProviderConfig
30
- from aiq.data_models.authentication import AuthenticatedContext
31
- from aiq.data_models.authentication import AuthFlowType
32
- from aiq.data_models.authentication import AuthProviderBaseConfig
33
- from aiq.front_ends.fastapi.fastapi_front_end_controller import _FastApiFrontEndController
28
+ from nat.authentication.interfaces import FlowHandlerBase
29
+ from nat.authentication.oauth2.oauth2_auth_code_flow_provider_config import OAuth2AuthCodeFlowProviderConfig
30
+ from nat.data_models.authentication import AuthenticatedContext
31
+ from nat.data_models.authentication import AuthFlowType
32
+ from nat.data_models.authentication import AuthProviderBaseConfig
33
+ from nat.front_ends.fastapi.fastapi_front_end_controller import _FastApiFrontEndController
34
34
 
35
35
 
36
36
  # --------------------------------------------------------------------------- #
@@ -17,12 +17,12 @@ from pathlib import Path
17
17
 
18
18
  from pydantic import Field
19
19
 
20
- from aiq.data_models.front_end import FrontEndBaseConfig
20
+ from nat.data_models.front_end import FrontEndBaseConfig
21
21
 
22
22
 
23
23
  class ConsoleFrontEndConfig(FrontEndBaseConfig, name="console"):
24
24
  """
25
- A front end that allows an AIQ Toolkit workflow to be run from the console.
25
+ A front end that allows a NAT workflow to be run from the console.
26
26
  """
27
27
 
28
28
  input_query: list[str] | None = Field(default=None,
@@ -19,14 +19,14 @@ import logging
19
19
  import click
20
20
  from colorama import Fore
21
21
 
22
- from aiq.data_models.interactive import HumanPromptModelType
23
- from aiq.data_models.interactive import HumanResponse
24
- from aiq.data_models.interactive import HumanResponseText
25
- from aiq.data_models.interactive import InteractionPrompt
26
- from aiq.front_ends.console.authentication_flow_handler import ConsoleAuthenticationFlowHandler
27
- from aiq.front_ends.console.console_front_end_config import ConsoleFrontEndConfig
28
- from aiq.front_ends.simple_base.simple_front_end_plugin_base import SimpleFrontEndPluginBase
29
- from aiq.runtime.session import AIQSessionManager
22
+ from nat.data_models.interactive import HumanPromptModelType
23
+ from nat.data_models.interactive import HumanResponse
24
+ from nat.data_models.interactive import HumanResponseText
25
+ from nat.data_models.interactive import InteractionPrompt
26
+ from nat.front_ends.console.authentication_flow_handler import ConsoleAuthenticationFlowHandler
27
+ from nat.front_ends.console.console_front_end_config import ConsoleFrontEndConfig
28
+ from nat.front_ends.simple_base.simple_front_end_plugin_base import SimpleFrontEndPluginBase
29
+ from nat.runtime.session import SessionManager
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
 
@@ -59,7 +59,7 @@ class ConsoleFrontEndPlugin(SimpleFrontEndPluginBase[ConsoleFrontEndConfig]):
59
59
  if (not self.front_end_config.input_query and not self.front_end_config.input_file):
60
60
  raise click.UsageError("Must specify either --input_query or --input_file")
61
61
 
62
- async def run_workflow(self, session_manager: AIQSessionManager):
62
+ async def run_workflow(self, session_manager: SessionManager):
63
63
 
64
64
  assert session_manager is not None, "Session manager must be provided"
65
65
  runner_outputs = None
@@ -13,13 +13,13 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- from aiq.cli.register_workflow import register_front_end
17
- from aiq.data_models.config import AIQConfig
18
- from aiq.front_ends.console.console_front_end_config import ConsoleFrontEndConfig
16
+ from nat.cli.register_workflow import register_front_end
17
+ from nat.data_models.config import Config
18
+ from nat.front_ends.console.console_front_end_config import ConsoleFrontEndConfig
19
19
 
20
20
 
21
21
  @register_front_end(config_type=ConsoleFrontEndConfig)
22
- async def register_fastapi_front_end(config: ConsoleFrontEndConfig, full_config: AIQConfig):
23
- from aiq.front_ends.console.console_front_end_plugin import ConsoleFrontEndPlugin
22
+ async def register_fastapi_front_end(config: ConsoleFrontEndConfig, full_config: Config):
23
+ from nat.front_ends.console.console_front_end_plugin import ConsoleFrontEndPlugin
24
24
 
25
25
  yield ConsoleFrontEndPlugin(full_config=full_config)
@@ -13,10 +13,10 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- from aiq.authentication.interfaces import FlowHandlerBase
17
- from aiq.data_models.authentication import AuthenticatedContext
18
- from aiq.data_models.authentication import AuthFlowType
19
- from aiq.data_models.authentication import AuthProviderBaseConfig
16
+ from nat.authentication.interfaces import FlowHandlerBase
17
+ from nat.data_models.authentication import AuthenticatedContext
18
+ from nat.data_models.authentication import AuthFlowType
19
+ from nat.data_models.authentication import AuthProviderBaseConfig
20
20
 
21
21
 
22
22
  class HTTPAuthenticationFlowHandler(FlowHandlerBase):
@@ -24,12 +24,12 @@ from dataclasses import field
24
24
  import pkce
25
25
  from authlib.integrations.httpx_client import AsyncOAuth2Client
26
26
 
27
- from aiq.authentication.interfaces import FlowHandlerBase
28
- from aiq.authentication.oauth2.oauth2_auth_code_flow_provider_config import OAuth2AuthCodeFlowProviderConfig
29
- from aiq.data_models.authentication import AuthenticatedContext
30
- from aiq.data_models.authentication import AuthFlowType
31
- from aiq.data_models.interactive import _HumanPromptOAuthConsent
32
- from aiq.front_ends.fastapi.message_handler import WebSocketMessageHandler
27
+ from nat.authentication.interfaces import FlowHandlerBase
28
+ from nat.authentication.oauth2.oauth2_auth_code_flow_provider_config import OAuth2AuthCodeFlowProviderConfig
29
+ from nat.data_models.authentication import AuthenticatedContext
30
+ from nat.data_models.authentication import AuthFlowType
31
+ from nat.data_models.interactive import _HumanPromptOAuthConsent
32
+ from nat.front_ends.fastapi.message_handler import WebSocketMessageHandler
33
33
 
34
34
  logger = logging.getLogger(__name__)
35
35
 
@@ -22,16 +22,16 @@ from pydantic import BaseModel
22
22
  from pydantic import Field
23
23
  from pydantic import field_validator
24
24
 
25
- from aiq.data_models.component_ref import ObjectStoreRef
26
- from aiq.data_models.front_end import FrontEndBaseConfig
27
- from aiq.data_models.step_adaptor import StepAdaptorConfig
25
+ from nat.data_models.component_ref import ObjectStoreRef
26
+ from nat.data_models.front_end import FrontEndBaseConfig
27
+ from nat.data_models.step_adaptor import StepAdaptorConfig
28
28
 
29
29
  logger = logging.getLogger(__name__)
30
30
 
31
31
  YAML_EXTENSIONS = (".yaml", ".yml")
32
32
 
33
33
 
34
- class AIQEvaluateRequest(BaseModel):
34
+ class EvaluateRequest(BaseModel):
35
35
  """Request model for the evaluate endpoint."""
36
36
  config_file: str = Field(description="Path to the configuration file for evaluation")
37
37
  job_id: str | None = Field(default=None, description="Unique identifier for the evaluation job")
@@ -84,12 +84,12 @@ class BaseAsyncResponse(BaseModel):
84
84
  status: str = Field(description="Current status of the job")
85
85
 
86
86
 
87
- class AIQEvaluateResponse(BaseAsyncResponse):
87
+ class EvaluateResponse(BaseAsyncResponse):
88
88
  """Response model for the evaluate endpoint."""
89
89
  pass
90
90
 
91
91
 
92
- class AIQAsyncGenerateResponse(BaseAsyncResponse):
92
+ class AsyncGenerateResponse(BaseAsyncResponse):
93
93
  """Response model for the async generation endpoint."""
94
94
  pass
95
95
 
@@ -104,14 +104,14 @@ class BaseAsyncStatusResponse(BaseModel):
104
104
  expires_at: datetime | None = Field(default=None, description="Timestamp when the job will expire")
105
105
 
106
106
 
107
- class AIQEvaluateStatusResponse(BaseAsyncStatusResponse):
107
+ class EvaluateStatusResponse(BaseAsyncStatusResponse):
108
108
  """Response model for the evaluate status endpoint."""
109
109
  config_file: str = Field(description="Path to the configuration file used for evaluation")
110
110
  output_path: str | None = Field(default=None,
111
111
  description="Path to the output file if the job completed successfully")
112
112
 
113
113
 
114
- class AIQAsyncGenerationStatusResponse(BaseAsyncStatusResponse):
114
+ class AsyncGenerationStatusResponse(BaseAsyncStatusResponse):
115
115
  output: dict | None = Field(
116
116
  default=None,
117
117
  description="Output of the generate request, this is only available if the job completed successfully.")
@@ -119,7 +119,7 @@ class AIQAsyncGenerationStatusResponse(BaseAsyncStatusResponse):
119
119
 
120
120
  class FastApiFrontEndConfig(FrontEndBaseConfig, name="fastapi"):
121
121
  """
122
- A FastAPI based front end that allows an AIQ Toolkit workflow to be served as a microservice.
122
+ A FastAPI based front end that allows a NAT workflow to be served as a microservice.
123
123
  """
124
124
 
125
125
  class EndpointBase(BaseModel):
@@ -192,7 +192,7 @@ class FastApiFrontEndConfig(FrontEndBaseConfig, name="fastapi"):
192
192
  websocket_path="/websocket",
193
193
  openai_api_path="/chat",
194
194
  openai_api_v1_path="/v1/chat/completions",
195
- description="Executes the default AIQ Toolkit workflow from the loaded configuration ",
195
+ description="Executes the default NAT workflow from the loaded configuration ",
196
196
  )
197
197
 
198
198
  evaluate: typing.Annotated[EndpointBase, Field(description="Endpoint for evaluating workflows.")] = EndpointBase(
@@ -207,9 +207,8 @@ class FastApiFrontEndConfig(FrontEndBaseConfig, name="fastapi"):
207
207
 
208
208
  endpoints: list[Endpoint] = Field(
209
209
  default_factory=list,
210
- description=(
211
- "Additional endpoints to add to the FastAPI app which run functions within the AIQ Toolkit configuration. "
212
- "Each endpoint must have a unique path."))
210
+ description=("Additional endpoints to add to the FastAPI app which run functions within the NAT configuration. "
211
+ "Each endpoint must have a unique path."))
213
212
 
214
213
  cors: CrossOriginResourceSharing = Field(
215
214
  default_factory=CrossOriginResourceSharing,
@@ -221,8 +220,8 @@ class FastApiFrontEndConfig(FrontEndBaseConfig, name="fastapi"):
221
220
  )
222
221
  runner_class: str | None = Field(
223
222
  default=None,
224
- description=("The AIQ Toolkit runner class to use when launching the FastAPI app from multiple processes. "
225
- "Each runner is responsible for loading and running the AIQ Toolkit workflow. "
223
+ description=("The NAT runner class to use when launching the FastAPI app from multiple processes. "
224
+ "Each runner is responsible for loading and running the NAT workflow. "
226
225
  "Note: This is different from the worker class used by Gunicorn."),
227
226
  )
228
227
 
@@ -232,3 +231,11 @@ class FastApiFrontEndConfig(FrontEndBaseConfig, name="fastapi"):
232
231
  "Object store reference for the FastAPI app. If present, static files can be uploaded via a POST "
233
232
  "request to '/static' and files will be served from the object store. The files will be served from the "
234
233
  "object store at '/static/{file_name}'."))
234
+
235
+
236
+ # Compatibility aliases with previous releases
237
+ AIQEvaluateRequest = EvaluateRequest
238
+ AIQEvaluateResponse = EvaluateResponse
239
+ AIQAsyncGenerateResponse = AsyncGenerateResponse
240
+ AIQEvaluateStatusResponse = EvaluateStatusResponse
241
+ AIQAsyncGenerationStatusResponse = AsyncGenerationStatusResponse
@@ -18,11 +18,11 @@ import os
18
18
  import tempfile
19
19
  import typing
20
20
 
21
- from aiq.builder.front_end import FrontEndBase
22
- from aiq.front_ends.fastapi.fastapi_front_end_config import FastApiFrontEndConfig
23
- from aiq.front_ends.fastapi.fastapi_front_end_plugin_worker import FastApiFrontEndPluginWorkerBase
24
- from aiq.front_ends.fastapi.main import get_app
25
- from aiq.utils.io.yaml_tools import yaml_dump
21
+ from nat.builder.front_end import FrontEndBase
22
+ from nat.front_ends.fastapi.fastapi_front_end_config import FastApiFrontEndConfig
23
+ from nat.front_ends.fastapi.fastapi_front_end_plugin_worker import FastApiFrontEndPluginWorkerBase
24
+ from nat.front_ends.fastapi.main import get_app
25
+ from nat.utils.io.yaml_tools import yaml_dump
26
26
 
27
27
  logger = logging.getLogger(__name__)
28
28
 
@@ -30,7 +30,7 @@ logger = logging.getLogger(__name__)
30
30
  class FastApiFrontEndPlugin(FrontEndBase[FastApiFrontEndConfig]):
31
31
 
32
32
  def get_worker_class(self) -> type[FastApiFrontEndPluginWorkerBase]:
33
- from aiq.front_ends.fastapi.fastapi_front_end_plugin_worker import FastApiFrontEndPluginWorker
33
+ from nat.front_ends.fastapi.fastapi_front_end_plugin_worker import FastApiFrontEndPluginWorker
34
34
 
35
35
  return FastApiFrontEndPluginWorker
36
36
 
@@ -47,7 +47,7 @@ class FastApiFrontEndPlugin(FrontEndBase[FastApiFrontEndConfig]):
47
47
  async def run(self):
48
48
 
49
49
  # Write the entire config to a temporary file
50
- with tempfile.NamedTemporaryFile(mode="w", prefix="aiq_config", suffix=".yml", delete=False) as config_file:
50
+ with tempfile.NamedTemporaryFile(mode="w", prefix="nat_config", suffix=".yml", delete=False) as config_file:
51
51
 
52
52
  # Get as dict
53
53
  config_dict = self.full_config.model_dump(mode="json", by_alias=True, round_trip=True)
@@ -59,10 +59,10 @@ class FastApiFrontEndPlugin(FrontEndBase[FastApiFrontEndConfig]):
59
59
  config_file_name = config_file.name
60
60
 
61
61
  # Set the config file in the environment
62
- os.environ["AIQ_CONFIG_FILE"] = str(config_file.name)
62
+ os.environ["NAT_CONFIG_FILE"] = str(config_file.name)
63
63
 
64
64
  # Set the worker class in the environment
65
- os.environ["AIQ_FRONT_END_WORKER"] = self.get_worker_class_name()
65
+ os.environ["NAT_FRONT_END_WORKER"] = self.get_worker_class_name()
66
66
 
67
67
  try:
68
68
  if not self.front_end_config.use_gunicorn:
@@ -70,7 +70,7 @@ class FastApiFrontEndPlugin(FrontEndBase[FastApiFrontEndConfig]):
70
70
 
71
71
  reload_excludes = ["./.*"]
72
72
 
73
- uvicorn.run("aiq.front_ends.fastapi.main:get_app",
73
+ uvicorn.run("nat.front_ends.fastapi.main:get_app",
74
74
  host=self.front_end_config.host,
75
75
  port=self.front_end_config.port,
76
76
  workers=self.front_end_config.workers,