ibm-watsonx-orchestrate 1.0.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 (89) hide show
  1. ibm_watsonx_orchestrate/__init__.py +28 -0
  2. ibm_watsonx_orchestrate/agent_builder/__init__.py +0 -0
  3. ibm_watsonx_orchestrate/agent_builder/agents/__init__.py +5 -0
  4. ibm_watsonx_orchestrate/agent_builder/agents/agent.py +27 -0
  5. ibm_watsonx_orchestrate/agent_builder/agents/assistant_agent.py +28 -0
  6. ibm_watsonx_orchestrate/agent_builder/agents/external_agent.py +28 -0
  7. ibm_watsonx_orchestrate/agent_builder/agents/types.py +204 -0
  8. ibm_watsonx_orchestrate/agent_builder/connections/__init__.py +27 -0
  9. ibm_watsonx_orchestrate/agent_builder/connections/connections.py +123 -0
  10. ibm_watsonx_orchestrate/agent_builder/connections/types.py +260 -0
  11. ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base.py +27 -0
  12. ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py +59 -0
  13. ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py +243 -0
  14. ibm_watsonx_orchestrate/agent_builder/tools/__init__.py +4 -0
  15. ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py +36 -0
  16. ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py +332 -0
  17. ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py +195 -0
  18. ibm_watsonx_orchestrate/agent_builder/tools/types.py +162 -0
  19. ibm_watsonx_orchestrate/agent_builder/utils/__init__.py +0 -0
  20. ibm_watsonx_orchestrate/agent_builder/utils/pydantic_utils.py +149 -0
  21. ibm_watsonx_orchestrate/cli/__init__.py +0 -0
  22. ibm_watsonx_orchestrate/cli/commands/__init__.py +0 -0
  23. ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py +192 -0
  24. ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py +660 -0
  25. ibm_watsonx_orchestrate/cli/commands/channels/channels_command.py +15 -0
  26. ibm_watsonx_orchestrate/cli/commands/channels/channels_controller.py +16 -0
  27. ibm_watsonx_orchestrate/cli/commands/channels/types.py +15 -0
  28. ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_command.py +32 -0
  29. ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_controller.py +141 -0
  30. ibm_watsonx_orchestrate/cli/commands/chat/chat_command.py +43 -0
  31. ibm_watsonx_orchestrate/cli/commands/connections/connections_command.py +307 -0
  32. ibm_watsonx_orchestrate/cli/commands/connections/connections_controller.py +517 -0
  33. ibm_watsonx_orchestrate/cli/commands/environment/environment_command.py +78 -0
  34. ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py +189 -0
  35. ibm_watsonx_orchestrate/cli/commands/environment/types.py +9 -0
  36. ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py +79 -0
  37. ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py +201 -0
  38. ibm_watsonx_orchestrate/cli/commands/login/login_command.py +17 -0
  39. ibm_watsonx_orchestrate/cli/commands/models/models_command.py +128 -0
  40. ibm_watsonx_orchestrate/cli/commands/server/server_command.py +623 -0
  41. ibm_watsonx_orchestrate/cli/commands/settings/__init__.py +0 -0
  42. ibm_watsonx_orchestrate/cli/commands/settings/observability/__init__.py +0 -0
  43. ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/__init__.py +0 -0
  44. ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/langfuse_command.py +175 -0
  45. ibm_watsonx_orchestrate/cli/commands/settings/observability/observability_command.py +11 -0
  46. ibm_watsonx_orchestrate/cli/commands/settings/settings_command.py +10 -0
  47. ibm_watsonx_orchestrate/cli/commands/tools/tools_command.py +85 -0
  48. ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py +564 -0
  49. ibm_watsonx_orchestrate/cli/commands/tools/types.py +10 -0
  50. ibm_watsonx_orchestrate/cli/config.py +226 -0
  51. ibm_watsonx_orchestrate/cli/main.py +32 -0
  52. ibm_watsonx_orchestrate/client/__init__.py +0 -0
  53. ibm_watsonx_orchestrate/client/agents/agent_client.py +46 -0
  54. ibm_watsonx_orchestrate/client/agents/assistant_agent_client.py +38 -0
  55. ibm_watsonx_orchestrate/client/agents/external_agent_client.py +38 -0
  56. ibm_watsonx_orchestrate/client/analytics/__init__.py +0 -0
  57. ibm_watsonx_orchestrate/client/analytics/llm/__init__.py +0 -0
  58. ibm_watsonx_orchestrate/client/analytics/llm/analytics_llm_client.py +50 -0
  59. ibm_watsonx_orchestrate/client/base_api_client.py +113 -0
  60. ibm_watsonx_orchestrate/client/base_service_instance.py +10 -0
  61. ibm_watsonx_orchestrate/client/client.py +71 -0
  62. ibm_watsonx_orchestrate/client/client_errors.py +359 -0
  63. ibm_watsonx_orchestrate/client/connections/__init__.py +10 -0
  64. ibm_watsonx_orchestrate/client/connections/connections_client.py +162 -0
  65. ibm_watsonx_orchestrate/client/connections/utils.py +27 -0
  66. ibm_watsonx_orchestrate/client/credentials.py +123 -0
  67. ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py +46 -0
  68. ibm_watsonx_orchestrate/client/local_service_instance.py +91 -0
  69. ibm_watsonx_orchestrate/client/service_instance.py +73 -0
  70. ibm_watsonx_orchestrate/client/tools/tool_client.py +41 -0
  71. ibm_watsonx_orchestrate/client/utils.py +95 -0
  72. ibm_watsonx_orchestrate/docker/compose-lite.yml +595 -0
  73. ibm_watsonx_orchestrate/docker/default.env +125 -0
  74. ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0-py3-none-any.whl +0 -0
  75. ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0.tar.gz +0 -0
  76. ibm_watsonx_orchestrate/docker/start-up.sh +61 -0
  77. ibm_watsonx_orchestrate/docker/tempus/common-config.yaml +1 -0
  78. ibm_watsonx_orchestrate/run/__init__.py +0 -0
  79. ibm_watsonx_orchestrate/run/connections.py +40 -0
  80. ibm_watsonx_orchestrate/utils/__init__.py +0 -0
  81. ibm_watsonx_orchestrate/utils/logging/__init__.py +0 -0
  82. ibm_watsonx_orchestrate/utils/logging/logger.py +26 -0
  83. ibm_watsonx_orchestrate/utils/logging/logging.yaml +18 -0
  84. ibm_watsonx_orchestrate/utils/utils.py +15 -0
  85. ibm_watsonx_orchestrate-1.0.0.dist-info/METADATA +34 -0
  86. ibm_watsonx_orchestrate-1.0.0.dist-info/RECORD +89 -0
  87. ibm_watsonx_orchestrate-1.0.0.dist-info/WHEEL +4 -0
  88. ibm_watsonx_orchestrate-1.0.0.dist-info/entry_points.txt +2 -0
  89. ibm_watsonx_orchestrate-1.0.0.dist-info/licenses/LICENSE +22 -0
