oci 2.125.2__py3-none-any.whl → 2.125.3__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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +134 -43
- oci/ai_language/models/__init__.py +24 -0
- oci/ai_language/models/assertion_details.py +165 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +223 -0
- oci/ai_language/models/batch_detect_health_entity_result.py +103 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +29 -2
- oci/ai_language/models/health_entity.py +351 -0
- oci/ai_language/models/health_entity_document_result.py +200 -0
- oci/ai_language/models/input_location.py +2 -1
- oci/ai_language/models/mel_concept.py +103 -0
- oci/ai_language/models/mel_concept_details.py +165 -0
- oci/ai_language/models/model_details.py +11 -3
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity.py +118 -7
- oci/ai_language/models/pii_model_details.py +91 -0
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/profile.py +134 -0
- oci/ai_language/models/relation_entity.py +196 -0
- oci/ai_language/models/resolved_entities.py +72 -0
- oci/ai_language/models/resolved_entity.py +227 -0
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/instance_configuration.py +37 -2
- oci/database/database_client.py +1224 -537
- oci/database/database_client_composite_operations.py +204 -0
- oci/database/models/__init__.py +12 -0
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/autonomous_database_software_image.py +489 -0
- oci/database/models/autonomous_database_software_image_collection.py +72 -0
- oci/database/models/autonomous_database_software_image_summary.py +437 -0
- oci/database/models/change_autonomous_database_software_image_compartment_details.py +76 -0
- oci/database/models/create_autonomous_container_database_details.py +35 -0
- oci/database/models/create_autonomous_database_software_image_details.py +267 -0
- oci/database/models/maintenance_window.py +33 -2
- oci/database/models/update_autonomous_database_software_image_details.py +119 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +29 -2
- oci/database_migration/models/data_transfer_medium_details_v2.py +1 -1
- oci/database_migration/models/nfs_data_transfer_medium_details.py +29 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +24 -24
- oci/generative_ai/models/dataset.py +1 -1
- oci/generative_ai/models/dedicated_ai_cluster.py +34 -3
- oci/generative_ai/models/endpoint.py +27 -0
- oci/generative_ai/models/model.py +34 -3
- oci/generative_ai/models/model_summary.py +7 -3
- oci/generative_ai_inference/generative_ai_inference_client.py +101 -3
- oci/generative_ai_inference/models/__init__.py +30 -0
- oci/generative_ai_inference/models/base_chat_request.py +109 -0
- oci/generative_ai_inference/models/base_chat_response.py +109 -0
- oci/generative_ai_inference/models/chat_choice.py +161 -0
- oci/generative_ai_inference/models/chat_content.py +101 -0
- oci/generative_ai_inference/models/chat_details.py +126 -0
- oci/generative_ai_inference/models/chat_result.py +130 -0
- oci/generative_ai_inference/models/citation.py +165 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +443 -0
- oci/generative_ai_inference/models/cohere_chat_response.py +272 -0
- oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/cohere_message.py +119 -0
- oci/generative_ai_inference/models/embed_text_details.py +2 -2
- oci/generative_ai_inference/models/generic_chat_request.py +474 -0
- oci/generative_ai_inference/models/generic_chat_response.py +113 -0
- oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
- oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/llm_inference_response.py +11 -3
- oci/generative_ai_inference/models/message.py +103 -0
- oci/generative_ai_inference/models/search_query.py +72 -0
- oci/generative_ai_inference/models/text_content.py +82 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/models/opa_instance.py +7 -3
- oci/opa/models/work_request.py +11 -3
- oci/opa/models/work_request_summary.py +11 -3
- oci/opa/opa_instance_client.py +223 -13
- oci/opa/opa_instance_client_composite_operations.py +78 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/models/create_redis_cluster_details.py +31 -0
- oci/redis/models/redis_cluster.py +31 -0
- oci/redis/models/redis_cluster_summary.py +31 -0
- oci/redis/models/update_redis_cluster_details.py +31 -0
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/__init__.py +12 -0
- oci/usage_api/models/create_email_recipients_group_details.py +103 -0
- oci/usage_api/models/email_recipient.py +181 -0
- oci/usage_api/models/email_recipients_group.py +181 -0
- oci/usage_api/models/email_recipients_group_collection.py +72 -0
- oci/usage_api/models/email_recipients_group_summary.py +272 -0
- oci/usage_api/models/update_email_recipients_group_details.py +72 -0
- oci/usage_api/usageapi_client.py +656 -34
- oci/usage_api/usageapi_client_composite_operations.py +96 -0
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/METADATA +1 -1
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/RECORD +333 -294
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/WHEEL +0 -0
- {oci-2.125.2.dist-info → oci-2.125.3.dist-info}/top_level.txt +0 -0
@@ -154,7 +154,7 @@ class AIServiceLanguageClient(object):
|
|
154
154
|
:rtype: :class:`~oci.response.Response`
|
155
155
|
|
156
156
|
:example:
|
157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_dominant_language.py.html>`__ to see an example of how to use batch_detect_dominant_language API.
|
158
158
|
"""
|
159
159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
160
160
|
required_arguments = []
|
@@ -213,6 +213,97 @@ class AIServiceLanguageClient(object):
|
|
213
213
|
api_reference_link=api_reference_link,
|
214
214
|
required_arguments=required_arguments)
|
215
215
|
|
216
|
+
def batch_detect_health_entity(self, batch_detect_health_entity_details, **kwargs):
|
217
|
+
"""
|
218
|
+
The API extracts health entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned. It supports passing a batch of records.
|
219
|
+
|
220
|
+
Limitations:
|
221
|
+
- A batch may have up to 100 records.
|
222
|
+
- A record may be up to 5000 characters long.
|
223
|
+
- The total of characters to process in a request can be up to 20,000 characters.
|
224
|
+
|
225
|
+
|
226
|
+
:param oci.ai_language.models.BatchDetectHealthEntityDetails batch_detect_health_entity_details: (required)
|
227
|
+
The details to make a health entity detect call.
|
228
|
+
|
229
|
+
:param str opc_request_id: (optional)
|
230
|
+
The client request ID for tracing.
|
231
|
+
|
232
|
+
:param obj retry_strategy: (optional)
|
233
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
234
|
+
|
235
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
236
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
237
|
+
|
238
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
239
|
+
|
240
|
+
:param bool allow_control_chars: (optional)
|
241
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
242
|
+
By default, the response will not allow control characters in strings
|
243
|
+
|
244
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.ai_language.models.BatchDetectHealthEntityResult`
|
245
|
+
:rtype: :class:`~oci.response.Response`
|
246
|
+
|
247
|
+
:example:
|
248
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_health_entity.py.html>`__ to see an example of how to use batch_detect_health_entity API.
|
249
|
+
"""
|
250
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
251
|
+
required_arguments = []
|
252
|
+
resource_path = "/actions/batchDetectHealthEntities"
|
253
|
+
method = "POST"
|
254
|
+
operation_name = "batch_detect_health_entity"
|
255
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectHealthEntityDetails/BatchDetectHealthEntity"
|
256
|
+
|
257
|
+
# Don't accept unknown kwargs
|
258
|
+
expected_kwargs = [
|
259
|
+
"allow_control_chars",
|
260
|
+
"retry_strategy",
|
261
|
+
"opc_request_id"
|
262
|
+
]
|
263
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
264
|
+
if extra_kwargs:
|
265
|
+
raise ValueError(
|
266
|
+
f"batch_detect_health_entity got unknown kwargs: {extra_kwargs!r}")
|
267
|
+
|
268
|
+
header_params = {
|
269
|
+
"accept": "application/json",
|
270
|
+
"content-type": "application/json",
|
271
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
272
|
+
}
|
273
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
274
|
+
|
275
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
276
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
277
|
+
client_retry_strategy=self.retry_strategy
|
278
|
+
)
|
279
|
+
|
280
|
+
if retry_strategy:
|
281
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
282
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
283
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
284
|
+
return retry_strategy.make_retrying_call(
|
285
|
+
self.base_client.call_api,
|
286
|
+
resource_path=resource_path,
|
287
|
+
method=method,
|
288
|
+
header_params=header_params,
|
289
|
+
body=batch_detect_health_entity_details,
|
290
|
+
response_type="BatchDetectHealthEntityResult",
|
291
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
292
|
+
operation_name=operation_name,
|
293
|
+
api_reference_link=api_reference_link,
|
294
|
+
required_arguments=required_arguments)
|
295
|
+
else:
|
296
|
+
return self.base_client.call_api(
|
297
|
+
resource_path=resource_path,
|
298
|
+
method=method,
|
299
|
+
header_params=header_params,
|
300
|
+
body=batch_detect_health_entity_details,
|
301
|
+
response_type="BatchDetectHealthEntityResult",
|
302
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
303
|
+
operation_name=operation_name,
|
304
|
+
api_reference_link=api_reference_link,
|
305
|
+
required_arguments=required_arguments)
|
306
|
+
|
216
307
|
def batch_detect_language_entities(self, batch_detect_language_entities_details, **kwargs):
|
217
308
|
"""
|
218
309
|
The API extracts entities in text records. For each entity, its type/subtype and confidence score (between 0 and 1) is returned. It supports passing a batch of records.
|
@@ -249,7 +340,7 @@ class AIServiceLanguageClient(object):
|
|
249
340
|
:rtype: :class:`~oci.response.Response`
|
250
341
|
|
251
342
|
:example:
|
252
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
343
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_language_entities.py.html>`__ to see an example of how to use batch_detect_language_entities API.
|
253
344
|
"""
|
254
345
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
255
346
|
required_arguments = []
|
@@ -340,7 +431,7 @@ class AIServiceLanguageClient(object):
|
|
340
431
|
:rtype: :class:`~oci.response.Response`
|
341
432
|
|
342
433
|
:example:
|
343
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
434
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_language_key_phrases.py.html>`__ to see an example of how to use batch_detect_language_key_phrases API.
|
344
435
|
"""
|
345
436
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
346
437
|
required_arguments = []
|
@@ -431,7 +522,7 @@ class AIServiceLanguageClient(object):
|
|
431
522
|
:rtype: :class:`~oci.response.Response`
|
432
523
|
|
433
524
|
:example:
|
434
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
525
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_language_pii_entities.py.html>`__ to see an example of how to use batch_detect_language_pii_entities API.
|
435
526
|
"""
|
436
527
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
437
528
|
required_arguments = []
|
@@ -538,7 +629,7 @@ class AIServiceLanguageClient(object):
|
|
538
629
|
:rtype: :class:`~oci.response.Response`
|
539
630
|
|
540
631
|
:example:
|
541
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
632
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_language_sentiments.py.html>`__ to see an example of how to use batch_detect_language_sentiments API.
|
542
633
|
"""
|
543
634
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
544
635
|
required_arguments = []
|
@@ -651,7 +742,7 @@ class AIServiceLanguageClient(object):
|
|
651
742
|
:rtype: :class:`~oci.response.Response`
|
652
743
|
|
653
744
|
:example:
|
654
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
745
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_detect_language_text_classification.py.html>`__ to see an example of how to use batch_detect_language_text_classification API.
|
655
746
|
"""
|
656
747
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
657
748
|
required_arguments = []
|
@@ -741,7 +832,7 @@ class AIServiceLanguageClient(object):
|
|
741
832
|
:rtype: :class:`~oci.response.Response`
|
742
833
|
|
743
834
|
:example:
|
744
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
835
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/batch_language_translation.py.html>`__ to see an example of how to use batch_language_translation API.
|
745
836
|
"""
|
746
837
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
747
838
|
required_arguments = []
|
@@ -841,7 +932,7 @@ class AIServiceLanguageClient(object):
|
|
841
932
|
:rtype: :class:`~oci.response.Response`
|
842
933
|
|
843
934
|
:example:
|
844
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
935
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/cancel_job.py.html>`__ to see an example of how to use cancel_job API.
|
845
936
|
"""
|
846
937
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
847
938
|
required_arguments = ['jobId']
|
@@ -957,7 +1048,7 @@ class AIServiceLanguageClient(object):
|
|
957
1048
|
:rtype: :class:`~oci.response.Response`
|
958
1049
|
|
959
1050
|
:example:
|
960
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1051
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/change_endpoint_compartment.py.html>`__ to see an example of how to use change_endpoint_compartment API.
|
961
1052
|
"""
|
962
1053
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
963
1054
|
required_arguments = ['endpointId']
|
@@ -1075,7 +1166,7 @@ class AIServiceLanguageClient(object):
|
|
1075
1166
|
:rtype: :class:`~oci.response.Response`
|
1076
1167
|
|
1077
1168
|
:example:
|
1078
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1169
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/change_job_compartment.py.html>`__ to see an example of how to use change_job_compartment API.
|
1079
1170
|
"""
|
1080
1171
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1081
1172
|
required_arguments = ['jobId']
|
@@ -1193,7 +1284,7 @@ class AIServiceLanguageClient(object):
|
|
1193
1284
|
:rtype: :class:`~oci.response.Response`
|
1194
1285
|
|
1195
1286
|
:example:
|
1196
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1287
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/change_model_compartment.py.html>`__ to see an example of how to use change_model_compartment API.
|
1197
1288
|
"""
|
1198
1289
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1199
1290
|
required_arguments = ['modelId']
|
@@ -1311,7 +1402,7 @@ class AIServiceLanguageClient(object):
|
|
1311
1402
|
:rtype: :class:`~oci.response.Response`
|
1312
1403
|
|
1313
1404
|
:example:
|
1314
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1405
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/change_project_compartment.py.html>`__ to see an example of how to use change_project_compartment API.
|
1315
1406
|
"""
|
1316
1407
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1317
1408
|
required_arguments = ['projectId']
|
@@ -1421,7 +1512,7 @@ class AIServiceLanguageClient(object):
|
|
1421
1512
|
:rtype: :class:`~oci.response.Response`
|
1422
1513
|
|
1423
1514
|
:example:
|
1424
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1515
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/create_endpoint.py.html>`__ to see an example of how to use create_endpoint API.
|
1425
1516
|
"""
|
1426
1517
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1427
1518
|
required_arguments = []
|
@@ -1519,7 +1610,7 @@ class AIServiceLanguageClient(object):
|
|
1519
1610
|
:rtype: :class:`~oci.response.Response`
|
1520
1611
|
|
1521
1612
|
:example:
|
1522
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1613
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/create_job.py.html>`__ to see an example of how to use create_job API.
|
1523
1614
|
"""
|
1524
1615
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1525
1616
|
required_arguments = []
|
@@ -1617,7 +1708,7 @@ class AIServiceLanguageClient(object):
|
|
1617
1708
|
:rtype: :class:`~oci.response.Response`
|
1618
1709
|
|
1619
1710
|
:example:
|
1620
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1711
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/create_model.py.html>`__ to see an example of how to use create_model API.
|
1621
1712
|
"""
|
1622
1713
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1623
1714
|
required_arguments = []
|
@@ -1715,7 +1806,7 @@ class AIServiceLanguageClient(object):
|
|
1715
1806
|
:rtype: :class:`~oci.response.Response`
|
1716
1807
|
|
1717
1808
|
:example:
|
1718
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1809
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/create_project.py.html>`__ to see an example of how to use create_project API.
|
1719
1810
|
"""
|
1720
1811
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1721
1812
|
required_arguments = []
|
@@ -1813,7 +1904,7 @@ class AIServiceLanguageClient(object):
|
|
1813
1904
|
:rtype: :class:`~oci.response.Response`
|
1814
1905
|
|
1815
1906
|
:example:
|
1816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1907
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/delete_endpoint.py.html>`__ to see an example of how to use delete_endpoint API.
|
1817
1908
|
"""
|
1818
1909
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1819
1910
|
required_arguments = ['endpointId']
|
@@ -1918,7 +2009,7 @@ class AIServiceLanguageClient(object):
|
|
1918
2009
|
:rtype: :class:`~oci.response.Response`
|
1919
2010
|
|
1920
2011
|
:example:
|
1921
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2012
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/delete_job.py.html>`__ to see an example of how to use delete_job API.
|
1922
2013
|
"""
|
1923
2014
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1924
2015
|
required_arguments = ['jobId']
|
@@ -2023,7 +2114,7 @@ class AIServiceLanguageClient(object):
|
|
2023
2114
|
:rtype: :class:`~oci.response.Response`
|
2024
2115
|
|
2025
2116
|
:example:
|
2026
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2117
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/delete_model.py.html>`__ to see an example of how to use delete_model API.
|
2027
2118
|
"""
|
2028
2119
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2029
2120
|
required_arguments = ['modelId']
|
@@ -2128,7 +2219,7 @@ class AIServiceLanguageClient(object):
|
|
2128
2219
|
:rtype: :class:`~oci.response.Response`
|
2129
2220
|
|
2130
2221
|
:example:
|
2131
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2222
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/delete_project.py.html>`__ to see an example of how to use delete_project API.
|
2132
2223
|
"""
|
2133
2224
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2134
2225
|
required_arguments = ['projectId']
|
@@ -2237,7 +2328,7 @@ class AIServiceLanguageClient(object):
|
|
2237
2328
|
:rtype: :class:`~oci.response.Response`
|
2238
2329
|
|
2239
2330
|
:example:
|
2240
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2331
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/detect_dominant_language.py.html>`__ to see an example of how to use detect_dominant_language API.
|
2241
2332
|
"""
|
2242
2333
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2243
2334
|
required_arguments = []
|
@@ -2340,7 +2431,7 @@ class AIServiceLanguageClient(object):
|
|
2340
2431
|
:rtype: :class:`~oci.response.Response`
|
2341
2432
|
|
2342
2433
|
:example:
|
2343
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2434
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/detect_language_entities.py.html>`__ to see an example of how to use detect_language_entities API.
|
2344
2435
|
"""
|
2345
2436
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2346
2437
|
required_arguments = []
|
@@ -2450,7 +2541,7 @@ class AIServiceLanguageClient(object):
|
|
2450
2541
|
:rtype: :class:`~oci.response.Response`
|
2451
2542
|
|
2452
2543
|
:example:
|
2453
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2544
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/detect_language_key_phrases.py.html>`__ to see an example of how to use detect_language_key_phrases API.
|
2454
2545
|
"""
|
2455
2546
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2456
2547
|
required_arguments = []
|
@@ -2551,7 +2642,7 @@ class AIServiceLanguageClient(object):
|
|
2551
2642
|
:rtype: :class:`~oci.response.Response`
|
2552
2643
|
|
2553
2644
|
:example:
|
2554
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2645
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/detect_language_sentiments.py.html>`__ to see an example of how to use detect_language_sentiments API.
|
2555
2646
|
"""
|
2556
2647
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2557
2648
|
required_arguments = []
|
@@ -2648,7 +2739,7 @@ class AIServiceLanguageClient(object):
|
|
2648
2739
|
:rtype: :class:`~oci.response.Response`
|
2649
2740
|
|
2650
2741
|
:example:
|
2651
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2742
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/detect_language_text_classification.py.html>`__ to see an example of how to use detect_language_text_classification API.
|
2652
2743
|
"""
|
2653
2744
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2654
2745
|
required_arguments = []
|
@@ -2734,7 +2825,7 @@ class AIServiceLanguageClient(object):
|
|
2734
2825
|
:rtype: :class:`~oci.response.Response`
|
2735
2826
|
|
2736
2827
|
:example:
|
2737
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2828
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_endpoint.py.html>`__ to see an example of how to use get_endpoint API.
|
2738
2829
|
"""
|
2739
2830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2740
2831
|
required_arguments = ['endpointId']
|
@@ -2832,7 +2923,7 @@ class AIServiceLanguageClient(object):
|
|
2832
2923
|
:rtype: :class:`~oci.response.Response`
|
2833
2924
|
|
2834
2925
|
:example:
|
2835
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_job.py.html>`__ to see an example of how to use get_job API.
|
2836
2927
|
"""
|
2837
2928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2838
2929
|
required_arguments = ['jobId']
|
@@ -2930,7 +3021,7 @@ class AIServiceLanguageClient(object):
|
|
2930
3021
|
:rtype: :class:`~oci.response.Response`
|
2931
3022
|
|
2932
3023
|
:example:
|
2933
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3024
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_model.py.html>`__ to see an example of how to use get_model API.
|
2934
3025
|
"""
|
2935
3026
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2936
3027
|
required_arguments = ['modelId']
|
@@ -3028,7 +3119,7 @@ class AIServiceLanguageClient(object):
|
|
3028
3119
|
:rtype: :class:`~oci.response.Response`
|
3029
3120
|
|
3030
3121
|
:example:
|
3031
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3122
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_model_type.py.html>`__ to see an example of how to use get_model_type API.
|
3032
3123
|
"""
|
3033
3124
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3034
3125
|
required_arguments = ['modelType']
|
@@ -3126,7 +3217,7 @@ class AIServiceLanguageClient(object):
|
|
3126
3217
|
:rtype: :class:`~oci.response.Response`
|
3127
3218
|
|
3128
3219
|
:example:
|
3129
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3220
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_project.py.html>`__ to see an example of how to use get_project API.
|
3130
3221
|
"""
|
3131
3222
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3132
3223
|
required_arguments = ['projectId']
|
@@ -3224,7 +3315,7 @@ class AIServiceLanguageClient(object):
|
|
3224
3315
|
:rtype: :class:`~oci.response.Response`
|
3225
3316
|
|
3226
3317
|
:example:
|
3227
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3318
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
3228
3319
|
"""
|
3229
3320
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3230
3321
|
required_arguments = ['workRequestId']
|
@@ -3359,7 +3450,7 @@ class AIServiceLanguageClient(object):
|
|
3359
3450
|
:rtype: :class:`~oci.response.Response`
|
3360
3451
|
|
3361
3452
|
:example:
|
3362
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3453
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_endpoints.py.html>`__ to see an example of how to use list_endpoints API.
|
3363
3454
|
"""
|
3364
3455
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3365
3456
|
required_arguments = ['compartmentId']
|
@@ -3497,7 +3588,7 @@ class AIServiceLanguageClient(object):
|
|
3497
3588
|
:rtype: :class:`~oci.response.Response`
|
3498
3589
|
|
3499
3590
|
:example:
|
3500
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_evaluation_results.py.html>`__ to see an example of how to use list_evaluation_results API.
|
3501
3592
|
"""
|
3502
3593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3503
3594
|
required_arguments = ['modelId']
|
@@ -3632,7 +3723,7 @@ class AIServiceLanguageClient(object):
|
|
3632
3723
|
:rtype: :class:`~oci.response.Response`
|
3633
3724
|
|
3634
3725
|
:example:
|
3635
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3726
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
|
3636
3727
|
"""
|
3637
3728
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3638
3729
|
required_arguments = ['compartmentId']
|
@@ -3794,7 +3885,7 @@ class AIServiceLanguageClient(object):
|
|
3794
3885
|
:rtype: :class:`~oci.response.Response`
|
3795
3886
|
|
3796
3887
|
:example:
|
3797
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
3888
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_models.py.html>`__ to see an example of how to use list_models API.
|
3798
3889
|
"""
|
3799
3890
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3800
3891
|
required_arguments = ['compartmentId']
|
@@ -3955,7 +4046,7 @@ class AIServiceLanguageClient(object):
|
|
3955
4046
|
:rtype: :class:`~oci.response.Response`
|
3956
4047
|
|
3957
4048
|
:example:
|
3958
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4049
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_projects.py.html>`__ to see an example of how to use list_projects API.
|
3959
4050
|
"""
|
3960
4051
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3961
4052
|
required_arguments = ['compartmentId']
|
@@ -4099,7 +4190,7 @@ class AIServiceLanguageClient(object):
|
|
4099
4190
|
:rtype: :class:`~oci.response.Response`
|
4100
4191
|
|
4101
4192
|
:example:
|
4102
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4193
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
4103
4194
|
"""
|
4104
4195
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4105
4196
|
required_arguments = ['workRequestId']
|
@@ -4241,7 +4332,7 @@ class AIServiceLanguageClient(object):
|
|
4241
4332
|
:rtype: :class:`~oci.response.Response`
|
4242
4333
|
|
4243
4334
|
:example:
|
4244
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4335
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
4245
4336
|
"""
|
4246
4337
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4247
4338
|
required_arguments = ['workRequestId']
|
@@ -4389,7 +4480,7 @@ class AIServiceLanguageClient(object):
|
|
4389
4480
|
:rtype: :class:`~oci.response.Response`
|
4390
4481
|
|
4391
4482
|
:example:
|
4392
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4483
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4393
4484
|
"""
|
4394
4485
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4395
4486
|
required_arguments = ['compartmentId']
|
@@ -4518,7 +4609,7 @@ class AIServiceLanguageClient(object):
|
|
4518
4609
|
:rtype: :class:`~oci.response.Response`
|
4519
4610
|
|
4520
4611
|
:example:
|
4521
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4612
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/update_endpoint.py.html>`__ to see an example of how to use update_endpoint API.
|
4522
4613
|
"""
|
4523
4614
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4524
4615
|
required_arguments = ['endpointId']
|
@@ -4628,7 +4719,7 @@ class AIServiceLanguageClient(object):
|
|
4628
4719
|
:rtype: :class:`~oci.response.Response`
|
4629
4720
|
|
4630
4721
|
:example:
|
4631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4722
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/update_job.py.html>`__ to see an example of how to use update_job API.
|
4632
4723
|
"""
|
4633
4724
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4634
4725
|
required_arguments = ['jobId']
|
@@ -4740,7 +4831,7 @@ class AIServiceLanguageClient(object):
|
|
4740
4831
|
:rtype: :class:`~oci.response.Response`
|
4741
4832
|
|
4742
4833
|
:example:
|
4743
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4834
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/update_model.py.html>`__ to see an example of how to use update_model API.
|
4744
4835
|
"""
|
4745
4836
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4746
4837
|
required_arguments = ['modelId']
|
@@ -4850,7 +4941,7 @@ class AIServiceLanguageClient(object):
|
|
4850
4941
|
:rtype: :class:`~oci.response.Response`
|
4851
4942
|
|
4852
4943
|
:example:
|
4853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
4944
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.3/ailanguage/update_project.py.html>`__ to see an example of how to use update_project API.
|
4854
4945
|
"""
|
4855
4946
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4856
4947
|
required_arguments = ['projectId']
|
@@ -6,8 +6,11 @@
|
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
|
+
from .assertion_details import AssertionDetails
|
9
10
|
from .batch_detect_dominant_language_details import BatchDetectDominantLanguageDetails
|
10
11
|
from .batch_detect_dominant_language_result import BatchDetectDominantLanguageResult
|
12
|
+
from .batch_detect_health_entity_details import BatchDetectHealthEntityDetails
|
13
|
+
from .batch_detect_health_entity_result import BatchDetectHealthEntityResult
|
11
14
|
from .batch_detect_language_entities_details import BatchDetectLanguageEntitiesDetails
|
12
15
|
from .batch_detect_language_entities_result import BatchDetectLanguageEntitiesResult
|
13
16
|
from .batch_detect_language_key_phrases_details import BatchDetectLanguageKeyPhrasesDetails
|
@@ -64,6 +67,8 @@ from .error_details import ErrorDetails
|
|
64
67
|
from .evaluation_result_collection import EvaluationResultCollection
|
65
68
|
from .evaluation_result_summary import EvaluationResultSummary
|
66
69
|
from .evaluation_results import EvaluationResults
|
70
|
+
from .health_entity import HealthEntity
|
71
|
+
from .health_entity_document_result import HealthEntityDocumentResult
|
67
72
|
from .hierarchical_entity import HierarchicalEntity
|
68
73
|
from .input_configuration import InputConfiguration
|
69
74
|
from .input_location import InputLocation
|
@@ -73,6 +78,8 @@ from .job_summary import JobSummary
|
|
73
78
|
from .key_phrase import KeyPhrase
|
74
79
|
from .key_phrase_document_result import KeyPhraseDocumentResult
|
75
80
|
from .location_details import LocationDetails
|
81
|
+
from .mel_concept import MelConcept
|
82
|
+
from .mel_concept_details import MelConceptDetails
|
76
83
|
from .model import Model
|
77
84
|
from .model_collection import ModelCollection
|
78
85
|
from .model_details import ModelDetails
|
@@ -94,6 +101,7 @@ from .pii_entity_mask import PiiEntityMask
|
|
94
101
|
from .pii_entity_masking import PiiEntityMasking
|
95
102
|
from .pii_entity_remove import PiiEntityRemove
|
96
103
|
from .pii_entity_replace import PiiEntityReplace
|
104
|
+
from .pii_model_details import PiiModelDetails
|
97
105
|
from .pre_deployed_language_models import PreDeployedLanguageModels
|
98
106
|
from .pre_trained_health_nlu_model_details import PreTrainedHealthNluModelDetails
|
99
107
|
from .pre_trained_key_phrase_extraction_model_details import PreTrainedKeyPhraseExtractionModelDetails
|
@@ -104,9 +112,13 @@ from .pre_trained_sentiment_analysis_model_details import PreTrainedSentimentAna
|
|
104
112
|
from .pre_trained_summarization import PreTrainedSummarization
|
105
113
|
from .pre_trained_text_classification_model_details import PreTrainedTextClassificationModelDetails
|
106
114
|
from .pre_trained_universal_model import PreTrainedUniversalModel
|
115
|
+
from .profile import Profile
|
107
116
|
from .project import Project
|
108
117
|
from .project_collection import ProjectCollection
|
109
118
|
from .project_summary import ProjectSummary
|
119
|
+
from .relation_entity import RelationEntity
|
120
|
+
from .resolved_entities import ResolvedEntities
|
121
|
+
from .resolved_entity import ResolvedEntity
|
110
122
|
from .sentiment_aspect import SentimentAspect
|
111
123
|
from .sentiment_document_result import SentimentDocumentResult
|
112
124
|
from .sentiment_sentence import SentimentSentence
|
@@ -135,8 +147,11 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
|
|
135
147
|
|
136
148
|
# Maps type names to classes for ai_language services.
|
137
149
|
ai_language_type_mapping = {
|
150
|
+
"AssertionDetails": AssertionDetails,
|
138
151
|
"BatchDetectDominantLanguageDetails": BatchDetectDominantLanguageDetails,
|
139
152
|
"BatchDetectDominantLanguageResult": BatchDetectDominantLanguageResult,
|
153
|
+
"BatchDetectHealthEntityDetails": BatchDetectHealthEntityDetails,
|
154
|
+
"BatchDetectHealthEntityResult": BatchDetectHealthEntityResult,
|
140
155
|
"BatchDetectLanguageEntitiesDetails": BatchDetectLanguageEntitiesDetails,
|
141
156
|
"BatchDetectLanguageEntitiesResult": BatchDetectLanguageEntitiesResult,
|
142
157
|
"BatchDetectLanguageKeyPhrasesDetails": BatchDetectLanguageKeyPhrasesDetails,
|
@@ -193,6 +208,8 @@ ai_language_type_mapping = {
|
|
193
208
|
"EvaluationResultCollection": EvaluationResultCollection,
|
194
209
|
"EvaluationResultSummary": EvaluationResultSummary,
|
195
210
|
"EvaluationResults": EvaluationResults,
|
211
|
+
"HealthEntity": HealthEntity,
|
212
|
+
"HealthEntityDocumentResult": HealthEntityDocumentResult,
|
196
213
|
"HierarchicalEntity": HierarchicalEntity,
|
197
214
|
"InputConfiguration": InputConfiguration,
|
198
215
|
"InputLocation": InputLocation,
|
@@ -202,6 +219,8 @@ ai_language_type_mapping = {
|
|
202
219
|
"KeyPhrase": KeyPhrase,
|
203
220
|
"KeyPhraseDocumentResult": KeyPhraseDocumentResult,
|
204
221
|
"LocationDetails": LocationDetails,
|
222
|
+
"MelConcept": MelConcept,
|
223
|
+
"MelConceptDetails": MelConceptDetails,
|
205
224
|
"Model": Model,
|
206
225
|
"ModelCollection": ModelCollection,
|
207
226
|
"ModelDetails": ModelDetails,
|
@@ -223,6 +242,7 @@ ai_language_type_mapping = {
|
|
223
242
|
"PiiEntityMasking": PiiEntityMasking,
|
224
243
|
"PiiEntityRemove": PiiEntityRemove,
|
225
244
|
"PiiEntityReplace": PiiEntityReplace,
|
245
|
+
"PiiModelDetails": PiiModelDetails,
|
226
246
|
"PreDeployedLanguageModels": PreDeployedLanguageModels,
|
227
247
|
"PreTrainedHealthNluModelDetails": PreTrainedHealthNluModelDetails,
|
228
248
|
"PreTrainedKeyPhraseExtractionModelDetails": PreTrainedKeyPhraseExtractionModelDetails,
|
@@ -233,9 +253,13 @@ ai_language_type_mapping = {
|
|
233
253
|
"PreTrainedSummarization": PreTrainedSummarization,
|
234
254
|
"PreTrainedTextClassificationModelDetails": PreTrainedTextClassificationModelDetails,
|
235
255
|
"PreTrainedUniversalModel": PreTrainedUniversalModel,
|
256
|
+
"Profile": Profile,
|
236
257
|
"Project": Project,
|
237
258
|
"ProjectCollection": ProjectCollection,
|
238
259
|
"ProjectSummary": ProjectSummary,
|
260
|
+
"RelationEntity": RelationEntity,
|
261
|
+
"ResolvedEntities": ResolvedEntities,
|
262
|
+
"ResolvedEntity": ResolvedEntity,
|
239
263
|
"SentimentAspect": SentimentAspect,
|
240
264
|
"SentimentDocumentResult": SentimentDocumentResult,
|
241
265
|
"SentimentSentence": SentimentSentence,
|