oci 2.125.1__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 +36 -36
- 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 +52 -46
- oci/data_flow/models/sql_endpoint.py +42 -3
- oci/data_flow/models/sql_endpoint_summary.py +11 -3
- 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 +2 -2
- 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/models/__init__.py +2 -0
- oci/network_load_balancer/models/backend_set.py +64 -0
- oci/network_load_balancer/models/backend_set_details.py +64 -0
- oci/network_load_balancer/models/backend_set_summary.py +64 -0
- oci/network_load_balancer/models/create_backend_set_details.py +64 -0
- oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
- oci/network_load_balancer/models/health_checker.py +36 -5
- oci/network_load_balancer/models/health_checker_details.py +36 -5
- oci/network_load_balancer/models/update_backend_set_details.py +64 -0
- oci/network_load_balancer/models/update_health_checker_details.py +36 -5
- 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/regions_definitions.py +5 -0
- 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/models/associated_monitored_resource.py +118 -0
- oci/stack_monitoring/models/associated_resources_summary.py +118 -0
- oci/stack_monitoring/models/create_monitored_resource_type_details.py +118 -0
- oci/stack_monitoring/models/discovery_job_log_summary.py +35 -2
- oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +301 -0
- oci/stack_monitoring/models/monitored_resource.py +118 -0
- oci/stack_monitoring/models/monitored_resource_member_summary.py +118 -0
- oci/stack_monitoring/models/monitored_resource_summary.py +118 -0
- oci/stack_monitoring/models/monitored_resource_type.py +118 -0
- oci/stack_monitoring/models/monitored_resource_type_summary.py +118 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +184 -0
- oci/stack_monitoring/models/update_monitored_resource_type_details.py +118 -0
- oci/stack_monitoring/stack_monitoring_client.py +79 -65
- 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.1.dist-info → oci-2.125.3.dist-info}/METADATA +1 -1
- {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/RECORD +358 -318
- {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/WHEEL +0 -0
- {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,165 @@
|
|
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 MelConceptDetails(object):
|
14
|
+
"""
|
15
|
+
The MEL concepts details for health ner.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new MelConceptDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param id:
|
24
|
+
The value to assign to the id property of this MelConceptDetails.
|
25
|
+
:type id: str
|
26
|
+
|
27
|
+
:param name:
|
28
|
+
The value to assign to the name property of this MelConceptDetails.
|
29
|
+
:type name: str
|
30
|
+
|
31
|
+
:param score:
|
32
|
+
The value to assign to the score property of this MelConceptDetails.
|
33
|
+
:type score: float
|
34
|
+
|
35
|
+
:param attributes:
|
36
|
+
The value to assign to the attributes property of this MelConceptDetails.
|
37
|
+
:type attributes: dict(str, str)
|
38
|
+
|
39
|
+
"""
|
40
|
+
self.swagger_types = {
|
41
|
+
'id': 'str',
|
42
|
+
'name': 'str',
|
43
|
+
'score': 'float',
|
44
|
+
'attributes': 'dict(str, str)'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'id': 'id',
|
49
|
+
'name': 'name',
|
50
|
+
'score': 'score',
|
51
|
+
'attributes': 'attributes'
|
52
|
+
}
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._name = None
|
56
|
+
self._score = None
|
57
|
+
self._attributes = None
|
58
|
+
|
59
|
+
@property
|
60
|
+
def id(self):
|
61
|
+
"""
|
62
|
+
**[Required]** Gets the id of this MelConceptDetails.
|
63
|
+
id of the relation
|
64
|
+
|
65
|
+
|
66
|
+
:return: The id of this MelConceptDetails.
|
67
|
+
:rtype: str
|
68
|
+
"""
|
69
|
+
return self._id
|
70
|
+
|
71
|
+
@id.setter
|
72
|
+
def id(self, id):
|
73
|
+
"""
|
74
|
+
Sets the id of this MelConceptDetails.
|
75
|
+
id of the relation
|
76
|
+
|
77
|
+
|
78
|
+
:param id: The id of this MelConceptDetails.
|
79
|
+
:type: str
|
80
|
+
"""
|
81
|
+
self._id = id
|
82
|
+
|
83
|
+
@property
|
84
|
+
def name(self):
|
85
|
+
"""
|
86
|
+
**[Required]** Gets the name of this MelConceptDetails.
|
87
|
+
The matched concept name/description on the ontology
|
88
|
+
|
89
|
+
|
90
|
+
:return: The name of this MelConceptDetails.
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._name
|
94
|
+
|
95
|
+
@name.setter
|
96
|
+
def name(self, name):
|
97
|
+
"""
|
98
|
+
Sets the name of this MelConceptDetails.
|
99
|
+
The matched concept name/description on the ontology
|
100
|
+
|
101
|
+
|
102
|
+
:param name: The name of this MelConceptDetails.
|
103
|
+
:type: str
|
104
|
+
"""
|
105
|
+
self._name = name
|
106
|
+
|
107
|
+
@property
|
108
|
+
def score(self):
|
109
|
+
"""
|
110
|
+
**[Required]** Gets the score of this MelConceptDetails.
|
111
|
+
The relevant score between the concept and the input text
|
112
|
+
|
113
|
+
|
114
|
+
:return: The score of this MelConceptDetails.
|
115
|
+
:rtype: float
|
116
|
+
"""
|
117
|
+
return self._score
|
118
|
+
|
119
|
+
@score.setter
|
120
|
+
def score(self, score):
|
121
|
+
"""
|
122
|
+
Sets the score of this MelConceptDetails.
|
123
|
+
The relevant score between the concept and the input text
|
124
|
+
|
125
|
+
|
126
|
+
:param score: The score of this MelConceptDetails.
|
127
|
+
:type: float
|
128
|
+
"""
|
129
|
+
self._score = score
|
130
|
+
|
131
|
+
@property
|
132
|
+
def attributes(self):
|
133
|
+
"""
|
134
|
+
Gets the attributes of this MelConceptDetails.
|
135
|
+
additional attribute values specific to ontology for ex. for SNOMED semantic_type and for for ICD-10 default_charge_code etc.
|
136
|
+
|
137
|
+
|
138
|
+
:return: The attributes of this MelConceptDetails.
|
139
|
+
:rtype: dict(str, str)
|
140
|
+
"""
|
141
|
+
return self._attributes
|
142
|
+
|
143
|
+
@attributes.setter
|
144
|
+
def attributes(self, attributes):
|
145
|
+
"""
|
146
|
+
Sets the attributes of this MelConceptDetails.
|
147
|
+
additional attribute values specific to ontology for ex. for SNOMED semantic_type and for for ICD-10 default_charge_code etc.
|
148
|
+
|
149
|
+
|
150
|
+
:param attributes: The attributes of this MelConceptDetails.
|
151
|
+
:type: dict(str, str)
|
152
|
+
"""
|
153
|
+
self._attributes = attributes
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
return formatted_flat_dict(self)
|
157
|
+
|
158
|
+
def __eq__(self, other):
|
159
|
+
if other is None:
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
return not self == other
|
@@ -63,6 +63,10 @@ class ModelDetails(object):
|
|
63
63
|
#: This constant has a value of "PRE_TRAINED_UNIVERSAL"
|
64
64
|
MODEL_TYPE_PRE_TRAINED_UNIVERSAL = "PRE_TRAINED_UNIVERSAL"
|
65
65
|
|
66
|
+
#: A constant which can be used with the model_type property of a ModelDetails.
|
67
|
+
#: This constant has a value of "PII"
|
68
|
+
MODEL_TYPE_PII = "PII"
|
69
|
+
|
66
70
|
def __init__(self, **kwargs):
|
67
71
|
"""
|
68
72
|
Initializes a new ModelDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -72,6 +76,7 @@ class ModelDetails(object):
|
|
72
76
|
* :class:`~oci.ai_language.models.PreTrainedHealthNluModelDetails`
|
73
77
|
* :class:`~oci.ai_language.models.PreTrainedUniversalModel`
|
74
78
|
* :class:`~oci.ai_language.models.NamedEntityRecognitionModelDetails`
|
79
|
+
* :class:`~oci.ai_language.models.PiiModelDetails`
|
75
80
|
* :class:`~oci.ai_language.models.PreTrainedLanguageDetectionModelDetails`
|
76
81
|
* :class:`~oci.ai_language.models.PreTrainedNamedEntityRecognitionModelDetails`
|
77
82
|
* :class:`~oci.ai_language.models.PreTrainedSentimentAnalysisModelDetails`
|
@@ -88,7 +93,7 @@ class ModelDetails(object):
|
|
88
93
|
|
89
94
|
:param model_type:
|
90
95
|
The value to assign to the model_type property of this ModelDetails.
|
91
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", 'UNKNOWN_ENUM_VALUE'.
|
96
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII", 'UNKNOWN_ENUM_VALUE'.
|
92
97
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
93
98
|
:type model_type: str
|
94
99
|
|
@@ -126,6 +131,9 @@ class ModelDetails(object):
|
|
126
131
|
if type == 'NAMED_ENTITY_RECOGNITION':
|
127
132
|
return 'NamedEntityRecognitionModelDetails'
|
128
133
|
|
134
|
+
if type == 'PII':
|
135
|
+
return 'PiiModelDetails'
|
136
|
+
|
129
137
|
if type == 'PRE_TRAINED_LANGUAGE_DETECTION':
|
130
138
|
return 'PreTrainedLanguageDetectionModelDetails'
|
131
139
|
|
@@ -179,7 +187,7 @@ class ModelDetails(object):
|
|
179
187
|
**[Required]** Gets the model_type of this ModelDetails.
|
180
188
|
Model type
|
181
189
|
|
182
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", 'UNKNOWN_ENUM_VALUE'.
|
190
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII", 'UNKNOWN_ENUM_VALUE'.
|
183
191
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
184
192
|
|
185
193
|
|
@@ -198,7 +206,7 @@ class ModelDetails(object):
|
|
198
206
|
:param model_type: The model_type of this ModelDetails.
|
199
207
|
:type: str
|
200
208
|
"""
|
201
|
-
allowed_values = ["NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"]
|
209
|
+
allowed_values = ["NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"]
|
202
210
|
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
|
203
211
|
model_type = 'UNKNOWN_ENUM_VALUE'
|
204
212
|
self._model_type = model_type
|
@@ -27,7 +27,7 @@ class NamedEntityRecognitionModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this NamedEntityRecognitionModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -20,6 +20,10 @@ class PiiEntity(object):
|
|
20
20
|
Initializes a new PiiEntity object with values from keyword arguments.
|
21
21
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
22
|
|
23
|
+
:param id:
|
24
|
+
The value to assign to the id property of this PiiEntity.
|
25
|
+
:type id: str
|
26
|
+
|
23
27
|
:param offset:
|
24
28
|
The value to assign to the offset property of this PiiEntity.
|
25
29
|
:type offset: int
|
@@ -42,6 +46,7 @@ class PiiEntity(object):
|
|
42
46
|
|
43
47
|
"""
|
44
48
|
self.swagger_types = {
|
49
|
+
'id': 'str',
|
45
50
|
'offset': 'int',
|
46
51
|
'length': 'int',
|
47
52
|
'text': 'str',
|
@@ -50,6 +55,7 @@ class PiiEntity(object):
|
|
50
55
|
}
|
51
56
|
|
52
57
|
self.attribute_map = {
|
58
|
+
'id': 'id',
|
53
59
|
'offset': 'offset',
|
54
60
|
'length': 'length',
|
55
61
|
'text': 'text',
|
@@ -57,16 +63,41 @@ class PiiEntity(object):
|
|
57
63
|
'score': 'score'
|
58
64
|
}
|
59
65
|
|
66
|
+
self._id = None
|
60
67
|
self._offset = None
|
61
68
|
self._length = None
|
62
69
|
self._text = None
|
63
70
|
self._type = None
|
64
71
|
self._score = None
|
65
72
|
|
73
|
+
@property
|
74
|
+
def id(self):
|
75
|
+
"""
|
76
|
+
Gets the id of this PiiEntity.
|
77
|
+
Unique id of the entity.
|
78
|
+
|
79
|
+
|
80
|
+
:return: The id of this PiiEntity.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._id
|
84
|
+
|
85
|
+
@id.setter
|
86
|
+
def id(self, id):
|
87
|
+
"""
|
88
|
+
Sets the id of this PiiEntity.
|
89
|
+
Unique id of the entity.
|
90
|
+
|
91
|
+
|
92
|
+
:param id: The id of this PiiEntity.
|
93
|
+
:type: str
|
94
|
+
"""
|
95
|
+
self._id = id
|
96
|
+
|
66
97
|
@property
|
67
98
|
def offset(self):
|
68
99
|
"""
|
69
|
-
Gets the offset of this PiiEntity.
|
100
|
+
**[Required]** Gets the offset of this PiiEntity.
|
70
101
|
The number of Unicode code points preceding this entity in the submitted text.
|
71
102
|
|
72
103
|
|
@@ -90,7 +121,7 @@ class PiiEntity(object):
|
|
90
121
|
@property
|
91
122
|
def length(self):
|
92
123
|
"""
|
93
|
-
Gets the length of this PiiEntity.
|
124
|
+
**[Required]** Gets the length of this PiiEntity.
|
94
125
|
Length of PII entity text.
|
95
126
|
|
96
127
|
|
@@ -114,7 +145,7 @@ class PiiEntity(object):
|
|
114
145
|
@property
|
115
146
|
def text(self):
|
116
147
|
"""
|
117
|
-
Gets the text of this PiiEntity.
|
148
|
+
**[Required]** Gets the text of this PiiEntity.
|
118
149
|
Entity text like name of person, Organization and so on.
|
119
150
|
|
120
151
|
|
@@ -138,8 +169,48 @@ class PiiEntity(object):
|
|
138
169
|
@property
|
139
170
|
def type(self):
|
140
171
|
"""
|
141
|
-
Gets the type of this PiiEntity.
|
142
|
-
|
172
|
+
**[Required]** Gets the type of this PiiEntity.
|
173
|
+
Entity type supported
|
174
|
+
PERSON
|
175
|
+
ADDRESS
|
176
|
+
AGE
|
177
|
+
DATE_TIME
|
178
|
+
SSN_OR_TAXPAYER
|
179
|
+
EMAIL
|
180
|
+
PASSPORT_NUMBER_US
|
181
|
+
TELEPHONE_NUMBER
|
182
|
+
DRIVER_ID_US
|
183
|
+
BANK_ACCOUNT_NUMBER
|
184
|
+
BANK_SWIFT
|
185
|
+
BANK_ROUTING
|
186
|
+
CREDIT_DEBIT_NUMBER
|
187
|
+
IP_ADDRESS
|
188
|
+
MAC_ADDRESS
|
189
|
+
COOKIE
|
190
|
+
XSRF_TOKEN
|
191
|
+
AUTH_BASIC
|
192
|
+
AUTH_BEARER
|
193
|
+
JSON_WEB_TOKEN
|
194
|
+
PRIVATE_KEY
|
195
|
+
PUBLIC_KEY
|
196
|
+
OCI_OCID_USER
|
197
|
+
OCI_OCID_TENANCY
|
198
|
+
OCI_SMTP_USERNAME
|
199
|
+
OCI_OCID_REFERENCE
|
200
|
+
OCI_FINGERPRINT
|
201
|
+
OCI_CREDENTIAL
|
202
|
+
OCI_PRE_AUTH_REQUEST
|
203
|
+
OCI_STORAGE_SIGNED_URL
|
204
|
+
OCI_CUSTOMER_SECRET_KEY
|
205
|
+
OCI_ACCESS_KEy
|
206
|
+
MEDICAL_RECORD_NUMBER
|
207
|
+
HEALTH_PLAN_ID
|
208
|
+
URL
|
209
|
+
CERTIFICATE_NUMBER
|
210
|
+
FIN
|
211
|
+
GUIDs
|
212
|
+
VEHICLE_LICENSE_PLATE_US
|
213
|
+
VEHICLE_IDENTIFIER_US
|
143
214
|
|
144
215
|
|
145
216
|
:return: The type of this PiiEntity.
|
@@ -151,7 +222,47 @@ class PiiEntity(object):
|
|
151
222
|
def type(self, type):
|
152
223
|
"""
|
153
224
|
Sets the type of this PiiEntity.
|
154
|
-
|
225
|
+
Entity type supported
|
226
|
+
PERSON
|
227
|
+
ADDRESS
|
228
|
+
AGE
|
229
|
+
DATE_TIME
|
230
|
+
SSN_OR_TAXPAYER
|
231
|
+
EMAIL
|
232
|
+
PASSPORT_NUMBER_US
|
233
|
+
TELEPHONE_NUMBER
|
234
|
+
DRIVER_ID_US
|
235
|
+
BANK_ACCOUNT_NUMBER
|
236
|
+
BANK_SWIFT
|
237
|
+
BANK_ROUTING
|
238
|
+
CREDIT_DEBIT_NUMBER
|
239
|
+
IP_ADDRESS
|
240
|
+
MAC_ADDRESS
|
241
|
+
COOKIE
|
242
|
+
XSRF_TOKEN
|
243
|
+
AUTH_BASIC
|
244
|
+
AUTH_BEARER
|
245
|
+
JSON_WEB_TOKEN
|
246
|
+
PRIVATE_KEY
|
247
|
+
PUBLIC_KEY
|
248
|
+
OCI_OCID_USER
|
249
|
+
OCI_OCID_TENANCY
|
250
|
+
OCI_SMTP_USERNAME
|
251
|
+
OCI_OCID_REFERENCE
|
252
|
+
OCI_FINGERPRINT
|
253
|
+
OCI_CREDENTIAL
|
254
|
+
OCI_PRE_AUTH_REQUEST
|
255
|
+
OCI_STORAGE_SIGNED_URL
|
256
|
+
OCI_CUSTOMER_SECRET_KEY
|
257
|
+
OCI_ACCESS_KEy
|
258
|
+
MEDICAL_RECORD_NUMBER
|
259
|
+
HEALTH_PLAN_ID
|
260
|
+
URL
|
261
|
+
CERTIFICATE_NUMBER
|
262
|
+
FIN
|
263
|
+
GUIDs
|
264
|
+
VEHICLE_LICENSE_PLATE_US
|
265
|
+
VEHICLE_IDENTIFIER_US
|
155
266
|
|
156
267
|
|
157
268
|
:param type: The type of this PiiEntity.
|
@@ -162,7 +273,7 @@ class PiiEntity(object):
|
|
162
273
|
@property
|
163
274
|
def score(self):
|
164
275
|
"""
|
165
|
-
Gets the score of this PiiEntity.
|
276
|
+
**[Required]** Gets the score of this PiiEntity.
|
166
277
|
Score or confidence for detected PII entity.
|
167
278
|
|
168
279
|
|
@@ -0,0 +1,91 @@
|
|
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
|
+
from .model_details import ModelDetails
|
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 PiiModelDetails(ModelDetails):
|
14
|
+
"""
|
15
|
+
Possible Custom PII model information
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new PiiModelDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.PiiModelDetails.model_type` attribute
|
21
|
+
of this class is ``PII`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param language_code:
|
25
|
+
The value to assign to the language_code property of this PiiModelDetails.
|
26
|
+
:type language_code: str
|
27
|
+
|
28
|
+
:param model_type:
|
29
|
+
The value to assign to the model_type property of this PiiModelDetails.
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
|
+
:type model_type: str
|
32
|
+
|
33
|
+
:param version:
|
34
|
+
The value to assign to the version property of this PiiModelDetails.
|
35
|
+
:type version: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'language_code': 'str',
|
40
|
+
'model_type': 'str',
|
41
|
+
'version': 'str'
|
42
|
+
}
|
43
|
+
|
44
|
+
self.attribute_map = {
|
45
|
+
'language_code': 'languageCode',
|
46
|
+
'model_type': 'modelType',
|
47
|
+
'version': 'version'
|
48
|
+
}
|
49
|
+
|
50
|
+
self._language_code = None
|
51
|
+
self._model_type = None
|
52
|
+
self._version = None
|
53
|
+
self._model_type = 'PII'
|
54
|
+
|
55
|
+
@property
|
56
|
+
def version(self):
|
57
|
+
"""
|
58
|
+
Gets the version of this PiiModelDetails.
|
59
|
+
Optional pre trained model version. if nothing specified latest pre trained model will be used.
|
60
|
+
Supported versions can be found at /modelTypes/{modelType}
|
61
|
+
|
62
|
+
|
63
|
+
:return: The version of this PiiModelDetails.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._version
|
67
|
+
|
68
|
+
@version.setter
|
69
|
+
def version(self, version):
|
70
|
+
"""
|
71
|
+
Sets the version of this PiiModelDetails.
|
72
|
+
Optional pre trained model version. if nothing specified latest pre trained model will be used.
|
73
|
+
Supported versions can be found at /modelTypes/{modelType}
|
74
|
+
|
75
|
+
|
76
|
+
:param version: The version of this PiiModelDetails.
|
77
|
+
:type: str
|
78
|
+
"""
|
79
|
+
self._version = version
|
80
|
+
|
81
|
+
def __repr__(self):
|
82
|
+
return formatted_flat_dict(self)
|
83
|
+
|
84
|
+
def __eq__(self, other):
|
85
|
+
if other is None:
|
86
|
+
return False
|
87
|
+
|
88
|
+
return self.__dict__ == other.__dict__
|
89
|
+
|
90
|
+
def __ne__(self, other):
|
91
|
+
return not self == other
|
@@ -27,7 +27,7 @@ class PreTrainedHealthNluModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedHealthNluModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedKeyPhraseExtractionModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedKeyPhraseExtractionModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedLanguageDetectionModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedLanguageDetectionModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedNamedEntityRecognitionModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedNamedEntityRecognitionModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedPiiModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedPiiModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedSentimentAnalysisModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedSentimentAnalysisModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedSummarization(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedSummarization.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedTextClassificationModelDetails(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedTextClassificationModelDetails.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|
@@ -27,7 +27,7 @@ class PreTrainedUniversalModel(ModelDetails):
|
|
27
27
|
|
28
28
|
:param model_type:
|
29
29
|
The value to assign to the model_type property of this PreTrainedUniversalModel.
|
30
|
-
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL"
|
30
|
+
Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII"
|
31
31
|
:type model_type: str
|
32
32
|
|
33
33
|
:param version:
|