@@ -0,0 +1,125 @@
1
+ REGISTRY_URL=us.icr.io
2
+ #DOCKER_IAM_KEY=dummy #Must Define in env
3
+ #You can generate any JWT_SECRET with python -c 'import secrets; print(secrets.token_hex(32))'
4
+ JWT_SECRET=11759cbc89dbec64956715e10a854eb38f8b7a1775bdf68142786170f5e8b5b2
5
+ POSTGRES_URL=postgresql://postgres:postgres@localhost:5432/postgres
6
+ CELERY_BROKER_URL=redis://localhost:6379/0
7
+ CELERY_RESULT_BACKEND=redis://localhost:6379/0
8
+ FLOWER_URL=http://localhost:5555
9
+ STORAGE_S3_ENDPOINT=http://wxo-server-minio:9000
10
+ STORAGE_S3_BUCKET=wxo-server-storage-bucket
11
+ AWS_ACCESS_KEY_ID=minioadmin
12
+ AWS_SECRET_ACCESS_KEY=watsonxorchestrate
13
+ # BAM and WATSONX.AI API Keys
14
+ #BAM_API_KEY= #Will default to WATSONX_APIKEY if specified
15
+ #WXAI_API_KEY=#Will default to WATSONX_APIKEY if specified
16
+ #ASSISTANT_LLM_API_KEY= #Will default to WATSONX_APIKEY if specified
17
+ ASSISTANT_LLM_MODEL_ID=watsonx/ibm/granite-3-8b-instruct
18
+ ASSISTANT_LLM_API_BASE=https://us-south.ml.cloud.ibm.com
19
+ #ASSISTANT_LLM_SPACE_ID= #Will default to WATSONX_SPACE_ID if specified
20
+ ASSISTANT_EMBEDDINGS_MODEL_ID=watsonx/ibm/slate-125m-english-rtrvr
21
+ #ASSISTANT_EMBEDDINGS_API_KEY=#Will default to WATSONX_APIKEY if specified
22
+ ASSISTANT_EMBEDDINGS_API_BASE=https://us-south.ml.cloud.ibm.com
23
+ #ASSISTANT_EMBEDDINGS_SPACE_ID=#Will default to WATSONX_SPACE_ID if specified
24
+ ROUTING_LLM_API_BASE=https://us-south.ml.cloud.ibm.com
25
+ ROUTING_LLM_MODEL_ID=watsonx/ibm/granite-8b-unified-api-model-v2
26
+ AUTHORIZATION_URL=https://iam.test.cloud.ibm.com/identity/token
27
+ #ROUTING_LLM_API_KEY=#Will default to WATSONX_APIKEY if specified
28
+ #ROUTING_LLM_SPACE_ID=#Will default to WATSONX_SPACE_ID if specified
29
+ ASSISTANT_INDEX_CHUNK_SIZE=1000
30
+ ASSISTANT_INDEX_CHUNK_OVERLAP=10
31
+ WXAI_PROJECT_ID=dummy_wxai_project_id
32
+ EVENT_BROKER_URL=redis://localhost:6379/0
33
+ DB_ENCRYPTION_KEY=dummy_db_encryption_key
34
+ BASE_URL=dummy_base_url
35
+ SERVER_TYPE=CELERY
36
+ SQLALCHEMY_DEBUG=false
37
+
38
+ LANGFUSE_HOST=http://host.docker.internal:3010
39
+ LANGFUSE_EMAIL=orchestrate@ibm.com
40
+ LANGFUSE_USERNAME=orchestrate
41
+ LANGFUSE_PASSWORD=orchestrate
42
+ LANGFUSE_PUBLIC_KEY=pk-lf-7417757e-d6df-421b-957e-683b76acb5df
43
+ LANGFUSE_PRIVATE_KEY=sk-lf-7bc4da63-7b2b-40c0-b5eb-1e0cf64f9af2
44
+
45
+ CELERY_WORKER_CONCURRENCY=12
46
+ CELERY_RESULTS_TTL="3600"
47
+ EVENT_BROKER_TTL="-1"
48
+
49
+ # START -- IMAGE REGISTRIES AND TAGS
50
+ SERVER_TAG=29-04-2025
51
+ SERVER_REGISTRY=watson-orchestrate-private
52
+
53
+ WORKER_TAG=29-04-2025
54
+ WORKER_REGISTRY=watson-orchestrate-private
55
+
56
+ DB_REGISTRY=watson-orchestrate-private
57
+ # If you build multiarch set all three of these to the same, we have a pr against main
58
+ # to not have this separation, but we can merge it later
59
+ DBTAG=29-04-2025
60
+ AMDDBTAG=22-04-2025
61
+ ARM64DBTAG=22-04-2025
62
+
63
+ UI_REGISTRY=watson-orchestrate-private
64
+ UITAG=29-04-2025
65
+
66
+ CM_REGISTRY=watson-orchestrate-private
67
+ CM_TAG=29-04-2025v1
68
+
69
+ TRM_TAG=30-04-2025
70
+ TRM_REGISTRY=watson-orchestrate-private
71
+
72
+ TR_TAG=30-04-2025
73
+ TR_REGISTRY=watson-orchestrate-private
74
+
75
+ BUILDER_REGISTRY=watson-orchestrate-private
76
+ BUILDER_TAG=29-04-2025
77
+
78
+ FLOW_RUNTIME_TAG=31-03-2025
79
+
80
+ # END -- IMAGE REGISTRIES AND TAGS
81
+
82
+ TAVILY_API_KEY=dummy_tavily_api_key
83
+ PREFERRED_MODELS=meta-llama/llama-3-1-8b-instruct,meta-llama/llama-3-1-70b-instruct,meta-llama/llama-3-405b-instruct,meta-llama/llama-3-2-1b-instruct,meta-llama/llama-3-2-3b-instruct,meta-llama/llama-3-2-11b-vision-instruct,meta-llama/llama-3-2-90b-vision-instruct,mistralai/mistral-large,mistralai/mixtral-8x7b-instruct-v01,ibm/granite-3-2b-instruct,ibm/granite-3-8b-instruct
84
+ INCOMPATIBLE_MODELS=flan,embedding,cross-encoder,tinytimemixers
85
+ #WATSONX_APIKEY= #Must define in .env
86
+ WATSONX_URL=https://us-south.ml.cloud.ibm.com
87
+ #WATSONX_SPACE_ID= #Must define in .env
88
+ DEFAULT_SETTINGS=config/settings/default-settings.yaml
89
+ PROMPT_TEMPLATES_DIR=config/prompt-templates
90
+ PROMPTS_DIR=config/prompts
91
+ ROUTING_PROMPTS_DIR=config/router-prompts
92
+ CONTROL_SETTINGS_PATH=config/settings/controls/main.yaml
93
+ SUPPORTED_MODELS_FILE_PATH=config/saas_supported_models.json
94
+ ENABLE_WEBHOOKS=false
95
+ POSTGRES_POOL_RECYCLE=-1
96
+ POSTGRES_POOL_TIMEOUT=32
97
+ POSTGRES_MAX_OVERFLOW=32
98
+ POSTGRES_POOL_SIZE=32
99
+ CELERY_WORKER_POOL=threads
100
+ AGENTIC_FLOW_ENABLED=true
101
+ CALLER_ID=dummy_caller_id
102
+ WXO_USER=wxo.archer@ibm.com
103
+ WXO_PASS=watsonx
104
+ STREAM_TIMEOUT=120000
105
+ DEPLOYMENT_PLATFORM=lite-laptop
106
+ WXO_BASE_URL=http://host.docker.internal:4321
107
+ RUNTIME_MANAGER_API_KEY="testapikey"
108
+ TOOLS_RUNTIME_MANAGER_BASE_URL="http://host.docker.internal:8080"
109
+ CONNECTION_SERVICE_BASE_URL="http://host.docker.internal:3001"
110
+
111
+ #To Prevent warnings
112
+ VECTOR_STORE_PROVIDER=
113
+ MILVUS_URI=
114
+ LANGCHAIN_API_KEY=
115
+ LANGCHAIN_PROJECT=
116
+ LANGCHAIN_TRACING_V2=
117
+ REACT_APP_SERVER_TOKEN_JWT=
118
+ REACT_APP_TENANT_ID=
119
+ SERVER_PORT=
120
+ SCHEMA_FILE_PATH=
121
+ NAMESPACE=
122
+ DB_CONN_LIFE=
123
+ DB_MAX_IDLE_CONN=
124
+ DB_MAX_CONN=
125
+ SERVER_HOST=
@@ -0,0 +1,61 @@
1
+ set -e
2
+
3
+ check_service_ready() {
4
+ local port=$1
5
+ local retries=20
6
+ local wait_time=30
7
+
8
+ for ((i=1; i<=retries; i++)); do
9
+ if curl --silent --fail -k https://127.0.0.1:$port/health/alive; then
10
+ echo "[INFO] Service is ready on port $port."
11
+ return 0
12
+ else
13
+ echo "[INFO] Waiting for service on port $port... Attempt $i/$retries"
14
+ sleep $wait_time
15
+ fi
16
+ done
17
+
18
+ echo "[ERROR] Service on port $port did not become ready after $((retries * wait_time)) seconds."
19
+ return 1
20
+ }
21
+
22
+ if [ "$IS_WXO_LITE" = "TRUE" ]; then
23
+ echo "[INFO] Lite mode detected - generating self-signed certificates into /tmp"
24
+
25
+ mkdir -p /tmp/certs
26
+
27
+ openssl req -x509 -nodes -days 365 \
28
+ -newkey rsa:2048 \
29
+ -keyout /tmp/certs/key.pem \
30
+ -out /tmp/certs/cert.pem \
31
+ -subj "/CN=localhost"
32
+
33
+ echo "[INFO] Starting BOTH servers (HTTP on 4321 + HTTPS on 4322) with sequential worker startup"
34
+
35
+
36
+ uvicorn --host 0.0.0.0 --port 4322 \
37
+ --ssl-keyfile /tmp/certs/key.pem \
38
+ --ssl-certfile /tmp/certs/cert.pem \
39
+ --log-config /app/config/logs/log_conf.yaml \
40
+ --log-level debug \
41
+ wo_archer.api.main:app &
42
+ echo "[INFO] Started HTTPS server. Waiting for readiness..."
43
+
44
+ check_service_ready 4322
45
+
46
+ uvicorn --host 0.0.0.0 --port 4321 \
47
+ --log-config /app/config/logs/log_conf.yaml \
48
+ --log-level debug \
49
+ --workers 2 \
50
+ wo_archer.api.main:app &
51
+ echo "[INFO] Started HTTP worker $i. Waiting for readiness..."
52
+
53
+ else
54
+ uvicorn --host 0.0.0.0 --port 4321 \
55
+ --log-config /app/config/logs/log_conf.yaml \
56
+ --log-level debug \
57
+ wo_archer.api.main:app &
58
+ echo "[INFO] Started HTTP worker $i. Waiting for readiness..."
59
+ fi
60
+
61
+ wait
@@ -0,0 +1 @@
1
+ NODE_LOG_LEVEL: trace
File without changes
@@ -0,0 +1,40 @@
1
+ from ibm_watsonx_orchestrate.agent_builder.connections import (
2
+ get_application_connection_credentials,
3
+ get_connection_type,
4
+ BasicAuthCredentials,
5
+ BearerTokenAuthCredentials,
6
+ APIKeyAuthCredentials,
7
+ OAuth2TokenCredentials,
8
+ KeyValueConnectionCredentials,
9
+ ConnectionType
10
+ )
11
+
12
+ def basic_auth(app_id:str) -> BasicAuthCredentials:
13
+ return get_application_connection_credentials(ConnectionType.BASIC_AUTH, app_id=app_id)
14
+
15
+ def bearer_token(app_id:str) -> BearerTokenAuthCredentials:
16
+ return get_application_connection_credentials(ConnectionType.BEARER_TOKEN, app_id=app_id)
17
+
18
+ def api_key_auth(app_id:str) -> APIKeyAuthCredentials:
19
+ return get_application_connection_credentials(ConnectionType.API_KEY_AUTH, app_id=app_id)
20
+
21
+ # def oauth2_auth_code(app_id:str) -> BearerTokenAuthCredentials:
22
+ # return get_application_connection_credentials(ConnectionType.OAUTH2_AUTH_CODE, app_id=app_id)
23
+
24
+ # def oauth2_implicit(app_id:str) -> BearerTokenAuthCredentials:
25
+ # return get_application_connection_credentials(ConnectionType.OAUTH2_IMPLICIT, app_id=app_id)
26
+
27
+ # def oauth2_password(app_id:str) -> BearerTokenAuthCredentials:
28
+ # return get_application_connection_credentials(ConnectionType.OAUTH2_PASSWORD, app_id=app_id)
29
+
30
+ # def oauth2_client_creds(app_id:str) -> BearerTokenAuthCredentials:
31
+ # return get_application_connection_credentials(ConnectionType.OAUTH2_CLIENT_CREDS, app_id=app_id)
32
+
33
+ def oauth2_on_behalf_of(app_id:str) -> OAuth2TokenCredentials:
34
+ return get_application_connection_credentials(ConnectionType.OAUTH_ON_BEHALF_OF_FLOW, app_id=app_id)
35
+
36
+ def key_value(app_id:str) -> KeyValueConnectionCredentials:
37
+ return get_application_connection_credentials(ConnectionType.KEY_VALUE, app_id=app_id)
38
+
39
+ def connection_type(app_id:str) -> ConnectionType:
40
+ return get_connection_type(app_id=app_id)
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ import logging
2
+ import logging.config
3
+ from importlib import resources
4
+ import yaml
5
+ from enum import Enum
6
+
7
+ class LogColors(str, Enum):
8
+ INFO = "\033[0;36m" #cyan
9
+ DEBUG = "\033[0;35m" #magenta
10
+ WARNING = "\033[0;33m" #yellow
11
+ ERROR = "\033[0;31m" #red
12
+ RESET = "\033[0;0m"
13
+
14
+
15
+ def setup_logging():
16
+ config_file = str(resources.files("ibm_watsonx_orchestrate.utils.logging").joinpath("logging.yaml"))
17
+ with open(config_file, "r") as f:
18
+ config = yaml.safe_load(f)
19
+
20
+ logging.config.dictConfig(config)
21
+
22
+ # Add log colors
23
+ logging.addLevelName( logging.INFO, LogColors.INFO + f"[{logging.getLevelName(logging.INFO)}]" + LogColors.RESET)
24
+ logging.addLevelName( logging.DEBUG, LogColors.DEBUG + f"[{logging.getLevelName(logging.DEBUG)}]" + LogColors.RESET)
25
+ logging.addLevelName( logging.WARNING, LogColors.WARNING + f"[{logging.getLevelName(logging.WARNING)}]" + LogColors.RESET)
26
+ logging.addLevelName( logging.ERROR, LogColors.ERROR + f"[{logging.getLevelName(logging.ERROR)}]" + LogColors.RESET)
@@ -0,0 +1,18 @@
1
+ version: 1
2
+ disable_existing_loggers: false
3
+
4
+ formatters:
5
+ standard:
6
+ format: "%(levelname)s - %(message)s"
7
+
8
+ handlers:
9
+ console:
10
+ class: logging.StreamHandler
11
+ level: DEBUG
12
+ formatter: standard
13
+ stream: ext://sys.stdout
14
+
15
+ loggers:
16
+ ibm_watsonx_orchestrate:
17
+ level: DEBUG
18
+ handlers: [console]
@@ -0,0 +1,15 @@
1
+ import re
2
+
3
+ import yaml
4
+ from typing import BinaryIO
5
+
6
+ # disables the automatic conversion of date-time objects to datetime objects and leaves them as strings
7
+ yaml.constructor.SafeConstructor.yaml_constructors[u'tag:yaml.org,2002:timestamp'] = \
8
+ yaml.constructor.SafeConstructor.yaml_constructors[u'tag:yaml.org,2002:str']
9
+
10
+ def yaml_safe_load(file : BinaryIO) -> dict:
11
+ return yaml.safe_load(file)
12
+
13
+ def sanatize_app_id(app_id: str) -> str:
14
+ sanatize_pattern = re.compile(r"[^a-zA-Z0-9]+")
15
+ return re.sub(sanatize_pattern,'_', app_id)
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: ibm-watsonx-orchestrate
3
+ Version: 1.0.0
4
+ Summary: IBM watsonx.orchestrate SDK
5
+ Author-email: IBM <support@ibm.com>
6
+ License: MIT License
7
+ License-File: LICENSE
8
+ Requires-Python: <3.14,>=3.11
9
+ Requires-Dist: certifi>=2024.8.30
10
+ Requires-Dist: docstring-parser<1.0,>=0.16
11
+ Requires-Dist: httpx<1.0.0,>=0.28.1
12
+ Requires-Dist: ibm-cloud-sdk-core>=3.22.0
13
+ Requires-Dist: jsonref==1.1.0
14
+ Requires-Dist: jsonschema<5.0.0,>=4.23.0
15
+ Requires-Dist: langchain-community<1.0.0,>=0.3.12
16
+ Requires-Dist: numpy>=1.26.0
17
+ Requires-Dist: packaging>=24.2
18
+ Requires-Dist: pydantic<3.0.0,>=2.10.3
19
+ Requires-Dist: pyjwt<3.0.0,>=2.10.1
20
+ Requires-Dist: python-dotenv>=1.0.0
21
+ Requires-Dist: pyyaml<7.0.0,>=6.0.2
22
+ Requires-Dist: requests>=2.32.3
23
+ Requires-Dist: rich<14.0.0,>=13.9.4
24
+ Requires-Dist: typer<1.0.0,>=0.15.1
25
+ Requires-Dist: urllib3>=2.2.3
26
+ Provides-Extra: dev
27
+ Requires-Dist: black~=22.3.0; extra == 'dev'
28
+ Requires-Dist: coverage[toml]>=6.5; extra == 'dev'
29
+ Requires-Dist: pylint~=2.16.4; extra == 'dev'
30
+ Requires-Dist: pytest-asyncio==0.25.1; extra == 'dev'
31
+ Requires-Dist: pytest-cov==6.0.0; extra == 'dev'
32
+ Requires-Dist: pytest-mock==3.14.0; extra == 'dev'
33
+ Requires-Dist: pytest<9.0.0,>=8.3.4; extra == 'dev'
34
+ Requires-Dist: snapshottest==1.0.0a1; extra == 'dev'
@@ -0,0 +1,89 @@
1
+ ibm_watsonx_orchestrate/__init__.py,sha256=BlQMhv5PHK2l1FOEcvljrRuScW9GICW4FnHuWld2p_A,737
2
+ ibm_watsonx_orchestrate/agent_builder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ ibm_watsonx_orchestrate/agent_builder/agents/__init__.py,sha256=v4G0MGh11eOCkUJP_4AMOcFgzW14oE41G3iFp7G2vvw,376
4
+ ibm_watsonx_orchestrate/agent_builder/agents/agent.py,sha256=PcBg2dRi-IOzvl24u8fa3B0jLaM5hzgkpTS8k56L9Ag,919
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=8OXx7CwWEFO8XNSL69ItfMWzicxuvfyuLPMHA2QHQ-w,8475
8
+ ibm_watsonx_orchestrate/agent_builder/connections/__init__.py,sha256=T7rgkNrG5wx-DfZVb7ree5hw_fCV0FbxVFxvr0bnxdw,722
9
+ ibm_watsonx_orchestrate/agent_builder/connections/connections.py,sha256=DImRGTXiky1KEVxM_5RmeLom74Lej9bBD8cXafkV6FY,4501
10
+ ibm_watsonx_orchestrate/agent_builder/connections/types.py,sha256=znSOdikTv_yIZaVDwoHwOSPu6b9hajj8miCMKOBmi2w,9280
11
+ ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base.py,sha256=kmszvI35U-q8BZYFritvX09jguK7yx93Z3llTZvihlY,1001
12
+ ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py,sha256=sJ6FrzKNZ83KH5THbxVPbuY6J0HjTmXOkIEQ75z5iDQ,2700
13
+ ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py,sha256=yvtf4zM0MswVhw2qOCeOSGMLZSvr7nkQ15-W3UZlND0,7244
14
+ ibm_watsonx_orchestrate/agent_builder/tools/__init__.py,sha256=adkYX0wgB-RKFCUBw6LPJhNVelUjUdsxipGPk2ghLns,479
15
+ ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py,sha256=unJBOJUY8DAq3T3YX5d1H5KehJUCjObAdpGLVoWIfzw,1156
16
+ ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py,sha256=GD2yQkBSRHcnyq1LqA3crfo05rruqCj9vBS9xVDR2r0,14738
17
+ ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py,sha256=wvJVC4VJuedkld_JFib1Le3o958bIvo7qhBr0VEI7wc,7940
18
+ ibm_watsonx_orchestrate/agent_builder/tools/types.py,sha256=lA_BxWR_vQ0KTGYh3V0LPtNx9jG-IhwuptFf-VzhZAk,5280
19
+ ibm_watsonx_orchestrate/agent_builder/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ ibm_watsonx_orchestrate/agent_builder/utils/pydantic_utils.py,sha256=QEanM6FpkmntvS02whdhWx1d4v6zT_1l9ipEbfTgHs8,7623
21
+ ibm_watsonx_orchestrate/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ ibm_watsonx_orchestrate/cli/config.py,sha256=X6VbsGagQO4Fo1D9xROjwAdaHyV_wnXDYRmRrWW73TI,8022
23
+ ibm_watsonx_orchestrate/cli/main.py,sha256=AZtBEb1Dm_gh1uo98AnMo-D_LKhsLIUrRx-xJFnprog,2177
24
+ ibm_watsonx_orchestrate/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py,sha256=GVHM1wv28zGzOcc__3BXHt0Y5NXZuOr7PH8exwVqn-o,6640
26
+ ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py,sha256=mOoBwLltv5dpGdawoyXClUIsO3bIpZLOXrIXZ7Cney4,27920
27
+ ibm_watsonx_orchestrate/cli/commands/channels/channels_command.py,sha256=fVIFhPUTPdxsxIE10nWL-W5wvBR-BS8V8D6r__J8R98,822
28
+ ibm_watsonx_orchestrate/cli/commands/channels/channels_controller.py,sha256=WjQxwJujvo28SsWgfJSXIpkcgniKcskJ2arL4MOz0Ys,455
29
+ ibm_watsonx_orchestrate/cli/commands/channels/types.py,sha256=h8gA3EM7k5X08sk8T9b5siL-XL9uUE-hl_jS-0PDBHA,254
30
+ ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_command.py,sha256=vPCr6z1n1yzGDjTlM4f3_9MiuVRzNmXbvUifm6XyQi8,1103
31
+ ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_controller.py,sha256=9FjDIxc9-9NildYQ7mvZDZWrZ8zgPjVEXoxJs7Mx5Zc,5001
32
+ ibm_watsonx_orchestrate/cli/commands/chat/chat_command.py,sha256=5XnL6wMw3R9CjYDxZxBFJcdPxmNBuYIkfJlVUODvCyc,1372
33
+ ibm_watsonx_orchestrate/cli/commands/connections/connections_command.py,sha256=_g_MbdDEJrV5qsbeamMzgOOdNh-xePhjI0s3Ci3__64,9935
34
+ ibm_watsonx_orchestrate/cli/commands/connections/connections_controller.py,sha256=x-7UESwKNGf80K4kTyLb8ZI2_jPN7x7rUy2KwH5npLw,22022
35
+ ibm_watsonx_orchestrate/cli/commands/environment/environment_command.py,sha256=E-9uD2mXiWzxGRnP10bZN4YIt6NfCJdUFZWGXPP-l_o,2688
36
+ ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py,sha256=F1ef-VlYV-X97du8AlrluOhV0o50S3IBjqffk7Tw-yU,7534
37
+ ibm_watsonx_orchestrate/cli/commands/environment/types.py,sha256=BEHkzhsXoWWZsJrK6klv7Bgt2L3FFqzjNGqSbpdoHs8,159
38
+ ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py,sha256=I14HlpJ64RUdeM-NaZeDkz5XUN57fiSSu3yrmiJcJdo,3062
39
+ ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py,sha256=mK9rMzslwIYDx8ebUs7QHVYAak6xm830_pKu3xH6F-s,8245
40
+ ibm_watsonx_orchestrate/cli/commands/login/login_command.py,sha256=xArMiojoozg7Exn6HTpbTcjDO2idZRA-y0WV-_Ic1Sk,651
41
+ ibm_watsonx_orchestrate/cli/commands/models/models_command.py,sha256=lxh0YpATogJRroHItwVuHmsZlHctVzWw_dEWkJlbwOI,4893
42
+ ibm_watsonx_orchestrate/cli/commands/server/server_command.py,sha256=BRUUsZQddPSTSFQywFdJkqKtcxcWFwbIOf11WLx7sTQ,21976
43
+ ibm_watsonx_orchestrate/cli/commands/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ ibm_watsonx_orchestrate/cli/commands/settings/settings_command.py,sha256=CzXRkd-97jXyS6LtaaNtMah-aZu0919dYl-mDwzGThc,344
45
+ ibm_watsonx_orchestrate/cli/commands/settings/observability/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ ibm_watsonx_orchestrate/cli/commands/settings/observability/observability_command.py,sha256=TAkpKwoqocsShSgEeR6LzHCzJx16VDQ6cYsbpljxeqI,372
47
+ ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
+ ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/langfuse_command.py,sha256=Wa0L8E44EdxH9LdOvmnluLk_ApJVfTLauNOC1kV4W8k,6515
49
+ ibm_watsonx_orchestrate/cli/commands/tools/tools_command.py,sha256=2GK5AKwEYXsOZaASG15J8yNIPakI0NYkSXBTkeuHj6s,3343
50
+ ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py,sha256=qPY4CL0vUrM4rBryAAdE9DeUaXBSECWIQoNnuOgMVS0,26469
51
+ ibm_watsonx_orchestrate/cli/commands/tools/types.py,sha256=_md0GEa_cTH17NO_moWDY_LNdFvyEFQ1UVB9_FltYiA,173
52
+ ibm_watsonx_orchestrate/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
+ ibm_watsonx_orchestrate/client/base_api_client.py,sha256=0ozLUudIrQH0RTdKaX0Y5c35FRNZPTemaAp71AsoMsQ,4410
54
+ ibm_watsonx_orchestrate/client/base_service_instance.py,sha256=sM_r7bln9BpgEOhaJMdFI9-je3T7GLQxLduk-in0oRY,235
55
+ ibm_watsonx_orchestrate/client/client.py,sha256=pgYeXHe4_Makrw0gTyM343DQdrZZB8cjitFHKcbdzuc,2432
56
+ ibm_watsonx_orchestrate/client/client_errors.py,sha256=72MKCNZbKoo2QXyY0RicLhP3r0ALRjgOEbHOHNSyOYI,11712
57
+ ibm_watsonx_orchestrate/client/credentials.py,sha256=TAgCIum3YRR1Hsow4TRojEXgFA6QBCaIAG2boshEBUw,3702
58
+ ibm_watsonx_orchestrate/client/local_service_instance.py,sha256=ilqbcd0R6r0w6H5tMlQf0YRFk8IjbJd9sXwT41iQ5iQ,3440
59
+ ibm_watsonx_orchestrate/client/service_instance.py,sha256=FlE09lKi-wx6--Pg73qvJBnrHuNI92JPqIHziaCgkUA,2857
60
+ ibm_watsonx_orchestrate/client/utils.py,sha256=qvVDrtlzJh-7ADG4SY0Xg38_AcjDRGuG6VgyWdF4NBg,3570
61
+ ibm_watsonx_orchestrate/client/agents/agent_client.py,sha256=2Pt4uIC35uS9EwsjtzF7RIQxx020_gW4_nPNuoe9A-E,1713
62
+ ibm_watsonx_orchestrate/client/agents/assistant_agent_client.py,sha256=XRiyfYx8mB4OCaQTvvY3Q_taDh7KzEBGgAQnKCPyOvA,1467
63
+ ibm_watsonx_orchestrate/client/agents/external_agent_client.py,sha256=X0_7BO0YgGTpA4EC6YuV0f2JlDoCOWAQquYBX_mXXL8,1507
64
+ ibm_watsonx_orchestrate/client/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ ibm_watsonx_orchestrate/client/analytics/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
+ ibm_watsonx_orchestrate/client/analytics/llm/analytics_llm_client.py,sha256=OSw9X5us_K7Pgstn8XCcl3sfS12USNyCW04QgymUAaY,1479
67
+ ibm_watsonx_orchestrate/client/connections/__init__.py,sha256=u821r2ZiYXLYNTknxdBYgc7glwTXsrQBd3z1I81f3ro,184
68
+ ibm_watsonx_orchestrate/client/connections/connections_client.py,sha256=aenYRfywM0lPlJWipFuy-Dnp2ljmpeP11oaWvPd69sA,7053
69
+ ibm_watsonx_orchestrate/client/connections/utils.py,sha256=XqgYoiehiqIZ-LnduIAiJ9DIIF7IR7QvkKTc9784Ii0,1326
70
+ ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py,sha256=0FCpb5dF3WVC1w_7loKXcBswSI-ZyJ52f9UA5Mo9hQw,2134
71
+ ibm_watsonx_orchestrate/client/tools/tool_client.py,sha256=pEKOBH488YbLVc71ucucX0rr8YoulvDCxejuyWd0K8s,1588
72
+ ibm_watsonx_orchestrate/docker/compose-lite.yml,sha256=7i-5QsbNNeerM2E4XTuqWtO_tWjhMWqMRUQkIBh3N5Y,24491
73
+ ibm_watsonx_orchestrate/docker/default.env,sha256=xi_1Kj1TNCUMiL4sNWQt4UMhgXnwsUDellPRKUxms_0,4641
74
+ ibm_watsonx_orchestrate/docker/start-up.sh,sha256=LTtwHp0AidVgjohis2LXGvZnkFQStOiUAxgGABOyeUI,1811
75
+ ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0-py3-none-any.whl,sha256=Hi3-owh5OM0Jz2ihX9nLoojnr7Ky1TV-GelyqLcewLE,2047417
76
+ ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0.tar.gz,sha256=e5T-q7XPAtiCyQljwZp6kk3Q_4Tg6y5sijHTkscmqqQ,2025466
77
+ ibm_watsonx_orchestrate/docker/tempus/common-config.yaml,sha256=Kmo48lZntgljrawyLVpQCoOrrUANjgcxelDi7vEQPOY,22
78
+ ibm_watsonx_orchestrate/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
+ ibm_watsonx_orchestrate/run/connections.py,sha256=o5TjSqxLG8zLk6UGWCcz_UdylMWZOyUT1o3i1XkL5Uc,1844
80
+ ibm_watsonx_orchestrate/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
+ ibm_watsonx_orchestrate/utils/utils.py,sha256=3JWk1J9A04yVZeetE3TQH82I53Sn20KvU_J_BUXlCic,544
82
+ ibm_watsonx_orchestrate/utils/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
+ ibm_watsonx_orchestrate/utils/logging/logger.py,sha256=FzeGnidXAjC7yHrvIaj4KZPeaBBSCniZFlwgr5yV3oA,1037
84
+ ibm_watsonx_orchestrate/utils/logging/logging.yaml,sha256=9_TKfuFr1barnOKP0fZT5D6MhddiwsXVTFjtRbcOO5w,314
85
+ ibm_watsonx_orchestrate-1.0.0.dist-info/METADATA,sha256=P9Sf-k0Yh2T6kGL-8wwlsr19cIU2beUz0hvsocaa014,1251
86
+ ibm_watsonx_orchestrate-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
87
+ ibm_watsonx_orchestrate-1.0.0.dist-info/entry_points.txt,sha256=SfIT02-Jen5e99OcLhzbcM9Bdyf8SGVOCtnSplgZdQI,69
88
+ ibm_watsonx_orchestrate-1.0.0.dist-info/licenses/LICENSE,sha256=Shgxx7hTdCOkiVRmfGgp_1ISISrwQD7m2f0y8Hsapl4,1083
89
+ ibm_watsonx_orchestrate-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ orchestrate = ibm_watsonx_orchestrate.cli.main:app
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2024, 2025 IBM Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.