ibm-watsonx-orchestrate 1.6.2__py3-none-any.whl → 1.7.0__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 (44) hide show
  1. ibm_watsonx_orchestrate/__init__.py +2 -1
  2. ibm_watsonx_orchestrate/agent_builder/agents/agent.py +3 -3
  3. ibm_watsonx_orchestrate/agent_builder/agents/assistant_agent.py +3 -2
  4. ibm_watsonx_orchestrate/agent_builder/agents/external_agent.py +3 -2
  5. ibm_watsonx_orchestrate/agent_builder/agents/types.py +9 -8
  6. ibm_watsonx_orchestrate/agent_builder/connections/connections.py +4 -3
  7. ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py +1 -22
  8. ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py +1 -17
  9. ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py +2 -1
  10. ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py +14 -13
  11. ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py +136 -92
  12. ibm_watsonx_orchestrate/agent_builder/tools/types.py +10 -9
  13. ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py +7 -7
  14. ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py +4 -3
  15. ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py +5 -5
  16. ibm_watsonx_orchestrate/cli/commands/environment/types.py +2 -0
  17. ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py +0 -18
  18. ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py +33 -19
  19. ibm_watsonx_orchestrate/cli/commands/models/models_command.py +1 -1
  20. ibm_watsonx_orchestrate/cli/commands/server/server_command.py +100 -36
  21. ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_command.py +1 -1
  22. ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py +11 -4
  23. ibm_watsonx_orchestrate/cli/config.py +3 -3
  24. ibm_watsonx_orchestrate/cli/init_helper.py +10 -1
  25. ibm_watsonx_orchestrate/cli/main.py +2 -0
  26. ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py +1 -1
  27. ibm_watsonx_orchestrate/client/local_service_instance.py +3 -1
  28. ibm_watsonx_orchestrate/client/service_instance.py +33 -7
  29. ibm_watsonx_orchestrate/docker/compose-lite.yml +177 -2
  30. ibm_watsonx_orchestrate/docker/default.env +22 -2
  31. ibm_watsonx_orchestrate/flow_builder/flows/__init__.py +3 -1
  32. ibm_watsonx_orchestrate/flow_builder/flows/decorators.py +4 -2
  33. ibm_watsonx_orchestrate/flow_builder/flows/events.py +10 -9
  34. ibm_watsonx_orchestrate/flow_builder/flows/flow.py +91 -20
  35. ibm_watsonx_orchestrate/flow_builder/node.py +12 -1
  36. ibm_watsonx_orchestrate/flow_builder/types.py +169 -16
  37. ibm_watsonx_orchestrate/flow_builder/utils.py +120 -5
  38. ibm_watsonx_orchestrate/utils/exceptions.py +23 -0
  39. {ibm_watsonx_orchestrate-1.6.2.dist-info → ibm_watsonx_orchestrate-1.7.0.dist-info}/METADATA +2 -4
  40. {ibm_watsonx_orchestrate-1.6.2.dist-info → ibm_watsonx_orchestrate-1.7.0.dist-info}/RECORD +43 -43
  41. ibm_watsonx_orchestrate/flow_builder/resources/flow_status.openapi.yml +0 -66
  42. {ibm_watsonx_orchestrate-1.6.2.dist-info → ibm_watsonx_orchestrate-1.7.0.dist-info}/WHEEL +0 -0
  43. {ibm_watsonx_orchestrate-1.6.2.dist-info → ibm_watsonx_orchestrate-1.7.0.dist-info}/entry_points.txt +0 -0
  44. {ibm_watsonx_orchestrate-1.6.2.dist-info → ibm_watsonx_orchestrate-1.7.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,23 @@
1
+ import logging
2
+ import sys
3
+ import os
4
+
5
+ logger = logging.getLogger(__name__)
6
+
7
+ class BadRequest(Exception):
8
+ def __init__(self, message: str):
9
+ super().__init__(message)
10
+ self.message = message
11
+ logger.error(message)
12
+
13
+ # We need to exit to avoid getting 2 error messages printed
14
+ # We don't want to exit while running tests
15
+ # Only exit if not running in a test and no --debug
16
+ if not self._in_test() and "--debug" not in sys.argv:
17
+ sys.exit(1)
18
+
19
+ def _in_test(self):
20
+ return "PYTEST_CURRENT_TEST" in os.environ
21
+
22
+ def __str__(self):
23
+ return self.message
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ibm-watsonx-orchestrate
3
- Version: 1.6.2
3
+ Version: 1.7.0
4
4
  Summary: IBM watsonx.orchestrate SDK
5
5
  Author-email: IBM <support@ibm.com>
6
6
  License: MIT License
@@ -10,15 +10,13 @@ Requires-Dist: certifi>=2024.8.30
10
10
  Requires-Dist: click<8.2.0,>=8.0.0
11
11
  Requires-Dist: docstring-parser<1.0,>=0.16
12
12
  Requires-Dist: httpx<1.0.0,>=0.28.1
13
- Requires-Dist: ibm-cloud-sdk-core>=3.22.0
13
+ Requires-Dist: ibm-cloud-sdk-core>=3.24.2
14
14
  Requires-Dist: ibm-watsonx-orchestrate-evaluation-framework==1.0.6
15
15
  Requires-Dist: jsonref==1.1.0
16
16
  Requires-Dist: jsonschema<5.0.0,>=4.23.0
17
- Requires-Dist: langchain-community<=0.3.25,>=0.3.12
18
17
  Requires-Dist: langchain-core<=0.3.63
19
18
  Requires-Dist: langsmith<=0.3.45
20
19
  Requires-Dist: munch>=4.0.0
21
- Requires-Dist: numpy>=1.26.0
22
20
  Requires-Dist: packaging>=24.2
23
21
  Requires-Dist: pydantic<3.0.0,>=2.10.3
24
22
  Requires-Dist: pyjwt<3.0.0,>=2.10.1
@@ -1,19 +1,19 @@
1
- ibm_watsonx_orchestrate/__init__.py,sha256=OfVb1qB0WmlqIpIZShHMh2YTgizxQfQjlz2yaO6-tyE,425
1
+ ibm_watsonx_orchestrate/__init__.py,sha256=DMTZKqx_cZp87fewoVi83SItfVDR3u_z4J1Z_F4AJIo,426
2
2
  ibm_watsonx_orchestrate/agent_builder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  ibm_watsonx_orchestrate/agent_builder/agents/__init__.py,sha256=lmZwaiWXD4Ea19nrMwZXaqCxFMG29xNS8vUoZtK3yI4,392
4
- ibm_watsonx_orchestrate/agent_builder/agents/agent.py,sha256=I8ZpOKOGXAmhUIwusDmLqCUawSg74-WZFJ5IijruxAQ,932
5
- ibm_watsonx_orchestrate/agent_builder/agents/assistant_agent.py,sha256=U1cKr22umcWCMgI4G3r5JZXHPfWYbCbiTydH4YZy_Og,987
6
- ibm_watsonx_orchestrate/agent_builder/agents/external_agent.py,sha256=LQM-DfOg2ajzrEur_F-aSrqKqaX4TbeajRe9YWz6s7E,981
7
- ibm_watsonx_orchestrate/agent_builder/agents/types.py,sha256=E5frrJPL7URhH6lD3QsO2heyndsBrfFWDRxXiIdH_nI,12095
4
+ ibm_watsonx_orchestrate/agent_builder/agents/agent.py,sha256=W0uya81fQPrYZFaO_tlsxBL56Bfpw0xrqdxQJhAZ6XI,983
5
+ ibm_watsonx_orchestrate/agent_builder/agents/assistant_agent.py,sha256=NnWThJ2N8HUOD9IDL6ZhtTKyLMHSacJCpxDNityRmgY,1051
6
+ ibm_watsonx_orchestrate/agent_builder/agents/external_agent.py,sha256=7HzEFjd7JiiRTgvA1RVA3M0-Mr42FTQnOtGMII5ufk0,1045
7
+ ibm_watsonx_orchestrate/agent_builder/agents/types.py,sha256=48oSYRYDPspu9XCf2BPohTm_CrLYgOqCoko8bHh6-cY,12159
8
8
  ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/__init__.py,sha256=5TXa8UqKUAlDo4hTbE5S9OPEkQhxXhPJHJC4pEe8U00,92
9
9
  ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/prompts.py,sha256=jNVF_jgz1Dmt7-RxAceAS0XWXk_fx9h3sS_fGrvZT28,941
10
10
  ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/welcome_content.py,sha256=U76wZrblSXx4qv7phcPYs3l8SiFzwZ5cJ74u8Y2iYhU,608
11
11
  ibm_watsonx_orchestrate/agent_builder/connections/__init__.py,sha256=VG45ifpp6B00-ZAGW-dIEHFh18Fx3wbyfUiDDKS74u4,718
12
- ibm_watsonx_orchestrate/agent_builder/connections/connections.py,sha256=UiqTps0yRTSIFoQ0hS6GbpRMlk3PzZmzXEwHlZTTGO8,5359
12
+ ibm_watsonx_orchestrate/agent_builder/connections/connections.py,sha256=CD3QHI4d-j3rTugHOgvPZUdRu_zpWCwsSzkN63_Ke_c,5423
13
13
  ibm_watsonx_orchestrate/agent_builder/connections/types.py,sha256=Lu_LPHKIo_vuptNixU8Uu_j8d_YT85Fjy9rMNYxnXGA,9253
14
14
  ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base.py,sha256=_KuGF0RZpKpwdt31rzjlTjrhGRFz2RtLzleNkhMNX4k,1831
15
- ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py,sha256=mRow0rf5EHeJCCsTrONeTq10jShs_yIBQjpgDY_mTrI,1641
16
- ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py,sha256=ttre2pRs_I_KBWSht60zT3dJw8twQml3m92ZkiRAoxs,7994
15
+ ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py,sha256=3xTfFMZR17EN8eYRhsVyBfOEzlTqyi0eYaMXyv0_ZtQ,862
16
+ ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py,sha256=_jHu9ELQqj1qwDK6U7jqemzNFeM2O5APlykiZRsDOcY,7009
17
17
  ibm_watsonx_orchestrate/agent_builder/model_policies/__init__.py,sha256=alJEjlneWlGpadmvOVlDjq5wulytKOmpkq3849fhKNc,131
18
18
  ibm_watsonx_orchestrate/agent_builder/model_policies/types.py,sha256=a6f9HP2OlZIe36k_PDRmFtefz2Ms2KBpzJ_jz8ggYbk,882
19
19
  ibm_watsonx_orchestrate/agent_builder/models/__init__.py,sha256=R5nTbyMBzahONdp5-bJFp-rbtTDnp2184k6doZqt67w,31
@@ -21,20 +21,20 @@ ibm_watsonx_orchestrate/agent_builder/models/types.py,sha256=Zr0xHZpTVPZnaUSvlop
21
21
  ibm_watsonx_orchestrate/agent_builder/toolkits/base_toolkit.py,sha256=KXRPgBK-F9Qa6IYqEslkN3ANj3cmZoZQnlSiy_-iXCk,1054
22
22
  ibm_watsonx_orchestrate/agent_builder/toolkits/types.py,sha256=yY-V4Hqct91-Rs4rJ3rY9OhzKkSMdOT63o224o-U9eg,959
23
23
  ibm_watsonx_orchestrate/agent_builder/tools/__init__.py,sha256=adkYX0wgB-RKFCUBw6LPJhNVelUjUdsxipGPk2ghLns,479
24
- ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py,sha256=unJBOJUY8DAq3T3YX5d1H5KehJUCjObAdpGLVoWIfzw,1156
24
+ ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py,sha256=0vwMIAyKyB8v1QmNrubLy8Al58g3qT78EUgrmOjegoI,1220
25
25
  ibm_watsonx_orchestrate/agent_builder/tools/flow_tool.py,sha256=DJWYVmIjw1O_cbzPpwU0a_vIZGvo0mj8UsjW9zkKMlA,2589
26
- ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py,sha256=Q2-TcUUjBAZWlhOqxfkB3yQpdxgdZAAJh0VWDh_dZPQ,16359
27
- ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py,sha256=qVyAe7hKLZ1V4cvqDUCpYs6JBKl9MHSr0yrri-nSceA,10600
28
- ibm_watsonx_orchestrate/agent_builder/tools/types.py,sha256=TXxWCSddXqRL2GbjkxT4vYJcRMjWS7g22wMMrBz-Wj8,7934
26
+ ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py,sha256=IuXJ6-A66Jiss-4jI7yMhg3QZRKFdc2GKBB8D52Wxvc,16473
27
+ ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py,sha256=FDY-y9jy4bNy88i7JG85Zj_YrxnPfJPD0DjwvL9ITxc,12012
28
+ ibm_watsonx_orchestrate/agent_builder/tools/types.py,sha256=NIH0p-iqi6s0KmAjSnsGuMXnyW_gaob9Pi192vaCjYE,7998
29
29
  ibm_watsonx_orchestrate/agent_builder/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  ibm_watsonx_orchestrate/agent_builder/utils/pydantic_utils.py,sha256=QEanM6FpkmntvS02whdhWx1d4v6zT_1l9ipEbfTgHs8,7623
31
31
  ibm_watsonx_orchestrate/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
- ibm_watsonx_orchestrate/cli/config.py,sha256=BE2ze0o9vLoyrk7q9mcRek2rDL2cTsVtsSGWw4W0y6M,8212
33
- ibm_watsonx_orchestrate/cli/init_helper.py,sha256=Lb0bj6b8EaeBxkfGyrBBvc581ORg_S5-tHcXWQ-mBmE,1466
34
- ibm_watsonx_orchestrate/cli/main.py,sha256=TyVuNC12GDxo4InaPfQ6e6Xk5bGarfSoIRAslGifUQ0,2914
32
+ ibm_watsonx_orchestrate/cli/config.py,sha256=iXjDxymWhAmLSUu6eh7zJR20dYZDzbxcU5VoBdh3VIw,8318
33
+ ibm_watsonx_orchestrate/cli/init_helper.py,sha256=qxnKdFcPtGsV_6RqP_IuLshRxgB004SxzDAkBTExA-4,1675
34
+ ibm_watsonx_orchestrate/cli/main.py,sha256=38e975eZ333VKCapYFdrBsm_sIX8MF2tfq8LewikgoU,2926
35
35
  ibm_watsonx_orchestrate/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
- ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py,sha256=-UX6ypiF_XwmEwe0twVGsfnO29Xs8xPOPJ5vk8EIifo,8991
37
- ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py,sha256=zTk3AemWOldfgKYYR1MOcT7z2JbYdgZgSsi7KxugFGw,47934
36
+ ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py,sha256=Zif3bH3X7j5qf7MWGcr53mJ2oEKXNRHeg3ZHeoHTIqQ,8984
37
+ ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py,sha256=skAElLfh8Ip4wVkxpn1wnLskHb1eLU1p9W7GF1abHus,47998
38
38
  ibm_watsonx_orchestrate/cli/commands/channels/channels_command.py,sha256=fVIFhPUTPdxsxIE10nWL-W5wvBR-BS8V8D6r__J8R98,822
39
39
  ibm_watsonx_orchestrate/cli/commands/channels/channels_controller.py,sha256=WjQxwJujvo28SsWgfJSXIpkcgniKcskJ2arL4MOz0Ys,455
40
40
  ibm_watsonx_orchestrate/cli/commands/channels/types.py,sha256=h8gA3EM7k5X08sk8T9b5siL-XL9uUE-hl_jS-0PDBHA,254
@@ -44,17 +44,17 @@ ibm_watsonx_orchestrate/cli/commands/chat/chat_command.py,sha256=Q9vg2Z5Fsunu6GQ
44
44
  ibm_watsonx_orchestrate/cli/commands/connections/connections_command.py,sha256=qgg2NbAB7g_PHPHd0ZLUm0EjyaCSPi1qpOhtyOlydcY,10151
45
45
  ibm_watsonx_orchestrate/cli/commands/connections/connections_controller.py,sha256=ka7uBpuRlICZ4ACGiT4WqmufZYEw566NlZX5FhB9pXM,22178
46
46
  ibm_watsonx_orchestrate/cli/commands/environment/environment_command.py,sha256=xwq7gdyjMtl2RYAnLAahGk2wDetr9BStt8yu7JkeBhk,3768
47
- ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py,sha256=8f4yH-hmPJFo-wAHA61XjRh_gst7JIIiRBQDFj0dXHs,10183
48
- ibm_watsonx_orchestrate/cli/commands/environment/types.py,sha256=qKcgIUfTPJIomLor-utz4qi7YhBMpb1l2DiSvjVSgaA,175
47
+ ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py,sha256=oHZ7LONtPg3-SSnU_rRZryLi8N2mplz5h-LGg4XjzD4,10261
48
+ ibm_watsonx_orchestrate/cli/commands/environment/types.py,sha256=HX8QvqYcc-DGnunQKgYp8q2ohedaHKqsJc7WGlaCxks,223
49
49
  ibm_watsonx_orchestrate/cli/commands/evaluations/evaluations_command.py,sha256=YHaTxcQxLkuojFhNcTtYbzb_lTv_dYBuz2IHl9RXXwU,11689
50
50
  ibm_watsonx_orchestrate/cli/commands/evaluations/evaluations_controller.py,sha256=pTWyuPNHKOPCYTMlYWwoGojZBdvDrHme2EAel0l4ltk,6957
51
- ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py,sha256=Hxj33rFEYo1Vr2bk-uRwRhNssAETtTQgWTREvC0Nxds,3348
52
- ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py,sha256=pbsjkBssLOTSMfh5ymgDAq9DxVdD01eAI33si0JZqS4,9631
51
+ ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py,sha256=hOzRcGVoqq7dTc4bSregKxH-kYbrVqaFdhBLawqnRNo,2668
52
+ ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py,sha256=bzRL-GGDWtBx-uZw4OBRg10yilOdIsL_UQi4iXwTiEc,10010
53
53
  ibm_watsonx_orchestrate/cli/commands/login/login_command.py,sha256=xArMiojoozg7Exn6HTpbTcjDO2idZRA-y0WV-_Ic1Sk,651
54
54
  ibm_watsonx_orchestrate/cli/commands/models/model_provider_mapper.py,sha256=RVZfFCuPWiASkR9Mox61v5SZ1AoRxo4_g9stnbfjCkc,7994
55
- ibm_watsonx_orchestrate/cli/commands/models/models_command.py,sha256=xYbMHRM98TCBmnwgIOsqpfjWqD7HVirn6A4KyEgQEcE,6418
55
+ ibm_watsonx_orchestrate/cli/commands/models/models_command.py,sha256=PW-PIM5Nq0qdCopWjANGBWEuEoA3NLTFThYrN8ggGCI,6425
56
56
  ibm_watsonx_orchestrate/cli/commands/models/models_controller.py,sha256=BNfUoWST60x3k7yIvSbtBR3rmyTQmz9g0TDK2WOoOE4,18610
57
- ibm_watsonx_orchestrate/cli/commands/server/server_command.py,sha256=VstqSn3dzuzziwEc0VVkf1y9E3qN94mTJuCbeFO4KCY,37478
57
+ ibm_watsonx_orchestrate/cli/commands/server/server_command.py,sha256=_nSu5l0WJGvagumScA93h9Nt_T3uzjAN7uwnKyUZHvA,39916
58
58
  ibm_watsonx_orchestrate/cli/commands/server/types.py,sha256=UCrgGErbSVBnOzesfjrIii4tTCuVfWemYz5AKGZX0oA,4213
59
59
  ibm_watsonx_orchestrate/cli/commands/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  ibm_watsonx_orchestrate/cli/commands/settings/settings_command.py,sha256=CzXRkd-97jXyS6LtaaNtMah-aZu0919dYl-mDwzGThc,344
@@ -62,10 +62,10 @@ ibm_watsonx_orchestrate/cli/commands/settings/observability/__init__.py,sha256=4
62
62
  ibm_watsonx_orchestrate/cli/commands/settings/observability/observability_command.py,sha256=TAkpKwoqocsShSgEeR6LzHCzJx16VDQ6cYsbpljxeqI,372
63
63
  ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/langfuse_command.py,sha256=Wa0L8E44EdxH9LdOvmnluLk_ApJVfTLauNOC1kV4W8k,6515
65
- ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_command.py,sha256=e8YKUr_8CodA5fgYjUKj-Dk856foQ5Iz3I9Jld5pU_o,4193
65
+ ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_command.py,sha256=e2VwpxbN7vwfFp6Gu8hDe2B5c3fdzXYfQBkN15tYR90,4195
66
66
  ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_controller.py,sha256=fq48tWNbuYFjrHXyVDmJBT96tww5iMdE2iOYUjr-fUc,11563
67
67
  ibm_watsonx_orchestrate/cli/commands/tools/tools_command.py,sha256=Cuo1ZvlfsymojqbadCqdwwS0HUjaWpe2XQrV70g61_s,3943
68
- ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py,sha256=z8Q_t6ABrzJ2nnB7YYK7MCzDCWL9Jt2wfkfdDDJ-Pe4,39480
68
+ ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py,sha256=uL0WHi0YD7NIYSLOui-CymVHj-h9Y0i3PxS7T2SXSvo,40408
69
69
  ibm_watsonx_orchestrate/cli/commands/tools/types.py,sha256=_md0GEa_cTH17NO_moWDY_LNdFvyEFQ1UVB9_FltYiA,173
70
70
  ibm_watsonx_orchestrate/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  ibm_watsonx_orchestrate/client/base_api_client.py,sha256=NklphjtCpSFroBocOp4OiklC0iIF0JzXJjtJhUd8gZ8,4752
@@ -73,8 +73,8 @@ ibm_watsonx_orchestrate/client/base_service_instance.py,sha256=sM_r7bln9BpgEOhaJ
73
73
  ibm_watsonx_orchestrate/client/client.py,sha256=pgYeXHe4_Makrw0gTyM343DQdrZZB8cjitFHKcbdzuc,2432
74
74
  ibm_watsonx_orchestrate/client/client_errors.py,sha256=72MKCNZbKoo2QXyY0RicLhP3r0ALRjgOEbHOHNSyOYI,11712
75
75
  ibm_watsonx_orchestrate/client/credentials.py,sha256=gDVeeQZDdbbjJiO1EI61yx2oRgTQctxA2ZesSDHI4DA,3786
76
- ibm_watsonx_orchestrate/client/local_service_instance.py,sha256=gdeol7xNRVnxEMr5rui1ovqtwDfMRziHn9GIjo7-MVo,3447
77
- ibm_watsonx_orchestrate/client/service_instance.py,sha256=uZlsMW9LC_2GggqEjBQY09fm6uZJ-0audwzqgCyjbbQ,5277
76
+ ibm_watsonx_orchestrate/client/local_service_instance.py,sha256=dt7vfLnjgt7mT8wSq8SJZndNTwsPzhb0XDhcnPUPFpU,3524
77
+ ibm_watsonx_orchestrate/client/service_instance.py,sha256=fp3Lc4yQf4zTkxVS5WnIAkrHT0xG_a5i44qcLeQkaa4,6600
78
78
  ibm_watsonx_orchestrate/client/utils.py,sha256=86UH5H54uTJA2kFb4dXrnGfs7hFQZ3h21ElwngZpT24,4745
79
79
  ibm_watsonx_orchestrate/client/agents/agent_client.py,sha256=v1ZqXKj3p5JeJyOLpV84UUI2LY8XPjW1ejo5yzkeiMQ,4708
80
80
  ibm_watsonx_orchestrate/client/agents/assistant_agent_client.py,sha256=1JQN0E4T_uz5V0LM-LD1ahNu2KCeFBjXAr8WCiP9mkE,1745
@@ -85,7 +85,7 @@ ibm_watsonx_orchestrate/client/analytics/llm/analytics_llm_client.py,sha256=0YS_
85
85
  ibm_watsonx_orchestrate/client/connections/__init__.py,sha256=J7TOyVg38h71AlaJjlFs5fOuAXTceHvELtOJ9oz4Mvg,207
86
86
  ibm_watsonx_orchestrate/client/connections/connections_client.py,sha256=B6LQPwoFHg_CIXHEJBjVu6fXnRj_xVsLGsC-DhmdfSQ,8478
87
87
  ibm_watsonx_orchestrate/client/connections/utils.py,sha256=f6HsiDI6cycOqfYN6P4uZ3SQds83xlh83zTUioZPeYk,2618
88
- ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py,sha256=U-pG_H0I8992f0V13Li_e1dksKp54MrYX3X9bvr-09w,2181
88
+ ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py,sha256=YjC16dcL_l0jd-6yZ6uH8anlL4yaIv9f-7Y_urPuXWM,2201
89
89
  ibm_watsonx_orchestrate/client/model_policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
90
  ibm_watsonx_orchestrate/client/model_policies/model_policies_client.py,sha256=Ddjraesv1MRPhZebB0PdBL0zgdsoWmnYpWTUci_6XFI,2258
91
91
  ibm_watsonx_orchestrate/client/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -93,8 +93,8 @@ ibm_watsonx_orchestrate/client/models/models_client.py,sha256=ZvP3iPgUFw_SXp41kJ
93
93
  ibm_watsonx_orchestrate/client/toolkit/toolkit_client.py,sha256=TLFNS39EeBD_t4Y-rX9sGp4sWBDr--mE5qVtHq8Q2hk,3121
94
94
  ibm_watsonx_orchestrate/client/tools/tempus_client.py,sha256=24fKDZUOVHBW-Vj4mubnpnUmab5LgGn8u5hOVyJaozI,1804
95
95
  ibm_watsonx_orchestrate/client/tools/tool_client.py,sha256=d3i3alVwa0TCN72w9sWOrM20GCbNmnpTnqEOJVbBIFM,1994
96
- ibm_watsonx_orchestrate/docker/compose-lite.yml,sha256=TvddzCD2nFAGbu-1Hf2AAhdTORoTsll2ssa1lJVsoZE,32856
97
- ibm_watsonx_orchestrate/docker/default.env,sha256=5JnLinuQoN3HxaApodke2SO-rI_pDtC2WecpL0s7pek,5329
96
+ ibm_watsonx_orchestrate/docker/compose-lite.yml,sha256=nj8KI8zimCITXCKc7HmsXpyywtyHU7fGbQQ-8ZDhw-c,38869
97
+ ibm_watsonx_orchestrate/docker/default.env,sha256=mumkO_rbhOI8K4p8Wt5uQnRHo-u9EIF7VHQyThO1GWA,5761
98
98
  ibm_watsonx_orchestrate/docker/proxy-config-single.yaml,sha256=WEbK4ENFuTCYhzRu_QblWp1_GMARgZnx5vReQafkIG8,308
99
99
  ibm_watsonx_orchestrate/docker/start-up.sh,sha256=LTtwHp0AidVgjohis2LXGvZnkFQStOiUAxgGABOyeUI,1811
100
100
  ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0-py3-none-any.whl,sha256=Hi3-owh5OM0Jz2ihX9nLoojnr7Ky1TV-GelyqLcewLE,2047417
@@ -102,24 +102,24 @@ ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0.tar.gz,sha256=e
102
102
  ibm_watsonx_orchestrate/docker/tempus/common-config.yaml,sha256=Zo3F36F5DV4VO_vUg1RG-r4WhcukVh79J2fXhGl6j0A,22
103
103
  ibm_watsonx_orchestrate/flow_builder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  ibm_watsonx_orchestrate/flow_builder/data_map.py,sha256=1brmWWFERDsNG2XGais-5-r58LKUUwBtqwdaLQIFRhE,503
105
- ibm_watsonx_orchestrate/flow_builder/node.py,sha256=tp_ssBOSDDi8q-ET2bP7xRPwNOLmLUgQ7v9zZZqn9SU,4090
106
- ibm_watsonx_orchestrate/flow_builder/types.py,sha256=KPASSlw55Dzp_8nhFdJUN0UI8_knMzLCK9epVcfP5NY,27689
107
- ibm_watsonx_orchestrate/flow_builder/utils.py,sha256=gKIKtb6hOfImt4cll4LOGgDoEUHubcz-AFq1byCpmaM,8203
108
- ibm_watsonx_orchestrate/flow_builder/flows/__init__.py,sha256=UTwpiAlT9Wytn1kK-kgUaY6UYjLKsiaQK0ZdSbKLtM0,897
105
+ ibm_watsonx_orchestrate/flow_builder/node.py,sha256=L7PPGJ9bb2QiyJSLcQRpcwC_igXTBsQx8MnSchYtjCs,4489
106
+ ibm_watsonx_orchestrate/flow_builder/types.py,sha256=G2sFk2-HwY3-giqLqpDIvVSPvQjPhb6rLjxaamnR6uY,34863
107
+ ibm_watsonx_orchestrate/flow_builder/utils.py,sha256=wTyYnLmB_SsT7A-VxRRnqNZ6jwChJ95EnlZ2wZXU03o,11731
108
+ ibm_watsonx_orchestrate/flow_builder/flows/__init__.py,sha256=ZXinYYsxtplVqoJJSZtog-LCWIN80SrdleTsCEmRtK0,956
109
109
  ibm_watsonx_orchestrate/flow_builder/flows/constants.py,sha256=XXYtL5Y1OTjj3jKo2zoJiwb7FCUNu_M43fgU8w591TY,322
110
- ibm_watsonx_orchestrate/flow_builder/flows/decorators.py,sha256=k9-r9ly5ih5oHBqjEgrc2vfeVC4LOMKg3YVLacBDubM,2702
111
- ibm_watsonx_orchestrate/flow_builder/flows/events.py,sha256=bhbN3ljl-WyiJ_LzMd99IlX0QrhB_bASyHWv8mtTjvo,2978
112
- ibm_watsonx_orchestrate/flow_builder/flows/flow.py,sha256=1Tc8L8rGbocPVdUNk-Zp_Fi9QxGLSg22LWPewlH7GKU,51020
113
- ibm_watsonx_orchestrate/flow_builder/resources/flow_status.openapi.yml,sha256=UkQ4FD_ZhvZuMOjrgLm7cx8zJFZD7Ri-MPCe_zktU-8,1664
110
+ ibm_watsonx_orchestrate/flow_builder/flows/decorators.py,sha256=lr4qSWq5PWqlGFf4fzUQZCVQDHBYflrYwZ24S89Aq80,2794
111
+ ibm_watsonx_orchestrate/flow_builder/flows/events.py,sha256=VyaBm0sADwr15LWfKbcBQS1M80NKqzYDj3UlW3OpOf4,2984
112
+ ibm_watsonx_orchestrate/flow_builder/flows/flow.py,sha256=SX7iPfUD7OKoxH2-Y8kqpHVfkqHDgRKtuwk5e1uNaEo,53707
114
113
  ibm_watsonx_orchestrate/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
114
  ibm_watsonx_orchestrate/run/connections.py,sha256=K-65GXPA8GEsVmRdPfMe_LB2G9RfXQUr95wvRUOhkS4,1828
116
115
  ibm_watsonx_orchestrate/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
+ ibm_watsonx_orchestrate/utils/exceptions.py,sha256=MjpoGuk7lMziPT2Zo7X-jgGlm0M22mTZF4Y8EHb3KPM,631
117
117
  ibm_watsonx_orchestrate/utils/utils.py,sha256=U7z_2iASoFiZ2zM0a_2Mc2Y-P5oOT7hOwuurzC9Z3N8,721
118
118
  ibm_watsonx_orchestrate/utils/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
119
119
  ibm_watsonx_orchestrate/utils/logging/logger.py,sha256=FzeGnidXAjC7yHrvIaj4KZPeaBBSCniZFlwgr5yV3oA,1037
120
120
  ibm_watsonx_orchestrate/utils/logging/logging.yaml,sha256=9_TKfuFr1barnOKP0fZT5D6MhddiwsXVTFjtRbcOO5w,314
121
- ibm_watsonx_orchestrate-1.6.2.dist-info/METADATA,sha256=vEKjA3XqPvwQinfXD0axdqgnN-QQlYGeSvXOmXjc27Q,1510
122
- ibm_watsonx_orchestrate-1.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
123
- ibm_watsonx_orchestrate-1.6.2.dist-info/entry_points.txt,sha256=SfIT02-Jen5e99OcLhzbcM9Bdyf8SGVOCtnSplgZdQI,69
124
- ibm_watsonx_orchestrate-1.6.2.dist-info/licenses/LICENSE,sha256=Shgxx7hTdCOkiVRmfGgp_1ISISrwQD7m2f0y8Hsapl4,1083
125
- ibm_watsonx_orchestrate-1.6.2.dist-info/RECORD,,
121
+ ibm_watsonx_orchestrate-1.7.0.dist-info/METADATA,sha256=RX029BzADK7fBTaXp0z658Y2fsVrgVl_lMvLVeHK7lI,1429
122
+ ibm_watsonx_orchestrate-1.7.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
123
+ ibm_watsonx_orchestrate-1.7.0.dist-info/entry_points.txt,sha256=SfIT02-Jen5e99OcLhzbcM9Bdyf8SGVOCtnSplgZdQI,69
124
+ ibm_watsonx_orchestrate-1.7.0.dist-info/licenses/LICENSE,sha256=Shgxx7hTdCOkiVRmfGgp_1ISISrwQD7m2f0y8Hsapl4,1083
125
+ ibm_watsonx_orchestrate-1.7.0.dist-info/RECORD,,
@@ -1,66 +0,0 @@
1
- openapi: 3.0.3
2
- info:
3
- title: Flow status
4
- version: '0.1'
5
- description: This tool allows you to check the status of a flow.
6
- servers:
7
- - url: http://wxo-tempus-runtime:9044
8
- components:
9
- schemas:
10
- APIError:
11
- type: object
12
- properties:
13
- data:
14
- type: object
15
- properties:
16
- message:
17
- type: string
18
- additionalProperties: true
19
- required:
20
- - message
21
- required:
22
- - data
23
- paths:
24
- /v1/flows:
25
- get:
26
- description: Get the status of a flow instance.
27
- operationId: get_flow_status
28
- responses:
29
- '200':
30
- description: Return the status of a flow instance.
31
- content:
32
- application/json:
33
- schema:
34
- type: array
35
- items:
36
- type: object
37
- '400':
38
- description: Bad input
39
- content:
40
- application/json:
41
- schema:
42
- $ref: '#/components/schemas/APIError'
43
- '500':
44
- description: Internal server error
45
- content:
46
- application/json:
47
- schema:
48
- $ref: '#/components/schemas/APIError'
49
- parameters:
50
- - in: query
51
- name: instance_id
52
- description: Identifies the instance of the flow. This was provided when the flow tool was run.
53
- required: false
54
- schema:
55
- type: string
56
- - in: query
57
- name: state
58
- required: false
59
- schema:
60
- type: string
61
- enum:
62
- - completed
63
- - in_progress
64
- - interrupted
65
- - failed
66
-