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
@@ -0,0 +1,351 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20221001
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class HealthEntity(object):
|
14
|
+
"""
|
15
|
+
Health entity object
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HealthEntity object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param offset:
|
24
|
+
The value to assign to the offset property of this HealthEntity.
|
25
|
+
:type offset: int
|
26
|
+
|
27
|
+
:param length:
|
28
|
+
The value to assign to the length property of this HealthEntity.
|
29
|
+
:type length: int
|
30
|
+
|
31
|
+
:param text:
|
32
|
+
The value to assign to the text property of this HealthEntity.
|
33
|
+
:type text: str
|
34
|
+
|
35
|
+
:param type:
|
36
|
+
The value to assign to the type property of this HealthEntity.
|
37
|
+
:type type: str
|
38
|
+
|
39
|
+
:param sub_type:
|
40
|
+
The value to assign to the sub_type property of this HealthEntity.
|
41
|
+
:type sub_type: str
|
42
|
+
|
43
|
+
:param score:
|
44
|
+
The value to assign to the score property of this HealthEntity.
|
45
|
+
:type score: float
|
46
|
+
|
47
|
+
:param category:
|
48
|
+
The value to assign to the category property of this HealthEntity.
|
49
|
+
:type category: str
|
50
|
+
|
51
|
+
:param id:
|
52
|
+
The value to assign to the id property of this HealthEntity.
|
53
|
+
:type id: str
|
54
|
+
|
55
|
+
:param assertions:
|
56
|
+
The value to assign to the assertions property of this HealthEntity.
|
57
|
+
:type assertions: list[oci.ai_language.models.AssertionDetails]
|
58
|
+
|
59
|
+
:param matched_concepts:
|
60
|
+
The value to assign to the matched_concepts property of this HealthEntity.
|
61
|
+
:type matched_concepts: list[oci.ai_language.models.MelConcept]
|
62
|
+
|
63
|
+
"""
|
64
|
+
self.swagger_types = {
|
65
|
+
'offset': 'int',
|
66
|
+
'length': 'int',
|
67
|
+
'text': 'str',
|
68
|
+
'type': 'str',
|
69
|
+
'sub_type': 'str',
|
70
|
+
'score': 'float',
|
71
|
+
'category': 'str',
|
72
|
+
'id': 'str',
|
73
|
+
'assertions': 'list[AssertionDetails]',
|
74
|
+
'matched_concepts': 'list[MelConcept]'
|
75
|
+
}
|
76
|
+
|
77
|
+
self.attribute_map = {
|
78
|
+
'offset': 'offset',
|
79
|
+
'length': 'length',
|
80
|
+
'text': 'text',
|
81
|
+
'type': 'type',
|
82
|
+
'sub_type': 'subType',
|
83
|
+
'score': 'score',
|
84
|
+
'category': 'category',
|
85
|
+
'id': 'id',
|
86
|
+
'assertions': 'assertions',
|
87
|
+
'matched_concepts': 'matchedConcepts'
|
88
|
+
}
|
89
|
+
|
90
|
+
self._offset = None
|
91
|
+
self._length = None
|
92
|
+
self._text = None
|
93
|
+
self._type = None
|
94
|
+
self._sub_type = None
|
95
|
+
self._score = None
|
96
|
+
self._category = None
|
97
|
+
self._id = None
|
98
|
+
self._assertions = None
|
99
|
+
self._matched_concepts = None
|
100
|
+
|
101
|
+
@property
|
102
|
+
def offset(self):
|
103
|
+
"""
|
104
|
+
**[Required]** Gets the offset of this HealthEntity.
|
105
|
+
The number of Unicode code points preceding this entity in the submitted text.
|
106
|
+
|
107
|
+
|
108
|
+
:return: The offset of this HealthEntity.
|
109
|
+
:rtype: int
|
110
|
+
"""
|
111
|
+
return self._offset
|
112
|
+
|
113
|
+
@offset.setter
|
114
|
+
def offset(self, offset):
|
115
|
+
"""
|
116
|
+
Sets the offset of this HealthEntity.
|
117
|
+
The number of Unicode code points preceding this entity in the submitted text.
|
118
|
+
|
119
|
+
|
120
|
+
:param offset: The offset of this HealthEntity.
|
121
|
+
:type: int
|
122
|
+
"""
|
123
|
+
self._offset = offset
|
124
|
+
|
125
|
+
@property
|
126
|
+
def length(self):
|
127
|
+
"""
|
128
|
+
**[Required]** Gets the length of this HealthEntity.
|
129
|
+
Length of entity text
|
130
|
+
|
131
|
+
|
132
|
+
:return: The length of this HealthEntity.
|
133
|
+
:rtype: int
|
134
|
+
"""
|
135
|
+
return self._length
|
136
|
+
|
137
|
+
@length.setter
|
138
|
+
def length(self, length):
|
139
|
+
"""
|
140
|
+
Sets the length of this HealthEntity.
|
141
|
+
Length of entity text
|
142
|
+
|
143
|
+
|
144
|
+
:param length: The length of this HealthEntity.
|
145
|
+
:type: int
|
146
|
+
"""
|
147
|
+
self._length = length
|
148
|
+
|
149
|
+
@property
|
150
|
+
def text(self):
|
151
|
+
"""
|
152
|
+
**[Required]** Gets the text of this HealthEntity.
|
153
|
+
Entity text like name of person, location, and so on.
|
154
|
+
|
155
|
+
|
156
|
+
:return: The text of this HealthEntity.
|
157
|
+
:rtype: str
|
158
|
+
"""
|
159
|
+
return self._text
|
160
|
+
|
161
|
+
@text.setter
|
162
|
+
def text(self, text):
|
163
|
+
"""
|
164
|
+
Sets the text of this HealthEntity.
|
165
|
+
Entity text like name of person, location, and so on.
|
166
|
+
|
167
|
+
|
168
|
+
:param text: The text of this HealthEntity.
|
169
|
+
:type: str
|
170
|
+
"""
|
171
|
+
self._text = text
|
172
|
+
|
173
|
+
@property
|
174
|
+
def type(self):
|
175
|
+
"""
|
176
|
+
**[Required]** Gets the type of this HealthEntity.
|
177
|
+
Type of entity text like PER, LOC.
|
178
|
+
|
179
|
+
|
180
|
+
:return: The type of this HealthEntity.
|
181
|
+
:rtype: str
|
182
|
+
"""
|
183
|
+
return self._type
|
184
|
+
|
185
|
+
@type.setter
|
186
|
+
def type(self, type):
|
187
|
+
"""
|
188
|
+
Sets the type of this HealthEntity.
|
189
|
+
Type of entity text like PER, LOC.
|
190
|
+
|
191
|
+
|
192
|
+
:param type: The type of this HealthEntity.
|
193
|
+
:type: str
|
194
|
+
"""
|
195
|
+
self._type = type
|
196
|
+
|
197
|
+
@property
|
198
|
+
def sub_type(self):
|
199
|
+
"""
|
200
|
+
Gets the sub_type of this HealthEntity.
|
201
|
+
Sub-type of entity text like GPE for LOCATION type
|
202
|
+
|
203
|
+
|
204
|
+
:return: The sub_type of this HealthEntity.
|
205
|
+
:rtype: str
|
206
|
+
"""
|
207
|
+
return self._sub_type
|
208
|
+
|
209
|
+
@sub_type.setter
|
210
|
+
def sub_type(self, sub_type):
|
211
|
+
"""
|
212
|
+
Sets the sub_type of this HealthEntity.
|
213
|
+
Sub-type of entity text like GPE for LOCATION type
|
214
|
+
|
215
|
+
|
216
|
+
:param sub_type: The sub_type of this HealthEntity.
|
217
|
+
:type: str
|
218
|
+
"""
|
219
|
+
self._sub_type = sub_type
|
220
|
+
|
221
|
+
@property
|
222
|
+
def score(self):
|
223
|
+
"""
|
224
|
+
**[Required]** Gets the score of this HealthEntity.
|
225
|
+
Score or confidence for detected entity.
|
226
|
+
|
227
|
+
|
228
|
+
:return: The score of this HealthEntity.
|
229
|
+
:rtype: float
|
230
|
+
"""
|
231
|
+
return self._score
|
232
|
+
|
233
|
+
@score.setter
|
234
|
+
def score(self, score):
|
235
|
+
"""
|
236
|
+
Sets the score of this HealthEntity.
|
237
|
+
Score or confidence for detected entity.
|
238
|
+
|
239
|
+
|
240
|
+
:param score: The score of this HealthEntity.
|
241
|
+
:type: float
|
242
|
+
"""
|
243
|
+
self._score = score
|
244
|
+
|
245
|
+
@property
|
246
|
+
def category(self):
|
247
|
+
"""
|
248
|
+
Gets the category of this HealthEntity.
|
249
|
+
Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMY
|
250
|
+
|
251
|
+
|
252
|
+
:return: The category of this HealthEntity.
|
253
|
+
:rtype: str
|
254
|
+
"""
|
255
|
+
return self._category
|
256
|
+
|
257
|
+
@category.setter
|
258
|
+
def category(self, category):
|
259
|
+
"""
|
260
|
+
Sets the category of this HealthEntity.
|
261
|
+
Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMY
|
262
|
+
|
263
|
+
|
264
|
+
:param category: The category of this HealthEntity.
|
265
|
+
:type: str
|
266
|
+
"""
|
267
|
+
self._category = category
|
268
|
+
|
269
|
+
@property
|
270
|
+
def id(self):
|
271
|
+
"""
|
272
|
+
**[Required]** Gets the id of this HealthEntity.
|
273
|
+
Unique id of the entity
|
274
|
+
|
275
|
+
|
276
|
+
:return: The id of this HealthEntity.
|
277
|
+
:rtype: str
|
278
|
+
"""
|
279
|
+
return self._id
|
280
|
+
|
281
|
+
@id.setter
|
282
|
+
def id(self, id):
|
283
|
+
"""
|
284
|
+
Sets the id of this HealthEntity.
|
285
|
+
Unique id of the entity
|
286
|
+
|
287
|
+
|
288
|
+
:param id: The id of this HealthEntity.
|
289
|
+
:type: str
|
290
|
+
"""
|
291
|
+
self._id = id
|
292
|
+
|
293
|
+
@property
|
294
|
+
def assertions(self):
|
295
|
+
"""
|
296
|
+
Gets the assertions of this HealthEntity.
|
297
|
+
list of all assertions associated with this entity.
|
298
|
+
|
299
|
+
|
300
|
+
:return: The assertions of this HealthEntity.
|
301
|
+
:rtype: list[oci.ai_language.models.AssertionDetails]
|
302
|
+
"""
|
303
|
+
return self._assertions
|
304
|
+
|
305
|
+
@assertions.setter
|
306
|
+
def assertions(self, assertions):
|
307
|
+
"""
|
308
|
+
Sets the assertions of this HealthEntity.
|
309
|
+
list of all assertions associated with this entity.
|
310
|
+
|
311
|
+
|
312
|
+
:param assertions: The assertions of this HealthEntity.
|
313
|
+
:type: list[oci.ai_language.models.AssertionDetails]
|
314
|
+
"""
|
315
|
+
self._assertions = assertions
|
316
|
+
|
317
|
+
@property
|
318
|
+
def matched_concepts(self):
|
319
|
+
"""
|
320
|
+
Gets the matched_concepts of this HealthEntity.
|
321
|
+
This contains the list of matched concepts which are ranked by the relevant score with the input text
|
322
|
+
|
323
|
+
|
324
|
+
:return: The matched_concepts of this HealthEntity.
|
325
|
+
:rtype: list[oci.ai_language.models.MelConcept]
|
326
|
+
"""
|
327
|
+
return self._matched_concepts
|
328
|
+
|
329
|
+
@matched_concepts.setter
|
330
|
+
def matched_concepts(self, matched_concepts):
|
331
|
+
"""
|
332
|
+
Sets the matched_concepts of this HealthEntity.
|
333
|
+
This contains the list of matched concepts which are ranked by the relevant score with the input text
|
334
|
+
|
335
|
+
|
336
|
+
:param matched_concepts: The matched_concepts of this HealthEntity.
|
337
|
+
:type: list[oci.ai_language.models.MelConcept]
|
338
|
+
"""
|
339
|
+
self._matched_concepts = matched_concepts
|
340
|
+
|
341
|
+
def __repr__(self):
|
342
|
+
return formatted_flat_dict(self)
|
343
|
+
|
344
|
+
def __eq__(self, other):
|
345
|
+
if other is None:
|
346
|
+
return False
|
347
|
+
|
348
|
+
return self.__dict__ == other.__dict__
|
349
|
+
|
350
|
+
def __ne__(self, other):
|
351
|
+
return not self == other
|
@@ -0,0 +1,200 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20221001
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class HealthEntityDocumentResult(object):
|
14
|
+
"""
|
15
|
+
The document response for health entity detect call.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HealthEntityDocumentResult object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param key:
|
24
|
+
The value to assign to the key property of this HealthEntityDocumentResult.
|
25
|
+
:type key: str
|
26
|
+
|
27
|
+
:param entities:
|
28
|
+
The value to assign to the entities property of this HealthEntityDocumentResult.
|
29
|
+
:type entities: list[oci.ai_language.models.HealthEntity]
|
30
|
+
|
31
|
+
:param relations:
|
32
|
+
The value to assign to the relations property of this HealthEntityDocumentResult.
|
33
|
+
:type relations: list[oci.ai_language.models.RelationEntity]
|
34
|
+
|
35
|
+
:param resolved_entities:
|
36
|
+
The value to assign to the resolved_entities property of this HealthEntityDocumentResult.
|
37
|
+
:type resolved_entities: dict(str, ResolvedEntities)
|
38
|
+
|
39
|
+
:param language_code:
|
40
|
+
The value to assign to the language_code property of this HealthEntityDocumentResult.
|
41
|
+
:type language_code: str
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'key': 'str',
|
46
|
+
'entities': 'list[HealthEntity]',
|
47
|
+
'relations': 'list[RelationEntity]',
|
48
|
+
'resolved_entities': 'dict(str, ResolvedEntities)',
|
49
|
+
'language_code': 'str'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'key': 'key',
|
54
|
+
'entities': 'entities',
|
55
|
+
'relations': 'relations',
|
56
|
+
'resolved_entities': 'resolvedEntities',
|
57
|
+
'language_code': 'languageCode'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._key = None
|
61
|
+
self._entities = None
|
62
|
+
self._relations = None
|
63
|
+
self._resolved_entities = None
|
64
|
+
self._language_code = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def key(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the key of this HealthEntityDocumentResult.
|
70
|
+
Document unique identifier defined by the user.
|
71
|
+
|
72
|
+
|
73
|
+
:return: The key of this HealthEntityDocumentResult.
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._key
|
77
|
+
|
78
|
+
@key.setter
|
79
|
+
def key(self, key):
|
80
|
+
"""
|
81
|
+
Sets the key of this HealthEntityDocumentResult.
|
82
|
+
Document unique identifier defined by the user.
|
83
|
+
|
84
|
+
|
85
|
+
:param key: The key of this HealthEntityDocumentResult.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
self._key = key
|
89
|
+
|
90
|
+
@property
|
91
|
+
def entities(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the entities of this HealthEntityDocumentResult.
|
94
|
+
List of detected entities.
|
95
|
+
|
96
|
+
|
97
|
+
:return: The entities of this HealthEntityDocumentResult.
|
98
|
+
:rtype: list[oci.ai_language.models.HealthEntity]
|
99
|
+
"""
|
100
|
+
return self._entities
|
101
|
+
|
102
|
+
@entities.setter
|
103
|
+
def entities(self, entities):
|
104
|
+
"""
|
105
|
+
Sets the entities of this HealthEntityDocumentResult.
|
106
|
+
List of detected entities.
|
107
|
+
|
108
|
+
|
109
|
+
:param entities: The entities of this HealthEntityDocumentResult.
|
110
|
+
:type: list[oci.ai_language.models.HealthEntity]
|
111
|
+
"""
|
112
|
+
self._entities = entities
|
113
|
+
|
114
|
+
@property
|
115
|
+
def relations(self):
|
116
|
+
"""
|
117
|
+
Gets the relations of this HealthEntityDocumentResult.
|
118
|
+
List of succeeded document response.
|
119
|
+
|
120
|
+
|
121
|
+
:return: The relations of this HealthEntityDocumentResult.
|
122
|
+
:rtype: list[oci.ai_language.models.RelationEntity]
|
123
|
+
"""
|
124
|
+
return self._relations
|
125
|
+
|
126
|
+
@relations.setter
|
127
|
+
def relations(self, relations):
|
128
|
+
"""
|
129
|
+
Sets the relations of this HealthEntityDocumentResult.
|
130
|
+
List of succeeded document response.
|
131
|
+
|
132
|
+
|
133
|
+
:param relations: The relations of this HealthEntityDocumentResult.
|
134
|
+
:type: list[oci.ai_language.models.RelationEntity]
|
135
|
+
"""
|
136
|
+
self._relations = relations
|
137
|
+
|
138
|
+
@property
|
139
|
+
def resolved_entities(self):
|
140
|
+
"""
|
141
|
+
**[Required]** Gets the resolved_entities of this HealthEntityDocumentResult.
|
142
|
+
Map of resolved entities by entity type
|
143
|
+
|
144
|
+
|
145
|
+
:return: The resolved_entities of this HealthEntityDocumentResult.
|
146
|
+
:rtype: dict(str, ResolvedEntities)
|
147
|
+
"""
|
148
|
+
return self._resolved_entities
|
149
|
+
|
150
|
+
@resolved_entities.setter
|
151
|
+
def resolved_entities(self, resolved_entities):
|
152
|
+
"""
|
153
|
+
Sets the resolved_entities of this HealthEntityDocumentResult.
|
154
|
+
Map of resolved entities by entity type
|
155
|
+
|
156
|
+
|
157
|
+
:param resolved_entities: The resolved_entities of this HealthEntityDocumentResult.
|
158
|
+
:type: dict(str, ResolvedEntities)
|
159
|
+
"""
|
160
|
+
self._resolved_entities = resolved_entities
|
161
|
+
|
162
|
+
@property
|
163
|
+
def language_code(self):
|
164
|
+
"""
|
165
|
+
**[Required]** Gets the language_code of this HealthEntityDocumentResult.
|
166
|
+
Language code of the document. Please refer to respective model `API documentation`__ for supported languages.
|
167
|
+
|
168
|
+
__ https://docs.cloud.oracle.com/iaas/language/using/overview.htm
|
169
|
+
|
170
|
+
|
171
|
+
:return: The language_code of this HealthEntityDocumentResult.
|
172
|
+
:rtype: str
|
173
|
+
"""
|
174
|
+
return self._language_code
|
175
|
+
|
176
|
+
@language_code.setter
|
177
|
+
def language_code(self, language_code):
|
178
|
+
"""
|
179
|
+
Sets the language_code of this HealthEntityDocumentResult.
|
180
|
+
Language code of the document. Please refer to respective model `API documentation`__ for supported languages.
|
181
|
+
|
182
|
+
__ https://docs.cloud.oracle.com/iaas/language/using/overview.htm
|
183
|
+
|
184
|
+
|
185
|
+
:param language_code: The language_code of this HealthEntityDocumentResult.
|
186
|
+
:type: str
|
187
|
+
"""
|
188
|
+
self._language_code = language_code
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
return formatted_flat_dict(self)
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
if other is None:
|
195
|
+
return False
|
196
|
+
|
197
|
+
return self.__dict__ == other.__dict__
|
198
|
+
|
199
|
+
def __ne__(self, other):
|
200
|
+
return not self == other
|
@@ -13,8 +13,9 @@ from oci.decorators import init_model_state_from_kwargs
|
|
13
13
|
class InputLocation(object):
|
14
14
|
"""
|
15
15
|
document location and other meta data about documents
|
16
|
-
For TXT
|
16
|
+
For TXT only ObjectStoragePrefixLocation supported
|
17
17
|
For CSV only ObjectStorageFileNameLocation is supported
|
18
|
+
For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
|
18
19
|
"""
|
19
20
|
|
20
21
|
#: A constant which can be used with the location_type property of a InputLocation.
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20221001
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class MelConcept(object):
|
14
|
+
"""
|
15
|
+
The MEL concepts details for health ner.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new MelConcept object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param ontology_name:
|
24
|
+
The value to assign to the ontology_name property of this MelConcept.
|
25
|
+
:type ontology_name: str
|
26
|
+
|
27
|
+
:param concepts:
|
28
|
+
The value to assign to the concepts property of this MelConcept.
|
29
|
+
:type concepts: list[oci.ai_language.models.MelConceptDetails]
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'ontology_name': 'str',
|
34
|
+
'concepts': 'list[MelConceptDetails]'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'ontology_name': 'ontologyName',
|
39
|
+
'concepts': 'concepts'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._ontology_name = None
|
43
|
+
self._concepts = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def ontology_name(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the ontology_name of this MelConcept.
|
49
|
+
Name of the ontology to which the Entity is mapped
|
50
|
+
|
51
|
+
|
52
|
+
:return: The ontology_name of this MelConcept.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._ontology_name
|
56
|
+
|
57
|
+
@ontology_name.setter
|
58
|
+
def ontology_name(self, ontology_name):
|
59
|
+
"""
|
60
|
+
Sets the ontology_name of this MelConcept.
|
61
|
+
Name of the ontology to which the Entity is mapped
|
62
|
+
|
63
|
+
|
64
|
+
:param ontology_name: The ontology_name of this MelConcept.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._ontology_name = ontology_name
|
68
|
+
|
69
|
+
@property
|
70
|
+
def concepts(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the concepts of this MelConcept.
|
73
|
+
This contains the list of matched concepts which are ranked by the relevant score with the input text
|
74
|
+
|
75
|
+
|
76
|
+
:return: The concepts of this MelConcept.
|
77
|
+
:rtype: list[oci.ai_language.models.MelConceptDetails]
|
78
|
+
"""
|
79
|
+
return self._concepts
|
80
|
+
|
81
|
+
@concepts.setter
|
82
|
+
def concepts(self, concepts):
|
83
|
+
"""
|
84
|
+
Sets the concepts of this MelConcept.
|
85
|
+
This contains the list of matched concepts which are ranked by the relevant score with the input text
|
86
|
+
|
87
|
+
|
88
|
+
:param concepts: The concepts of this MelConcept.
|
89
|
+
:type: list[oci.ai_language.models.MelConceptDetails]
|
90
|
+
"""
|
91
|
+
self._concepts = concepts
|
92
|
+
|
93
|
+
def __repr__(self):
|
94
|
+
return formatted_flat_dict(self)
|
95
|
+
|
96
|
+
def __eq__(self, other):
|
97
|
+
if other is None:
|
98
|
+
return False
|
99
|
+
|
100
|
+
return self.__dict__ == other.__dict__
|
101
|
+
|
102
|
+
def __ne__(self, other):
|
103
|
+
return not self == other
|