lightning-sdk 2025.11.13.post0__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.
- docs/source/conf.py +378 -0
- lightning_sdk/__init__.py +43 -0
- lightning_sdk/__version__.py +3 -0
- lightning_sdk/agents.py +47 -0
- lightning_sdk/ai_hub.py +190 -0
- lightning_sdk/api/__init__.py +17 -0
- lightning_sdk/api/agents_api.py +107 -0
- lightning_sdk/api/ai_hub_api.py +173 -0
- lightning_sdk/api/base_studio_api.py +90 -0
- lightning_sdk/api/cloud_account_api.py +225 -0
- lightning_sdk/api/deployment_api.py +680 -0
- lightning_sdk/api/job_api.py +459 -0
- lightning_sdk/api/license_api.py +37 -0
- lightning_sdk/api/lit_container_api.py +254 -0
- lightning_sdk/api/llm_api.py +306 -0
- lightning_sdk/api/mmt_api.py +295 -0
- lightning_sdk/api/org_api.py +22 -0
- lightning_sdk/api/pipeline_api.py +120 -0
- lightning_sdk/api/studio_api.py +1043 -0
- lightning_sdk/api/teamspace_api.py +535 -0
- lightning_sdk/api/user_api.py +125 -0
- lightning_sdk/api/utils.py +806 -0
- lightning_sdk/base_studio.py +123 -0
- lightning_sdk/cli/__init__.py +1 -0
- lightning_sdk/cli/base_studio/__init__.py +10 -0
- lightning_sdk/cli/base_studio/list.py +43 -0
- lightning_sdk/cli/config/__init__.py +14 -0
- lightning_sdk/cli/config/get.py +57 -0
- lightning_sdk/cli/config/set.py +92 -0
- lightning_sdk/cli/config/show.py +9 -0
- lightning_sdk/cli/entrypoint.py +110 -0
- lightning_sdk/cli/groups.py +56 -0
- lightning_sdk/cli/job/__init__.py +7 -0
- lightning_sdk/cli/legacy/__init__.py +0 -0
- lightning_sdk/cli/legacy/ai_hub.py +65 -0
- lightning_sdk/cli/legacy/clusters_menu.py +49 -0
- lightning_sdk/cli/legacy/configure.py +129 -0
- lightning_sdk/cli/legacy/connect.py +34 -0
- lightning_sdk/cli/legacy/create.py +115 -0
- lightning_sdk/cli/legacy/delete.py +131 -0
- lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
- lightning_sdk/cli/legacy/deploy/_auth.py +196 -0
- lightning_sdk/cli/legacy/deploy/devbox.py +163 -0
- lightning_sdk/cli/legacy/deploy/serve.py +466 -0
- lightning_sdk/cli/legacy/docker_cli.py +22 -0
- lightning_sdk/cli/legacy/download.py +322 -0
- lightning_sdk/cli/legacy/entrypoint.py +110 -0
- lightning_sdk/cli/legacy/exceptions.py +6 -0
- lightning_sdk/cli/legacy/generate.py +52 -0
- lightning_sdk/cli/legacy/inspection.py +45 -0
- lightning_sdk/cli/legacy/job_and_mmt_action.py +37 -0
- lightning_sdk/cli/legacy/jobs_menu.py +58 -0
- lightning_sdk/cli/legacy/list.py +326 -0
- lightning_sdk/cli/legacy/mmts_menu.py +58 -0
- lightning_sdk/cli/legacy/open.py +81 -0
- lightning_sdk/cli/legacy/run.py +443 -0
- lightning_sdk/cli/legacy/start.py +107 -0
- lightning_sdk/cli/legacy/stop.py +107 -0
- lightning_sdk/cli/legacy/studios_menu.py +101 -0
- lightning_sdk/cli/legacy/switch.py +63 -0
- lightning_sdk/cli/legacy/teamspace_menu.py +103 -0
- lightning_sdk/cli/legacy/upload.py +382 -0
- lightning_sdk/cli/license/__init__.py +14 -0
- lightning_sdk/cli/license/get.py +15 -0
- lightning_sdk/cli/license/list.py +45 -0
- lightning_sdk/cli/license/set.py +13 -0
- lightning_sdk/cli/mmt/__init__.py +7 -0
- lightning_sdk/cli/studio/__init__.py +26 -0
- lightning_sdk/cli/studio/connect.py +139 -0
- lightning_sdk/cli/studio/cp.py +138 -0
- lightning_sdk/cli/studio/create.py +96 -0
- lightning_sdk/cli/studio/delete.py +49 -0
- lightning_sdk/cli/studio/list.py +85 -0
- lightning_sdk/cli/studio/ssh.py +64 -0
- lightning_sdk/cli/studio/start.py +115 -0
- lightning_sdk/cli/studio/stop.py +45 -0
- lightning_sdk/cli/studio/switch.py +66 -0
- lightning_sdk/cli/utils/__init__.py +7 -0
- lightning_sdk/cli/utils/cloud_account_map.py +10 -0
- lightning_sdk/cli/utils/coloring.py +60 -0
- lightning_sdk/cli/utils/get_base_studio.py +24 -0
- lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +69 -0
- lightning_sdk/cli/utils/logging.py +122 -0
- lightning_sdk/cli/utils/owner_selection.py +110 -0
- lightning_sdk/cli/utils/resolve.py +28 -0
- lightning_sdk/cli/utils/richt_print.py +35 -0
- lightning_sdk/cli/utils/save_to_config.py +27 -0
- lightning_sdk/cli/utils/ssh_connection.py +59 -0
- lightning_sdk/cli/utils/studio_selection.py +113 -0
- lightning_sdk/cli/utils/teamspace_selection.py +125 -0
- lightning_sdk/cli/vm/__init__.py +20 -0
- lightning_sdk/cli/vm/create.py +33 -0
- lightning_sdk/cli/vm/delete.py +25 -0
- lightning_sdk/cli/vm/list.py +30 -0
- lightning_sdk/cli/vm/ssh.py +31 -0
- lightning_sdk/cli/vm/start.py +60 -0
- lightning_sdk/cli/vm/stop.py +25 -0
- lightning_sdk/cli/vm/switch.py +38 -0
- lightning_sdk/constants.py +32 -0
- lightning_sdk/deployment/__init__.py +29 -0
- lightning_sdk/deployment/deployment.py +583 -0
- lightning_sdk/helpers.py +88 -0
- lightning_sdk/job/__init__.py +5 -0
- lightning_sdk/job/base.py +482 -0
- lightning_sdk/job/job.py +351 -0
- lightning_sdk/job/v1.py +262 -0
- lightning_sdk/job/v2.py +263 -0
- lightning_sdk/job/work.py +85 -0
- lightning_sdk/lightning_cloud/__init__.py +4 -0
- lightning_sdk/lightning_cloud/__version__.py +1 -0
- lightning_sdk/lightning_cloud/cli/__init__.py +0 -0
- lightning_sdk/lightning_cloud/cli/__main__.py +29 -0
- lightning_sdk/lightning_cloud/env.py +51 -0
- lightning_sdk/lightning_cloud/login.py +510 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +1136 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +51 -0
- lightning_sdk/lightning_cloud/openapi/api/agent_service_api.py +1366 -0
- lightning_sdk/lightning_cloud/openapi/api/analytics_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +3436 -0
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +1172 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +2044 -0
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +638 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +9834 -0
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +327 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +4770 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +1345 -0
- lightning_sdk/lightning_cloud/openapi/api/dataset_service_api.py +573 -0
- lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +756 -0
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +596 -0
- lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +242 -0
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +957 -0
- lightning_sdk/lightning_cloud/openapi/api/git_credentials_service_api.py +497 -0
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +5657 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +2273 -0
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +1675 -0
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +319 -0
- lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +955 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +1765 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_page_service_api.py +525 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +912 -0
- lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +2296 -0
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +2177 -0
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +795 -0
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
- lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +663 -0
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +2072 -0
- lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py +432 -0
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +924 -0
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +1034 -0
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +1005 -0
- lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +686 -0
- lightning_sdk/lightning_cloud/openapi/api/ssh_public_key_service_api.py +610 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +2351 -0
- lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +667 -0
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +1681 -0
- lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +258 -0
- lightning_sdk/lightning_cloud/openapi/api_client.py +646 -0
- lightning_sdk/lightning_cloud/openapi/configuration.py +235 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +1070 -0
- lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +721 -0
- lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_billing.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_studios.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/app_id_works_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/appinstances_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/approveautojoindomain_domain_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/apps_id_body.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/apps_id_body1.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/billing_checkout_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/billing_transfer_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/billing_transfer_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/captures_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versions_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_metric_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_runs_body.py +619 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_proxies_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_usagerestrictions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/clusters_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/clusters_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/conversations_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/conversations_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/create.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/create_checkout_session_request_wallet_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/data_connection_mount_data_connection_mount_copy_status.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/datasets_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body1.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +877 -0
- lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/experiment_name_variant_name_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +983 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningapp_instance.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningwork.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/get_endpoint_request_endpoint_ref_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/id_action_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_artifacts_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/id_collaborate_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_contactowner_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_execute_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_execute_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/id_get_body.py +437 -0
- lightning_sdk/lightning_cloud/openapi/models/id_index_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_index_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_index_body2.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_index_body3.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_multipartuploads_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_output_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_publications_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_publications_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_release_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_render_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_reportlogsactivity_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_reportrestarttimings_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_sleepconfig_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_start_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_uploads_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body2.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/job_id_reportroutingtelemetry_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body2.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body3.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/kubernetestemplates_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/litpages_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/litregistry_lit_repo_name_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/loggermetrics_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metrics_stream_id_loggerartifacts_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_delete_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/models_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/multimachinejobs_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/multipartuploads_upload_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_roles_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +1111 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/profiler_captures_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/profiler_enabled_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agentmanagedendpoints_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_clusters_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_datasets_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_endpoints_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_getapp_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_invite_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_jobs_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +125 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_memberships_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_models_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_multimachinejobs_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_projectclustersbindings_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_secrets_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_snowflake_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_storagetransfers_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_tab_management_messages.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_project_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/protobuf_any.py +153 -0
- lightning_sdk/lightning_cloud/openapi/models/protobuf_null_value.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/query_query_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/rpc_status.py +181 -0
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/secrets_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/secrets_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/servers_server_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/service_health_service_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/setup.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +411 -0
- lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/snowflake_query_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/spec_lightningapp_instance_id_works_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/storagetransfers_validate_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/stream_result_of_v1_conversation_response_chunk.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/stream_result_of_v1_get_long_running_command_in_cloud_space_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/studioapp_jobs_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/update.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/update1.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/usagerestrictions_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_membershiprolebindings_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_membershiprolebindings_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_user_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_accelerator_quota_info.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ack_user_storage_violation_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_add_job_timing_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_affiliate_link.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_complete_part_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +879 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job_artifact.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_upload_multipart_url.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_upload_part_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alert_method.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alerts_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_api_pricing_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_app_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_append_logger_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_approve_auto_join_domain_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_artifact.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assign_variant_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +773 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_item_status.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_status.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +110 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_domain_validation.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_org_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_spec.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_credentials.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_data_connection.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +463 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1_status.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_batch_update_lightningwork_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_feature.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_period.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_build_spec.py +205 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_cloud_space_instance_switch_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancellation_metadata.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_external_service_status_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_snowflake_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +117 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +1631 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_action.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_action_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_owner_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version_status.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics_stats.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_engagement_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_collab_status.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_config.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_startup_status.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_state.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_project_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_publication.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_publication_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_seed_file.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_source_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version_publication.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_settings.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +1501 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_availability.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_encryption_key.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +1527 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_names.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_proxy.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_resource_tag.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +1061 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_state.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +413 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_upload.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_usage_restriction.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_collab_action.py +110 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_collab_session.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_agent_multipart_upload.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_model_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_onboarding_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_project_artifact_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_temporary_artifact_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_completed_part.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_compute_config.py +257 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_reason.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_count_metrics_streams_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cpu_system_metrics.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_agent_multipart_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_portal_session_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_portal_session_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_upgrade_trigger_record_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_app_instance_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_instance_metric_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_capacity_reservation_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_encryption_keys_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_encryption_keys_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_git_credentials_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_job_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_page_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_page_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_managed_endpoint_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_machine_job_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_snowflake_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_ssh_public_key_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_user_secret_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +955 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_artifact.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_mount.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_state.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_tier.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_dataset.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_dataset_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_affiliate_link_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_assistant_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_app_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_environment_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_session_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_publication_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_capacity_reservation_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_encryption_key_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_proxy_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_usage_restriction_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_conversation_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_data_connection_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_alerting_policy_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_release_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_endpoint_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_git_credentials_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_index_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_job_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_kubernetes_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightning_run_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningapp_instance_artifact_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningapp_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningwork_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_page_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_repository_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_logger_artifact_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_managed_endpoint_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_model_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_model_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_multi_machine_job_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_membership_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_membership_role_binding_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_role_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_organization_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_pipeline_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_profiler_capture_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_artifact_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_cluster_binding_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_cluster_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_membership_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_membership_role_binding_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_role_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_secret_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_shared_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_ssh_public_key_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_studio_job_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_user_slurm_job_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_dependency_cache_state.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_dependency_file_info.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +929 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_event.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_frequency.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_operation.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_severity.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +112 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_recipients.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_details.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_performance.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_strategy.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +773 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_gallery_response.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_download_job_logs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_download_lightningapp_instance_logs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_spec.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_state.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_state_reason.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_status.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_type_spec.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_drive_type_status.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_efs_config.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_auth.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_prewarm.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_env_var.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_cloud_space_command_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_in_cloud_space_session_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_snowflake_query_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_export_snowflake_query_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +931 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_app.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_cloud_space.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_dataset.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_mmt.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_slurm_job.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_snowflake_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_work.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_firewall_rule.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_flowserver.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_folder_index_status.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_function_call.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_function_tool.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gallery_app.py +877 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gallery_component.py +851 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection_setup.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_direct_vpc.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcs_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_generate_ssh_key_pair_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_affiliate_link_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_agent_job_env_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_agent_job_logs_metadata_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_artifacts_page_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_assistant_session_daily_aggregated_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_cold_start_metrics_stats_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_status_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_accelerator_demand_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_credentials_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_health_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_aggregated_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_content_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_folder_index_response.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_system_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lightning_run_source_code_download_url_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_system_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_file_upload_urls_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_page_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_logger_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_long_running_command_in_cloud_space_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_market_pricing_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_upload_urls_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_url_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_artifact_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_compute_usage_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_settings_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_snowflake_query_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_usage_details_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_balance_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_notification_preferences_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +1189 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_git_credentials.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +545 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1_status.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gpu_system_metrics.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_user.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_health_check_exec.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ids_logger_metrics.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_image_spec.py +289 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_image_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_severity.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_index.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_input.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +281 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_interrupt_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_invalidate_cloud_space_instance_code_settings_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_invite_project_membership_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +957 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_action.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_artifacts_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_file.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_resource.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +877 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_indexes.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_keep_alive_cloud_space_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_knowledge_configuration.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_aws_config.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template_property.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +203 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_app_user.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_auth.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_basic_auth.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_elastic_cluster_v1.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_o_auth_auth.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +827 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_artifact.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_event.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_spec.py +957 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_state.py +110 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_status.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_restart_policy.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_cost.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_drives.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_event.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_state.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_like_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_affiliate_links_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_agent_job_artifacts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_agent_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_assistants_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_apps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_cold_start_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_instances_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_publications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_python_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_sessions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_tags_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_version_publications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_spaces_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_accelerators_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_availabilities_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_capacity_reservations_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metric_timestamps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_user_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_proxies_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_usage_restrictions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_container_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_conversation_message_actions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_conversations_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_data_connection_artifacts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_data_connections_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_default_cluster_accelerators_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_policies_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_releases_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_tags_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_templates_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployments_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_endpoints_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_experiments_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_apps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_cloud_spaces_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_mm_ts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_slurm_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_snowflake_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_gallery_components_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_gallery_lightningapps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_git_credentials_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_job_files_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_job_resources_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_jobs_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_joinable_organizations_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightning_run_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instance_artifacts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instance_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instances_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningwork_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningwork_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_pages_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +257 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_logger_artifact_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_managed_endpoints_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_memberships_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_metrics_streams_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_model_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_models_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_job_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_file_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_notification_dialogs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_org_members_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_org_membership_role_binding_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_org_memberships_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_org_roles_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_organization_cluster_encryption_keys_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_organizations_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_profiler_captures_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_artifacts_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_cluster_accelerators_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_cluster_bindings_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_locked_resources_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_membership_role_binding_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_memberships_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_roles_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_cloud_spaces_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_deployment_templates_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_managed_endpoints_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_quests_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedule_runs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_secrets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_ssh_public_keys_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_storage_transfers_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_studio_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_user_slurm_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_file.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_page.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_page_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_artifact.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +261 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +359 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_locked_resource.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_log_page.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_logger_artifact.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_login_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_logout_request.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_logout_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_logs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lustre_data_connection.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machines_selector.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +695 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message_author.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message_content.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_message_content_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +567 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +877 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tags.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tracker.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_file.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_modify_filesystem_volume_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_mount_target.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance_strategy.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +110 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_status.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_named_get_logger_metrics.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_metrics.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_user_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_network_config.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_new_feature.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +695 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_preference.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_preferences_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_org_member.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_org_membership.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_org_membership_role_binding.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_org_role.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +1451 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_package_manager.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_parameterization_spec.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_path_mapping.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_path_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_phase_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_plugin.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_plugins_list_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +747 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_post_cloud_space_artifact_events_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_presigned_url.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_profiler_capture.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_profiler_enabled_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_artifact.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_compute_daily_usage.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_compute_usage.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +903 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership_invite.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership_role_binding.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +697 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_prompt_suggestion.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_publish_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_published_cloud_space_response.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_capacity_block_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_python_dependency_info.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_result.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_result_row.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quest.py +411 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quest_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_queue_server_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quotas.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_subscription_response.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_index_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_path_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_region_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_regional_load_balancer.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_render_kubernetes_template_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_stop_at_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_k8s_cluster_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_logs_activity_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_restart_timings_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cloud_space_access_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_verification_code_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_request.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_tag.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_response_choice.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_response_choice_delta.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_restart_cloud_space_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_restart_timing.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_restore_deployment_release_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_role.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rolling_update_strategy.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_action.py +110 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_condition.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_effect.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +143 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_action_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_run.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_search_job_logs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_search_user.py +411 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_search_users_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_select.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_check_in_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_service_health.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_setup_confirmed_ssh_public_key_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_setup_data_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_should_start_syncing_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_signed_url.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sleep_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +749 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_job_status.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_source_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ssh_key_pair.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ssh_public_key.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_start_cloud_space_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_status_code_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_stop_cloud_space_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_system_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer_status.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_studio_job.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_studio_job_app.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_switch_cloud_space_instance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_info.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_list.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_telemetry.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_timestamp_code_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool_call.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_org_balance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_project_balance_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_unpublish_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_agent_status_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_agent_status_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_billing_subscription_request.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_collab_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_publication_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_availability_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_index_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_job_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_page_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_repository_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_organization_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_cluster_accelerators_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_shared_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_snowflake_query_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +825 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_agent_job_artifact_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_agent_job_output_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_lightningapp_instance_artifact_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_parts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_settings_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_temporary_artifact_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_cloud_space.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_job.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_managed.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_open_ai.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +2255 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +415 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_slurm_job_action_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_assistant_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_auto_join_domain_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_model_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_verify_verification_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +229 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_work.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/validate.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/validateautojoindomain_domain_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_id_body.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/volumes_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/works_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/rest.py +324 -0
- lightning_sdk/lightning_cloud/rest_client.py +220 -0
- lightning_sdk/lightning_cloud/source_code/__init__.py +3 -0
- lightning_sdk/lightning_cloud/source_code/copytree.py +174 -0
- lightning_sdk/lightning_cloud/source_code/hashing.py +41 -0
- lightning_sdk/lightning_cloud/source_code/local.py +107 -0
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +103 -0
- lightning_sdk/lightning_cloud/source_code/tar.py +194 -0
- lightning_sdk/lightning_cloud/source_code/uploader.py +97 -0
- lightning_sdk/lightning_cloud/utils/__init__.py +3 -0
- lightning_sdk/lightning_cloud/utils/data_connection.py +411 -0
- lightning_sdk/lightning_cloud/utils/dataset.py +60 -0
- lightning_sdk/lightning_cloud/utils/name_generator.py +1078 -0
- lightning_sdk/lightning_cloud/utils/network.py +13 -0
- lightning_sdk/lit_container.py +146 -0
- lightning_sdk/llm/__init__.py +3 -0
- lightning_sdk/llm/llm.py +497 -0
- lightning_sdk/llm/public_assistants.py +54 -0
- lightning_sdk/machine.py +231 -0
- lightning_sdk/mmt/__init__.py +4 -0
- lightning_sdk/mmt/base.py +378 -0
- lightning_sdk/mmt/mmt.py +349 -0
- lightning_sdk/mmt/v1.py +199 -0
- lightning_sdk/mmt/v2.py +252 -0
- lightning_sdk/models.py +208 -0
- lightning_sdk/organization.py +49 -0
- lightning_sdk/owner.py +50 -0
- lightning_sdk/pipeline/__init__.py +14 -0
- lightning_sdk/pipeline/pipeline.py +166 -0
- lightning_sdk/pipeline/printer.py +124 -0
- lightning_sdk/pipeline/schedule.py +859 -0
- lightning_sdk/pipeline/steps.py +365 -0
- lightning_sdk/pipeline/utils.py +116 -0
- lightning_sdk/plugin.py +456 -0
- lightning_sdk/sandbox.py +160 -0
- lightning_sdk/serve.py +311 -0
- lightning_sdk/services/__init__.py +5 -0
- lightning_sdk/services/file_endpoint.py +222 -0
- lightning_sdk/services/finetune_llm.py +35 -0
- lightning_sdk/services/utilities.py +125 -0
- lightning_sdk/status.py +17 -0
- lightning_sdk/studio.py +907 -0
- lightning_sdk/teamspace.py +692 -0
- lightning_sdk/user.py +60 -0
- lightning_sdk/utils/__init__.py +0 -0
- lightning_sdk/utils/config.py +179 -0
- lightning_sdk/utils/dynamic.py +61 -0
- lightning_sdk/utils/enum.py +116 -0
- lightning_sdk/utils/license.py +13 -0
- lightning_sdk/utils/logging.py +79 -0
- lightning_sdk/utils/names.py +1179 -0
- lightning_sdk/utils/progress.py +283 -0
- lightning_sdk/utils/resolve.py +325 -0
- lightning_sdk-2025.11.13.post0.dist-info/LICENSE +21 -0
- lightning_sdk-2025.11.13.post0.dist-info/METADATA +117 -0
- lightning_sdk-2025.11.13.post0.dist-info/RECORD +1271 -0
- lightning_sdk-2025.11.13.post0.dist-info/WHEEL +5 -0
- lightning_sdk-2025.11.13.post0.dist-info/entry_points.txt +3 -0
- lightning_sdk-2025.11.13.post0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,3436 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import absolute_import
|
|
21
|
+
|
|
22
|
+
import re # noqa: F401
|
|
23
|
+
from typing import TYPE_CHECKING, Any
|
|
24
|
+
|
|
25
|
+
# python 2 and python 3 compatibility library
|
|
26
|
+
import six
|
|
27
|
+
|
|
28
|
+
from lightning_sdk.lightning_cloud.openapi.api_client import ApiClient
|
|
29
|
+
|
|
30
|
+
if TYPE_CHECKING:
|
|
31
|
+
from datetime import datetime
|
|
32
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
33
|
+
|
|
34
|
+
class AssistantsServiceApi(object):
|
|
35
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self, api_client=None):
|
|
42
|
+
if api_client is None:
|
|
43
|
+
api_client = ApiClient()
|
|
44
|
+
self.api_client = api_client
|
|
45
|
+
|
|
46
|
+
def assistants_service_contact_assistant_owner(self, body: 'IdContactownerBody', id: 'str', **kwargs) -> 'V1ContactAssistantOwnerResponse': # noqa: E501
|
|
47
|
+
"""assistants_service_contact_assistant_owner # noqa: E501
|
|
48
|
+
|
|
49
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
50
|
+
asynchronous HTTP request, please pass async_req=True
|
|
51
|
+
>>> thread = api.assistants_service_contact_assistant_owner(body, id, async_req=True)
|
|
52
|
+
>>> result = thread.get()
|
|
53
|
+
|
|
54
|
+
:param async_req bool
|
|
55
|
+
:param IdContactownerBody body: (required)
|
|
56
|
+
:param str id: (required)
|
|
57
|
+
:return: V1ContactAssistantOwnerResponse
|
|
58
|
+
If the method is called asynchronously,
|
|
59
|
+
returns the request thread.
|
|
60
|
+
"""
|
|
61
|
+
kwargs['_return_http_data_only'] = True
|
|
62
|
+
if kwargs.get('async_req'):
|
|
63
|
+
return self.assistants_service_contact_assistant_owner_with_http_info(body, id, **kwargs) # noqa: E501
|
|
64
|
+
else:
|
|
65
|
+
(data) = self.assistants_service_contact_assistant_owner_with_http_info(body, id, **kwargs) # noqa: E501
|
|
66
|
+
return data
|
|
67
|
+
|
|
68
|
+
def assistants_service_contact_assistant_owner_with_http_info(self, body: 'IdContactownerBody', id: 'str', **kwargs) -> 'V1ContactAssistantOwnerResponse': # noqa: E501
|
|
69
|
+
"""assistants_service_contact_assistant_owner # noqa: E501
|
|
70
|
+
|
|
71
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
72
|
+
asynchronous HTTP request, please pass async_req=True
|
|
73
|
+
>>> thread = api.assistants_service_contact_assistant_owner_with_http_info(body, id, async_req=True)
|
|
74
|
+
>>> result = thread.get()
|
|
75
|
+
|
|
76
|
+
:param async_req bool
|
|
77
|
+
:param IdContactownerBody body: (required)
|
|
78
|
+
:param str id: (required)
|
|
79
|
+
:return: V1ContactAssistantOwnerResponse
|
|
80
|
+
If the method is called asynchronously,
|
|
81
|
+
returns the request thread.
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
all_params = ['body', 'id'] # noqa: E501
|
|
85
|
+
all_params.append('async_req')
|
|
86
|
+
all_params.append('_return_http_data_only')
|
|
87
|
+
all_params.append('_preload_content')
|
|
88
|
+
all_params.append('_request_timeout')
|
|
89
|
+
|
|
90
|
+
params = locals()
|
|
91
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
92
|
+
if key not in all_params:
|
|
93
|
+
raise TypeError(
|
|
94
|
+
"Got an unexpected keyword argument '%s'"
|
|
95
|
+
" to method assistants_service_contact_assistant_owner" % key
|
|
96
|
+
)
|
|
97
|
+
params[key] = val
|
|
98
|
+
del params['kwargs']
|
|
99
|
+
# verify the required parameter 'body' is set
|
|
100
|
+
if ('body' not in params or
|
|
101
|
+
params['body'] is None):
|
|
102
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_contact_assistant_owner`") # noqa: E501
|
|
103
|
+
# verify the required parameter 'id' is set
|
|
104
|
+
if ('id' not in params or
|
|
105
|
+
params['id'] is None):
|
|
106
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_contact_assistant_owner`") # noqa: E501
|
|
107
|
+
|
|
108
|
+
collection_formats = {}
|
|
109
|
+
|
|
110
|
+
path_params = {}
|
|
111
|
+
if 'id' in params:
|
|
112
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
113
|
+
|
|
114
|
+
query_params = []
|
|
115
|
+
|
|
116
|
+
header_params = {}
|
|
117
|
+
|
|
118
|
+
form_params = []
|
|
119
|
+
local_var_files = {}
|
|
120
|
+
|
|
121
|
+
body_params = None
|
|
122
|
+
if 'body' in params:
|
|
123
|
+
body_params = params['body']
|
|
124
|
+
# HTTP header `Accept`
|
|
125
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
126
|
+
['application/json']) # noqa: E501
|
|
127
|
+
|
|
128
|
+
# HTTP header `Content-Type`
|
|
129
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
130
|
+
['application/json']) # noqa: E501
|
|
131
|
+
|
|
132
|
+
# Authentication setting
|
|
133
|
+
auth_settings = [] # noqa: E501
|
|
134
|
+
|
|
135
|
+
return self.api_client.call_api(
|
|
136
|
+
'/v1/agents/{id}/contact-owner', 'POST',
|
|
137
|
+
path_params,
|
|
138
|
+
query_params,
|
|
139
|
+
header_params,
|
|
140
|
+
body=body_params,
|
|
141
|
+
post_params=form_params,
|
|
142
|
+
files=local_var_files,
|
|
143
|
+
response_type='V1ContactAssistantOwnerResponse', # noqa: E501
|
|
144
|
+
auth_settings=auth_settings,
|
|
145
|
+
async_req=params.get('async_req'),
|
|
146
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
147
|
+
_preload_content=params.get('_preload_content', True),
|
|
148
|
+
_request_timeout=params.get('_request_timeout'),
|
|
149
|
+
collection_formats=collection_formats)
|
|
150
|
+
|
|
151
|
+
def assistants_service_create_assistant(self, body: 'ProjectIdAgentsBody', project_id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
152
|
+
"""assistants_service_create_assistant # noqa: E501
|
|
153
|
+
|
|
154
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
155
|
+
asynchronous HTTP request, please pass async_req=True
|
|
156
|
+
>>> thread = api.assistants_service_create_assistant(body, project_id, async_req=True)
|
|
157
|
+
>>> result = thread.get()
|
|
158
|
+
|
|
159
|
+
:param async_req bool
|
|
160
|
+
:param ProjectIdAgentsBody body: (required)
|
|
161
|
+
:param str project_id: (required)
|
|
162
|
+
:return: V1Assistant
|
|
163
|
+
If the method is called asynchronously,
|
|
164
|
+
returns the request thread.
|
|
165
|
+
"""
|
|
166
|
+
kwargs['_return_http_data_only'] = True
|
|
167
|
+
if kwargs.get('async_req'):
|
|
168
|
+
return self.assistants_service_create_assistant_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
169
|
+
else:
|
|
170
|
+
(data) = self.assistants_service_create_assistant_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
171
|
+
return data
|
|
172
|
+
|
|
173
|
+
def assistants_service_create_assistant_with_http_info(self, body: 'ProjectIdAgentsBody', project_id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
174
|
+
"""assistants_service_create_assistant # noqa: E501
|
|
175
|
+
|
|
176
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
177
|
+
asynchronous HTTP request, please pass async_req=True
|
|
178
|
+
>>> thread = api.assistants_service_create_assistant_with_http_info(body, project_id, async_req=True)
|
|
179
|
+
>>> result = thread.get()
|
|
180
|
+
|
|
181
|
+
:param async_req bool
|
|
182
|
+
:param ProjectIdAgentsBody body: (required)
|
|
183
|
+
:param str project_id: (required)
|
|
184
|
+
:return: V1Assistant
|
|
185
|
+
If the method is called asynchronously,
|
|
186
|
+
returns the request thread.
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
all_params = ['body', 'project_id'] # noqa: E501
|
|
190
|
+
all_params.append('async_req')
|
|
191
|
+
all_params.append('_return_http_data_only')
|
|
192
|
+
all_params.append('_preload_content')
|
|
193
|
+
all_params.append('_request_timeout')
|
|
194
|
+
|
|
195
|
+
params = locals()
|
|
196
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
197
|
+
if key not in all_params:
|
|
198
|
+
raise TypeError(
|
|
199
|
+
"Got an unexpected keyword argument '%s'"
|
|
200
|
+
" to method assistants_service_create_assistant" % key
|
|
201
|
+
)
|
|
202
|
+
params[key] = val
|
|
203
|
+
del params['kwargs']
|
|
204
|
+
# verify the required parameter 'body' is set
|
|
205
|
+
if ('body' not in params or
|
|
206
|
+
params['body'] is None):
|
|
207
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_create_assistant`") # noqa: E501
|
|
208
|
+
# verify the required parameter 'project_id' is set
|
|
209
|
+
if ('project_id' not in params or
|
|
210
|
+
params['project_id'] is None):
|
|
211
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_create_assistant`") # noqa: E501
|
|
212
|
+
|
|
213
|
+
collection_formats = {}
|
|
214
|
+
|
|
215
|
+
path_params = {}
|
|
216
|
+
if 'project_id' in params:
|
|
217
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
218
|
+
|
|
219
|
+
query_params = []
|
|
220
|
+
|
|
221
|
+
header_params = {}
|
|
222
|
+
|
|
223
|
+
form_params = []
|
|
224
|
+
local_var_files = {}
|
|
225
|
+
|
|
226
|
+
body_params = None
|
|
227
|
+
if 'body' in params:
|
|
228
|
+
body_params = params['body']
|
|
229
|
+
# HTTP header `Accept`
|
|
230
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
231
|
+
['application/json']) # noqa: E501
|
|
232
|
+
|
|
233
|
+
# HTTP header `Content-Type`
|
|
234
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
235
|
+
['application/json']) # noqa: E501
|
|
236
|
+
|
|
237
|
+
# Authentication setting
|
|
238
|
+
auth_settings = [] # noqa: E501
|
|
239
|
+
|
|
240
|
+
return self.api_client.call_api(
|
|
241
|
+
'/v1/projects/{projectId}/agents', 'POST',
|
|
242
|
+
path_params,
|
|
243
|
+
query_params,
|
|
244
|
+
header_params,
|
|
245
|
+
body=body_params,
|
|
246
|
+
post_params=form_params,
|
|
247
|
+
files=local_var_files,
|
|
248
|
+
response_type='V1Assistant', # noqa: E501
|
|
249
|
+
auth_settings=auth_settings,
|
|
250
|
+
async_req=params.get('async_req'),
|
|
251
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
252
|
+
_preload_content=params.get('_preload_content', True),
|
|
253
|
+
_request_timeout=params.get('_request_timeout'),
|
|
254
|
+
collection_formats=collection_formats)
|
|
255
|
+
|
|
256
|
+
def assistants_service_create_assistant_managed_endpoint(self, body: 'ProjectIdAgentmanagedendpointsBody', project_id: 'str', **kwargs) -> 'V1CreateManagedEndpointResponse': # noqa: E501
|
|
257
|
+
"""assistants_service_create_assistant_managed_endpoint # noqa: E501
|
|
258
|
+
|
|
259
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
260
|
+
asynchronous HTTP request, please pass async_req=True
|
|
261
|
+
>>> thread = api.assistants_service_create_assistant_managed_endpoint(body, project_id, async_req=True)
|
|
262
|
+
>>> result = thread.get()
|
|
263
|
+
|
|
264
|
+
:param async_req bool
|
|
265
|
+
:param ProjectIdAgentmanagedendpointsBody body: (required)
|
|
266
|
+
:param str project_id: (required)
|
|
267
|
+
:return: V1CreateManagedEndpointResponse
|
|
268
|
+
If the method is called asynchronously,
|
|
269
|
+
returns the request thread.
|
|
270
|
+
"""
|
|
271
|
+
kwargs['_return_http_data_only'] = True
|
|
272
|
+
if kwargs.get('async_req'):
|
|
273
|
+
return self.assistants_service_create_assistant_managed_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
274
|
+
else:
|
|
275
|
+
(data) = self.assistants_service_create_assistant_managed_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
276
|
+
return data
|
|
277
|
+
|
|
278
|
+
def assistants_service_create_assistant_managed_endpoint_with_http_info(self, body: 'ProjectIdAgentmanagedendpointsBody', project_id: 'str', **kwargs) -> 'V1CreateManagedEndpointResponse': # noqa: E501
|
|
279
|
+
"""assistants_service_create_assistant_managed_endpoint # noqa: E501
|
|
280
|
+
|
|
281
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
282
|
+
asynchronous HTTP request, please pass async_req=True
|
|
283
|
+
>>> thread = api.assistants_service_create_assistant_managed_endpoint_with_http_info(body, project_id, async_req=True)
|
|
284
|
+
>>> result = thread.get()
|
|
285
|
+
|
|
286
|
+
:param async_req bool
|
|
287
|
+
:param ProjectIdAgentmanagedendpointsBody body: (required)
|
|
288
|
+
:param str project_id: (required)
|
|
289
|
+
:return: V1CreateManagedEndpointResponse
|
|
290
|
+
If the method is called asynchronously,
|
|
291
|
+
returns the request thread.
|
|
292
|
+
"""
|
|
293
|
+
|
|
294
|
+
all_params = ['body', 'project_id'] # noqa: E501
|
|
295
|
+
all_params.append('async_req')
|
|
296
|
+
all_params.append('_return_http_data_only')
|
|
297
|
+
all_params.append('_preload_content')
|
|
298
|
+
all_params.append('_request_timeout')
|
|
299
|
+
|
|
300
|
+
params = locals()
|
|
301
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
302
|
+
if key not in all_params:
|
|
303
|
+
raise TypeError(
|
|
304
|
+
"Got an unexpected keyword argument '%s'"
|
|
305
|
+
" to method assistants_service_create_assistant_managed_endpoint" % key
|
|
306
|
+
)
|
|
307
|
+
params[key] = val
|
|
308
|
+
del params['kwargs']
|
|
309
|
+
# verify the required parameter 'body' is set
|
|
310
|
+
if ('body' not in params or
|
|
311
|
+
params['body'] is None):
|
|
312
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_create_assistant_managed_endpoint`") # noqa: E501
|
|
313
|
+
# verify the required parameter 'project_id' is set
|
|
314
|
+
if ('project_id' not in params or
|
|
315
|
+
params['project_id'] is None):
|
|
316
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_create_assistant_managed_endpoint`") # noqa: E501
|
|
317
|
+
|
|
318
|
+
collection_formats = {}
|
|
319
|
+
|
|
320
|
+
path_params = {}
|
|
321
|
+
if 'project_id' in params:
|
|
322
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
323
|
+
|
|
324
|
+
query_params = []
|
|
325
|
+
|
|
326
|
+
header_params = {}
|
|
327
|
+
|
|
328
|
+
form_params = []
|
|
329
|
+
local_var_files = {}
|
|
330
|
+
|
|
331
|
+
body_params = None
|
|
332
|
+
if 'body' in params:
|
|
333
|
+
body_params = params['body']
|
|
334
|
+
# HTTP header `Accept`
|
|
335
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
336
|
+
['application/json']) # noqa: E501
|
|
337
|
+
|
|
338
|
+
# HTTP header `Content-Type`
|
|
339
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
340
|
+
['application/json']) # noqa: E501
|
|
341
|
+
|
|
342
|
+
# Authentication setting
|
|
343
|
+
auth_settings = [] # noqa: E501
|
|
344
|
+
|
|
345
|
+
return self.api_client.call_api(
|
|
346
|
+
'/v1/projects/{projectId}/agent-managed-endpoints', 'POST',
|
|
347
|
+
path_params,
|
|
348
|
+
query_params,
|
|
349
|
+
header_params,
|
|
350
|
+
body=body_params,
|
|
351
|
+
post_params=form_params,
|
|
352
|
+
files=local_var_files,
|
|
353
|
+
response_type='V1CreateManagedEndpointResponse', # noqa: E501
|
|
354
|
+
auth_settings=auth_settings,
|
|
355
|
+
async_req=params.get('async_req'),
|
|
356
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
357
|
+
_preload_content=params.get('_preload_content', True),
|
|
358
|
+
_request_timeout=params.get('_request_timeout'),
|
|
359
|
+
collection_formats=collection_formats)
|
|
360
|
+
|
|
361
|
+
def assistants_service_create_conversation_message_action(self, body: 'MessageIdActionsBody', assistant_id: 'str', conversation_id: 'str', message_id: 'str', **kwargs) -> 'V1MessageAction': # noqa: E501
|
|
362
|
+
"""assistants_service_create_conversation_message_action # noqa: E501
|
|
363
|
+
|
|
364
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
365
|
+
asynchronous HTTP request, please pass async_req=True
|
|
366
|
+
>>> thread = api.assistants_service_create_conversation_message_action(body, assistant_id, conversation_id, message_id, async_req=True)
|
|
367
|
+
>>> result = thread.get()
|
|
368
|
+
|
|
369
|
+
:param async_req bool
|
|
370
|
+
:param MessageIdActionsBody body: (required)
|
|
371
|
+
:param str assistant_id: (required)
|
|
372
|
+
:param str conversation_id: (required)
|
|
373
|
+
:param str message_id: (required)
|
|
374
|
+
:return: V1MessageAction
|
|
375
|
+
If the method is called asynchronously,
|
|
376
|
+
returns the request thread.
|
|
377
|
+
"""
|
|
378
|
+
kwargs['_return_http_data_only'] = True
|
|
379
|
+
if kwargs.get('async_req'):
|
|
380
|
+
return self.assistants_service_create_conversation_message_action_with_http_info(body, assistant_id, conversation_id, message_id, **kwargs) # noqa: E501
|
|
381
|
+
else:
|
|
382
|
+
(data) = self.assistants_service_create_conversation_message_action_with_http_info(body, assistant_id, conversation_id, message_id, **kwargs) # noqa: E501
|
|
383
|
+
return data
|
|
384
|
+
|
|
385
|
+
def assistants_service_create_conversation_message_action_with_http_info(self, body: 'MessageIdActionsBody', assistant_id: 'str', conversation_id: 'str', message_id: 'str', **kwargs) -> 'V1MessageAction': # noqa: E501
|
|
386
|
+
"""assistants_service_create_conversation_message_action # noqa: E501
|
|
387
|
+
|
|
388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
390
|
+
>>> thread = api.assistants_service_create_conversation_message_action_with_http_info(body, assistant_id, conversation_id, message_id, async_req=True)
|
|
391
|
+
>>> result = thread.get()
|
|
392
|
+
|
|
393
|
+
:param async_req bool
|
|
394
|
+
:param MessageIdActionsBody body: (required)
|
|
395
|
+
:param str assistant_id: (required)
|
|
396
|
+
:param str conversation_id: (required)
|
|
397
|
+
:param str message_id: (required)
|
|
398
|
+
:return: V1MessageAction
|
|
399
|
+
If the method is called asynchronously,
|
|
400
|
+
returns the request thread.
|
|
401
|
+
"""
|
|
402
|
+
|
|
403
|
+
all_params = ['body', 'assistant_id', 'conversation_id', 'message_id'] # noqa: E501
|
|
404
|
+
all_params.append('async_req')
|
|
405
|
+
all_params.append('_return_http_data_only')
|
|
406
|
+
all_params.append('_preload_content')
|
|
407
|
+
all_params.append('_request_timeout')
|
|
408
|
+
|
|
409
|
+
params = locals()
|
|
410
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
411
|
+
if key not in all_params:
|
|
412
|
+
raise TypeError(
|
|
413
|
+
"Got an unexpected keyword argument '%s'"
|
|
414
|
+
" to method assistants_service_create_conversation_message_action" % key
|
|
415
|
+
)
|
|
416
|
+
params[key] = val
|
|
417
|
+
del params['kwargs']
|
|
418
|
+
# verify the required parameter 'body' is set
|
|
419
|
+
if ('body' not in params or
|
|
420
|
+
params['body'] is None):
|
|
421
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_create_conversation_message_action`") # noqa: E501
|
|
422
|
+
# verify the required parameter 'assistant_id' is set
|
|
423
|
+
if ('assistant_id' not in params or
|
|
424
|
+
params['assistant_id'] is None):
|
|
425
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_create_conversation_message_action`") # noqa: E501
|
|
426
|
+
# verify the required parameter 'conversation_id' is set
|
|
427
|
+
if ('conversation_id' not in params or
|
|
428
|
+
params['conversation_id'] is None):
|
|
429
|
+
raise ValueError("Missing the required parameter `conversation_id` when calling `assistants_service_create_conversation_message_action`") # noqa: E501
|
|
430
|
+
# verify the required parameter 'message_id' is set
|
|
431
|
+
if ('message_id' not in params or
|
|
432
|
+
params['message_id'] is None):
|
|
433
|
+
raise ValueError("Missing the required parameter `message_id` when calling `assistants_service_create_conversation_message_action`") # noqa: E501
|
|
434
|
+
|
|
435
|
+
collection_formats = {}
|
|
436
|
+
|
|
437
|
+
path_params = {}
|
|
438
|
+
if 'assistant_id' in params:
|
|
439
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
440
|
+
if 'conversation_id' in params:
|
|
441
|
+
path_params['conversationId'] = params['conversation_id'] # noqa: E501
|
|
442
|
+
if 'message_id' in params:
|
|
443
|
+
path_params['messageId'] = params['message_id'] # noqa: E501
|
|
444
|
+
|
|
445
|
+
query_params = []
|
|
446
|
+
|
|
447
|
+
header_params = {}
|
|
448
|
+
|
|
449
|
+
form_params = []
|
|
450
|
+
local_var_files = {}
|
|
451
|
+
|
|
452
|
+
body_params = None
|
|
453
|
+
if 'body' in params:
|
|
454
|
+
body_params = params['body']
|
|
455
|
+
# HTTP header `Accept`
|
|
456
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
457
|
+
['application/json']) # noqa: E501
|
|
458
|
+
|
|
459
|
+
# HTTP header `Content-Type`
|
|
460
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
461
|
+
['application/json']) # noqa: E501
|
|
462
|
+
|
|
463
|
+
# Authentication setting
|
|
464
|
+
auth_settings = [] # noqa: E501
|
|
465
|
+
|
|
466
|
+
return self.api_client.call_api(
|
|
467
|
+
'/v1/agents/{assistantId}/conversations/{conversationId}/messages/{messageId}/actions', 'POST',
|
|
468
|
+
path_params,
|
|
469
|
+
query_params,
|
|
470
|
+
header_params,
|
|
471
|
+
body=body_params,
|
|
472
|
+
post_params=form_params,
|
|
473
|
+
files=local_var_files,
|
|
474
|
+
response_type='V1MessageAction', # noqa: E501
|
|
475
|
+
auth_settings=auth_settings,
|
|
476
|
+
async_req=params.get('async_req'),
|
|
477
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
478
|
+
_preload_content=params.get('_preload_content', True),
|
|
479
|
+
_request_timeout=params.get('_request_timeout'),
|
|
480
|
+
collection_formats=collection_formats)
|
|
481
|
+
|
|
482
|
+
def assistants_service_create_model_metrics(self, body: 'ModelsModelIdBody', model_id: 'str', **kwargs) -> 'V1CreateModelMetricsResponse': # noqa: E501
|
|
483
|
+
"""assistants_service_create_model_metrics # noqa: E501
|
|
484
|
+
|
|
485
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
486
|
+
asynchronous HTTP request, please pass async_req=True
|
|
487
|
+
>>> thread = api.assistants_service_create_model_metrics(body, model_id, async_req=True)
|
|
488
|
+
>>> result = thread.get()
|
|
489
|
+
|
|
490
|
+
:param async_req bool
|
|
491
|
+
:param ModelsModelIdBody body: (required)
|
|
492
|
+
:param str model_id: (required)
|
|
493
|
+
:return: V1CreateModelMetricsResponse
|
|
494
|
+
If the method is called asynchronously,
|
|
495
|
+
returns the request thread.
|
|
496
|
+
"""
|
|
497
|
+
kwargs['_return_http_data_only'] = True
|
|
498
|
+
if kwargs.get('async_req'):
|
|
499
|
+
return self.assistants_service_create_model_metrics_with_http_info(body, model_id, **kwargs) # noqa: E501
|
|
500
|
+
else:
|
|
501
|
+
(data) = self.assistants_service_create_model_metrics_with_http_info(body, model_id, **kwargs) # noqa: E501
|
|
502
|
+
return data
|
|
503
|
+
|
|
504
|
+
def assistants_service_create_model_metrics_with_http_info(self, body: 'ModelsModelIdBody', model_id: 'str', **kwargs) -> 'V1CreateModelMetricsResponse': # noqa: E501
|
|
505
|
+
"""assistants_service_create_model_metrics # noqa: E501
|
|
506
|
+
|
|
507
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
508
|
+
asynchronous HTTP request, please pass async_req=True
|
|
509
|
+
>>> thread = api.assistants_service_create_model_metrics_with_http_info(body, model_id, async_req=True)
|
|
510
|
+
>>> result = thread.get()
|
|
511
|
+
|
|
512
|
+
:param async_req bool
|
|
513
|
+
:param ModelsModelIdBody body: (required)
|
|
514
|
+
:param str model_id: (required)
|
|
515
|
+
:return: V1CreateModelMetricsResponse
|
|
516
|
+
If the method is called asynchronously,
|
|
517
|
+
returns the request thread.
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
all_params = ['body', 'model_id'] # noqa: E501
|
|
521
|
+
all_params.append('async_req')
|
|
522
|
+
all_params.append('_return_http_data_only')
|
|
523
|
+
all_params.append('_preload_content')
|
|
524
|
+
all_params.append('_request_timeout')
|
|
525
|
+
|
|
526
|
+
params = locals()
|
|
527
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
528
|
+
if key not in all_params:
|
|
529
|
+
raise TypeError(
|
|
530
|
+
"Got an unexpected keyword argument '%s'"
|
|
531
|
+
" to method assistants_service_create_model_metrics" % key
|
|
532
|
+
)
|
|
533
|
+
params[key] = val
|
|
534
|
+
del params['kwargs']
|
|
535
|
+
# verify the required parameter 'body' is set
|
|
536
|
+
if ('body' not in params or
|
|
537
|
+
params['body'] is None):
|
|
538
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_create_model_metrics`") # noqa: E501
|
|
539
|
+
# verify the required parameter 'model_id' is set
|
|
540
|
+
if ('model_id' not in params or
|
|
541
|
+
params['model_id'] is None):
|
|
542
|
+
raise ValueError("Missing the required parameter `model_id` when calling `assistants_service_create_model_metrics`") # noqa: E501
|
|
543
|
+
|
|
544
|
+
collection_formats = {}
|
|
545
|
+
|
|
546
|
+
path_params = {}
|
|
547
|
+
if 'model_id' in params:
|
|
548
|
+
path_params['modelId'] = params['model_id'] # noqa: E501
|
|
549
|
+
|
|
550
|
+
query_params = []
|
|
551
|
+
|
|
552
|
+
header_params = {}
|
|
553
|
+
|
|
554
|
+
form_params = []
|
|
555
|
+
local_var_files = {}
|
|
556
|
+
|
|
557
|
+
body_params = None
|
|
558
|
+
if 'body' in params:
|
|
559
|
+
body_params = params['body']
|
|
560
|
+
# HTTP header `Accept`
|
|
561
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
562
|
+
['application/json']) # noqa: E501
|
|
563
|
+
|
|
564
|
+
# HTTP header `Content-Type`
|
|
565
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
566
|
+
['application/json']) # noqa: E501
|
|
567
|
+
|
|
568
|
+
# Authentication setting
|
|
569
|
+
auth_settings = [] # noqa: E501
|
|
570
|
+
|
|
571
|
+
return self.api_client.call_api(
|
|
572
|
+
'/v1/agents/metrics/models/{modelId}', 'POST',
|
|
573
|
+
path_params,
|
|
574
|
+
query_params,
|
|
575
|
+
header_params,
|
|
576
|
+
body=body_params,
|
|
577
|
+
post_params=form_params,
|
|
578
|
+
files=local_var_files,
|
|
579
|
+
response_type='V1CreateModelMetricsResponse', # noqa: E501
|
|
580
|
+
auth_settings=auth_settings,
|
|
581
|
+
async_req=params.get('async_req'),
|
|
582
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
583
|
+
_preload_content=params.get('_preload_content', True),
|
|
584
|
+
_request_timeout=params.get('_request_timeout'),
|
|
585
|
+
collection_formats=collection_formats)
|
|
586
|
+
|
|
587
|
+
def assistants_service_delete_assistant(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteAssistantResponse': # noqa: E501
|
|
588
|
+
"""assistants_service_delete_assistant # noqa: E501
|
|
589
|
+
|
|
590
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
591
|
+
asynchronous HTTP request, please pass async_req=True
|
|
592
|
+
>>> thread = api.assistants_service_delete_assistant(project_id, id, async_req=True)
|
|
593
|
+
>>> result = thread.get()
|
|
594
|
+
|
|
595
|
+
:param async_req bool
|
|
596
|
+
:param str project_id: (required)
|
|
597
|
+
:param str id: (required)
|
|
598
|
+
:return: V1DeleteAssistantResponse
|
|
599
|
+
If the method is called asynchronously,
|
|
600
|
+
returns the request thread.
|
|
601
|
+
"""
|
|
602
|
+
kwargs['_return_http_data_only'] = True
|
|
603
|
+
if kwargs.get('async_req'):
|
|
604
|
+
return self.assistants_service_delete_assistant_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
605
|
+
else:
|
|
606
|
+
(data) = self.assistants_service_delete_assistant_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
607
|
+
return data
|
|
608
|
+
|
|
609
|
+
def assistants_service_delete_assistant_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteAssistantResponse': # noqa: E501
|
|
610
|
+
"""assistants_service_delete_assistant # noqa: E501
|
|
611
|
+
|
|
612
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
613
|
+
asynchronous HTTP request, please pass async_req=True
|
|
614
|
+
>>> thread = api.assistants_service_delete_assistant_with_http_info(project_id, id, async_req=True)
|
|
615
|
+
>>> result = thread.get()
|
|
616
|
+
|
|
617
|
+
:param async_req bool
|
|
618
|
+
:param str project_id: (required)
|
|
619
|
+
:param str id: (required)
|
|
620
|
+
:return: V1DeleteAssistantResponse
|
|
621
|
+
If the method is called asynchronously,
|
|
622
|
+
returns the request thread.
|
|
623
|
+
"""
|
|
624
|
+
|
|
625
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
626
|
+
all_params.append('async_req')
|
|
627
|
+
all_params.append('_return_http_data_only')
|
|
628
|
+
all_params.append('_preload_content')
|
|
629
|
+
all_params.append('_request_timeout')
|
|
630
|
+
|
|
631
|
+
params = locals()
|
|
632
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
633
|
+
if key not in all_params:
|
|
634
|
+
raise TypeError(
|
|
635
|
+
"Got an unexpected keyword argument '%s'"
|
|
636
|
+
" to method assistants_service_delete_assistant" % key
|
|
637
|
+
)
|
|
638
|
+
params[key] = val
|
|
639
|
+
del params['kwargs']
|
|
640
|
+
# verify the required parameter 'project_id' is set
|
|
641
|
+
if ('project_id' not in params or
|
|
642
|
+
params['project_id'] is None):
|
|
643
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_delete_assistant`") # noqa: E501
|
|
644
|
+
# verify the required parameter 'id' is set
|
|
645
|
+
if ('id' not in params or
|
|
646
|
+
params['id'] is None):
|
|
647
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_delete_assistant`") # noqa: E501
|
|
648
|
+
|
|
649
|
+
collection_formats = {}
|
|
650
|
+
|
|
651
|
+
path_params = {}
|
|
652
|
+
if 'project_id' in params:
|
|
653
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
654
|
+
if 'id' in params:
|
|
655
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
656
|
+
|
|
657
|
+
query_params = []
|
|
658
|
+
|
|
659
|
+
header_params = {}
|
|
660
|
+
|
|
661
|
+
form_params = []
|
|
662
|
+
local_var_files = {}
|
|
663
|
+
|
|
664
|
+
body_params = None
|
|
665
|
+
# HTTP header `Accept`
|
|
666
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
667
|
+
['application/json']) # noqa: E501
|
|
668
|
+
|
|
669
|
+
# Authentication setting
|
|
670
|
+
auth_settings = [] # noqa: E501
|
|
671
|
+
|
|
672
|
+
return self.api_client.call_api(
|
|
673
|
+
'/v1/projects/{projectId}/agents/{id}', 'DELETE',
|
|
674
|
+
path_params,
|
|
675
|
+
query_params,
|
|
676
|
+
header_params,
|
|
677
|
+
body=body_params,
|
|
678
|
+
post_params=form_params,
|
|
679
|
+
files=local_var_files,
|
|
680
|
+
response_type='V1DeleteAssistantResponse', # noqa: E501
|
|
681
|
+
auth_settings=auth_settings,
|
|
682
|
+
async_req=params.get('async_req'),
|
|
683
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
684
|
+
_preload_content=params.get('_preload_content', True),
|
|
685
|
+
_request_timeout=params.get('_request_timeout'),
|
|
686
|
+
collection_formats=collection_formats)
|
|
687
|
+
|
|
688
|
+
def assistants_service_delete_assistant_managed_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteManagedEndpointResponse': # noqa: E501
|
|
689
|
+
"""assistants_service_delete_assistant_managed_endpoint # noqa: E501
|
|
690
|
+
|
|
691
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
692
|
+
asynchronous HTTP request, please pass async_req=True
|
|
693
|
+
>>> thread = api.assistants_service_delete_assistant_managed_endpoint(project_id, id, async_req=True)
|
|
694
|
+
>>> result = thread.get()
|
|
695
|
+
|
|
696
|
+
:param async_req bool
|
|
697
|
+
:param str project_id: (required)
|
|
698
|
+
:param str id: (required)
|
|
699
|
+
:return: V1DeleteManagedEndpointResponse
|
|
700
|
+
If the method is called asynchronously,
|
|
701
|
+
returns the request thread.
|
|
702
|
+
"""
|
|
703
|
+
kwargs['_return_http_data_only'] = True
|
|
704
|
+
if kwargs.get('async_req'):
|
|
705
|
+
return self.assistants_service_delete_assistant_managed_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
706
|
+
else:
|
|
707
|
+
(data) = self.assistants_service_delete_assistant_managed_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
708
|
+
return data
|
|
709
|
+
|
|
710
|
+
def assistants_service_delete_assistant_managed_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteManagedEndpointResponse': # noqa: E501
|
|
711
|
+
"""assistants_service_delete_assistant_managed_endpoint # noqa: E501
|
|
712
|
+
|
|
713
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
714
|
+
asynchronous HTTP request, please pass async_req=True
|
|
715
|
+
>>> thread = api.assistants_service_delete_assistant_managed_endpoint_with_http_info(project_id, id, async_req=True)
|
|
716
|
+
>>> result = thread.get()
|
|
717
|
+
|
|
718
|
+
:param async_req bool
|
|
719
|
+
:param str project_id: (required)
|
|
720
|
+
:param str id: (required)
|
|
721
|
+
:return: V1DeleteManagedEndpointResponse
|
|
722
|
+
If the method is called asynchronously,
|
|
723
|
+
returns the request thread.
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
727
|
+
all_params.append('async_req')
|
|
728
|
+
all_params.append('_return_http_data_only')
|
|
729
|
+
all_params.append('_preload_content')
|
|
730
|
+
all_params.append('_request_timeout')
|
|
731
|
+
|
|
732
|
+
params = locals()
|
|
733
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
734
|
+
if key not in all_params:
|
|
735
|
+
raise TypeError(
|
|
736
|
+
"Got an unexpected keyword argument '%s'"
|
|
737
|
+
" to method assistants_service_delete_assistant_managed_endpoint" % key
|
|
738
|
+
)
|
|
739
|
+
params[key] = val
|
|
740
|
+
del params['kwargs']
|
|
741
|
+
# verify the required parameter 'project_id' is set
|
|
742
|
+
if ('project_id' not in params or
|
|
743
|
+
params['project_id'] is None):
|
|
744
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_delete_assistant_managed_endpoint`") # noqa: E501
|
|
745
|
+
# verify the required parameter 'id' is set
|
|
746
|
+
if ('id' not in params or
|
|
747
|
+
params['id'] is None):
|
|
748
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_delete_assistant_managed_endpoint`") # noqa: E501
|
|
749
|
+
|
|
750
|
+
collection_formats = {}
|
|
751
|
+
|
|
752
|
+
path_params = {}
|
|
753
|
+
if 'project_id' in params:
|
|
754
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
755
|
+
if 'id' in params:
|
|
756
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
757
|
+
|
|
758
|
+
query_params = []
|
|
759
|
+
|
|
760
|
+
header_params = {}
|
|
761
|
+
|
|
762
|
+
form_params = []
|
|
763
|
+
local_var_files = {}
|
|
764
|
+
|
|
765
|
+
body_params = None
|
|
766
|
+
# HTTP header `Accept`
|
|
767
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
768
|
+
['application/json']) # noqa: E501
|
|
769
|
+
|
|
770
|
+
# Authentication setting
|
|
771
|
+
auth_settings = [] # noqa: E501
|
|
772
|
+
|
|
773
|
+
return self.api_client.call_api(
|
|
774
|
+
'/v1/projects/{projectId}/agent-managed-endpoints/{id}', 'DELETE',
|
|
775
|
+
path_params,
|
|
776
|
+
query_params,
|
|
777
|
+
header_params,
|
|
778
|
+
body=body_params,
|
|
779
|
+
post_params=form_params,
|
|
780
|
+
files=local_var_files,
|
|
781
|
+
response_type='V1DeleteManagedEndpointResponse', # noqa: E501
|
|
782
|
+
auth_settings=auth_settings,
|
|
783
|
+
async_req=params.get('async_req'),
|
|
784
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
785
|
+
_preload_content=params.get('_preload_content', True),
|
|
786
|
+
_request_timeout=params.get('_request_timeout'),
|
|
787
|
+
collection_formats=collection_formats)
|
|
788
|
+
|
|
789
|
+
def assistants_service_delete_conversation(self, assistant_id: 'str', id: 'str', **kwargs) -> 'V1DeleteConversationResponse': # noqa: E501
|
|
790
|
+
"""assistants_service_delete_conversation # noqa: E501
|
|
791
|
+
|
|
792
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
793
|
+
asynchronous HTTP request, please pass async_req=True
|
|
794
|
+
>>> thread = api.assistants_service_delete_conversation(assistant_id, id, async_req=True)
|
|
795
|
+
>>> result = thread.get()
|
|
796
|
+
|
|
797
|
+
:param async_req bool
|
|
798
|
+
:param str assistant_id: (required)
|
|
799
|
+
:param str id: (required)
|
|
800
|
+
:param bool delete_data:
|
|
801
|
+
:return: V1DeleteConversationResponse
|
|
802
|
+
If the method is called asynchronously,
|
|
803
|
+
returns the request thread.
|
|
804
|
+
"""
|
|
805
|
+
kwargs['_return_http_data_only'] = True
|
|
806
|
+
if kwargs.get('async_req'):
|
|
807
|
+
return self.assistants_service_delete_conversation_with_http_info(assistant_id, id, **kwargs) # noqa: E501
|
|
808
|
+
else:
|
|
809
|
+
(data) = self.assistants_service_delete_conversation_with_http_info(assistant_id, id, **kwargs) # noqa: E501
|
|
810
|
+
return data
|
|
811
|
+
|
|
812
|
+
def assistants_service_delete_conversation_with_http_info(self, assistant_id: 'str', id: 'str', **kwargs) -> 'V1DeleteConversationResponse': # noqa: E501
|
|
813
|
+
"""assistants_service_delete_conversation # noqa: E501
|
|
814
|
+
|
|
815
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
816
|
+
asynchronous HTTP request, please pass async_req=True
|
|
817
|
+
>>> thread = api.assistants_service_delete_conversation_with_http_info(assistant_id, id, async_req=True)
|
|
818
|
+
>>> result = thread.get()
|
|
819
|
+
|
|
820
|
+
:param async_req bool
|
|
821
|
+
:param str assistant_id: (required)
|
|
822
|
+
:param str id: (required)
|
|
823
|
+
:param bool delete_data:
|
|
824
|
+
:return: V1DeleteConversationResponse
|
|
825
|
+
If the method is called asynchronously,
|
|
826
|
+
returns the request thread.
|
|
827
|
+
"""
|
|
828
|
+
|
|
829
|
+
all_params = ['assistant_id', 'id', 'delete_data'] # noqa: E501
|
|
830
|
+
all_params.append('async_req')
|
|
831
|
+
all_params.append('_return_http_data_only')
|
|
832
|
+
all_params.append('_preload_content')
|
|
833
|
+
all_params.append('_request_timeout')
|
|
834
|
+
|
|
835
|
+
params = locals()
|
|
836
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
837
|
+
if key not in all_params:
|
|
838
|
+
raise TypeError(
|
|
839
|
+
"Got an unexpected keyword argument '%s'"
|
|
840
|
+
" to method assistants_service_delete_conversation" % key
|
|
841
|
+
)
|
|
842
|
+
params[key] = val
|
|
843
|
+
del params['kwargs']
|
|
844
|
+
# verify the required parameter 'assistant_id' is set
|
|
845
|
+
if ('assistant_id' not in params or
|
|
846
|
+
params['assistant_id'] is None):
|
|
847
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_delete_conversation`") # noqa: E501
|
|
848
|
+
# verify the required parameter 'id' is set
|
|
849
|
+
if ('id' not in params or
|
|
850
|
+
params['id'] is None):
|
|
851
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_delete_conversation`") # noqa: E501
|
|
852
|
+
|
|
853
|
+
collection_formats = {}
|
|
854
|
+
|
|
855
|
+
path_params = {}
|
|
856
|
+
if 'assistant_id' in params:
|
|
857
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
858
|
+
if 'id' in params:
|
|
859
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
860
|
+
|
|
861
|
+
query_params = []
|
|
862
|
+
if 'delete_data' in params:
|
|
863
|
+
query_params.append(('deleteData', params['delete_data'])) # noqa: E501
|
|
864
|
+
|
|
865
|
+
header_params = {}
|
|
866
|
+
|
|
867
|
+
form_params = []
|
|
868
|
+
local_var_files = {}
|
|
869
|
+
|
|
870
|
+
body_params = None
|
|
871
|
+
# HTTP header `Accept`
|
|
872
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
873
|
+
['application/json']) # noqa: E501
|
|
874
|
+
|
|
875
|
+
# Authentication setting
|
|
876
|
+
auth_settings = [] # noqa: E501
|
|
877
|
+
|
|
878
|
+
return self.api_client.call_api(
|
|
879
|
+
'/v1/agents/{assistantId}/conversations/{id}', 'DELETE',
|
|
880
|
+
path_params,
|
|
881
|
+
query_params,
|
|
882
|
+
header_params,
|
|
883
|
+
body=body_params,
|
|
884
|
+
post_params=form_params,
|
|
885
|
+
files=local_var_files,
|
|
886
|
+
response_type='V1DeleteConversationResponse', # noqa: E501
|
|
887
|
+
auth_settings=auth_settings,
|
|
888
|
+
async_req=params.get('async_req'),
|
|
889
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
890
|
+
_preload_content=params.get('_preload_content', True),
|
|
891
|
+
_request_timeout=params.get('_request_timeout'),
|
|
892
|
+
collection_formats=collection_formats)
|
|
893
|
+
|
|
894
|
+
def assistants_service_get_assistant(self, id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
895
|
+
"""assistants_service_get_assistant # noqa: E501
|
|
896
|
+
|
|
897
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
898
|
+
asynchronous HTTP request, please pass async_req=True
|
|
899
|
+
>>> thread = api.assistants_service_get_assistant(id, async_req=True)
|
|
900
|
+
>>> result = thread.get()
|
|
901
|
+
|
|
902
|
+
:param async_req bool
|
|
903
|
+
:param str id: (required)
|
|
904
|
+
:return: V1Assistant
|
|
905
|
+
If the method is called asynchronously,
|
|
906
|
+
returns the request thread.
|
|
907
|
+
"""
|
|
908
|
+
kwargs['_return_http_data_only'] = True
|
|
909
|
+
if kwargs.get('async_req'):
|
|
910
|
+
return self.assistants_service_get_assistant_with_http_info(id, **kwargs) # noqa: E501
|
|
911
|
+
else:
|
|
912
|
+
(data) = self.assistants_service_get_assistant_with_http_info(id, **kwargs) # noqa: E501
|
|
913
|
+
return data
|
|
914
|
+
|
|
915
|
+
def assistants_service_get_assistant_with_http_info(self, id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
916
|
+
"""assistants_service_get_assistant # noqa: E501
|
|
917
|
+
|
|
918
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
919
|
+
asynchronous HTTP request, please pass async_req=True
|
|
920
|
+
>>> thread = api.assistants_service_get_assistant_with_http_info(id, async_req=True)
|
|
921
|
+
>>> result = thread.get()
|
|
922
|
+
|
|
923
|
+
:param async_req bool
|
|
924
|
+
:param str id: (required)
|
|
925
|
+
:return: V1Assistant
|
|
926
|
+
If the method is called asynchronously,
|
|
927
|
+
returns the request thread.
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
all_params = ['id'] # noqa: E501
|
|
931
|
+
all_params.append('async_req')
|
|
932
|
+
all_params.append('_return_http_data_only')
|
|
933
|
+
all_params.append('_preload_content')
|
|
934
|
+
all_params.append('_request_timeout')
|
|
935
|
+
|
|
936
|
+
params = locals()
|
|
937
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
938
|
+
if key not in all_params:
|
|
939
|
+
raise TypeError(
|
|
940
|
+
"Got an unexpected keyword argument '%s'"
|
|
941
|
+
" to method assistants_service_get_assistant" % key
|
|
942
|
+
)
|
|
943
|
+
params[key] = val
|
|
944
|
+
del params['kwargs']
|
|
945
|
+
# verify the required parameter 'id' is set
|
|
946
|
+
if ('id' not in params or
|
|
947
|
+
params['id'] is None):
|
|
948
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_get_assistant`") # noqa: E501
|
|
949
|
+
|
|
950
|
+
collection_formats = {}
|
|
951
|
+
|
|
952
|
+
path_params = {}
|
|
953
|
+
if 'id' in params:
|
|
954
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
955
|
+
|
|
956
|
+
query_params = []
|
|
957
|
+
|
|
958
|
+
header_params = {}
|
|
959
|
+
|
|
960
|
+
form_params = []
|
|
961
|
+
local_var_files = {}
|
|
962
|
+
|
|
963
|
+
body_params = None
|
|
964
|
+
# HTTP header `Accept`
|
|
965
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
966
|
+
['application/json']) # noqa: E501
|
|
967
|
+
|
|
968
|
+
# Authentication setting
|
|
969
|
+
auth_settings = [] # noqa: E501
|
|
970
|
+
|
|
971
|
+
return self.api_client.call_api(
|
|
972
|
+
'/v1/agents/{id}', 'GET',
|
|
973
|
+
path_params,
|
|
974
|
+
query_params,
|
|
975
|
+
header_params,
|
|
976
|
+
body=body_params,
|
|
977
|
+
post_params=form_params,
|
|
978
|
+
files=local_var_files,
|
|
979
|
+
response_type='V1Assistant', # noqa: E501
|
|
980
|
+
auth_settings=auth_settings,
|
|
981
|
+
async_req=params.get('async_req'),
|
|
982
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
983
|
+
_preload_content=params.get('_preload_content', True),
|
|
984
|
+
_request_timeout=params.get('_request_timeout'),
|
|
985
|
+
collection_formats=collection_formats)
|
|
986
|
+
|
|
987
|
+
def assistants_service_get_assistant_knowledge_status(self, id: 'str', **kwargs) -> 'V1AssistantKnowledgeStatus': # noqa: E501
|
|
988
|
+
"""GetAssistantKnowledgeStatus get the status of current uploads. For new uploads (direct binary uploads ) there is a dedicated HTTP handler registered on POST /v1/agents/{id}/knowledge # noqa: E501
|
|
989
|
+
|
|
990
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
991
|
+
asynchronous HTTP request, please pass async_req=True
|
|
992
|
+
>>> thread = api.assistants_service_get_assistant_knowledge_status(id, async_req=True)
|
|
993
|
+
>>> result = thread.get()
|
|
994
|
+
|
|
995
|
+
:param async_req bool
|
|
996
|
+
:param str id: (required)
|
|
997
|
+
:return: V1AssistantKnowledgeStatus
|
|
998
|
+
If the method is called asynchronously,
|
|
999
|
+
returns the request thread.
|
|
1000
|
+
"""
|
|
1001
|
+
kwargs['_return_http_data_only'] = True
|
|
1002
|
+
if kwargs.get('async_req'):
|
|
1003
|
+
return self.assistants_service_get_assistant_knowledge_status_with_http_info(id, **kwargs) # noqa: E501
|
|
1004
|
+
else:
|
|
1005
|
+
(data) = self.assistants_service_get_assistant_knowledge_status_with_http_info(id, **kwargs) # noqa: E501
|
|
1006
|
+
return data
|
|
1007
|
+
|
|
1008
|
+
def assistants_service_get_assistant_knowledge_status_with_http_info(self, id: 'str', **kwargs) -> 'V1AssistantKnowledgeStatus': # noqa: E501
|
|
1009
|
+
"""GetAssistantKnowledgeStatus get the status of current uploads. For new uploads (direct binary uploads ) there is a dedicated HTTP handler registered on POST /v1/agents/{id}/knowledge # noqa: E501
|
|
1010
|
+
|
|
1011
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1012
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1013
|
+
>>> thread = api.assistants_service_get_assistant_knowledge_status_with_http_info(id, async_req=True)
|
|
1014
|
+
>>> result = thread.get()
|
|
1015
|
+
|
|
1016
|
+
:param async_req bool
|
|
1017
|
+
:param str id: (required)
|
|
1018
|
+
:return: V1AssistantKnowledgeStatus
|
|
1019
|
+
If the method is called asynchronously,
|
|
1020
|
+
returns the request thread.
|
|
1021
|
+
"""
|
|
1022
|
+
|
|
1023
|
+
all_params = ['id'] # noqa: E501
|
|
1024
|
+
all_params.append('async_req')
|
|
1025
|
+
all_params.append('_return_http_data_only')
|
|
1026
|
+
all_params.append('_preload_content')
|
|
1027
|
+
all_params.append('_request_timeout')
|
|
1028
|
+
|
|
1029
|
+
params = locals()
|
|
1030
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1031
|
+
if key not in all_params:
|
|
1032
|
+
raise TypeError(
|
|
1033
|
+
"Got an unexpected keyword argument '%s'"
|
|
1034
|
+
" to method assistants_service_get_assistant_knowledge_status" % key
|
|
1035
|
+
)
|
|
1036
|
+
params[key] = val
|
|
1037
|
+
del params['kwargs']
|
|
1038
|
+
# verify the required parameter 'id' is set
|
|
1039
|
+
if ('id' not in params or
|
|
1040
|
+
params['id'] is None):
|
|
1041
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_get_assistant_knowledge_status`") # noqa: E501
|
|
1042
|
+
|
|
1043
|
+
collection_formats = {}
|
|
1044
|
+
|
|
1045
|
+
path_params = {}
|
|
1046
|
+
if 'id' in params:
|
|
1047
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
1048
|
+
|
|
1049
|
+
query_params = []
|
|
1050
|
+
|
|
1051
|
+
header_params = {}
|
|
1052
|
+
|
|
1053
|
+
form_params = []
|
|
1054
|
+
local_var_files = {}
|
|
1055
|
+
|
|
1056
|
+
body_params = None
|
|
1057
|
+
# HTTP header `Accept`
|
|
1058
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1059
|
+
['application/json']) # noqa: E501
|
|
1060
|
+
|
|
1061
|
+
# Authentication setting
|
|
1062
|
+
auth_settings = [] # noqa: E501
|
|
1063
|
+
|
|
1064
|
+
return self.api_client.call_api(
|
|
1065
|
+
'/v1/agents/{id}/knowledge', 'GET',
|
|
1066
|
+
path_params,
|
|
1067
|
+
query_params,
|
|
1068
|
+
header_params,
|
|
1069
|
+
body=body_params,
|
|
1070
|
+
post_params=form_params,
|
|
1071
|
+
files=local_var_files,
|
|
1072
|
+
response_type='V1AssistantKnowledgeStatus', # noqa: E501
|
|
1073
|
+
auth_settings=auth_settings,
|
|
1074
|
+
async_req=params.get('async_req'),
|
|
1075
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1076
|
+
_preload_content=params.get('_preload_content', True),
|
|
1077
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1078
|
+
collection_formats=collection_formats)
|
|
1079
|
+
|
|
1080
|
+
def assistants_service_get_conversation(self, assistant_id: 'str', id: 'str', **kwargs) -> 'V1Conversation': # noqa: E501
|
|
1081
|
+
"""assistants_service_get_conversation # noqa: E501
|
|
1082
|
+
|
|
1083
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1084
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1085
|
+
>>> thread = api.assistants_service_get_conversation(assistant_id, id, async_req=True)
|
|
1086
|
+
>>> result = thread.get()
|
|
1087
|
+
|
|
1088
|
+
:param async_req bool
|
|
1089
|
+
:param str assistant_id: (required)
|
|
1090
|
+
:param str id: (required)
|
|
1091
|
+
:return: V1Conversation
|
|
1092
|
+
If the method is called asynchronously,
|
|
1093
|
+
returns the request thread.
|
|
1094
|
+
"""
|
|
1095
|
+
kwargs['_return_http_data_only'] = True
|
|
1096
|
+
if kwargs.get('async_req'):
|
|
1097
|
+
return self.assistants_service_get_conversation_with_http_info(assistant_id, id, **kwargs) # noqa: E501
|
|
1098
|
+
else:
|
|
1099
|
+
(data) = self.assistants_service_get_conversation_with_http_info(assistant_id, id, **kwargs) # noqa: E501
|
|
1100
|
+
return data
|
|
1101
|
+
|
|
1102
|
+
def assistants_service_get_conversation_with_http_info(self, assistant_id: 'str', id: 'str', **kwargs) -> 'V1Conversation': # noqa: E501
|
|
1103
|
+
"""assistants_service_get_conversation # noqa: E501
|
|
1104
|
+
|
|
1105
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1106
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1107
|
+
>>> thread = api.assistants_service_get_conversation_with_http_info(assistant_id, id, async_req=True)
|
|
1108
|
+
>>> result = thread.get()
|
|
1109
|
+
|
|
1110
|
+
:param async_req bool
|
|
1111
|
+
:param str assistant_id: (required)
|
|
1112
|
+
:param str id: (required)
|
|
1113
|
+
:return: V1Conversation
|
|
1114
|
+
If the method is called asynchronously,
|
|
1115
|
+
returns the request thread.
|
|
1116
|
+
"""
|
|
1117
|
+
|
|
1118
|
+
all_params = ['assistant_id', 'id'] # noqa: E501
|
|
1119
|
+
all_params.append('async_req')
|
|
1120
|
+
all_params.append('_return_http_data_only')
|
|
1121
|
+
all_params.append('_preload_content')
|
|
1122
|
+
all_params.append('_request_timeout')
|
|
1123
|
+
|
|
1124
|
+
params = locals()
|
|
1125
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1126
|
+
if key not in all_params:
|
|
1127
|
+
raise TypeError(
|
|
1128
|
+
"Got an unexpected keyword argument '%s'"
|
|
1129
|
+
" to method assistants_service_get_conversation" % key
|
|
1130
|
+
)
|
|
1131
|
+
params[key] = val
|
|
1132
|
+
del params['kwargs']
|
|
1133
|
+
# verify the required parameter 'assistant_id' is set
|
|
1134
|
+
if ('assistant_id' not in params or
|
|
1135
|
+
params['assistant_id'] is None):
|
|
1136
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_get_conversation`") # noqa: E501
|
|
1137
|
+
# verify the required parameter 'id' is set
|
|
1138
|
+
if ('id' not in params or
|
|
1139
|
+
params['id'] is None):
|
|
1140
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_get_conversation`") # noqa: E501
|
|
1141
|
+
|
|
1142
|
+
collection_formats = {}
|
|
1143
|
+
|
|
1144
|
+
path_params = {}
|
|
1145
|
+
if 'assistant_id' in params:
|
|
1146
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
1147
|
+
if 'id' in params:
|
|
1148
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
1149
|
+
|
|
1150
|
+
query_params = []
|
|
1151
|
+
|
|
1152
|
+
header_params = {}
|
|
1153
|
+
|
|
1154
|
+
form_params = []
|
|
1155
|
+
local_var_files = {}
|
|
1156
|
+
|
|
1157
|
+
body_params = None
|
|
1158
|
+
# HTTP header `Accept`
|
|
1159
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1160
|
+
['application/json']) # noqa: E501
|
|
1161
|
+
|
|
1162
|
+
# Authentication setting
|
|
1163
|
+
auth_settings = [] # noqa: E501
|
|
1164
|
+
|
|
1165
|
+
return self.api_client.call_api(
|
|
1166
|
+
'/v1/agents/{assistantId}/conversations/{id}', 'GET',
|
|
1167
|
+
path_params,
|
|
1168
|
+
query_params,
|
|
1169
|
+
header_params,
|
|
1170
|
+
body=body_params,
|
|
1171
|
+
post_params=form_params,
|
|
1172
|
+
files=local_var_files,
|
|
1173
|
+
response_type='V1Conversation', # noqa: E501
|
|
1174
|
+
auth_settings=auth_settings,
|
|
1175
|
+
async_req=params.get('async_req'),
|
|
1176
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1177
|
+
_preload_content=params.get('_preload_content', True),
|
|
1178
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1179
|
+
collection_formats=collection_formats)
|
|
1180
|
+
|
|
1181
|
+
def assistants_service_get_latest_model_metrics(self, **kwargs) -> 'V1GetLatestModelMetricsResponse': # noqa: E501
|
|
1182
|
+
"""model metrics # noqa: E501
|
|
1183
|
+
|
|
1184
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1185
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1186
|
+
>>> thread = api.assistants_service_get_latest_model_metrics(async_req=True)
|
|
1187
|
+
>>> result = thread.get()
|
|
1188
|
+
|
|
1189
|
+
:param async_req bool
|
|
1190
|
+
:param str model_id:
|
|
1191
|
+
:return: V1GetLatestModelMetricsResponse
|
|
1192
|
+
If the method is called asynchronously,
|
|
1193
|
+
returns the request thread.
|
|
1194
|
+
"""
|
|
1195
|
+
kwargs['_return_http_data_only'] = True
|
|
1196
|
+
if kwargs.get('async_req'):
|
|
1197
|
+
return self.assistants_service_get_latest_model_metrics_with_http_info(**kwargs) # noqa: E501
|
|
1198
|
+
else:
|
|
1199
|
+
(data) = self.assistants_service_get_latest_model_metrics_with_http_info(**kwargs) # noqa: E501
|
|
1200
|
+
return data
|
|
1201
|
+
|
|
1202
|
+
def assistants_service_get_latest_model_metrics_with_http_info(self, **kwargs) -> 'V1GetLatestModelMetricsResponse': # noqa: E501
|
|
1203
|
+
"""model metrics # noqa: E501
|
|
1204
|
+
|
|
1205
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1206
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1207
|
+
>>> thread = api.assistants_service_get_latest_model_metrics_with_http_info(async_req=True)
|
|
1208
|
+
>>> result = thread.get()
|
|
1209
|
+
|
|
1210
|
+
:param async_req bool
|
|
1211
|
+
:param str model_id:
|
|
1212
|
+
:return: V1GetLatestModelMetricsResponse
|
|
1213
|
+
If the method is called asynchronously,
|
|
1214
|
+
returns the request thread.
|
|
1215
|
+
"""
|
|
1216
|
+
|
|
1217
|
+
all_params = ['model_id'] # noqa: E501
|
|
1218
|
+
all_params.append('async_req')
|
|
1219
|
+
all_params.append('_return_http_data_only')
|
|
1220
|
+
all_params.append('_preload_content')
|
|
1221
|
+
all_params.append('_request_timeout')
|
|
1222
|
+
|
|
1223
|
+
params = locals()
|
|
1224
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1225
|
+
if key not in all_params:
|
|
1226
|
+
raise TypeError(
|
|
1227
|
+
"Got an unexpected keyword argument '%s'"
|
|
1228
|
+
" to method assistants_service_get_latest_model_metrics" % key
|
|
1229
|
+
)
|
|
1230
|
+
params[key] = val
|
|
1231
|
+
del params['kwargs']
|
|
1232
|
+
|
|
1233
|
+
collection_formats = {}
|
|
1234
|
+
|
|
1235
|
+
path_params = {}
|
|
1236
|
+
|
|
1237
|
+
query_params = []
|
|
1238
|
+
if 'model_id' in params:
|
|
1239
|
+
query_params.append(('modelId', params['model_id'])) # noqa: E501
|
|
1240
|
+
|
|
1241
|
+
header_params = {}
|
|
1242
|
+
|
|
1243
|
+
form_params = []
|
|
1244
|
+
local_var_files = {}
|
|
1245
|
+
|
|
1246
|
+
body_params = None
|
|
1247
|
+
# HTTP header `Accept`
|
|
1248
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1249
|
+
['application/json']) # noqa: E501
|
|
1250
|
+
|
|
1251
|
+
# Authentication setting
|
|
1252
|
+
auth_settings = [] # noqa: E501
|
|
1253
|
+
|
|
1254
|
+
return self.api_client.call_api(
|
|
1255
|
+
'/v1/agents/latest-metrics', 'GET',
|
|
1256
|
+
path_params,
|
|
1257
|
+
query_params,
|
|
1258
|
+
header_params,
|
|
1259
|
+
body=body_params,
|
|
1260
|
+
post_params=form_params,
|
|
1261
|
+
files=local_var_files,
|
|
1262
|
+
response_type='V1GetLatestModelMetricsResponse', # noqa: E501
|
|
1263
|
+
auth_settings=auth_settings,
|
|
1264
|
+
async_req=params.get('async_req'),
|
|
1265
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1266
|
+
_preload_content=params.get('_preload_content', True),
|
|
1267
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1268
|
+
collection_formats=collection_formats)
|
|
1269
|
+
|
|
1270
|
+
def assistants_service_get_managed_model_assistant(self, model_name: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
1271
|
+
"""Each managed model has a dedicated assistant for direct interaction. By using user_name, org_name, or model_provider as query parameters, this endpoint retrieves that specific assistant only—excluding any other assistants that may use the same model. # noqa: E501
|
|
1272
|
+
|
|
1273
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1274
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1275
|
+
>>> thread = api.assistants_service_get_managed_model_assistant(model_name, async_req=True)
|
|
1276
|
+
>>> result = thread.get()
|
|
1277
|
+
|
|
1278
|
+
:param async_req bool
|
|
1279
|
+
:param str model_name: (required)
|
|
1280
|
+
:param str user_name:
|
|
1281
|
+
:param str org_name:
|
|
1282
|
+
:param str model_provider:
|
|
1283
|
+
:param str model_display_name:
|
|
1284
|
+
:return: V1Assistant
|
|
1285
|
+
If the method is called asynchronously,
|
|
1286
|
+
returns the request thread.
|
|
1287
|
+
"""
|
|
1288
|
+
kwargs['_return_http_data_only'] = True
|
|
1289
|
+
if kwargs.get('async_req'):
|
|
1290
|
+
return self.assistants_service_get_managed_model_assistant_with_http_info(model_name, **kwargs) # noqa: E501
|
|
1291
|
+
else:
|
|
1292
|
+
(data) = self.assistants_service_get_managed_model_assistant_with_http_info(model_name, **kwargs) # noqa: E501
|
|
1293
|
+
return data
|
|
1294
|
+
|
|
1295
|
+
def assistants_service_get_managed_model_assistant_with_http_info(self, model_name: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
1296
|
+
"""Each managed model has a dedicated assistant for direct interaction. By using user_name, org_name, or model_provider as query parameters, this endpoint retrieves that specific assistant only—excluding any other assistants that may use the same model. # noqa: E501
|
|
1297
|
+
|
|
1298
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1299
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1300
|
+
>>> thread = api.assistants_service_get_managed_model_assistant_with_http_info(model_name, async_req=True)
|
|
1301
|
+
>>> result = thread.get()
|
|
1302
|
+
|
|
1303
|
+
:param async_req bool
|
|
1304
|
+
:param str model_name: (required)
|
|
1305
|
+
:param str user_name:
|
|
1306
|
+
:param str org_name:
|
|
1307
|
+
:param str model_provider:
|
|
1308
|
+
:param str model_display_name:
|
|
1309
|
+
:return: V1Assistant
|
|
1310
|
+
If the method is called asynchronously,
|
|
1311
|
+
returns the request thread.
|
|
1312
|
+
"""
|
|
1313
|
+
|
|
1314
|
+
all_params = ['model_name', 'user_name', 'org_name', 'model_provider', 'model_display_name'] # noqa: E501
|
|
1315
|
+
all_params.append('async_req')
|
|
1316
|
+
all_params.append('_return_http_data_only')
|
|
1317
|
+
all_params.append('_preload_content')
|
|
1318
|
+
all_params.append('_request_timeout')
|
|
1319
|
+
|
|
1320
|
+
params = locals()
|
|
1321
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1322
|
+
if key not in all_params:
|
|
1323
|
+
raise TypeError(
|
|
1324
|
+
"Got an unexpected keyword argument '%s'"
|
|
1325
|
+
" to method assistants_service_get_managed_model_assistant" % key
|
|
1326
|
+
)
|
|
1327
|
+
params[key] = val
|
|
1328
|
+
del params['kwargs']
|
|
1329
|
+
# verify the required parameter 'model_name' is set
|
|
1330
|
+
if ('model_name' not in params or
|
|
1331
|
+
params['model_name'] is None):
|
|
1332
|
+
raise ValueError("Missing the required parameter `model_name` when calling `assistants_service_get_managed_model_assistant`") # noqa: E501
|
|
1333
|
+
|
|
1334
|
+
collection_formats = {}
|
|
1335
|
+
|
|
1336
|
+
path_params = {}
|
|
1337
|
+
if 'model_name' in params:
|
|
1338
|
+
path_params['modelName'] = params['model_name'] # noqa: E501
|
|
1339
|
+
|
|
1340
|
+
query_params = []
|
|
1341
|
+
if 'user_name' in params:
|
|
1342
|
+
query_params.append(('userName', params['user_name'])) # noqa: E501
|
|
1343
|
+
if 'org_name' in params:
|
|
1344
|
+
query_params.append(('orgName', params['org_name'])) # noqa: E501
|
|
1345
|
+
if 'model_provider' in params:
|
|
1346
|
+
query_params.append(('modelProvider', params['model_provider'])) # noqa: E501
|
|
1347
|
+
if 'model_display_name' in params:
|
|
1348
|
+
query_params.append(('modelDisplayName', params['model_display_name'])) # noqa: E501
|
|
1349
|
+
|
|
1350
|
+
header_params = {}
|
|
1351
|
+
|
|
1352
|
+
form_params = []
|
|
1353
|
+
local_var_files = {}
|
|
1354
|
+
|
|
1355
|
+
body_params = None
|
|
1356
|
+
# HTTP header `Accept`
|
|
1357
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1358
|
+
['application/json']) # noqa: E501
|
|
1359
|
+
|
|
1360
|
+
# Authentication setting
|
|
1361
|
+
auth_settings = [] # noqa: E501
|
|
1362
|
+
|
|
1363
|
+
return self.api_client.call_api(
|
|
1364
|
+
'/v1/agents/managed-model/{modelName}', 'GET',
|
|
1365
|
+
path_params,
|
|
1366
|
+
query_params,
|
|
1367
|
+
header_params,
|
|
1368
|
+
body=body_params,
|
|
1369
|
+
post_params=form_params,
|
|
1370
|
+
files=local_var_files,
|
|
1371
|
+
response_type='V1Assistant', # noqa: E501
|
|
1372
|
+
auth_settings=auth_settings,
|
|
1373
|
+
async_req=params.get('async_req'),
|
|
1374
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1375
|
+
_preload_content=params.get('_preload_content', True),
|
|
1376
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1377
|
+
collection_formats=collection_formats)
|
|
1378
|
+
|
|
1379
|
+
def assistants_service_get_managed_model_assistant2(self, **kwargs) -> 'V1Assistant': # noqa: E501
|
|
1380
|
+
"""Each managed model has a dedicated assistant for direct interaction. By using user_name, org_name, or model_provider as query parameters, this endpoint retrieves that specific assistant only—excluding any other assistants that may use the same model. # noqa: E501
|
|
1381
|
+
|
|
1382
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1383
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1384
|
+
>>> thread = api.assistants_service_get_managed_model_assistant2(async_req=True)
|
|
1385
|
+
>>> result = thread.get()
|
|
1386
|
+
|
|
1387
|
+
:param async_req bool
|
|
1388
|
+
:param str user_name:
|
|
1389
|
+
:param str org_name:
|
|
1390
|
+
:param str model_provider:
|
|
1391
|
+
:param str model_name:
|
|
1392
|
+
:param str model_display_name:
|
|
1393
|
+
:return: V1Assistant
|
|
1394
|
+
If the method is called asynchronously,
|
|
1395
|
+
returns the request thread.
|
|
1396
|
+
"""
|
|
1397
|
+
kwargs['_return_http_data_only'] = True
|
|
1398
|
+
if kwargs.get('async_req'):
|
|
1399
|
+
return self.assistants_service_get_managed_model_assistant2_with_http_info(**kwargs) # noqa: E501
|
|
1400
|
+
else:
|
|
1401
|
+
(data) = self.assistants_service_get_managed_model_assistant2_with_http_info(**kwargs) # noqa: E501
|
|
1402
|
+
return data
|
|
1403
|
+
|
|
1404
|
+
def assistants_service_get_managed_model_assistant2_with_http_info(self, **kwargs) -> 'V1Assistant': # noqa: E501
|
|
1405
|
+
"""Each managed model has a dedicated assistant for direct interaction. By using user_name, org_name, or model_provider as query parameters, this endpoint retrieves that specific assistant only—excluding any other assistants that may use the same model. # noqa: E501
|
|
1406
|
+
|
|
1407
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1408
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1409
|
+
>>> thread = api.assistants_service_get_managed_model_assistant2_with_http_info(async_req=True)
|
|
1410
|
+
>>> result = thread.get()
|
|
1411
|
+
|
|
1412
|
+
:param async_req bool
|
|
1413
|
+
:param str user_name:
|
|
1414
|
+
:param str org_name:
|
|
1415
|
+
:param str model_provider:
|
|
1416
|
+
:param str model_name:
|
|
1417
|
+
:param str model_display_name:
|
|
1418
|
+
:return: V1Assistant
|
|
1419
|
+
If the method is called asynchronously,
|
|
1420
|
+
returns the request thread.
|
|
1421
|
+
"""
|
|
1422
|
+
|
|
1423
|
+
all_params = ['user_name', 'org_name', 'model_provider', 'model_name', 'model_display_name'] # noqa: E501
|
|
1424
|
+
all_params.append('async_req')
|
|
1425
|
+
all_params.append('_return_http_data_only')
|
|
1426
|
+
all_params.append('_preload_content')
|
|
1427
|
+
all_params.append('_request_timeout')
|
|
1428
|
+
|
|
1429
|
+
params = locals()
|
|
1430
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1431
|
+
if key not in all_params:
|
|
1432
|
+
raise TypeError(
|
|
1433
|
+
"Got an unexpected keyword argument '%s'"
|
|
1434
|
+
" to method assistants_service_get_managed_model_assistant2" % key
|
|
1435
|
+
)
|
|
1436
|
+
params[key] = val
|
|
1437
|
+
del params['kwargs']
|
|
1438
|
+
|
|
1439
|
+
collection_formats = {}
|
|
1440
|
+
|
|
1441
|
+
path_params = {}
|
|
1442
|
+
|
|
1443
|
+
query_params = []
|
|
1444
|
+
if 'user_name' in params:
|
|
1445
|
+
query_params.append(('userName', params['user_name'])) # noqa: E501
|
|
1446
|
+
if 'org_name' in params:
|
|
1447
|
+
query_params.append(('orgName', params['org_name'])) # noqa: E501
|
|
1448
|
+
if 'model_provider' in params:
|
|
1449
|
+
query_params.append(('modelProvider', params['model_provider'])) # noqa: E501
|
|
1450
|
+
if 'model_name' in params:
|
|
1451
|
+
query_params.append(('modelName', params['model_name'])) # noqa: E501
|
|
1452
|
+
if 'model_display_name' in params:
|
|
1453
|
+
query_params.append(('modelDisplayName', params['model_display_name'])) # noqa: E501
|
|
1454
|
+
|
|
1455
|
+
header_params = {}
|
|
1456
|
+
|
|
1457
|
+
form_params = []
|
|
1458
|
+
local_var_files = {}
|
|
1459
|
+
|
|
1460
|
+
body_params = None
|
|
1461
|
+
# HTTP header `Accept`
|
|
1462
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1463
|
+
['application/json']) # noqa: E501
|
|
1464
|
+
|
|
1465
|
+
# Authentication setting
|
|
1466
|
+
auth_settings = [] # noqa: E501
|
|
1467
|
+
|
|
1468
|
+
return self.api_client.call_api(
|
|
1469
|
+
'/v1/agents/managed-model', 'GET',
|
|
1470
|
+
path_params,
|
|
1471
|
+
query_params,
|
|
1472
|
+
header_params,
|
|
1473
|
+
body=body_params,
|
|
1474
|
+
post_params=form_params,
|
|
1475
|
+
files=local_var_files,
|
|
1476
|
+
response_type='V1Assistant', # noqa: E501
|
|
1477
|
+
auth_settings=auth_settings,
|
|
1478
|
+
async_req=params.get('async_req'),
|
|
1479
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1480
|
+
_preload_content=params.get('_preload_content', True),
|
|
1481
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1482
|
+
collection_formats=collection_formats)
|
|
1483
|
+
|
|
1484
|
+
def assistants_service_get_managed_model_by_name(self, project_id: 'str', managed_endpoint_id: 'str', name: 'str', **kwargs) -> 'V1ManagedModel': # noqa: E501
|
|
1485
|
+
"""assistants_service_get_managed_model_by_name # noqa: E501
|
|
1486
|
+
|
|
1487
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1488
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1489
|
+
>>> thread = api.assistants_service_get_managed_model_by_name(project_id, managed_endpoint_id, name, async_req=True)
|
|
1490
|
+
>>> result = thread.get()
|
|
1491
|
+
|
|
1492
|
+
:param async_req bool
|
|
1493
|
+
:param str project_id: (required)
|
|
1494
|
+
:param str managed_endpoint_id: (required)
|
|
1495
|
+
:param str name: (required)
|
|
1496
|
+
:return: V1ManagedModel
|
|
1497
|
+
If the method is called asynchronously,
|
|
1498
|
+
returns the request thread.
|
|
1499
|
+
"""
|
|
1500
|
+
kwargs['_return_http_data_only'] = True
|
|
1501
|
+
if kwargs.get('async_req'):
|
|
1502
|
+
return self.assistants_service_get_managed_model_by_name_with_http_info(project_id, managed_endpoint_id, name, **kwargs) # noqa: E501
|
|
1503
|
+
else:
|
|
1504
|
+
(data) = self.assistants_service_get_managed_model_by_name_with_http_info(project_id, managed_endpoint_id, name, **kwargs) # noqa: E501
|
|
1505
|
+
return data
|
|
1506
|
+
|
|
1507
|
+
def assistants_service_get_managed_model_by_name_with_http_info(self, project_id: 'str', managed_endpoint_id: 'str', name: 'str', **kwargs) -> 'V1ManagedModel': # noqa: E501
|
|
1508
|
+
"""assistants_service_get_managed_model_by_name # noqa: E501
|
|
1509
|
+
|
|
1510
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1511
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1512
|
+
>>> thread = api.assistants_service_get_managed_model_by_name_with_http_info(project_id, managed_endpoint_id, name, async_req=True)
|
|
1513
|
+
>>> result = thread.get()
|
|
1514
|
+
|
|
1515
|
+
:param async_req bool
|
|
1516
|
+
:param str project_id: (required)
|
|
1517
|
+
:param str managed_endpoint_id: (required)
|
|
1518
|
+
:param str name: (required)
|
|
1519
|
+
:return: V1ManagedModel
|
|
1520
|
+
If the method is called asynchronously,
|
|
1521
|
+
returns the request thread.
|
|
1522
|
+
"""
|
|
1523
|
+
|
|
1524
|
+
all_params = ['project_id', 'managed_endpoint_id', 'name'] # noqa: E501
|
|
1525
|
+
all_params.append('async_req')
|
|
1526
|
+
all_params.append('_return_http_data_only')
|
|
1527
|
+
all_params.append('_preload_content')
|
|
1528
|
+
all_params.append('_request_timeout')
|
|
1529
|
+
|
|
1530
|
+
params = locals()
|
|
1531
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1532
|
+
if key not in all_params:
|
|
1533
|
+
raise TypeError(
|
|
1534
|
+
"Got an unexpected keyword argument '%s'"
|
|
1535
|
+
" to method assistants_service_get_managed_model_by_name" % key
|
|
1536
|
+
)
|
|
1537
|
+
params[key] = val
|
|
1538
|
+
del params['kwargs']
|
|
1539
|
+
# verify the required parameter 'project_id' is set
|
|
1540
|
+
if ('project_id' not in params or
|
|
1541
|
+
params['project_id'] is None):
|
|
1542
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_get_managed_model_by_name`") # noqa: E501
|
|
1543
|
+
# verify the required parameter 'managed_endpoint_id' is set
|
|
1544
|
+
if ('managed_endpoint_id' not in params or
|
|
1545
|
+
params['managed_endpoint_id'] is None):
|
|
1546
|
+
raise ValueError("Missing the required parameter `managed_endpoint_id` when calling `assistants_service_get_managed_model_by_name`") # noqa: E501
|
|
1547
|
+
# verify the required parameter 'name' is set
|
|
1548
|
+
if ('name' not in params or
|
|
1549
|
+
params['name'] is None):
|
|
1550
|
+
raise ValueError("Missing the required parameter `name` when calling `assistants_service_get_managed_model_by_name`") # noqa: E501
|
|
1551
|
+
|
|
1552
|
+
collection_formats = {}
|
|
1553
|
+
|
|
1554
|
+
path_params = {}
|
|
1555
|
+
if 'project_id' in params:
|
|
1556
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1557
|
+
if 'managed_endpoint_id' in params:
|
|
1558
|
+
path_params['managedEndpointId'] = params['managed_endpoint_id'] # noqa: E501
|
|
1559
|
+
if 'name' in params:
|
|
1560
|
+
path_params['name'] = params['name'] # noqa: E501
|
|
1561
|
+
|
|
1562
|
+
query_params = []
|
|
1563
|
+
|
|
1564
|
+
header_params = {}
|
|
1565
|
+
|
|
1566
|
+
form_params = []
|
|
1567
|
+
local_var_files = {}
|
|
1568
|
+
|
|
1569
|
+
body_params = None
|
|
1570
|
+
# HTTP header `Accept`
|
|
1571
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1572
|
+
['application/json']) # noqa: E501
|
|
1573
|
+
|
|
1574
|
+
# Authentication setting
|
|
1575
|
+
auth_settings = [] # noqa: E501
|
|
1576
|
+
|
|
1577
|
+
return self.api_client.call_api(
|
|
1578
|
+
'/v1/projects/{projectId}/agent-managed-endpoints/{managedEndpointId}/model/{name}', 'GET',
|
|
1579
|
+
path_params,
|
|
1580
|
+
query_params,
|
|
1581
|
+
header_params,
|
|
1582
|
+
body=body_params,
|
|
1583
|
+
post_params=form_params,
|
|
1584
|
+
files=local_var_files,
|
|
1585
|
+
response_type='V1ManagedModel', # noqa: E501
|
|
1586
|
+
auth_settings=auth_settings,
|
|
1587
|
+
async_req=params.get('async_req'),
|
|
1588
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1589
|
+
_preload_content=params.get('_preload_content', True),
|
|
1590
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1591
|
+
collection_formats=collection_formats)
|
|
1592
|
+
|
|
1593
|
+
def assistants_service_get_model_metrics(self, model_id: 'str', **kwargs) -> 'V1GetModelMetricsResponse': # noqa: E501
|
|
1594
|
+
"""assistants_service_get_model_metrics # noqa: E501
|
|
1595
|
+
|
|
1596
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1597
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1598
|
+
>>> thread = api.assistants_service_get_model_metrics(model_id, async_req=True)
|
|
1599
|
+
>>> result = thread.get()
|
|
1600
|
+
|
|
1601
|
+
:param async_req bool
|
|
1602
|
+
:param str model_id: (required)
|
|
1603
|
+
:param datetime _from:
|
|
1604
|
+
:param datetime to:
|
|
1605
|
+
:return: V1GetModelMetricsResponse
|
|
1606
|
+
If the method is called asynchronously,
|
|
1607
|
+
returns the request thread.
|
|
1608
|
+
"""
|
|
1609
|
+
kwargs['_return_http_data_only'] = True
|
|
1610
|
+
if kwargs.get('async_req'):
|
|
1611
|
+
return self.assistants_service_get_model_metrics_with_http_info(model_id, **kwargs) # noqa: E501
|
|
1612
|
+
else:
|
|
1613
|
+
(data) = self.assistants_service_get_model_metrics_with_http_info(model_id, **kwargs) # noqa: E501
|
|
1614
|
+
return data
|
|
1615
|
+
|
|
1616
|
+
def assistants_service_get_model_metrics_with_http_info(self, model_id: 'str', **kwargs) -> 'V1GetModelMetricsResponse': # noqa: E501
|
|
1617
|
+
"""assistants_service_get_model_metrics # noqa: E501
|
|
1618
|
+
|
|
1619
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1620
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1621
|
+
>>> thread = api.assistants_service_get_model_metrics_with_http_info(model_id, async_req=True)
|
|
1622
|
+
>>> result = thread.get()
|
|
1623
|
+
|
|
1624
|
+
:param async_req bool
|
|
1625
|
+
:param str model_id: (required)
|
|
1626
|
+
:param datetime _from:
|
|
1627
|
+
:param datetime to:
|
|
1628
|
+
:return: V1GetModelMetricsResponse
|
|
1629
|
+
If the method is called asynchronously,
|
|
1630
|
+
returns the request thread.
|
|
1631
|
+
"""
|
|
1632
|
+
|
|
1633
|
+
all_params = ['model_id', '_from', 'to'] # noqa: E501
|
|
1634
|
+
all_params.append('async_req')
|
|
1635
|
+
all_params.append('_return_http_data_only')
|
|
1636
|
+
all_params.append('_preload_content')
|
|
1637
|
+
all_params.append('_request_timeout')
|
|
1638
|
+
|
|
1639
|
+
params = locals()
|
|
1640
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1641
|
+
if key not in all_params:
|
|
1642
|
+
raise TypeError(
|
|
1643
|
+
"Got an unexpected keyword argument '%s'"
|
|
1644
|
+
" to method assistants_service_get_model_metrics" % key
|
|
1645
|
+
)
|
|
1646
|
+
params[key] = val
|
|
1647
|
+
del params['kwargs']
|
|
1648
|
+
# verify the required parameter 'model_id' is set
|
|
1649
|
+
if ('model_id' not in params or
|
|
1650
|
+
params['model_id'] is None):
|
|
1651
|
+
raise ValueError("Missing the required parameter `model_id` when calling `assistants_service_get_model_metrics`") # noqa: E501
|
|
1652
|
+
|
|
1653
|
+
collection_formats = {}
|
|
1654
|
+
|
|
1655
|
+
path_params = {}
|
|
1656
|
+
if 'model_id' in params:
|
|
1657
|
+
path_params['modelId'] = params['model_id'] # noqa: E501
|
|
1658
|
+
|
|
1659
|
+
query_params = []
|
|
1660
|
+
if '_from' in params:
|
|
1661
|
+
query_params.append(('from', params['_from'])) # noqa: E501
|
|
1662
|
+
if 'to' in params:
|
|
1663
|
+
query_params.append(('to', params['to'])) # noqa: E501
|
|
1664
|
+
|
|
1665
|
+
header_params = {}
|
|
1666
|
+
|
|
1667
|
+
form_params = []
|
|
1668
|
+
local_var_files = {}
|
|
1669
|
+
|
|
1670
|
+
body_params = None
|
|
1671
|
+
# HTTP header `Accept`
|
|
1672
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1673
|
+
['application/json']) # noqa: E501
|
|
1674
|
+
|
|
1675
|
+
# Authentication setting
|
|
1676
|
+
auth_settings = [] # noqa: E501
|
|
1677
|
+
|
|
1678
|
+
return self.api_client.call_api(
|
|
1679
|
+
'/v1/agents/metrics/models/{modelId}', 'GET',
|
|
1680
|
+
path_params,
|
|
1681
|
+
query_params,
|
|
1682
|
+
header_params,
|
|
1683
|
+
body=body_params,
|
|
1684
|
+
post_params=form_params,
|
|
1685
|
+
files=local_var_files,
|
|
1686
|
+
response_type='V1GetModelMetricsResponse', # noqa: E501
|
|
1687
|
+
auth_settings=auth_settings,
|
|
1688
|
+
async_req=params.get('async_req'),
|
|
1689
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1690
|
+
_preload_content=params.get('_preload_content', True),
|
|
1691
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1692
|
+
collection_formats=collection_formats)
|
|
1693
|
+
|
|
1694
|
+
def assistants_service_get_published_managed_endpoint(self, **kwargs) -> 'V1ManagedEndpoint': # noqa: E501
|
|
1695
|
+
"""GetPublishedManagedEndpoint returns a managed endpoint with a single specific managed endpoint model included in modelsMetadata # noqa: E501
|
|
1696
|
+
|
|
1697
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1698
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1699
|
+
>>> thread = api.assistants_service_get_published_managed_endpoint(async_req=True)
|
|
1700
|
+
>>> result = thread.get()
|
|
1701
|
+
|
|
1702
|
+
:param async_req bool
|
|
1703
|
+
:param str id:
|
|
1704
|
+
:param str name:
|
|
1705
|
+
:return: V1ManagedEndpoint
|
|
1706
|
+
If the method is called asynchronously,
|
|
1707
|
+
returns the request thread.
|
|
1708
|
+
"""
|
|
1709
|
+
kwargs['_return_http_data_only'] = True
|
|
1710
|
+
if kwargs.get('async_req'):
|
|
1711
|
+
return self.assistants_service_get_published_managed_endpoint_with_http_info(**kwargs) # noqa: E501
|
|
1712
|
+
else:
|
|
1713
|
+
(data) = self.assistants_service_get_published_managed_endpoint_with_http_info(**kwargs) # noqa: E501
|
|
1714
|
+
return data
|
|
1715
|
+
|
|
1716
|
+
def assistants_service_get_published_managed_endpoint_with_http_info(self, **kwargs) -> 'V1ManagedEndpoint': # noqa: E501
|
|
1717
|
+
"""GetPublishedManagedEndpoint returns a managed endpoint with a single specific managed endpoint model included in modelsMetadata # noqa: E501
|
|
1718
|
+
|
|
1719
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1720
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1721
|
+
>>> thread = api.assistants_service_get_published_managed_endpoint_with_http_info(async_req=True)
|
|
1722
|
+
>>> result = thread.get()
|
|
1723
|
+
|
|
1724
|
+
:param async_req bool
|
|
1725
|
+
:param str id:
|
|
1726
|
+
:param str name:
|
|
1727
|
+
:return: V1ManagedEndpoint
|
|
1728
|
+
If the method is called asynchronously,
|
|
1729
|
+
returns the request thread.
|
|
1730
|
+
"""
|
|
1731
|
+
|
|
1732
|
+
all_params = ['id', 'name'] # noqa: E501
|
|
1733
|
+
all_params.append('async_req')
|
|
1734
|
+
all_params.append('_return_http_data_only')
|
|
1735
|
+
all_params.append('_preload_content')
|
|
1736
|
+
all_params.append('_request_timeout')
|
|
1737
|
+
|
|
1738
|
+
params = locals()
|
|
1739
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1740
|
+
if key not in all_params:
|
|
1741
|
+
raise TypeError(
|
|
1742
|
+
"Got an unexpected keyword argument '%s'"
|
|
1743
|
+
" to method assistants_service_get_published_managed_endpoint" % key
|
|
1744
|
+
)
|
|
1745
|
+
params[key] = val
|
|
1746
|
+
del params['kwargs']
|
|
1747
|
+
|
|
1748
|
+
collection_formats = {}
|
|
1749
|
+
|
|
1750
|
+
path_params = {}
|
|
1751
|
+
|
|
1752
|
+
query_params = []
|
|
1753
|
+
if 'id' in params:
|
|
1754
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
1755
|
+
if 'name' in params:
|
|
1756
|
+
query_params.append(('name', params['name'])) # noqa: E501
|
|
1757
|
+
|
|
1758
|
+
header_params = {}
|
|
1759
|
+
|
|
1760
|
+
form_params = []
|
|
1761
|
+
local_var_files = {}
|
|
1762
|
+
|
|
1763
|
+
body_params = None
|
|
1764
|
+
# HTTP header `Accept`
|
|
1765
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1766
|
+
['application/json']) # noqa: E501
|
|
1767
|
+
|
|
1768
|
+
# Authentication setting
|
|
1769
|
+
auth_settings = [] # noqa: E501
|
|
1770
|
+
|
|
1771
|
+
return self.api_client.call_api(
|
|
1772
|
+
'/v1/agent-published-managed-model', 'GET',
|
|
1773
|
+
path_params,
|
|
1774
|
+
query_params,
|
|
1775
|
+
header_params,
|
|
1776
|
+
body=body_params,
|
|
1777
|
+
post_params=form_params,
|
|
1778
|
+
files=local_var_files,
|
|
1779
|
+
response_type='V1ManagedEndpoint', # noqa: E501
|
|
1780
|
+
auth_settings=auth_settings,
|
|
1781
|
+
async_req=params.get('async_req'),
|
|
1782
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1783
|
+
_preload_content=params.get('_preload_content', True),
|
|
1784
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1785
|
+
collection_formats=collection_formats)
|
|
1786
|
+
|
|
1787
|
+
def assistants_service_list_assistant_managed_endpoints(self, **kwargs) -> 'V1ListManagedEndpointsResponse': # noqa: E501
|
|
1788
|
+
"""ListAssistantManagedEndpoints returns a list of managed endpoint that users can use when creating their own assistant. These are served and managed by Lightning or 3rd parties # noqa: E501
|
|
1789
|
+
|
|
1790
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1791
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1792
|
+
>>> thread = api.assistants_service_list_assistant_managed_endpoints(async_req=True)
|
|
1793
|
+
>>> result = thread.get()
|
|
1794
|
+
|
|
1795
|
+
:param async_req bool
|
|
1796
|
+
:param str project_id:
|
|
1797
|
+
:param str org_id:
|
|
1798
|
+
:return: V1ListManagedEndpointsResponse
|
|
1799
|
+
If the method is called asynchronously,
|
|
1800
|
+
returns the request thread.
|
|
1801
|
+
"""
|
|
1802
|
+
kwargs['_return_http_data_only'] = True
|
|
1803
|
+
if kwargs.get('async_req'):
|
|
1804
|
+
return self.assistants_service_list_assistant_managed_endpoints_with_http_info(**kwargs) # noqa: E501
|
|
1805
|
+
else:
|
|
1806
|
+
(data) = self.assistants_service_list_assistant_managed_endpoints_with_http_info(**kwargs) # noqa: E501
|
|
1807
|
+
return data
|
|
1808
|
+
|
|
1809
|
+
def assistants_service_list_assistant_managed_endpoints_with_http_info(self, **kwargs) -> 'V1ListManagedEndpointsResponse': # noqa: E501
|
|
1810
|
+
"""ListAssistantManagedEndpoints returns a list of managed endpoint that users can use when creating their own assistant. These are served and managed by Lightning or 3rd parties # noqa: E501
|
|
1811
|
+
|
|
1812
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1813
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1814
|
+
>>> thread = api.assistants_service_list_assistant_managed_endpoints_with_http_info(async_req=True)
|
|
1815
|
+
>>> result = thread.get()
|
|
1816
|
+
|
|
1817
|
+
:param async_req bool
|
|
1818
|
+
:param str project_id:
|
|
1819
|
+
:param str org_id:
|
|
1820
|
+
:return: V1ListManagedEndpointsResponse
|
|
1821
|
+
If the method is called asynchronously,
|
|
1822
|
+
returns the request thread.
|
|
1823
|
+
"""
|
|
1824
|
+
|
|
1825
|
+
all_params = ['project_id', 'org_id'] # noqa: E501
|
|
1826
|
+
all_params.append('async_req')
|
|
1827
|
+
all_params.append('_return_http_data_only')
|
|
1828
|
+
all_params.append('_preload_content')
|
|
1829
|
+
all_params.append('_request_timeout')
|
|
1830
|
+
|
|
1831
|
+
params = locals()
|
|
1832
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1833
|
+
if key not in all_params:
|
|
1834
|
+
raise TypeError(
|
|
1835
|
+
"Got an unexpected keyword argument '%s'"
|
|
1836
|
+
" to method assistants_service_list_assistant_managed_endpoints" % key
|
|
1837
|
+
)
|
|
1838
|
+
params[key] = val
|
|
1839
|
+
del params['kwargs']
|
|
1840
|
+
|
|
1841
|
+
collection_formats = {}
|
|
1842
|
+
|
|
1843
|
+
path_params = {}
|
|
1844
|
+
|
|
1845
|
+
query_params = []
|
|
1846
|
+
if 'project_id' in params:
|
|
1847
|
+
query_params.append(('projectId', params['project_id'])) # noqa: E501
|
|
1848
|
+
if 'org_id' in params:
|
|
1849
|
+
query_params.append(('orgId', params['org_id'])) # noqa: E501
|
|
1850
|
+
|
|
1851
|
+
header_params = {}
|
|
1852
|
+
|
|
1853
|
+
form_params = []
|
|
1854
|
+
local_var_files = {}
|
|
1855
|
+
|
|
1856
|
+
body_params = None
|
|
1857
|
+
# HTTP header `Accept`
|
|
1858
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1859
|
+
['application/json']) # noqa: E501
|
|
1860
|
+
|
|
1861
|
+
# Authentication setting
|
|
1862
|
+
auth_settings = [] # noqa: E501
|
|
1863
|
+
|
|
1864
|
+
return self.api_client.call_api(
|
|
1865
|
+
'/v1/agent-managed-endpoints', 'GET',
|
|
1866
|
+
path_params,
|
|
1867
|
+
query_params,
|
|
1868
|
+
header_params,
|
|
1869
|
+
body=body_params,
|
|
1870
|
+
post_params=form_params,
|
|
1871
|
+
files=local_var_files,
|
|
1872
|
+
response_type='V1ListManagedEndpointsResponse', # noqa: E501
|
|
1873
|
+
auth_settings=auth_settings,
|
|
1874
|
+
async_req=params.get('async_req'),
|
|
1875
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1876
|
+
_preload_content=params.get('_preload_content', True),
|
|
1877
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1878
|
+
collection_formats=collection_formats)
|
|
1879
|
+
|
|
1880
|
+
def assistants_service_list_assistants(self, **kwargs) -> 'V1ListAssistantsResponse': # noqa: E501
|
|
1881
|
+
"""assistants_service_list_assistants # noqa: E501
|
|
1882
|
+
|
|
1883
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1884
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1885
|
+
>>> thread = api.assistants_service_list_assistants(async_req=True)
|
|
1886
|
+
>>> result = thread.get()
|
|
1887
|
+
|
|
1888
|
+
:param async_req bool
|
|
1889
|
+
:param str org_id:
|
|
1890
|
+
:param str project_id:
|
|
1891
|
+
:param str cloudspace_id:
|
|
1892
|
+
:param bool published:
|
|
1893
|
+
:param str internal_name:
|
|
1894
|
+
:param str user_id:
|
|
1895
|
+
:param bool cloudy_compatible:
|
|
1896
|
+
:param bool model_assistants_only:
|
|
1897
|
+
:return: V1ListAssistantsResponse
|
|
1898
|
+
If the method is called asynchronously,
|
|
1899
|
+
returns the request thread.
|
|
1900
|
+
"""
|
|
1901
|
+
kwargs['_return_http_data_only'] = True
|
|
1902
|
+
if kwargs.get('async_req'):
|
|
1903
|
+
return self.assistants_service_list_assistants_with_http_info(**kwargs) # noqa: E501
|
|
1904
|
+
else:
|
|
1905
|
+
(data) = self.assistants_service_list_assistants_with_http_info(**kwargs) # noqa: E501
|
|
1906
|
+
return data
|
|
1907
|
+
|
|
1908
|
+
def assistants_service_list_assistants_with_http_info(self, **kwargs) -> 'V1ListAssistantsResponse': # noqa: E501
|
|
1909
|
+
"""assistants_service_list_assistants # noqa: E501
|
|
1910
|
+
|
|
1911
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1912
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1913
|
+
>>> thread = api.assistants_service_list_assistants_with_http_info(async_req=True)
|
|
1914
|
+
>>> result = thread.get()
|
|
1915
|
+
|
|
1916
|
+
:param async_req bool
|
|
1917
|
+
:param str org_id:
|
|
1918
|
+
:param str project_id:
|
|
1919
|
+
:param str cloudspace_id:
|
|
1920
|
+
:param bool published:
|
|
1921
|
+
:param str internal_name:
|
|
1922
|
+
:param str user_id:
|
|
1923
|
+
:param bool cloudy_compatible:
|
|
1924
|
+
:param bool model_assistants_only:
|
|
1925
|
+
:return: V1ListAssistantsResponse
|
|
1926
|
+
If the method is called asynchronously,
|
|
1927
|
+
returns the request thread.
|
|
1928
|
+
"""
|
|
1929
|
+
|
|
1930
|
+
all_params = ['org_id', 'project_id', 'cloudspace_id', 'published', 'internal_name', 'user_id', 'cloudy_compatible', 'model_assistants_only'] # noqa: E501
|
|
1931
|
+
all_params.append('async_req')
|
|
1932
|
+
all_params.append('_return_http_data_only')
|
|
1933
|
+
all_params.append('_preload_content')
|
|
1934
|
+
all_params.append('_request_timeout')
|
|
1935
|
+
|
|
1936
|
+
params = locals()
|
|
1937
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1938
|
+
if key not in all_params:
|
|
1939
|
+
raise TypeError(
|
|
1940
|
+
"Got an unexpected keyword argument '%s'"
|
|
1941
|
+
" to method assistants_service_list_assistants" % key
|
|
1942
|
+
)
|
|
1943
|
+
params[key] = val
|
|
1944
|
+
del params['kwargs']
|
|
1945
|
+
|
|
1946
|
+
collection_formats = {}
|
|
1947
|
+
|
|
1948
|
+
path_params = {}
|
|
1949
|
+
|
|
1950
|
+
query_params = []
|
|
1951
|
+
if 'org_id' in params:
|
|
1952
|
+
query_params.append(('orgId', params['org_id'])) # noqa: E501
|
|
1953
|
+
if 'project_id' in params:
|
|
1954
|
+
query_params.append(('projectId', params['project_id'])) # noqa: E501
|
|
1955
|
+
if 'cloudspace_id' in params:
|
|
1956
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
1957
|
+
if 'published' in params:
|
|
1958
|
+
query_params.append(('published', params['published'])) # noqa: E501
|
|
1959
|
+
if 'internal_name' in params:
|
|
1960
|
+
query_params.append(('internalName', params['internal_name'])) # noqa: E501
|
|
1961
|
+
if 'user_id' in params:
|
|
1962
|
+
query_params.append(('userId', params['user_id'])) # noqa: E501
|
|
1963
|
+
if 'cloudy_compatible' in params:
|
|
1964
|
+
query_params.append(('cloudyCompatible', params['cloudy_compatible'])) # noqa: E501
|
|
1965
|
+
if 'model_assistants_only' in params:
|
|
1966
|
+
query_params.append(('modelAssistantsOnly', params['model_assistants_only'])) # noqa: E501
|
|
1967
|
+
|
|
1968
|
+
header_params = {}
|
|
1969
|
+
|
|
1970
|
+
form_params = []
|
|
1971
|
+
local_var_files = {}
|
|
1972
|
+
|
|
1973
|
+
body_params = None
|
|
1974
|
+
# HTTP header `Accept`
|
|
1975
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1976
|
+
['application/json']) # noqa: E501
|
|
1977
|
+
|
|
1978
|
+
# Authentication setting
|
|
1979
|
+
auth_settings = [] # noqa: E501
|
|
1980
|
+
|
|
1981
|
+
return self.api_client.call_api(
|
|
1982
|
+
'/v1/agents', 'GET',
|
|
1983
|
+
path_params,
|
|
1984
|
+
query_params,
|
|
1985
|
+
header_params,
|
|
1986
|
+
body=body_params,
|
|
1987
|
+
post_params=form_params,
|
|
1988
|
+
files=local_var_files,
|
|
1989
|
+
response_type='V1ListAssistantsResponse', # noqa: E501
|
|
1990
|
+
auth_settings=auth_settings,
|
|
1991
|
+
async_req=params.get('async_req'),
|
|
1992
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1993
|
+
_preload_content=params.get('_preload_content', True),
|
|
1994
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1995
|
+
collection_formats=collection_formats)
|
|
1996
|
+
|
|
1997
|
+
def assistants_service_list_conversation_message_actions(self, assistant_id: 'str', conversation_id: 'str', message_id: 'str', **kwargs) -> 'V1ListConversationMessageActionsResponse': # noqa: E501
|
|
1998
|
+
"""assistants_service_list_conversation_message_actions # noqa: E501
|
|
1999
|
+
|
|
2000
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2001
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2002
|
+
>>> thread = api.assistants_service_list_conversation_message_actions(assistant_id, conversation_id, message_id, async_req=True)
|
|
2003
|
+
>>> result = thread.get()
|
|
2004
|
+
|
|
2005
|
+
:param async_req bool
|
|
2006
|
+
:param str assistant_id: (required)
|
|
2007
|
+
:param str conversation_id: (required)
|
|
2008
|
+
:param str message_id: (required)
|
|
2009
|
+
:param str project_id:
|
|
2010
|
+
:return: V1ListConversationMessageActionsResponse
|
|
2011
|
+
If the method is called asynchronously,
|
|
2012
|
+
returns the request thread.
|
|
2013
|
+
"""
|
|
2014
|
+
kwargs['_return_http_data_only'] = True
|
|
2015
|
+
if kwargs.get('async_req'):
|
|
2016
|
+
return self.assistants_service_list_conversation_message_actions_with_http_info(assistant_id, conversation_id, message_id, **kwargs) # noqa: E501
|
|
2017
|
+
else:
|
|
2018
|
+
(data) = self.assistants_service_list_conversation_message_actions_with_http_info(assistant_id, conversation_id, message_id, **kwargs) # noqa: E501
|
|
2019
|
+
return data
|
|
2020
|
+
|
|
2021
|
+
def assistants_service_list_conversation_message_actions_with_http_info(self, assistant_id: 'str', conversation_id: 'str', message_id: 'str', **kwargs) -> 'V1ListConversationMessageActionsResponse': # noqa: E501
|
|
2022
|
+
"""assistants_service_list_conversation_message_actions # noqa: E501
|
|
2023
|
+
|
|
2024
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2025
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2026
|
+
>>> thread = api.assistants_service_list_conversation_message_actions_with_http_info(assistant_id, conversation_id, message_id, async_req=True)
|
|
2027
|
+
>>> result = thread.get()
|
|
2028
|
+
|
|
2029
|
+
:param async_req bool
|
|
2030
|
+
:param str assistant_id: (required)
|
|
2031
|
+
:param str conversation_id: (required)
|
|
2032
|
+
:param str message_id: (required)
|
|
2033
|
+
:param str project_id:
|
|
2034
|
+
:return: V1ListConversationMessageActionsResponse
|
|
2035
|
+
If the method is called asynchronously,
|
|
2036
|
+
returns the request thread.
|
|
2037
|
+
"""
|
|
2038
|
+
|
|
2039
|
+
all_params = ['assistant_id', 'conversation_id', 'message_id', 'project_id'] # noqa: E501
|
|
2040
|
+
all_params.append('async_req')
|
|
2041
|
+
all_params.append('_return_http_data_only')
|
|
2042
|
+
all_params.append('_preload_content')
|
|
2043
|
+
all_params.append('_request_timeout')
|
|
2044
|
+
|
|
2045
|
+
params = locals()
|
|
2046
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2047
|
+
if key not in all_params:
|
|
2048
|
+
raise TypeError(
|
|
2049
|
+
"Got an unexpected keyword argument '%s'"
|
|
2050
|
+
" to method assistants_service_list_conversation_message_actions" % key
|
|
2051
|
+
)
|
|
2052
|
+
params[key] = val
|
|
2053
|
+
del params['kwargs']
|
|
2054
|
+
# verify the required parameter 'assistant_id' is set
|
|
2055
|
+
if ('assistant_id' not in params or
|
|
2056
|
+
params['assistant_id'] is None):
|
|
2057
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_list_conversation_message_actions`") # noqa: E501
|
|
2058
|
+
# verify the required parameter 'conversation_id' is set
|
|
2059
|
+
if ('conversation_id' not in params or
|
|
2060
|
+
params['conversation_id'] is None):
|
|
2061
|
+
raise ValueError("Missing the required parameter `conversation_id` when calling `assistants_service_list_conversation_message_actions`") # noqa: E501
|
|
2062
|
+
# verify the required parameter 'message_id' is set
|
|
2063
|
+
if ('message_id' not in params or
|
|
2064
|
+
params['message_id'] is None):
|
|
2065
|
+
raise ValueError("Missing the required parameter `message_id` when calling `assistants_service_list_conversation_message_actions`") # noqa: E501
|
|
2066
|
+
|
|
2067
|
+
collection_formats = {}
|
|
2068
|
+
|
|
2069
|
+
path_params = {}
|
|
2070
|
+
if 'assistant_id' in params:
|
|
2071
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
2072
|
+
if 'conversation_id' in params:
|
|
2073
|
+
path_params['conversationId'] = params['conversation_id'] # noqa: E501
|
|
2074
|
+
if 'message_id' in params:
|
|
2075
|
+
path_params['messageId'] = params['message_id'] # noqa: E501
|
|
2076
|
+
|
|
2077
|
+
query_params = []
|
|
2078
|
+
if 'project_id' in params:
|
|
2079
|
+
query_params.append(('projectId', params['project_id'])) # noqa: E501
|
|
2080
|
+
|
|
2081
|
+
header_params = {}
|
|
2082
|
+
|
|
2083
|
+
form_params = []
|
|
2084
|
+
local_var_files = {}
|
|
2085
|
+
|
|
2086
|
+
body_params = None
|
|
2087
|
+
# HTTP header `Accept`
|
|
2088
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2089
|
+
['application/json']) # noqa: E501
|
|
2090
|
+
|
|
2091
|
+
# Authentication setting
|
|
2092
|
+
auth_settings = [] # noqa: E501
|
|
2093
|
+
|
|
2094
|
+
return self.api_client.call_api(
|
|
2095
|
+
'/v1/agents/{assistantId}/conversations/{conversationId}/messages/{messageId}/actions', 'GET',
|
|
2096
|
+
path_params,
|
|
2097
|
+
query_params,
|
|
2098
|
+
header_params,
|
|
2099
|
+
body=body_params,
|
|
2100
|
+
post_params=form_params,
|
|
2101
|
+
files=local_var_files,
|
|
2102
|
+
response_type='V1ListConversationMessageActionsResponse', # noqa: E501
|
|
2103
|
+
auth_settings=auth_settings,
|
|
2104
|
+
async_req=params.get('async_req'),
|
|
2105
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2106
|
+
_preload_content=params.get('_preload_content', True),
|
|
2107
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2108
|
+
collection_formats=collection_formats)
|
|
2109
|
+
|
|
2110
|
+
def assistants_service_list_conversations(self, assistant_id: 'str', **kwargs) -> 'V1ListConversationsResponse': # noqa: E501
|
|
2111
|
+
"""Conversations # noqa: E501
|
|
2112
|
+
|
|
2113
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2114
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2115
|
+
>>> thread = api.assistants_service_list_conversations(assistant_id, async_req=True)
|
|
2116
|
+
>>> result = thread.get()
|
|
2117
|
+
|
|
2118
|
+
:param async_req bool
|
|
2119
|
+
:param str assistant_id: (required)
|
|
2120
|
+
:param str page_token:
|
|
2121
|
+
:param bool filter_internal:
|
|
2122
|
+
:return: V1ListConversationsResponse
|
|
2123
|
+
If the method is called asynchronously,
|
|
2124
|
+
returns the request thread.
|
|
2125
|
+
"""
|
|
2126
|
+
kwargs['_return_http_data_only'] = True
|
|
2127
|
+
if kwargs.get('async_req'):
|
|
2128
|
+
return self.assistants_service_list_conversations_with_http_info(assistant_id, **kwargs) # noqa: E501
|
|
2129
|
+
else:
|
|
2130
|
+
(data) = self.assistants_service_list_conversations_with_http_info(assistant_id, **kwargs) # noqa: E501
|
|
2131
|
+
return data
|
|
2132
|
+
|
|
2133
|
+
def assistants_service_list_conversations_with_http_info(self, assistant_id: 'str', **kwargs) -> 'V1ListConversationsResponse': # noqa: E501
|
|
2134
|
+
"""Conversations # noqa: E501
|
|
2135
|
+
|
|
2136
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2137
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2138
|
+
>>> thread = api.assistants_service_list_conversations_with_http_info(assistant_id, async_req=True)
|
|
2139
|
+
>>> result = thread.get()
|
|
2140
|
+
|
|
2141
|
+
:param async_req bool
|
|
2142
|
+
:param str assistant_id: (required)
|
|
2143
|
+
:param str page_token:
|
|
2144
|
+
:param bool filter_internal:
|
|
2145
|
+
:return: V1ListConversationsResponse
|
|
2146
|
+
If the method is called asynchronously,
|
|
2147
|
+
returns the request thread.
|
|
2148
|
+
"""
|
|
2149
|
+
|
|
2150
|
+
all_params = ['assistant_id', 'page_token', 'filter_internal'] # noqa: E501
|
|
2151
|
+
all_params.append('async_req')
|
|
2152
|
+
all_params.append('_return_http_data_only')
|
|
2153
|
+
all_params.append('_preload_content')
|
|
2154
|
+
all_params.append('_request_timeout')
|
|
2155
|
+
|
|
2156
|
+
params = locals()
|
|
2157
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2158
|
+
if key not in all_params:
|
|
2159
|
+
raise TypeError(
|
|
2160
|
+
"Got an unexpected keyword argument '%s'"
|
|
2161
|
+
" to method assistants_service_list_conversations" % key
|
|
2162
|
+
)
|
|
2163
|
+
params[key] = val
|
|
2164
|
+
del params['kwargs']
|
|
2165
|
+
# verify the required parameter 'assistant_id' is set
|
|
2166
|
+
if ('assistant_id' not in params or
|
|
2167
|
+
params['assistant_id'] is None):
|
|
2168
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_list_conversations`") # noqa: E501
|
|
2169
|
+
|
|
2170
|
+
collection_formats = {}
|
|
2171
|
+
|
|
2172
|
+
path_params = {}
|
|
2173
|
+
if 'assistant_id' in params:
|
|
2174
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
2175
|
+
|
|
2176
|
+
query_params = []
|
|
2177
|
+
if 'page_token' in params:
|
|
2178
|
+
query_params.append(('pageToken', params['page_token'])) # noqa: E501
|
|
2179
|
+
if 'filter_internal' in params:
|
|
2180
|
+
query_params.append(('filterInternal', params['filter_internal'])) # noqa: E501
|
|
2181
|
+
|
|
2182
|
+
header_params = {}
|
|
2183
|
+
|
|
2184
|
+
form_params = []
|
|
2185
|
+
local_var_files = {}
|
|
2186
|
+
|
|
2187
|
+
body_params = None
|
|
2188
|
+
# HTTP header `Accept`
|
|
2189
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2190
|
+
['application/json']) # noqa: E501
|
|
2191
|
+
|
|
2192
|
+
# Authentication setting
|
|
2193
|
+
auth_settings = [] # noqa: E501
|
|
2194
|
+
|
|
2195
|
+
return self.api_client.call_api(
|
|
2196
|
+
'/v1/agents/{assistantId}/conversations', 'GET',
|
|
2197
|
+
path_params,
|
|
2198
|
+
query_params,
|
|
2199
|
+
header_params,
|
|
2200
|
+
body=body_params,
|
|
2201
|
+
post_params=form_params,
|
|
2202
|
+
files=local_var_files,
|
|
2203
|
+
response_type='V1ListConversationsResponse', # noqa: E501
|
|
2204
|
+
auth_settings=auth_settings,
|
|
2205
|
+
async_req=params.get('async_req'),
|
|
2206
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2207
|
+
_preload_content=params.get('_preload_content', True),
|
|
2208
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2209
|
+
collection_formats=collection_formats)
|
|
2210
|
+
|
|
2211
|
+
def assistants_service_list_published_managed_endpoints(self, **kwargs) -> 'V1ListPublishedManagedEndpointsResponse': # noqa: E501
|
|
2212
|
+
"""ListPublishedManagedEndpoints returns a list of all available managed endpoints that are published as Models # noqa: E501
|
|
2213
|
+
|
|
2214
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2215
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2216
|
+
>>> thread = api.assistants_service_list_published_managed_endpoints(async_req=True)
|
|
2217
|
+
>>> result = thread.get()
|
|
2218
|
+
|
|
2219
|
+
:param async_req bool
|
|
2220
|
+
:param str org_id:
|
|
2221
|
+
:return: V1ListPublishedManagedEndpointsResponse
|
|
2222
|
+
If the method is called asynchronously,
|
|
2223
|
+
returns the request thread.
|
|
2224
|
+
"""
|
|
2225
|
+
kwargs['_return_http_data_only'] = True
|
|
2226
|
+
if kwargs.get('async_req'):
|
|
2227
|
+
return self.assistants_service_list_published_managed_endpoints_with_http_info(**kwargs) # noqa: E501
|
|
2228
|
+
else:
|
|
2229
|
+
(data) = self.assistants_service_list_published_managed_endpoints_with_http_info(**kwargs) # noqa: E501
|
|
2230
|
+
return data
|
|
2231
|
+
|
|
2232
|
+
def assistants_service_list_published_managed_endpoints_with_http_info(self, **kwargs) -> 'V1ListPublishedManagedEndpointsResponse': # noqa: E501
|
|
2233
|
+
"""ListPublishedManagedEndpoints returns a list of all available managed endpoints that are published as Models # noqa: E501
|
|
2234
|
+
|
|
2235
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2236
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2237
|
+
>>> thread = api.assistants_service_list_published_managed_endpoints_with_http_info(async_req=True)
|
|
2238
|
+
>>> result = thread.get()
|
|
2239
|
+
|
|
2240
|
+
:param async_req bool
|
|
2241
|
+
:param str org_id:
|
|
2242
|
+
:return: V1ListPublishedManagedEndpointsResponse
|
|
2243
|
+
If the method is called asynchronously,
|
|
2244
|
+
returns the request thread.
|
|
2245
|
+
"""
|
|
2246
|
+
|
|
2247
|
+
all_params = ['org_id'] # noqa: E501
|
|
2248
|
+
all_params.append('async_req')
|
|
2249
|
+
all_params.append('_return_http_data_only')
|
|
2250
|
+
all_params.append('_preload_content')
|
|
2251
|
+
all_params.append('_request_timeout')
|
|
2252
|
+
|
|
2253
|
+
params = locals()
|
|
2254
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2255
|
+
if key not in all_params:
|
|
2256
|
+
raise TypeError(
|
|
2257
|
+
"Got an unexpected keyword argument '%s'"
|
|
2258
|
+
" to method assistants_service_list_published_managed_endpoints" % key
|
|
2259
|
+
)
|
|
2260
|
+
params[key] = val
|
|
2261
|
+
del params['kwargs']
|
|
2262
|
+
|
|
2263
|
+
collection_formats = {}
|
|
2264
|
+
|
|
2265
|
+
path_params = {}
|
|
2266
|
+
|
|
2267
|
+
query_params = []
|
|
2268
|
+
if 'org_id' in params:
|
|
2269
|
+
query_params.append(('orgId', params['org_id'])) # noqa: E501
|
|
2270
|
+
|
|
2271
|
+
header_params = {}
|
|
2272
|
+
|
|
2273
|
+
form_params = []
|
|
2274
|
+
local_var_files = {}
|
|
2275
|
+
|
|
2276
|
+
body_params = None
|
|
2277
|
+
# HTTP header `Accept`
|
|
2278
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2279
|
+
['application/json']) # noqa: E501
|
|
2280
|
+
|
|
2281
|
+
# Authentication setting
|
|
2282
|
+
auth_settings = [] # noqa: E501
|
|
2283
|
+
|
|
2284
|
+
return self.api_client.call_api(
|
|
2285
|
+
'/v1/agent-published-managed-endpoints', 'GET',
|
|
2286
|
+
path_params,
|
|
2287
|
+
query_params,
|
|
2288
|
+
header_params,
|
|
2289
|
+
body=body_params,
|
|
2290
|
+
post_params=form_params,
|
|
2291
|
+
files=local_var_files,
|
|
2292
|
+
response_type='V1ListPublishedManagedEndpointsResponse', # noqa: E501
|
|
2293
|
+
auth_settings=auth_settings,
|
|
2294
|
+
async_req=params.get('async_req'),
|
|
2295
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2296
|
+
_preload_content=params.get('_preload_content', True),
|
|
2297
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2298
|
+
collection_formats=collection_formats)
|
|
2299
|
+
|
|
2300
|
+
def assistants_service_start_conversation(self, body: 'AssistantIdConversationsBody', assistant_id: 'str', **kwargs) -> 'StreamResultOfV1ConversationResponseChunk': # noqa: E501
|
|
2301
|
+
"""assistants_service_start_conversation # noqa: E501
|
|
2302
|
+
|
|
2303
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2304
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2305
|
+
>>> thread = api.assistants_service_start_conversation(body, assistant_id, async_req=True)
|
|
2306
|
+
>>> result = thread.get()
|
|
2307
|
+
|
|
2308
|
+
:param async_req bool
|
|
2309
|
+
:param AssistantIdConversationsBody body: (required)
|
|
2310
|
+
:param str assistant_id: (required)
|
|
2311
|
+
:return: StreamResultOfV1ConversationResponseChunk
|
|
2312
|
+
If the method is called asynchronously,
|
|
2313
|
+
returns the request thread.
|
|
2314
|
+
"""
|
|
2315
|
+
kwargs['_return_http_data_only'] = True
|
|
2316
|
+
if kwargs.get('async_req'):
|
|
2317
|
+
return self.assistants_service_start_conversation_with_http_info(body, assistant_id, **kwargs) # noqa: E501
|
|
2318
|
+
else:
|
|
2319
|
+
(data) = self.assistants_service_start_conversation_with_http_info(body, assistant_id, **kwargs) # noqa: E501
|
|
2320
|
+
return data
|
|
2321
|
+
|
|
2322
|
+
def assistants_service_start_conversation_with_http_info(self, body: 'AssistantIdConversationsBody', assistant_id: 'str', **kwargs) -> 'StreamResultOfV1ConversationResponseChunk': # noqa: E501
|
|
2323
|
+
"""assistants_service_start_conversation # noqa: E501
|
|
2324
|
+
|
|
2325
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2326
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2327
|
+
>>> thread = api.assistants_service_start_conversation_with_http_info(body, assistant_id, async_req=True)
|
|
2328
|
+
>>> result = thread.get()
|
|
2329
|
+
|
|
2330
|
+
:param async_req bool
|
|
2331
|
+
:param AssistantIdConversationsBody body: (required)
|
|
2332
|
+
:param str assistant_id: (required)
|
|
2333
|
+
:return: StreamResultOfV1ConversationResponseChunk
|
|
2334
|
+
If the method is called asynchronously,
|
|
2335
|
+
returns the request thread.
|
|
2336
|
+
"""
|
|
2337
|
+
|
|
2338
|
+
all_params = ['body', 'assistant_id'] # noqa: E501
|
|
2339
|
+
all_params.append('async_req')
|
|
2340
|
+
all_params.append('_return_http_data_only')
|
|
2341
|
+
all_params.append('_preload_content')
|
|
2342
|
+
all_params.append('_request_timeout')
|
|
2343
|
+
|
|
2344
|
+
params = locals()
|
|
2345
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2346
|
+
if key not in all_params:
|
|
2347
|
+
raise TypeError(
|
|
2348
|
+
"Got an unexpected keyword argument '%s'"
|
|
2349
|
+
" to method assistants_service_start_conversation" % key
|
|
2350
|
+
)
|
|
2351
|
+
params[key] = val
|
|
2352
|
+
del params['kwargs']
|
|
2353
|
+
# verify the required parameter 'body' is set
|
|
2354
|
+
if ('body' not in params or
|
|
2355
|
+
params['body'] is None):
|
|
2356
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_start_conversation`") # noqa: E501
|
|
2357
|
+
# verify the required parameter 'assistant_id' is set
|
|
2358
|
+
if ('assistant_id' not in params or
|
|
2359
|
+
params['assistant_id'] is None):
|
|
2360
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_start_conversation`") # noqa: E501
|
|
2361
|
+
|
|
2362
|
+
collection_formats = {}
|
|
2363
|
+
|
|
2364
|
+
path_params = {}
|
|
2365
|
+
if 'assistant_id' in params:
|
|
2366
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
2367
|
+
|
|
2368
|
+
query_params = []
|
|
2369
|
+
|
|
2370
|
+
header_params = {}
|
|
2371
|
+
|
|
2372
|
+
form_params = []
|
|
2373
|
+
local_var_files = {}
|
|
2374
|
+
|
|
2375
|
+
body_params = None
|
|
2376
|
+
if 'body' in params:
|
|
2377
|
+
body_params = params['body']
|
|
2378
|
+
# HTTP header `Accept`
|
|
2379
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2380
|
+
['application/json']) # noqa: E501
|
|
2381
|
+
|
|
2382
|
+
# HTTP header `Content-Type`
|
|
2383
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2384
|
+
['application/json']) # noqa: E501
|
|
2385
|
+
|
|
2386
|
+
# Authentication setting
|
|
2387
|
+
auth_settings = [] # noqa: E501
|
|
2388
|
+
|
|
2389
|
+
return self.api_client.call_api(
|
|
2390
|
+
'/v1/agents/{assistantId}/conversations', 'POST',
|
|
2391
|
+
path_params,
|
|
2392
|
+
query_params,
|
|
2393
|
+
header_params,
|
|
2394
|
+
body=body_params,
|
|
2395
|
+
post_params=form_params,
|
|
2396
|
+
files=local_var_files,
|
|
2397
|
+
response_type='StreamResultOfV1ConversationResponseChunk', # noqa: E501
|
|
2398
|
+
auth_settings=auth_settings,
|
|
2399
|
+
async_req=params.get('async_req'),
|
|
2400
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2401
|
+
_preload_content=params.get('_preload_content', True),
|
|
2402
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2403
|
+
collection_formats=collection_formats)
|
|
2404
|
+
|
|
2405
|
+
def assistants_service_update_assistant(self, body: 'AgentsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
2406
|
+
"""assistants_service_update_assistant # noqa: E501
|
|
2407
|
+
|
|
2408
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2409
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2410
|
+
>>> thread = api.assistants_service_update_assistant(body, project_id, id, async_req=True)
|
|
2411
|
+
>>> result = thread.get()
|
|
2412
|
+
|
|
2413
|
+
:param async_req bool
|
|
2414
|
+
:param AgentsIdBody body: (required)
|
|
2415
|
+
:param str project_id: (required)
|
|
2416
|
+
:param str id: (required)
|
|
2417
|
+
:return: V1Assistant
|
|
2418
|
+
If the method is called asynchronously,
|
|
2419
|
+
returns the request thread.
|
|
2420
|
+
"""
|
|
2421
|
+
kwargs['_return_http_data_only'] = True
|
|
2422
|
+
if kwargs.get('async_req'):
|
|
2423
|
+
return self.assistants_service_update_assistant_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2424
|
+
else:
|
|
2425
|
+
(data) = self.assistants_service_update_assistant_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2426
|
+
return data
|
|
2427
|
+
|
|
2428
|
+
def assistants_service_update_assistant_with_http_info(self, body: 'AgentsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Assistant': # noqa: E501
|
|
2429
|
+
"""assistants_service_update_assistant # noqa: E501
|
|
2430
|
+
|
|
2431
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2432
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2433
|
+
>>> thread = api.assistants_service_update_assistant_with_http_info(body, project_id, id, async_req=True)
|
|
2434
|
+
>>> result = thread.get()
|
|
2435
|
+
|
|
2436
|
+
:param async_req bool
|
|
2437
|
+
:param AgentsIdBody body: (required)
|
|
2438
|
+
:param str project_id: (required)
|
|
2439
|
+
:param str id: (required)
|
|
2440
|
+
:return: V1Assistant
|
|
2441
|
+
If the method is called asynchronously,
|
|
2442
|
+
returns the request thread.
|
|
2443
|
+
"""
|
|
2444
|
+
|
|
2445
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
2446
|
+
all_params.append('async_req')
|
|
2447
|
+
all_params.append('_return_http_data_only')
|
|
2448
|
+
all_params.append('_preload_content')
|
|
2449
|
+
all_params.append('_request_timeout')
|
|
2450
|
+
|
|
2451
|
+
params = locals()
|
|
2452
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2453
|
+
if key not in all_params:
|
|
2454
|
+
raise TypeError(
|
|
2455
|
+
"Got an unexpected keyword argument '%s'"
|
|
2456
|
+
" to method assistants_service_update_assistant" % key
|
|
2457
|
+
)
|
|
2458
|
+
params[key] = val
|
|
2459
|
+
del params['kwargs']
|
|
2460
|
+
# verify the required parameter 'body' is set
|
|
2461
|
+
if ('body' not in params or
|
|
2462
|
+
params['body'] is None):
|
|
2463
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_assistant`") # noqa: E501
|
|
2464
|
+
# verify the required parameter 'project_id' is set
|
|
2465
|
+
if ('project_id' not in params or
|
|
2466
|
+
params['project_id'] is None):
|
|
2467
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_update_assistant`") # noqa: E501
|
|
2468
|
+
# verify the required parameter 'id' is set
|
|
2469
|
+
if ('id' not in params or
|
|
2470
|
+
params['id'] is None):
|
|
2471
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_assistant`") # noqa: E501
|
|
2472
|
+
|
|
2473
|
+
collection_formats = {}
|
|
2474
|
+
|
|
2475
|
+
path_params = {}
|
|
2476
|
+
if 'project_id' in params:
|
|
2477
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2478
|
+
if 'id' in params:
|
|
2479
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2480
|
+
|
|
2481
|
+
query_params = []
|
|
2482
|
+
|
|
2483
|
+
header_params = {}
|
|
2484
|
+
|
|
2485
|
+
form_params = []
|
|
2486
|
+
local_var_files = {}
|
|
2487
|
+
|
|
2488
|
+
body_params = None
|
|
2489
|
+
if 'body' in params:
|
|
2490
|
+
body_params = params['body']
|
|
2491
|
+
# HTTP header `Accept`
|
|
2492
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2493
|
+
['application/json']) # noqa: E501
|
|
2494
|
+
|
|
2495
|
+
# HTTP header `Content-Type`
|
|
2496
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2497
|
+
['application/json']) # noqa: E501
|
|
2498
|
+
|
|
2499
|
+
# Authentication setting
|
|
2500
|
+
auth_settings = [] # noqa: E501
|
|
2501
|
+
|
|
2502
|
+
return self.api_client.call_api(
|
|
2503
|
+
'/v1/projects/{projectId}/agents/{id}', 'PUT',
|
|
2504
|
+
path_params,
|
|
2505
|
+
query_params,
|
|
2506
|
+
header_params,
|
|
2507
|
+
body=body_params,
|
|
2508
|
+
post_params=form_params,
|
|
2509
|
+
files=local_var_files,
|
|
2510
|
+
response_type='V1Assistant', # noqa: E501
|
|
2511
|
+
auth_settings=auth_settings,
|
|
2512
|
+
async_req=params.get('async_req'),
|
|
2513
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2514
|
+
_preload_content=params.get('_preload_content', True),
|
|
2515
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2516
|
+
collection_formats=collection_formats)
|
|
2517
|
+
|
|
2518
|
+
def assistants_service_update_assistant_managed_endpoint(self, body: 'AgentmanagedendpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ManagedEndpoint': # noqa: E501
|
|
2519
|
+
"""assistants_service_update_assistant_managed_endpoint # noqa: E501
|
|
2520
|
+
|
|
2521
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2522
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2523
|
+
>>> thread = api.assistants_service_update_assistant_managed_endpoint(body, project_id, id, async_req=True)
|
|
2524
|
+
>>> result = thread.get()
|
|
2525
|
+
|
|
2526
|
+
:param async_req bool
|
|
2527
|
+
:param AgentmanagedendpointsIdBody body: (required)
|
|
2528
|
+
:param str project_id: (required)
|
|
2529
|
+
:param str id: (required)
|
|
2530
|
+
:return: V1ManagedEndpoint
|
|
2531
|
+
If the method is called asynchronously,
|
|
2532
|
+
returns the request thread.
|
|
2533
|
+
"""
|
|
2534
|
+
kwargs['_return_http_data_only'] = True
|
|
2535
|
+
if kwargs.get('async_req'):
|
|
2536
|
+
return self.assistants_service_update_assistant_managed_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2537
|
+
else:
|
|
2538
|
+
(data) = self.assistants_service_update_assistant_managed_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2539
|
+
return data
|
|
2540
|
+
|
|
2541
|
+
def assistants_service_update_assistant_managed_endpoint_with_http_info(self, body: 'AgentmanagedendpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ManagedEndpoint': # noqa: E501
|
|
2542
|
+
"""assistants_service_update_assistant_managed_endpoint # noqa: E501
|
|
2543
|
+
|
|
2544
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2545
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2546
|
+
>>> thread = api.assistants_service_update_assistant_managed_endpoint_with_http_info(body, project_id, id, async_req=True)
|
|
2547
|
+
>>> result = thread.get()
|
|
2548
|
+
|
|
2549
|
+
:param async_req bool
|
|
2550
|
+
:param AgentmanagedendpointsIdBody body: (required)
|
|
2551
|
+
:param str project_id: (required)
|
|
2552
|
+
:param str id: (required)
|
|
2553
|
+
:return: V1ManagedEndpoint
|
|
2554
|
+
If the method is called asynchronously,
|
|
2555
|
+
returns the request thread.
|
|
2556
|
+
"""
|
|
2557
|
+
|
|
2558
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
2559
|
+
all_params.append('async_req')
|
|
2560
|
+
all_params.append('_return_http_data_only')
|
|
2561
|
+
all_params.append('_preload_content')
|
|
2562
|
+
all_params.append('_request_timeout')
|
|
2563
|
+
|
|
2564
|
+
params = locals()
|
|
2565
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2566
|
+
if key not in all_params:
|
|
2567
|
+
raise TypeError(
|
|
2568
|
+
"Got an unexpected keyword argument '%s'"
|
|
2569
|
+
" to method assistants_service_update_assistant_managed_endpoint" % key
|
|
2570
|
+
)
|
|
2571
|
+
params[key] = val
|
|
2572
|
+
del params['kwargs']
|
|
2573
|
+
# verify the required parameter 'body' is set
|
|
2574
|
+
if ('body' not in params or
|
|
2575
|
+
params['body'] is None):
|
|
2576
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_assistant_managed_endpoint`") # noqa: E501
|
|
2577
|
+
# verify the required parameter 'project_id' is set
|
|
2578
|
+
if ('project_id' not in params or
|
|
2579
|
+
params['project_id'] is None):
|
|
2580
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_update_assistant_managed_endpoint`") # noqa: E501
|
|
2581
|
+
# verify the required parameter 'id' is set
|
|
2582
|
+
if ('id' not in params or
|
|
2583
|
+
params['id'] is None):
|
|
2584
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_assistant_managed_endpoint`") # noqa: E501
|
|
2585
|
+
|
|
2586
|
+
collection_formats = {}
|
|
2587
|
+
|
|
2588
|
+
path_params = {}
|
|
2589
|
+
if 'project_id' in params:
|
|
2590
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2591
|
+
if 'id' in params:
|
|
2592
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2593
|
+
|
|
2594
|
+
query_params = []
|
|
2595
|
+
|
|
2596
|
+
header_params = {}
|
|
2597
|
+
|
|
2598
|
+
form_params = []
|
|
2599
|
+
local_var_files = {}
|
|
2600
|
+
|
|
2601
|
+
body_params = None
|
|
2602
|
+
if 'body' in params:
|
|
2603
|
+
body_params = params['body']
|
|
2604
|
+
# HTTP header `Accept`
|
|
2605
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2606
|
+
['application/json']) # noqa: E501
|
|
2607
|
+
|
|
2608
|
+
# HTTP header `Content-Type`
|
|
2609
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2610
|
+
['application/json']) # noqa: E501
|
|
2611
|
+
|
|
2612
|
+
# Authentication setting
|
|
2613
|
+
auth_settings = [] # noqa: E501
|
|
2614
|
+
|
|
2615
|
+
return self.api_client.call_api(
|
|
2616
|
+
'/v1/projects/{projectId}/agent-managed-endpoints/{id}', 'PUT',
|
|
2617
|
+
path_params,
|
|
2618
|
+
query_params,
|
|
2619
|
+
header_params,
|
|
2620
|
+
body=body_params,
|
|
2621
|
+
post_params=form_params,
|
|
2622
|
+
files=local_var_files,
|
|
2623
|
+
response_type='V1ManagedEndpoint', # noqa: E501
|
|
2624
|
+
auth_settings=auth_settings,
|
|
2625
|
+
async_req=params.get('async_req'),
|
|
2626
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2627
|
+
_preload_content=params.get('_preload_content', True),
|
|
2628
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2629
|
+
collection_formats=collection_formats)
|
|
2630
|
+
|
|
2631
|
+
def assistants_service_update_assistant_managed_endpoint_model(self, body: 'ModelsIdBody', project_id: 'str', managed_endpoint_id: 'str', id: 'str', **kwargs) -> 'V1ManagedModel': # noqa: E501
|
|
2632
|
+
"""assistants_service_update_assistant_managed_endpoint_model # noqa: E501
|
|
2633
|
+
|
|
2634
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2635
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2636
|
+
>>> thread = api.assistants_service_update_assistant_managed_endpoint_model(body, project_id, managed_endpoint_id, id, async_req=True)
|
|
2637
|
+
>>> result = thread.get()
|
|
2638
|
+
|
|
2639
|
+
:param async_req bool
|
|
2640
|
+
:param ModelsIdBody body: (required)
|
|
2641
|
+
:param str project_id: (required)
|
|
2642
|
+
:param str managed_endpoint_id: (required)
|
|
2643
|
+
:param str id: (required)
|
|
2644
|
+
:return: V1ManagedModel
|
|
2645
|
+
If the method is called asynchronously,
|
|
2646
|
+
returns the request thread.
|
|
2647
|
+
"""
|
|
2648
|
+
kwargs['_return_http_data_only'] = True
|
|
2649
|
+
if kwargs.get('async_req'):
|
|
2650
|
+
return self.assistants_service_update_assistant_managed_endpoint_model_with_http_info(body, project_id, managed_endpoint_id, id, **kwargs) # noqa: E501
|
|
2651
|
+
else:
|
|
2652
|
+
(data) = self.assistants_service_update_assistant_managed_endpoint_model_with_http_info(body, project_id, managed_endpoint_id, id, **kwargs) # noqa: E501
|
|
2653
|
+
return data
|
|
2654
|
+
|
|
2655
|
+
def assistants_service_update_assistant_managed_endpoint_model_with_http_info(self, body: 'ModelsIdBody', project_id: 'str', managed_endpoint_id: 'str', id: 'str', **kwargs) -> 'V1ManagedModel': # noqa: E501
|
|
2656
|
+
"""assistants_service_update_assistant_managed_endpoint_model # noqa: E501
|
|
2657
|
+
|
|
2658
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2659
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2660
|
+
>>> thread = api.assistants_service_update_assistant_managed_endpoint_model_with_http_info(body, project_id, managed_endpoint_id, id, async_req=True)
|
|
2661
|
+
>>> result = thread.get()
|
|
2662
|
+
|
|
2663
|
+
:param async_req bool
|
|
2664
|
+
:param ModelsIdBody body: (required)
|
|
2665
|
+
:param str project_id: (required)
|
|
2666
|
+
:param str managed_endpoint_id: (required)
|
|
2667
|
+
:param str id: (required)
|
|
2668
|
+
:return: V1ManagedModel
|
|
2669
|
+
If the method is called asynchronously,
|
|
2670
|
+
returns the request thread.
|
|
2671
|
+
"""
|
|
2672
|
+
|
|
2673
|
+
all_params = ['body', 'project_id', 'managed_endpoint_id', 'id'] # noqa: E501
|
|
2674
|
+
all_params.append('async_req')
|
|
2675
|
+
all_params.append('_return_http_data_only')
|
|
2676
|
+
all_params.append('_preload_content')
|
|
2677
|
+
all_params.append('_request_timeout')
|
|
2678
|
+
|
|
2679
|
+
params = locals()
|
|
2680
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2681
|
+
if key not in all_params:
|
|
2682
|
+
raise TypeError(
|
|
2683
|
+
"Got an unexpected keyword argument '%s'"
|
|
2684
|
+
" to method assistants_service_update_assistant_managed_endpoint_model" % key
|
|
2685
|
+
)
|
|
2686
|
+
params[key] = val
|
|
2687
|
+
del params['kwargs']
|
|
2688
|
+
# verify the required parameter 'body' is set
|
|
2689
|
+
if ('body' not in params or
|
|
2690
|
+
params['body'] is None):
|
|
2691
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_assistant_managed_endpoint_model`") # noqa: E501
|
|
2692
|
+
# verify the required parameter 'project_id' is set
|
|
2693
|
+
if ('project_id' not in params or
|
|
2694
|
+
params['project_id'] is None):
|
|
2695
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_update_assistant_managed_endpoint_model`") # noqa: E501
|
|
2696
|
+
# verify the required parameter 'managed_endpoint_id' is set
|
|
2697
|
+
if ('managed_endpoint_id' not in params or
|
|
2698
|
+
params['managed_endpoint_id'] is None):
|
|
2699
|
+
raise ValueError("Missing the required parameter `managed_endpoint_id` when calling `assistants_service_update_assistant_managed_endpoint_model`") # noqa: E501
|
|
2700
|
+
# verify the required parameter 'id' is set
|
|
2701
|
+
if ('id' not in params or
|
|
2702
|
+
params['id'] is None):
|
|
2703
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_assistant_managed_endpoint_model`") # noqa: E501
|
|
2704
|
+
|
|
2705
|
+
collection_formats = {}
|
|
2706
|
+
|
|
2707
|
+
path_params = {}
|
|
2708
|
+
if 'project_id' in params:
|
|
2709
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2710
|
+
if 'managed_endpoint_id' in params:
|
|
2711
|
+
path_params['managedEndpointId'] = params['managed_endpoint_id'] # noqa: E501
|
|
2712
|
+
if 'id' in params:
|
|
2713
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2714
|
+
|
|
2715
|
+
query_params = []
|
|
2716
|
+
|
|
2717
|
+
header_params = {}
|
|
2718
|
+
|
|
2719
|
+
form_params = []
|
|
2720
|
+
local_var_files = {}
|
|
2721
|
+
|
|
2722
|
+
body_params = None
|
|
2723
|
+
if 'body' in params:
|
|
2724
|
+
body_params = params['body']
|
|
2725
|
+
# HTTP header `Accept`
|
|
2726
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2727
|
+
['application/json']) # noqa: E501
|
|
2728
|
+
|
|
2729
|
+
# HTTP header `Content-Type`
|
|
2730
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2731
|
+
['application/json']) # noqa: E501
|
|
2732
|
+
|
|
2733
|
+
# Authentication setting
|
|
2734
|
+
auth_settings = [] # noqa: E501
|
|
2735
|
+
|
|
2736
|
+
return self.api_client.call_api(
|
|
2737
|
+
'/v1/projects/{projectId}/agent-managed-endpoints/{managedEndpointId}/models/{id}', 'PUT',
|
|
2738
|
+
path_params,
|
|
2739
|
+
query_params,
|
|
2740
|
+
header_params,
|
|
2741
|
+
body=body_params,
|
|
2742
|
+
post_params=form_params,
|
|
2743
|
+
files=local_var_files,
|
|
2744
|
+
response_type='V1ManagedModel', # noqa: E501
|
|
2745
|
+
auth_settings=auth_settings,
|
|
2746
|
+
async_req=params.get('async_req'),
|
|
2747
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2748
|
+
_preload_content=params.get('_preload_content', True),
|
|
2749
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2750
|
+
collection_formats=collection_formats)
|
|
2751
|
+
|
|
2752
|
+
def assistants_service_update_conversation(self, body: 'ConversationsIdBody', assistant_id: 'str', id: 'str', **kwargs) -> 'V1Conversation': # noqa: E501
|
|
2753
|
+
"""assistants_service_update_conversation # noqa: E501
|
|
2754
|
+
|
|
2755
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2756
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2757
|
+
>>> thread = api.assistants_service_update_conversation(body, assistant_id, id, async_req=True)
|
|
2758
|
+
>>> result = thread.get()
|
|
2759
|
+
|
|
2760
|
+
:param async_req bool
|
|
2761
|
+
:param ConversationsIdBody body: (required)
|
|
2762
|
+
:param str assistant_id: (required)
|
|
2763
|
+
:param str id: (required)
|
|
2764
|
+
:return: V1Conversation
|
|
2765
|
+
If the method is called asynchronously,
|
|
2766
|
+
returns the request thread.
|
|
2767
|
+
"""
|
|
2768
|
+
kwargs['_return_http_data_only'] = True
|
|
2769
|
+
if kwargs.get('async_req'):
|
|
2770
|
+
return self.assistants_service_update_conversation_with_http_info(body, assistant_id, id, **kwargs) # noqa: E501
|
|
2771
|
+
else:
|
|
2772
|
+
(data) = self.assistants_service_update_conversation_with_http_info(body, assistant_id, id, **kwargs) # noqa: E501
|
|
2773
|
+
return data
|
|
2774
|
+
|
|
2775
|
+
def assistants_service_update_conversation_with_http_info(self, body: 'ConversationsIdBody', assistant_id: 'str', id: 'str', **kwargs) -> 'V1Conversation': # noqa: E501
|
|
2776
|
+
"""assistants_service_update_conversation # noqa: E501
|
|
2777
|
+
|
|
2778
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2779
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2780
|
+
>>> thread = api.assistants_service_update_conversation_with_http_info(body, assistant_id, id, async_req=True)
|
|
2781
|
+
>>> result = thread.get()
|
|
2782
|
+
|
|
2783
|
+
:param async_req bool
|
|
2784
|
+
:param ConversationsIdBody body: (required)
|
|
2785
|
+
:param str assistant_id: (required)
|
|
2786
|
+
:param str id: (required)
|
|
2787
|
+
:return: V1Conversation
|
|
2788
|
+
If the method is called asynchronously,
|
|
2789
|
+
returns the request thread.
|
|
2790
|
+
"""
|
|
2791
|
+
|
|
2792
|
+
all_params = ['body', 'assistant_id', 'id'] # noqa: E501
|
|
2793
|
+
all_params.append('async_req')
|
|
2794
|
+
all_params.append('_return_http_data_only')
|
|
2795
|
+
all_params.append('_preload_content')
|
|
2796
|
+
all_params.append('_request_timeout')
|
|
2797
|
+
|
|
2798
|
+
params = locals()
|
|
2799
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2800
|
+
if key not in all_params:
|
|
2801
|
+
raise TypeError(
|
|
2802
|
+
"Got an unexpected keyword argument '%s'"
|
|
2803
|
+
" to method assistants_service_update_conversation" % key
|
|
2804
|
+
)
|
|
2805
|
+
params[key] = val
|
|
2806
|
+
del params['kwargs']
|
|
2807
|
+
# verify the required parameter 'body' is set
|
|
2808
|
+
if ('body' not in params or
|
|
2809
|
+
params['body'] is None):
|
|
2810
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_conversation`") # noqa: E501
|
|
2811
|
+
# verify the required parameter 'assistant_id' is set
|
|
2812
|
+
if ('assistant_id' not in params or
|
|
2813
|
+
params['assistant_id'] is None):
|
|
2814
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_update_conversation`") # noqa: E501
|
|
2815
|
+
# verify the required parameter 'id' is set
|
|
2816
|
+
if ('id' not in params or
|
|
2817
|
+
params['id'] is None):
|
|
2818
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_conversation`") # noqa: E501
|
|
2819
|
+
|
|
2820
|
+
collection_formats = {}
|
|
2821
|
+
|
|
2822
|
+
path_params = {}
|
|
2823
|
+
if 'assistant_id' in params:
|
|
2824
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
2825
|
+
if 'id' in params:
|
|
2826
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2827
|
+
|
|
2828
|
+
query_params = []
|
|
2829
|
+
|
|
2830
|
+
header_params = {}
|
|
2831
|
+
|
|
2832
|
+
form_params = []
|
|
2833
|
+
local_var_files = {}
|
|
2834
|
+
|
|
2835
|
+
body_params = None
|
|
2836
|
+
if 'body' in params:
|
|
2837
|
+
body_params = params['body']
|
|
2838
|
+
# HTTP header `Accept`
|
|
2839
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2840
|
+
['application/json']) # noqa: E501
|
|
2841
|
+
|
|
2842
|
+
# HTTP header `Content-Type`
|
|
2843
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2844
|
+
['application/json']) # noqa: E501
|
|
2845
|
+
|
|
2846
|
+
# Authentication setting
|
|
2847
|
+
auth_settings = [] # noqa: E501
|
|
2848
|
+
|
|
2849
|
+
return self.api_client.call_api(
|
|
2850
|
+
'/v1/agents/{assistantId}/conversations/{id}', 'PUT',
|
|
2851
|
+
path_params,
|
|
2852
|
+
query_params,
|
|
2853
|
+
header_params,
|
|
2854
|
+
body=body_params,
|
|
2855
|
+
post_params=form_params,
|
|
2856
|
+
files=local_var_files,
|
|
2857
|
+
response_type='V1Conversation', # noqa: E501
|
|
2858
|
+
auth_settings=auth_settings,
|
|
2859
|
+
async_req=params.get('async_req'),
|
|
2860
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2861
|
+
_preload_content=params.get('_preload_content', True),
|
|
2862
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2863
|
+
collection_formats=collection_formats)
|
|
2864
|
+
|
|
2865
|
+
def assistants_service_update_conversation_like(self, body: 'ConversationsIdBody1', project_id: 'str', assistant_id: 'str', id: 'str', **kwargs) -> 'V1UpdateConversationLikeResponse': # noqa: E501
|
|
2866
|
+
"""assistants_service_update_conversation_like # noqa: E501
|
|
2867
|
+
|
|
2868
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2869
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2870
|
+
>>> thread = api.assistants_service_update_conversation_like(body, project_id, assistant_id, id, async_req=True)
|
|
2871
|
+
>>> result = thread.get()
|
|
2872
|
+
|
|
2873
|
+
:param async_req bool
|
|
2874
|
+
:param ConversationsIdBody1 body: (required)
|
|
2875
|
+
:param str project_id: (required)
|
|
2876
|
+
:param str assistant_id: (required)
|
|
2877
|
+
:param str id: (required)
|
|
2878
|
+
:return: V1UpdateConversationLikeResponse
|
|
2879
|
+
If the method is called asynchronously,
|
|
2880
|
+
returns the request thread.
|
|
2881
|
+
"""
|
|
2882
|
+
kwargs['_return_http_data_only'] = True
|
|
2883
|
+
if kwargs.get('async_req'):
|
|
2884
|
+
return self.assistants_service_update_conversation_like_with_http_info(body, project_id, assistant_id, id, **kwargs) # noqa: E501
|
|
2885
|
+
else:
|
|
2886
|
+
(data) = self.assistants_service_update_conversation_like_with_http_info(body, project_id, assistant_id, id, **kwargs) # noqa: E501
|
|
2887
|
+
return data
|
|
2888
|
+
|
|
2889
|
+
def assistants_service_update_conversation_like_with_http_info(self, body: 'ConversationsIdBody1', project_id: 'str', assistant_id: 'str', id: 'str', **kwargs) -> 'V1UpdateConversationLikeResponse': # noqa: E501
|
|
2890
|
+
"""assistants_service_update_conversation_like # noqa: E501
|
|
2891
|
+
|
|
2892
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2893
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2894
|
+
>>> thread = api.assistants_service_update_conversation_like_with_http_info(body, project_id, assistant_id, id, async_req=True)
|
|
2895
|
+
>>> result = thread.get()
|
|
2896
|
+
|
|
2897
|
+
:param async_req bool
|
|
2898
|
+
:param ConversationsIdBody1 body: (required)
|
|
2899
|
+
:param str project_id: (required)
|
|
2900
|
+
:param str assistant_id: (required)
|
|
2901
|
+
:param str id: (required)
|
|
2902
|
+
:return: V1UpdateConversationLikeResponse
|
|
2903
|
+
If the method is called asynchronously,
|
|
2904
|
+
returns the request thread.
|
|
2905
|
+
"""
|
|
2906
|
+
|
|
2907
|
+
all_params = ['body', 'project_id', 'assistant_id', 'id'] # noqa: E501
|
|
2908
|
+
all_params.append('async_req')
|
|
2909
|
+
all_params.append('_return_http_data_only')
|
|
2910
|
+
all_params.append('_preload_content')
|
|
2911
|
+
all_params.append('_request_timeout')
|
|
2912
|
+
|
|
2913
|
+
params = locals()
|
|
2914
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2915
|
+
if key not in all_params:
|
|
2916
|
+
raise TypeError(
|
|
2917
|
+
"Got an unexpected keyword argument '%s'"
|
|
2918
|
+
" to method assistants_service_update_conversation_like" % key
|
|
2919
|
+
)
|
|
2920
|
+
params[key] = val
|
|
2921
|
+
del params['kwargs']
|
|
2922
|
+
# verify the required parameter 'body' is set
|
|
2923
|
+
if ('body' not in params or
|
|
2924
|
+
params['body'] is None):
|
|
2925
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_conversation_like`") # noqa: E501
|
|
2926
|
+
# verify the required parameter 'project_id' is set
|
|
2927
|
+
if ('project_id' not in params or
|
|
2928
|
+
params['project_id'] is None):
|
|
2929
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_update_conversation_like`") # noqa: E501
|
|
2930
|
+
# verify the required parameter 'assistant_id' is set
|
|
2931
|
+
if ('assistant_id' not in params or
|
|
2932
|
+
params['assistant_id'] is None):
|
|
2933
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_update_conversation_like`") # noqa: E501
|
|
2934
|
+
# verify the required parameter 'id' is set
|
|
2935
|
+
if ('id' not in params or
|
|
2936
|
+
params['id'] is None):
|
|
2937
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_conversation_like`") # noqa: E501
|
|
2938
|
+
|
|
2939
|
+
collection_formats = {}
|
|
2940
|
+
|
|
2941
|
+
path_params = {}
|
|
2942
|
+
if 'project_id' in params:
|
|
2943
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2944
|
+
if 'assistant_id' in params:
|
|
2945
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
2946
|
+
if 'id' in params:
|
|
2947
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
2948
|
+
|
|
2949
|
+
query_params = []
|
|
2950
|
+
|
|
2951
|
+
header_params = {}
|
|
2952
|
+
|
|
2953
|
+
form_params = []
|
|
2954
|
+
local_var_files = {}
|
|
2955
|
+
|
|
2956
|
+
body_params = None
|
|
2957
|
+
if 'body' in params:
|
|
2958
|
+
body_params = params['body']
|
|
2959
|
+
# HTTP header `Accept`
|
|
2960
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2961
|
+
['application/json']) # noqa: E501
|
|
2962
|
+
|
|
2963
|
+
# HTTP header `Content-Type`
|
|
2964
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2965
|
+
['application/json']) # noqa: E501
|
|
2966
|
+
|
|
2967
|
+
# Authentication setting
|
|
2968
|
+
auth_settings = [] # noqa: E501
|
|
2969
|
+
|
|
2970
|
+
return self.api_client.call_api(
|
|
2971
|
+
'/v1/projects/{projectId}/agents/{assistantId}/conversations/{id}', 'PUT',
|
|
2972
|
+
path_params,
|
|
2973
|
+
query_params,
|
|
2974
|
+
header_params,
|
|
2975
|
+
body=body_params,
|
|
2976
|
+
post_params=form_params,
|
|
2977
|
+
files=local_var_files,
|
|
2978
|
+
response_type='V1UpdateConversationLikeResponse', # noqa: E501
|
|
2979
|
+
auth_settings=auth_settings,
|
|
2980
|
+
async_req=params.get('async_req'),
|
|
2981
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2982
|
+
_preload_content=params.get('_preload_content', True),
|
|
2983
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2984
|
+
collection_formats=collection_formats)
|
|
2985
|
+
|
|
2986
|
+
def assistants_service_update_conversation_message_like(self, body: 'MessagesIdBody', project_id: 'str', assistant_id: 'str', conversation_id: 'str', id: 'str', **kwargs) -> 'V1UpdateConversationMessageLikeResponse': # noqa: E501
|
|
2987
|
+
"""assistants_service_update_conversation_message_like # noqa: E501
|
|
2988
|
+
|
|
2989
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2990
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2991
|
+
>>> thread = api.assistants_service_update_conversation_message_like(body, project_id, assistant_id, conversation_id, id, async_req=True)
|
|
2992
|
+
>>> result = thread.get()
|
|
2993
|
+
|
|
2994
|
+
:param async_req bool
|
|
2995
|
+
:param MessagesIdBody body: (required)
|
|
2996
|
+
:param str project_id: (required)
|
|
2997
|
+
:param str assistant_id: (required)
|
|
2998
|
+
:param str conversation_id: (required)
|
|
2999
|
+
:param str id: (required)
|
|
3000
|
+
:return: V1UpdateConversationMessageLikeResponse
|
|
3001
|
+
If the method is called asynchronously,
|
|
3002
|
+
returns the request thread.
|
|
3003
|
+
"""
|
|
3004
|
+
kwargs['_return_http_data_only'] = True
|
|
3005
|
+
if kwargs.get('async_req'):
|
|
3006
|
+
return self.assistants_service_update_conversation_message_like_with_http_info(body, project_id, assistant_id, conversation_id, id, **kwargs) # noqa: E501
|
|
3007
|
+
else:
|
|
3008
|
+
(data) = self.assistants_service_update_conversation_message_like_with_http_info(body, project_id, assistant_id, conversation_id, id, **kwargs) # noqa: E501
|
|
3009
|
+
return data
|
|
3010
|
+
|
|
3011
|
+
def assistants_service_update_conversation_message_like_with_http_info(self, body: 'MessagesIdBody', project_id: 'str', assistant_id: 'str', conversation_id: 'str', id: 'str', **kwargs) -> 'V1UpdateConversationMessageLikeResponse': # noqa: E501
|
|
3012
|
+
"""assistants_service_update_conversation_message_like # noqa: E501
|
|
3013
|
+
|
|
3014
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3015
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3016
|
+
>>> thread = api.assistants_service_update_conversation_message_like_with_http_info(body, project_id, assistant_id, conversation_id, id, async_req=True)
|
|
3017
|
+
>>> result = thread.get()
|
|
3018
|
+
|
|
3019
|
+
:param async_req bool
|
|
3020
|
+
:param MessagesIdBody body: (required)
|
|
3021
|
+
:param str project_id: (required)
|
|
3022
|
+
:param str assistant_id: (required)
|
|
3023
|
+
:param str conversation_id: (required)
|
|
3024
|
+
:param str id: (required)
|
|
3025
|
+
:return: V1UpdateConversationMessageLikeResponse
|
|
3026
|
+
If the method is called asynchronously,
|
|
3027
|
+
returns the request thread.
|
|
3028
|
+
"""
|
|
3029
|
+
|
|
3030
|
+
all_params = ['body', 'project_id', 'assistant_id', 'conversation_id', 'id'] # noqa: E501
|
|
3031
|
+
all_params.append('async_req')
|
|
3032
|
+
all_params.append('_return_http_data_only')
|
|
3033
|
+
all_params.append('_preload_content')
|
|
3034
|
+
all_params.append('_request_timeout')
|
|
3035
|
+
|
|
3036
|
+
params = locals()
|
|
3037
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3038
|
+
if key not in all_params:
|
|
3039
|
+
raise TypeError(
|
|
3040
|
+
"Got an unexpected keyword argument '%s'"
|
|
3041
|
+
" to method assistants_service_update_conversation_message_like" % key
|
|
3042
|
+
)
|
|
3043
|
+
params[key] = val
|
|
3044
|
+
del params['kwargs']
|
|
3045
|
+
# verify the required parameter 'body' is set
|
|
3046
|
+
if ('body' not in params or
|
|
3047
|
+
params['body'] is None):
|
|
3048
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_update_conversation_message_like`") # noqa: E501
|
|
3049
|
+
# verify the required parameter 'project_id' is set
|
|
3050
|
+
if ('project_id' not in params or
|
|
3051
|
+
params['project_id'] is None):
|
|
3052
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_update_conversation_message_like`") # noqa: E501
|
|
3053
|
+
# verify the required parameter 'assistant_id' is set
|
|
3054
|
+
if ('assistant_id' not in params or
|
|
3055
|
+
params['assistant_id'] is None):
|
|
3056
|
+
raise ValueError("Missing the required parameter `assistant_id` when calling `assistants_service_update_conversation_message_like`") # noqa: E501
|
|
3057
|
+
# verify the required parameter 'conversation_id' is set
|
|
3058
|
+
if ('conversation_id' not in params or
|
|
3059
|
+
params['conversation_id'] is None):
|
|
3060
|
+
raise ValueError("Missing the required parameter `conversation_id` when calling `assistants_service_update_conversation_message_like`") # noqa: E501
|
|
3061
|
+
# verify the required parameter 'id' is set
|
|
3062
|
+
if ('id' not in params or
|
|
3063
|
+
params['id'] is None):
|
|
3064
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_update_conversation_message_like`") # noqa: E501
|
|
3065
|
+
|
|
3066
|
+
collection_formats = {}
|
|
3067
|
+
|
|
3068
|
+
path_params = {}
|
|
3069
|
+
if 'project_id' in params:
|
|
3070
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
3071
|
+
if 'assistant_id' in params:
|
|
3072
|
+
path_params['assistantId'] = params['assistant_id'] # noqa: E501
|
|
3073
|
+
if 'conversation_id' in params:
|
|
3074
|
+
path_params['conversationId'] = params['conversation_id'] # noqa: E501
|
|
3075
|
+
if 'id' in params:
|
|
3076
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
3077
|
+
|
|
3078
|
+
query_params = []
|
|
3079
|
+
|
|
3080
|
+
header_params = {}
|
|
3081
|
+
|
|
3082
|
+
form_params = []
|
|
3083
|
+
local_var_files = {}
|
|
3084
|
+
|
|
3085
|
+
body_params = None
|
|
3086
|
+
if 'body' in params:
|
|
3087
|
+
body_params = params['body']
|
|
3088
|
+
# HTTP header `Accept`
|
|
3089
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3090
|
+
['application/json']) # noqa: E501
|
|
3091
|
+
|
|
3092
|
+
# HTTP header `Content-Type`
|
|
3093
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3094
|
+
['application/json']) # noqa: E501
|
|
3095
|
+
|
|
3096
|
+
# Authentication setting
|
|
3097
|
+
auth_settings = [] # noqa: E501
|
|
3098
|
+
|
|
3099
|
+
return self.api_client.call_api(
|
|
3100
|
+
'/v1/projects/{projectId}/agents/{assistantId}/conversations/{conversationId}/messages/{id}', 'PUT',
|
|
3101
|
+
path_params,
|
|
3102
|
+
query_params,
|
|
3103
|
+
header_params,
|
|
3104
|
+
body=body_params,
|
|
3105
|
+
post_params=form_params,
|
|
3106
|
+
files=local_var_files,
|
|
3107
|
+
response_type='V1UpdateConversationMessageLikeResponse', # noqa: E501
|
|
3108
|
+
auth_settings=auth_settings,
|
|
3109
|
+
async_req=params.get('async_req'),
|
|
3110
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3111
|
+
_preload_content=params.get('_preload_content', True),
|
|
3112
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3113
|
+
collection_formats=collection_formats)
|
|
3114
|
+
|
|
3115
|
+
def assistants_service_validate_assistant_managed_endpoint(self, body: 'V1ValidateManagedEndpointRequest', **kwargs) -> 'V1ValidateManagedEndpointResponse': # noqa: E501
|
|
3116
|
+
"""assistants_service_validate_assistant_managed_endpoint # noqa: E501
|
|
3117
|
+
|
|
3118
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3119
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3120
|
+
>>> thread = api.assistants_service_validate_assistant_managed_endpoint(body, async_req=True)
|
|
3121
|
+
>>> result = thread.get()
|
|
3122
|
+
|
|
3123
|
+
:param async_req bool
|
|
3124
|
+
:param V1ValidateManagedEndpointRequest body: (required)
|
|
3125
|
+
:return: V1ValidateManagedEndpointResponse
|
|
3126
|
+
If the method is called asynchronously,
|
|
3127
|
+
returns the request thread.
|
|
3128
|
+
"""
|
|
3129
|
+
kwargs['_return_http_data_only'] = True
|
|
3130
|
+
if kwargs.get('async_req'):
|
|
3131
|
+
return self.assistants_service_validate_assistant_managed_endpoint_with_http_info(body, **kwargs) # noqa: E501
|
|
3132
|
+
else:
|
|
3133
|
+
(data) = self.assistants_service_validate_assistant_managed_endpoint_with_http_info(body, **kwargs) # noqa: E501
|
|
3134
|
+
return data
|
|
3135
|
+
|
|
3136
|
+
def assistants_service_validate_assistant_managed_endpoint_with_http_info(self, body: 'V1ValidateManagedEndpointRequest', **kwargs) -> 'V1ValidateManagedEndpointResponse': # noqa: E501
|
|
3137
|
+
"""assistants_service_validate_assistant_managed_endpoint # noqa: E501
|
|
3138
|
+
|
|
3139
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3140
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3141
|
+
>>> thread = api.assistants_service_validate_assistant_managed_endpoint_with_http_info(body, async_req=True)
|
|
3142
|
+
>>> result = thread.get()
|
|
3143
|
+
|
|
3144
|
+
:param async_req bool
|
|
3145
|
+
:param V1ValidateManagedEndpointRequest body: (required)
|
|
3146
|
+
:return: V1ValidateManagedEndpointResponse
|
|
3147
|
+
If the method is called asynchronously,
|
|
3148
|
+
returns the request thread.
|
|
3149
|
+
"""
|
|
3150
|
+
|
|
3151
|
+
all_params = ['body'] # noqa: E501
|
|
3152
|
+
all_params.append('async_req')
|
|
3153
|
+
all_params.append('_return_http_data_only')
|
|
3154
|
+
all_params.append('_preload_content')
|
|
3155
|
+
all_params.append('_request_timeout')
|
|
3156
|
+
|
|
3157
|
+
params = locals()
|
|
3158
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3159
|
+
if key not in all_params:
|
|
3160
|
+
raise TypeError(
|
|
3161
|
+
"Got an unexpected keyword argument '%s'"
|
|
3162
|
+
" to method assistants_service_validate_assistant_managed_endpoint" % key
|
|
3163
|
+
)
|
|
3164
|
+
params[key] = val
|
|
3165
|
+
del params['kwargs']
|
|
3166
|
+
# verify the required parameter 'body' is set
|
|
3167
|
+
if ('body' not in params or
|
|
3168
|
+
params['body'] is None):
|
|
3169
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_validate_assistant_managed_endpoint`") # noqa: E501
|
|
3170
|
+
|
|
3171
|
+
collection_formats = {}
|
|
3172
|
+
|
|
3173
|
+
path_params = {}
|
|
3174
|
+
|
|
3175
|
+
query_params = []
|
|
3176
|
+
|
|
3177
|
+
header_params = {}
|
|
3178
|
+
|
|
3179
|
+
form_params = []
|
|
3180
|
+
local_var_files = {}
|
|
3181
|
+
|
|
3182
|
+
body_params = None
|
|
3183
|
+
if 'body' in params:
|
|
3184
|
+
body_params = params['body']
|
|
3185
|
+
# HTTP header `Accept`
|
|
3186
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3187
|
+
['application/json']) # noqa: E501
|
|
3188
|
+
|
|
3189
|
+
# HTTP header `Content-Type`
|
|
3190
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3191
|
+
['application/json']) # noqa: E501
|
|
3192
|
+
|
|
3193
|
+
# Authentication setting
|
|
3194
|
+
auth_settings = [] # noqa: E501
|
|
3195
|
+
|
|
3196
|
+
return self.api_client.call_api(
|
|
3197
|
+
'/v1/agent-managed-endpoints/valid', 'POST',
|
|
3198
|
+
path_params,
|
|
3199
|
+
query_params,
|
|
3200
|
+
header_params,
|
|
3201
|
+
body=body_params,
|
|
3202
|
+
post_params=form_params,
|
|
3203
|
+
files=local_var_files,
|
|
3204
|
+
response_type='V1ValidateManagedEndpointResponse', # noqa: E501
|
|
3205
|
+
auth_settings=auth_settings,
|
|
3206
|
+
async_req=params.get('async_req'),
|
|
3207
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3208
|
+
_preload_content=params.get('_preload_content', True),
|
|
3209
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3210
|
+
collection_formats=collection_formats)
|
|
3211
|
+
|
|
3212
|
+
def assistants_service_validate_assistant_status(self, body: 'object', id: 'str', **kwargs) -> 'V1ValidateAssistantStatusResponse': # noqa: E501
|
|
3213
|
+
"""ValidateAssistantStatus validates the status of the assistant This is used to check if the assistant is online and ready to be used or not # noqa: E501
|
|
3214
|
+
|
|
3215
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3216
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3217
|
+
>>> thread = api.assistants_service_validate_assistant_status(body, id, async_req=True)
|
|
3218
|
+
>>> result = thread.get()
|
|
3219
|
+
|
|
3220
|
+
:param async_req bool
|
|
3221
|
+
:param object body: (required)
|
|
3222
|
+
:param str id: (required)
|
|
3223
|
+
:return: V1ValidateAssistantStatusResponse
|
|
3224
|
+
If the method is called asynchronously,
|
|
3225
|
+
returns the request thread.
|
|
3226
|
+
"""
|
|
3227
|
+
kwargs['_return_http_data_only'] = True
|
|
3228
|
+
if kwargs.get('async_req'):
|
|
3229
|
+
return self.assistants_service_validate_assistant_status_with_http_info(body, id, **kwargs) # noqa: E501
|
|
3230
|
+
else:
|
|
3231
|
+
(data) = self.assistants_service_validate_assistant_status_with_http_info(body, id, **kwargs) # noqa: E501
|
|
3232
|
+
return data
|
|
3233
|
+
|
|
3234
|
+
def assistants_service_validate_assistant_status_with_http_info(self, body: 'object', id: 'str', **kwargs) -> 'V1ValidateAssistantStatusResponse': # noqa: E501
|
|
3235
|
+
"""ValidateAssistantStatus validates the status of the assistant This is used to check if the assistant is online and ready to be used or not # noqa: E501
|
|
3236
|
+
|
|
3237
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3238
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3239
|
+
>>> thread = api.assistants_service_validate_assistant_status_with_http_info(body, id, async_req=True)
|
|
3240
|
+
>>> result = thread.get()
|
|
3241
|
+
|
|
3242
|
+
:param async_req bool
|
|
3243
|
+
:param object body: (required)
|
|
3244
|
+
:param str id: (required)
|
|
3245
|
+
:return: V1ValidateAssistantStatusResponse
|
|
3246
|
+
If the method is called asynchronously,
|
|
3247
|
+
returns the request thread.
|
|
3248
|
+
"""
|
|
3249
|
+
|
|
3250
|
+
all_params = ['body', 'id'] # noqa: E501
|
|
3251
|
+
all_params.append('async_req')
|
|
3252
|
+
all_params.append('_return_http_data_only')
|
|
3253
|
+
all_params.append('_preload_content')
|
|
3254
|
+
all_params.append('_request_timeout')
|
|
3255
|
+
|
|
3256
|
+
params = locals()
|
|
3257
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3258
|
+
if key not in all_params:
|
|
3259
|
+
raise TypeError(
|
|
3260
|
+
"Got an unexpected keyword argument '%s'"
|
|
3261
|
+
" to method assistants_service_validate_assistant_status" % key
|
|
3262
|
+
)
|
|
3263
|
+
params[key] = val
|
|
3264
|
+
del params['kwargs']
|
|
3265
|
+
# verify the required parameter 'body' is set
|
|
3266
|
+
if ('body' not in params or
|
|
3267
|
+
params['body'] is None):
|
|
3268
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_validate_assistant_status`") # noqa: E501
|
|
3269
|
+
# verify the required parameter 'id' is set
|
|
3270
|
+
if ('id' not in params or
|
|
3271
|
+
params['id'] is None):
|
|
3272
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_validate_assistant_status`") # noqa: E501
|
|
3273
|
+
|
|
3274
|
+
collection_formats = {}
|
|
3275
|
+
|
|
3276
|
+
path_params = {}
|
|
3277
|
+
if 'id' in params:
|
|
3278
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
3279
|
+
|
|
3280
|
+
query_params = []
|
|
3281
|
+
|
|
3282
|
+
header_params = {}
|
|
3283
|
+
|
|
3284
|
+
form_params = []
|
|
3285
|
+
local_var_files = {}
|
|
3286
|
+
|
|
3287
|
+
body_params = None
|
|
3288
|
+
if 'body' in params:
|
|
3289
|
+
body_params = params['body']
|
|
3290
|
+
# HTTP header `Accept`
|
|
3291
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3292
|
+
['application/json']) # noqa: E501
|
|
3293
|
+
|
|
3294
|
+
# HTTP header `Content-Type`
|
|
3295
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3296
|
+
['application/json']) # noqa: E501
|
|
3297
|
+
|
|
3298
|
+
# Authentication setting
|
|
3299
|
+
auth_settings = [] # noqa: E501
|
|
3300
|
+
|
|
3301
|
+
return self.api_client.call_api(
|
|
3302
|
+
'/v1/agents/{id}/valid', 'POST',
|
|
3303
|
+
path_params,
|
|
3304
|
+
query_params,
|
|
3305
|
+
header_params,
|
|
3306
|
+
body=body_params,
|
|
3307
|
+
post_params=form_params,
|
|
3308
|
+
files=local_var_files,
|
|
3309
|
+
response_type='V1ValidateAssistantStatusResponse', # noqa: E501
|
|
3310
|
+
auth_settings=auth_settings,
|
|
3311
|
+
async_req=params.get('async_req'),
|
|
3312
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3313
|
+
_preload_content=params.get('_preload_content', True),
|
|
3314
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3315
|
+
collection_formats=collection_formats)
|
|
3316
|
+
|
|
3317
|
+
def assistants_service_validate_managed_model(self, body: 'object', project_id: 'str', id: 'str', model_id: 'str', **kwargs) -> 'V1ValidateManagedModelResponse': # noqa: E501
|
|
3318
|
+
"""assistants_service_validate_managed_model # noqa: E501
|
|
3319
|
+
|
|
3320
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3321
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3322
|
+
>>> thread = api.assistants_service_validate_managed_model(body, project_id, id, model_id, async_req=True)
|
|
3323
|
+
>>> result = thread.get()
|
|
3324
|
+
|
|
3325
|
+
:param async_req bool
|
|
3326
|
+
:param object body: (required)
|
|
3327
|
+
:param str project_id: (required)
|
|
3328
|
+
:param str id: (required)
|
|
3329
|
+
:param str model_id: (required)
|
|
3330
|
+
:return: V1ValidateManagedModelResponse
|
|
3331
|
+
If the method is called asynchronously,
|
|
3332
|
+
returns the request thread.
|
|
3333
|
+
"""
|
|
3334
|
+
kwargs['_return_http_data_only'] = True
|
|
3335
|
+
if kwargs.get('async_req'):
|
|
3336
|
+
return self.assistants_service_validate_managed_model_with_http_info(body, project_id, id, model_id, **kwargs) # noqa: E501
|
|
3337
|
+
else:
|
|
3338
|
+
(data) = self.assistants_service_validate_managed_model_with_http_info(body, project_id, id, model_id, **kwargs) # noqa: E501
|
|
3339
|
+
return data
|
|
3340
|
+
|
|
3341
|
+
def assistants_service_validate_managed_model_with_http_info(self, body: 'object', project_id: 'str', id: 'str', model_id: 'str', **kwargs) -> 'V1ValidateManagedModelResponse': # noqa: E501
|
|
3342
|
+
"""assistants_service_validate_managed_model # noqa: E501
|
|
3343
|
+
|
|
3344
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3345
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3346
|
+
>>> thread = api.assistants_service_validate_managed_model_with_http_info(body, project_id, id, model_id, async_req=True)
|
|
3347
|
+
>>> result = thread.get()
|
|
3348
|
+
|
|
3349
|
+
:param async_req bool
|
|
3350
|
+
:param object body: (required)
|
|
3351
|
+
:param str project_id: (required)
|
|
3352
|
+
:param str id: (required)
|
|
3353
|
+
:param str model_id: (required)
|
|
3354
|
+
:return: V1ValidateManagedModelResponse
|
|
3355
|
+
If the method is called asynchronously,
|
|
3356
|
+
returns the request thread.
|
|
3357
|
+
"""
|
|
3358
|
+
|
|
3359
|
+
all_params = ['body', 'project_id', 'id', 'model_id'] # noqa: E501
|
|
3360
|
+
all_params.append('async_req')
|
|
3361
|
+
all_params.append('_return_http_data_only')
|
|
3362
|
+
all_params.append('_preload_content')
|
|
3363
|
+
all_params.append('_request_timeout')
|
|
3364
|
+
|
|
3365
|
+
params = locals()
|
|
3366
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3367
|
+
if key not in all_params:
|
|
3368
|
+
raise TypeError(
|
|
3369
|
+
"Got an unexpected keyword argument '%s'"
|
|
3370
|
+
" to method assistants_service_validate_managed_model" % key
|
|
3371
|
+
)
|
|
3372
|
+
params[key] = val
|
|
3373
|
+
del params['kwargs']
|
|
3374
|
+
# verify the required parameter 'body' is set
|
|
3375
|
+
if ('body' not in params or
|
|
3376
|
+
params['body'] is None):
|
|
3377
|
+
raise ValueError("Missing the required parameter `body` when calling `assistants_service_validate_managed_model`") # noqa: E501
|
|
3378
|
+
# verify the required parameter 'project_id' is set
|
|
3379
|
+
if ('project_id' not in params or
|
|
3380
|
+
params['project_id'] is None):
|
|
3381
|
+
raise ValueError("Missing the required parameter `project_id` when calling `assistants_service_validate_managed_model`") # noqa: E501
|
|
3382
|
+
# verify the required parameter 'id' is set
|
|
3383
|
+
if ('id' not in params or
|
|
3384
|
+
params['id'] is None):
|
|
3385
|
+
raise ValueError("Missing the required parameter `id` when calling `assistants_service_validate_managed_model`") # noqa: E501
|
|
3386
|
+
# verify the required parameter 'model_id' is set
|
|
3387
|
+
if ('model_id' not in params or
|
|
3388
|
+
params['model_id'] is None):
|
|
3389
|
+
raise ValueError("Missing the required parameter `model_id` when calling `assistants_service_validate_managed_model`") # noqa: E501
|
|
3390
|
+
|
|
3391
|
+
collection_formats = {}
|
|
3392
|
+
|
|
3393
|
+
path_params = {}
|
|
3394
|
+
if 'project_id' in params:
|
|
3395
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
3396
|
+
if 'id' in params:
|
|
3397
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
3398
|
+
if 'model_id' in params:
|
|
3399
|
+
path_params['modelId'] = params['model_id'] # noqa: E501
|
|
3400
|
+
|
|
3401
|
+
query_params = []
|
|
3402
|
+
|
|
3403
|
+
header_params = {}
|
|
3404
|
+
|
|
3405
|
+
form_params = []
|
|
3406
|
+
local_var_files = {}
|
|
3407
|
+
|
|
3408
|
+
body_params = None
|
|
3409
|
+
if 'body' in params:
|
|
3410
|
+
body_params = params['body']
|
|
3411
|
+
# HTTP header `Accept`
|
|
3412
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3413
|
+
['application/json']) # noqa: E501
|
|
3414
|
+
|
|
3415
|
+
# HTTP header `Content-Type`
|
|
3416
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3417
|
+
['application/json']) # noqa: E501
|
|
3418
|
+
|
|
3419
|
+
# Authentication setting
|
|
3420
|
+
auth_settings = [] # noqa: E501
|
|
3421
|
+
|
|
3422
|
+
return self.api_client.call_api(
|
|
3423
|
+
'/v1/projects/{projectId}/agent-managed-models/{id}/model/{modelId}/valid', 'POST',
|
|
3424
|
+
path_params,
|
|
3425
|
+
query_params,
|
|
3426
|
+
header_params,
|
|
3427
|
+
body=body_params,
|
|
3428
|
+
post_params=form_params,
|
|
3429
|
+
files=local_var_files,
|
|
3430
|
+
response_type='V1ValidateManagedModelResponse', # noqa: E501
|
|
3431
|
+
auth_settings=auth_settings,
|
|
3432
|
+
async_req=params.get('async_req'),
|
|
3433
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3434
|
+
_preload_content=params.get('_preload_content', True),
|
|
3435
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3436
|
+
collection_formats=collection_formats)
|