oci 2.143.0__py3-none-any.whl → 2.144.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- 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/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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- 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 +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- 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 +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +256 -256
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- 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 +3284 -1447
- oci/data_safe/data_safe_client_composite_operations.py +224 -0
- oci/data_safe/models/__init__.py +30 -4
- oci/data_safe/models/alert.py +0 -2
- oci/data_safe/models/alert_policy.py +0 -2
- oci/data_safe/models/alert_policy_summary.py +0 -2
- oci/data_safe/models/alert_summary.py +0 -2
- oci/data_safe/models/audit_archive_retrieval.py +0 -2
- oci/data_safe/models/audit_archive_retrieval_summary.py +0 -2
- oci/data_safe/models/audit_event_summary.py +0 -2
- oci/data_safe/models/audit_policy.py +0 -2
- oci/data_safe/models/audit_policy_summary.py +0 -2
- oci/data_safe/models/audit_profile.py +2 -4
- oci/data_safe/models/audit_profile_summary.py +2 -4
- oci/data_safe/models/audit_trail.py +0 -2
- oci/data_safe/models/audit_trail_summary.py +0 -2
- oci/data_safe/models/change_retention_details.py +2 -2
- oci/data_safe/models/change_sensitive_types_export_compartment_details.py +72 -0
- oci/data_safe/models/column_filter.py +11 -3
- oci/data_safe/models/columns_info.py +243 -0
- oci/data_safe/models/create_alert_policy_details.py +0 -2
- oci/data_safe/models/create_audit_archive_retrieval_details.py +0 -2
- oci/data_safe/models/create_data_safe_private_endpoint_details.py +0 -2
- oci/data_safe/models/create_discovery_job_details.py +0 -2
- oci/data_safe/models/create_library_masking_format_details.py +0 -2
- oci/data_safe/models/create_masking_policy_details.py +0 -2
- oci/data_safe/models/create_on_prem_connector_details.py +0 -2
- oci/data_safe/models/create_referential_relation_details.py +185 -0
- oci/data_safe/models/create_report_definition_details.py +0 -2
- oci/data_safe/models/create_sdm_masking_policy_difference_details.py +0 -2
- oci/data_safe/models/create_security_assessment_details.py +1 -3
- oci/data_safe/models/create_sensitive_data_model_details.py +0 -2
- oci/data_safe/models/create_sensitive_type_details.py +0 -2
- oci/data_safe/models/create_sensitive_types_export_details.py +277 -0
- oci/data_safe/models/create_sql_collection_details.py +0 -2
- oci/data_safe/models/create_target_alert_policy_association_details.py +0 -2
- oci/data_safe/models/create_target_database_details.py +0 -2
- oci/data_safe/models/create_user_assessment_details.py +0 -2
- oci/data_safe/models/data_safe_configuration.py +0 -2
- oci/data_safe/models/data_safe_private_endpoint.py +0 -2
- oci/data_safe/models/data_safe_private_endpoint_summary.py +0 -2
- oci/data_safe/models/database_security_config.py +0 -2
- oci/data_safe/models/database_security_config_summary.py +0 -2
- oci/data_safe/models/discovery_job.py +0 -2
- oci/data_safe/models/discovery_job_summary.py +0 -2
- oci/data_safe/models/download_sensitive_types_export_details.py +84 -0
- oci/data_safe/models/generate_health_report_details.py +0 -2
- oci/data_safe/models/library_masking_format.py +0 -2
- oci/data_safe/models/library_masking_format_summary.py +0 -2
- oci/data_safe/models/masking_analytics_dimensions.py +2 -2
- oci/data_safe/models/masking_policy.py +0 -2
- oci/data_safe/models/masking_policy_columns_info.py +177 -0
- oci/data_safe/models/masking_policy_health_report.py +62 -2
- oci/data_safe/models/masking_policy_health_report_log_summary.py +125 -2
- oci/data_safe/models/masking_policy_health_report_summary.py +62 -2
- oci/data_safe/models/masking_policy_referential_relation_collection.py +72 -0
- oci/data_safe/models/masking_policy_referential_relation_summary.py +211 -0
- oci/data_safe/models/masking_policy_summary.py +0 -2
- oci/data_safe/models/on_prem_connector.py +0 -2
- oci/data_safe/models/on_prem_connector_summary.py +0 -2
- oci/data_safe/models/profile.py +0 -2
- oci/data_safe/models/profile_aggregation.py +4 -4
- oci/data_safe/models/profile_summary.py +0 -2
- oci/data_safe/models/referential_relation.py +303 -0
- oci/data_safe/models/referential_relation_collection.py +72 -0
- oci/data_safe/models/referential_relation_summary.py +303 -0
- oci/data_safe/models/regular_expression_format_entry.py +2 -4
- oci/data_safe/models/report.py +0 -2
- oci/data_safe/models/report_definition.py +0 -2
- oci/data_safe/models/report_definition_summary.py +0 -2
- oci/data_safe/models/report_summary.py +0 -2
- oci/data_safe/models/run_security_assessment_details.py +0 -2
- oci/data_safe/models/run_user_assessment_details.py +0 -2
- oci/data_safe/models/sdm_masking_policy_difference.py +0 -2
- oci/data_safe/models/sdm_masking_policy_difference_summary.py +0 -2
- oci/data_safe/models/security_assessment.py +0 -2
- oci/data_safe/models/security_assessment_summary.py +0 -2
- oci/data_safe/models/security_feature_summary.py +0 -2
- oci/data_safe/models/security_policy.py +0 -2
- oci/data_safe/models/security_policy_deployment.py +0 -2
- oci/data_safe/models/security_policy_deployment_summary.py +0 -2
- oci/data_safe/models/security_policy_report.py +0 -2
- oci/data_safe/models/security_policy_report_summary.py +0 -2
- oci/data_safe/models/security_policy_summary.py +0 -2
- oci/data_safe/models/sensitive_data_model.py +0 -2
- oci/data_safe/models/sensitive_data_model_summary.py +0 -2
- oci/data_safe/models/sensitive_type.py +0 -2
- oci/data_safe/models/sensitive_type_summary.py +0 -2
- oci/data_safe/models/sensitive_types_export.py +471 -0
- oci/data_safe/models/sensitive_types_export_collection.py +72 -0
- oci/data_safe/models/sensitive_types_export_summary.py +374 -0
- oci/data_safe/models/sql_collection.py +0 -2
- oci/data_safe/models/sql_collection_summary.py +0 -2
- oci/data_safe/models/sql_firewall_allowed_sql.py +0 -2
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +0 -2
- oci/data_safe/models/sql_firewall_policy.py +0 -2
- oci/data_safe/models/sql_firewall_policy_summary.py +0 -2
- oci/data_safe/models/target_alert_policy_association.py +0 -2
- oci/data_safe/models/target_alert_policy_association_summary.py +0 -2
- oci/data_safe/models/target_database.py +0 -2
- oci/data_safe/models/target_database_summary.py +0 -2
- oci/data_safe/models/update_alert_details.py +0 -2
- oci/data_safe/models/update_alert_policy_details.py +0 -2
- oci/data_safe/models/update_audit_archive_retrieval_details.py +0 -2
- oci/data_safe/models/update_audit_policy_details.py +0 -2
- oci/data_safe/models/update_audit_profile_details.py +2 -4
- oci/data_safe/models/update_audit_trail_details.py +2 -4
- oci/data_safe/models/update_data_safe_private_endpoint_details.py +0 -2
- oci/data_safe/models/update_database_security_config_details.py +0 -2
- oci/data_safe/models/update_library_masking_format_details.py +0 -2
- oci/data_safe/models/update_masking_policy_details.py +0 -2
- oci/data_safe/models/update_on_prem_connector_details.py +0 -2
- oci/data_safe/models/update_report_definition_details.py +0 -2
- oci/data_safe/models/update_report_details.py +0 -2
- oci/data_safe/models/update_sdm_masking_policy_difference_details.py +0 -2
- oci/data_safe/models/update_security_assessment_details.py +0 -2
- oci/data_safe/models/update_security_policy_deployment_details.py +0 -2
- oci/data_safe/models/update_security_policy_details.py +0 -2
- oci/data_safe/models/update_sensitive_data_model_details.py +0 -2
- oci/data_safe/models/update_sensitive_type_details.py +0 -2
- oci/data_safe/models/{create_audit_policy_details.py → update_sensitive_types_export_details.py} +27 -91
- oci/data_safe/models/update_sql_collection_details.py +0 -2
- oci/data_safe/models/update_sql_firewall_policy_details.py +0 -2
- oci/data_safe/models/update_target_alert_policy_association_details.py +0 -2
- oci/data_safe/models/update_target_database_details.py +0 -2
- oci/data_safe/models/update_user_assessment_details.py +0 -2
- oci/data_safe/models/user_aggregation.py +4 -2
- oci/data_safe/models/user_assessment.py +0 -2
- oci/data_safe/models/user_assessment_summary.py +0 -2
- oci/data_safe/models/user_summary.py +37 -1
- oci/data_safe/models/work_request.py +15 -3
- oci/data_safe/models/work_request_summary.py +15 -3
- oci/data_science/data_science_client.py +1264 -173
- oci/data_science/data_science_client_composite_operations.py +248 -0
- oci/data_science/models/__init__.py +51 -1
- oci/data_science/models/change_schedule_compartment_details.py +78 -0
- oci/data_science/models/container_summary.py +516 -0
- oci/data_science/models/create_job_run_schedule_action_details.py +78 -0
- oci/data_science/models/create_pipeline_run_schedule_action_details.py +78 -0
- oci/data_science/models/create_schedule_details.py +328 -0
- oci/data_science/models/generic_job_run_use_case_configuration_details.py +82 -0
- oci/data_science/models/invoke_ml_application_provider_trigger_schedule_action_details.py +113 -0
- oci/data_science/models/job_run_use_case_configuration_details.py +101 -0
- oci/data_science/models/job_run_workload_configuration_details.py +78 -0
- oci/data_science/models/model_deploy_workload_configuration_details.py +191 -0
- oci/data_science/models/schedule.py +706 -0
- oci/data_science/models/schedule_action.py +101 -0
- oci/data_science/models/schedule_cron_trigger.py +96 -0
- oci/data_science/models/schedule_http_action.py +78 -0
- oci/data_science/models/schedule_http_action_details.py +117 -0
- oci/data_science/models/schedule_i_cal_trigger.py +96 -0
- oci/data_science/models/schedule_interval_trigger.py +177 -0
- oci/data_science/models/schedule_log_details.py +111 -0
- oci/data_science/models/schedule_summary.py +485 -0
- oci/data_science/models/schedule_trigger.py +191 -0
- oci/data_science/models/tag_configuration.py +103 -0
- oci/data_science/models/trigger_ml_application_instance_view_flow_details.py +103 -0
- oci/data_science/models/trigger_parameter.py +103 -0
- oci/data_science/models/update_schedule_details.py +258 -0
- oci/data_science/models/work_request.py +27 -3
- oci/data_science/models/work_request_summary.py +27 -3
- oci/data_science/models/workload_configuration_details.py +109 -0
- oci/database/database_client.py +409 -404
- oci/database/models/cloud_exadata_infrastructure.py +111 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +111 -2
- oci/database/models/cloud_vm_cluster.py +49 -2
- oci/database/models/cloud_vm_cluster_summary.py +49 -2
- oci/database/models/create_cloud_exadata_infrastructure_details.py +64 -2
- oci/database/models/create_exadata_infrastructure_details.py +62 -0
- oci/database/models/db_server.py +49 -2
- oci/database/models/db_server_summary.py +49 -2
- oci/database/models/db_system_shape_summary.py +109 -0
- oci/database/models/exadata_infrastructure.py +118 -5
- oci/database/models/exadata_infrastructure_summary.py +118 -5
- oci/database/models/flex_component_summary.py +235 -2
- oci/database/models/update_exadata_infrastructure_details.py +7 -3
- oci/database/models/vm_cluster.py +49 -2
- oci/database/models/vm_cluster_summary.py +49 -2
- oci/database_management/db_management_client.py +2738 -600
- oci/database_management/db_management_client_composite_operations.py +301 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +275 -7
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/alert_log_summary.py +14 -6
- oci/database_management/models/attention_log_summary.py +14 -6
- oci/database_management/models/awr_db_snapshot_range_summary.py +93 -0
- oci/database_management/models/awr_db_summary.py +93 -0
- oci/database_management/models/base_database_ha_details.py +540 -0
- oci/database_management/models/create_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/create_external_my_sql_database_details.py +103 -0
- oci/database_management/models/create_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/database_backup_metrics.py +722 -0
- oci/database_management/models/database_backup_summary.py +263 -0
- oci/database_management/models/database_fleet_backup_metrics.py +72 -0
- oci/database_management/models/database_fleet_dataguard_metrics.py +72 -0
- oci/database_management/models/database_fleet_ha_overview_metrics.py +72 -0
- oci/database_management/models/database_ha_backup_details.py +722 -0
- oci/database_management/models/database_ha_metrics.py +629 -0
- oci/database_management/models/dataguard_metrics.py +664 -0
- oci/database_management/models/disable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/enable_external_database_management_details.py +72 -0
- oci/database_management/models/enable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +108 -0
- oci/database_management/models/external_my_sql_database.py +181 -0
- oci/database_management/models/external_my_sql_database_collection.py +72 -0
- oci/database_management/models/external_my_sql_database_connector.py +761 -0
- oci/database_management/models/external_my_sql_database_summary.py +365 -0
- oci/database_management/models/ha_metric_definition.py +202 -0
- oci/database_management/models/managed_my_sql_database.py +192 -2
- oci/database_management/models/managed_my_sql_database_summary.py +161 -2
- oci/database_management/models/my_sql_connector_collection.py +72 -0
- oci/database_management/models/my_sql_data_summary.py +93 -0
- oci/database_management/models/my_sql_database_connector_summary.py +711 -0
- oci/database_management/models/stand_by_database_dataguard_metrics.py +294 -0
- oci/database_management/models/update_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/update_external_my_sql_database_details.py +72 -0
- oci/database_management/models/update_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/work_request.py +23 -3
- oci/database_management/models/work_request_summary.py +23 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +48 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/create_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +292 -0
- oci/disaster_recovery/models/create_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/create_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/dr_plan_step.py +67 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +67 -3
- oci/disaster_recovery/models/dr_protection_group_member.py +11 -3
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_oke_cluster.py +351 -0
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
- oci/disaster_recovery/models/oke_backup_location.py +146 -0
- oci/disaster_recovery/models/oke_cluster_backup_config.py +234 -0
- oci/disaster_recovery/models/oke_cluster_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_managed_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/oke_cluster_network_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_vault_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_virtual_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/update_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_backup_config_details.py +236 -0
- oci/disaster_recovery/models/update_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/update_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/dns/dns_client.py +54 -54
- 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_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +103 -4
- oci/generative_ai_inference/models/__init__.py +28 -0
- oci/generative_ai_inference/models/assistant_message.py +34 -3
- oci/generative_ai_inference/models/cohere_chat_request.py +2 -2
- oci/generative_ai_inference/models/document.py +72 -0
- oci/generative_ai_inference/models/document_rank.py +130 -0
- oci/generative_ai_inference/models/embed_text_details.py +9 -5
- oci/generative_ai_inference/models/function_call.py +120 -0
- oci/generative_ai_inference/models/function_definition.py +144 -0
- oci/generative_ai_inference/models/generic_chat_request.py +91 -2
- oci/generative_ai_inference/models/image_url.py +21 -5
- oci/generative_ai_inference/models/message.py +11 -3
- oci/generative_ai_inference/models/rerank_text_details.py +254 -0
- oci/generative_ai_inference/models/rerank_text_result.py +165 -0
- oci/generative_ai_inference/models/system_message.py +1 -1
- oci/generative_ai_inference/models/tool_call.py +132 -0
- oci/generative_ai_inference/models/tool_choice.py +125 -0
- oci/generative_ai_inference/models/tool_choice_auto.py +51 -0
- oci/generative_ai_inference/models/tool_choice_function.py +82 -0
- oci/generative_ai_inference/models/tool_choice_none.py +51 -0
- oci/generative_ai_inference/models/tool_choice_required.py +51 -0
- oci/generative_ai_inference/models/tool_definition.py +101 -0
- oci/generative_ai_inference/models/tool_message.py +89 -0
- oci/generative_ai_inference/models/user_message.py +1 -1
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- 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 +24 -24
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- 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 +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +6 -0
- oci/mysql/models/create_db_system_details.py +111 -2
- oci/mysql/models/create_read_endpoint_details.py +183 -0
- oci/mysql/models/db_system.py +145 -2
- oci/mysql/models/db_system_endpoint.py +7 -3
- oci/mysql/models/db_system_snapshot.py +29 -2
- oci/mysql/models/db_system_summary.py +113 -2
- oci/mysql/models/read_endpoint_details.py +183 -0
- oci/mysql/models/update_db_system_details.py +111 -2
- oci/mysql/models/update_read_endpoint_details.py +183 -0
- 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 +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- 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/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- 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/models/__init__.py +14 -0
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/change_external_mysql_database_insight_connection_details.py +76 -0
- oci/opsi/models/create_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_external_mysql_database_insight_details.py +142 -0
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_news_report_details.py +99 -5
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_external_mysql_database_insight_details.py +86 -0
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/external_mysql_database_configuration_summary.py +226 -0
- oci/opsi/models/external_mysql_database_insight.py +248 -0
- oci/opsi/models/external_mysql_database_insight_summary.py +280 -0
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/news_content_types.py +33 -2
- oci/opsi/models/news_report.py +99 -5
- oci/opsi/models/news_report_summary.py +99 -5
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/summarize_exadata_insight_resource_utilization_insight_aggregation.py +62 -0
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_external_mysql_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_news_report_details.py +99 -5
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/vm_cluster_summary.py +8 -8
- oci/opsi/models/work_request.py +7 -3
- oci/opsi/operations_insights_client.py +332 -202
- oci/opsi/operations_insights_client_composite_operations.py +42 -0
- 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/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- 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 +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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/security_attribute/security_attribute_client.py +18 -18
- 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/discovery_details.py +19 -3
- oci/stack_monitoring/models/discovery_job_summary.py +19 -3
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- 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/models/assigned_subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +35 -2
- oci/tenant_manager_control_plane/models/available_region_summary.py +35 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription.py +57 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py +64 -2
- oci/tenant_manager_control_plane/models/classic_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +33 -2
- oci/tenant_manager_control_plane/models/link_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_summary.py +37 -4
- oci/tenant_manager_control_plane/models/work_request.py +23 -3
- oci/tenant_manager_control_plane/models/work_request_summary.py +23 -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/usageapi_client.py +33 -33
- 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 +14 -14
- 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/zpr/zpr_client.py +15 -15
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/METADATA +1 -1
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/RECORD +643 -530
- oci/data_safe/models/create_audit_profile_details.py +0 -278
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/WHEEL +0 -0
- {oci-2.143.0.dist-info → oci-2.144.0.dist-info}/top_level.txt +0 -0
@@ -38,6 +38,10 @@ class GenericChatRequest(BaseChatRequest):
|
|
38
38
|
The value to assign to the num_generations property of this GenericChatRequest.
|
39
39
|
:type num_generations: int
|
40
40
|
|
41
|
+
:param seed:
|
42
|
+
The value to assign to the seed property of this GenericChatRequest.
|
43
|
+
:type seed: int
|
44
|
+
|
41
45
|
:param is_echo:
|
42
46
|
The value to assign to the is_echo property of this GenericChatRequest.
|
43
47
|
:type is_echo: bool
|
@@ -78,12 +82,21 @@ class GenericChatRequest(BaseChatRequest):
|
|
78
82
|
The value to assign to the logit_bias property of this GenericChatRequest.
|
79
83
|
:type logit_bias: object
|
80
84
|
|
85
|
+
:param tool_choice:
|
86
|
+
The value to assign to the tool_choice property of this GenericChatRequest.
|
87
|
+
:type tool_choice: oci.generative_ai_inference.models.ToolChoice
|
88
|
+
|
89
|
+
:param tools:
|
90
|
+
The value to assign to the tools property of this GenericChatRequest.
|
91
|
+
:type tools: list[oci.generative_ai_inference.models.ToolDefinition]
|
92
|
+
|
81
93
|
"""
|
82
94
|
self.swagger_types = {
|
83
95
|
'api_format': 'str',
|
84
96
|
'messages': 'list[Message]',
|
85
97
|
'is_stream': 'bool',
|
86
98
|
'num_generations': 'int',
|
99
|
+
'seed': 'int',
|
87
100
|
'is_echo': 'bool',
|
88
101
|
'top_k': 'int',
|
89
102
|
'top_p': 'float',
|
@@ -93,7 +106,9 @@ class GenericChatRequest(BaseChatRequest):
|
|
93
106
|
'stop': 'list[str]',
|
94
107
|
'log_probs': 'int',
|
95
108
|
'max_tokens': 'int',
|
96
|
-
'logit_bias': 'object'
|
109
|
+
'logit_bias': 'object',
|
110
|
+
'tool_choice': 'ToolChoice',
|
111
|
+
'tools': 'list[ToolDefinition]'
|
97
112
|
}
|
98
113
|
|
99
114
|
self.attribute_map = {
|
@@ -101,6 +116,7 @@ class GenericChatRequest(BaseChatRequest):
|
|
101
116
|
'messages': 'messages',
|
102
117
|
'is_stream': 'isStream',
|
103
118
|
'num_generations': 'numGenerations',
|
119
|
+
'seed': 'seed',
|
104
120
|
'is_echo': 'isEcho',
|
105
121
|
'top_k': 'topK',
|
106
122
|
'top_p': 'topP',
|
@@ -110,13 +126,16 @@ class GenericChatRequest(BaseChatRequest):
|
|
110
126
|
'stop': 'stop',
|
111
127
|
'log_probs': 'logProbs',
|
112
128
|
'max_tokens': 'maxTokens',
|
113
|
-
'logit_bias': 'logitBias'
|
129
|
+
'logit_bias': 'logitBias',
|
130
|
+
'tool_choice': 'toolChoice',
|
131
|
+
'tools': 'tools'
|
114
132
|
}
|
115
133
|
|
116
134
|
self._api_format = None
|
117
135
|
self._messages = None
|
118
136
|
self._is_stream = None
|
119
137
|
self._num_generations = None
|
138
|
+
self._seed = None
|
120
139
|
self._is_echo = None
|
121
140
|
self._top_k = None
|
122
141
|
self._top_p = None
|
@@ -127,6 +146,8 @@ class GenericChatRequest(BaseChatRequest):
|
|
127
146
|
self._log_probs = None
|
128
147
|
self._max_tokens = None
|
129
148
|
self._logit_bias = None
|
149
|
+
self._tool_choice = None
|
150
|
+
self._tools = None
|
130
151
|
self._api_format = 'GENERIC'
|
131
152
|
|
132
153
|
@property
|
@@ -201,6 +222,30 @@ class GenericChatRequest(BaseChatRequest):
|
|
201
222
|
"""
|
202
223
|
self._num_generations = num_generations
|
203
224
|
|
225
|
+
@property
|
226
|
+
def seed(self):
|
227
|
+
"""
|
228
|
+
Gets the seed of this GenericChatRequest.
|
229
|
+
If specified, the backend will make a best effort to sample tokens deterministically, so that repeated requests with the same seed and parameters yield the same result. However, determinism cannot be fully guaranteed.
|
230
|
+
|
231
|
+
|
232
|
+
:return: The seed of this GenericChatRequest.
|
233
|
+
:rtype: int
|
234
|
+
"""
|
235
|
+
return self._seed
|
236
|
+
|
237
|
+
@seed.setter
|
238
|
+
def seed(self, seed):
|
239
|
+
"""
|
240
|
+
Sets the seed of this GenericChatRequest.
|
241
|
+
If specified, the backend will make a best effort to sample tokens deterministically, so that repeated requests with the same seed and parameters yield the same result. However, determinism cannot be fully guaranteed.
|
242
|
+
|
243
|
+
|
244
|
+
:param seed: The seed of this GenericChatRequest.
|
245
|
+
:type: int
|
246
|
+
"""
|
247
|
+
self._seed = seed
|
248
|
+
|
204
249
|
@property
|
205
250
|
def is_echo(self):
|
206
251
|
"""
|
@@ -467,6 +512,50 @@ class GenericChatRequest(BaseChatRequest):
|
|
467
512
|
"""
|
468
513
|
self._logit_bias = logit_bias
|
469
514
|
|
515
|
+
@property
|
516
|
+
def tool_choice(self):
|
517
|
+
"""
|
518
|
+
Gets the tool_choice of this GenericChatRequest.
|
519
|
+
|
520
|
+
:return: The tool_choice of this GenericChatRequest.
|
521
|
+
:rtype: oci.generative_ai_inference.models.ToolChoice
|
522
|
+
"""
|
523
|
+
return self._tool_choice
|
524
|
+
|
525
|
+
@tool_choice.setter
|
526
|
+
def tool_choice(self, tool_choice):
|
527
|
+
"""
|
528
|
+
Sets the tool_choice of this GenericChatRequest.
|
529
|
+
|
530
|
+
:param tool_choice: The tool_choice of this GenericChatRequest.
|
531
|
+
:type: oci.generative_ai_inference.models.ToolChoice
|
532
|
+
"""
|
533
|
+
self._tool_choice = tool_choice
|
534
|
+
|
535
|
+
@property
|
536
|
+
def tools(self):
|
537
|
+
"""
|
538
|
+
Gets the tools of this GenericChatRequest.
|
539
|
+
A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.
|
540
|
+
|
541
|
+
|
542
|
+
:return: The tools of this GenericChatRequest.
|
543
|
+
:rtype: list[oci.generative_ai_inference.models.ToolDefinition]
|
544
|
+
"""
|
545
|
+
return self._tools
|
546
|
+
|
547
|
+
@tools.setter
|
548
|
+
def tools(self, tools):
|
549
|
+
"""
|
550
|
+
Sets the tools of this GenericChatRequest.
|
551
|
+
A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.
|
552
|
+
|
553
|
+
|
554
|
+
:param tools: The tools of this GenericChatRequest.
|
555
|
+
:type: list[oci.generative_ai_inference.models.ToolDefinition]
|
556
|
+
"""
|
557
|
+
self._tools = tools
|
558
|
+
|
470
559
|
def __repr__(self):
|
471
560
|
return formatted_flat_dict(self)
|
472
561
|
|
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
|
|
12
12
|
@init_model_state_from_kwargs
|
13
13
|
class ImageUrl(object):
|
14
14
|
"""
|
15
|
-
|
15
|
+
Provide a base64 encoded image.
|
16
16
|
"""
|
17
17
|
|
18
18
|
#: A constant which can be used with the detail property of a ImageUrl.
|
@@ -60,7 +60,15 @@ class ImageUrl(object):
|
|
60
60
|
def url(self):
|
61
61
|
"""
|
62
62
|
**[Required]** Gets the url of this ImageUrl.
|
63
|
-
The
|
63
|
+
The base64 encoded image data.
|
64
|
+
|
65
|
+
Example for a png image:
|
66
|
+
`{
|
67
|
+
\"type\": \"IMAGE\",
|
68
|
+
\"imageUrl\": {
|
69
|
+
\"url\": \"data:image/png;base64,<base64 encoded image content>\"
|
70
|
+
}
|
71
|
+
}`
|
64
72
|
|
65
73
|
|
66
74
|
:return: The url of this ImageUrl.
|
@@ -72,7 +80,15 @@ class ImageUrl(object):
|
|
72
80
|
def url(self, url):
|
73
81
|
"""
|
74
82
|
Sets the url of this ImageUrl.
|
75
|
-
The
|
83
|
+
The base64 encoded image data.
|
84
|
+
|
85
|
+
Example for a png image:
|
86
|
+
`{
|
87
|
+
\"type\": \"IMAGE\",
|
88
|
+
\"imageUrl\": {
|
89
|
+
\"url\": \"data:image/png;base64,<base64 encoded image content>\"
|
90
|
+
}
|
91
|
+
}`
|
76
92
|
|
77
93
|
|
78
94
|
:param url: The url of this ImageUrl.
|
@@ -84,7 +100,7 @@ class ImageUrl(object):
|
|
84
100
|
def detail(self):
|
85
101
|
"""
|
86
102
|
Gets the detail of this ImageUrl.
|
87
|
-
The
|
103
|
+
The default value is AUTO and only AUTO is supported. This option controls how to convert the base64 encoded image to tokens.
|
88
104
|
|
89
105
|
Allowed values for this property are: "AUTO", "HIGH", "LOW", 'UNKNOWN_ENUM_VALUE'.
|
90
106
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
@@ -99,7 +115,7 @@ class ImageUrl(object):
|
|
99
115
|
def detail(self, detail):
|
100
116
|
"""
|
101
117
|
Sets the detail of this ImageUrl.
|
102
|
-
The
|
118
|
+
The default value is AUTO and only AUTO is supported. This option controls how to convert the base64 encoded image to tokens.
|
103
119
|
|
104
120
|
|
105
121
|
:param detail: The detail of this ImageUrl.
|
@@ -27,6 +27,10 @@ class Message(object):
|
|
27
27
|
#: This constant has a value of "ASSISTANT"
|
28
28
|
ROLE_ASSISTANT = "ASSISTANT"
|
29
29
|
|
30
|
+
#: A constant which can be used with the role property of a Message.
|
31
|
+
#: This constant has a value of "TOOL"
|
32
|
+
ROLE_TOOL = "TOOL"
|
33
|
+
|
30
34
|
def __init__(self, **kwargs):
|
31
35
|
"""
|
32
36
|
Initializes a new Message object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -35,12 +39,13 @@ class Message(object):
|
|
35
39
|
* :class:`~oci.generative_ai_inference.models.SystemMessage`
|
36
40
|
* :class:`~oci.generative_ai_inference.models.AssistantMessage`
|
37
41
|
* :class:`~oci.generative_ai_inference.models.UserMessage`
|
42
|
+
* :class:`~oci.generative_ai_inference.models.ToolMessage`
|
38
43
|
|
39
44
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
40
45
|
|
41
46
|
:param role:
|
42
47
|
The value to assign to the role property of this Message.
|
43
|
-
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", 'UNKNOWN_ENUM_VALUE'.
|
48
|
+
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", "TOOL", 'UNKNOWN_ENUM_VALUE'.
|
44
49
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
45
50
|
:type role: str
|
46
51
|
|
@@ -78,6 +83,9 @@ class Message(object):
|
|
78
83
|
|
79
84
|
if type == 'USER':
|
80
85
|
return 'UserMessage'
|
86
|
+
|
87
|
+
if type == 'TOOL':
|
88
|
+
return 'ToolMessage'
|
81
89
|
else:
|
82
90
|
return 'Message'
|
83
91
|
|
@@ -87,7 +95,7 @@ class Message(object):
|
|
87
95
|
**[Required]** Gets the role of this Message.
|
88
96
|
Indicates who is writing the current chat message.
|
89
97
|
|
90
|
-
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", 'UNKNOWN_ENUM_VALUE'.
|
98
|
+
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", "TOOL", 'UNKNOWN_ENUM_VALUE'.
|
91
99
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
92
100
|
|
93
101
|
|
@@ -106,7 +114,7 @@ class Message(object):
|
|
106
114
|
:param role: The role of this Message.
|
107
115
|
:type: str
|
108
116
|
"""
|
109
|
-
allowed_values = ["SYSTEM", "USER", "ASSISTANT"]
|
117
|
+
allowed_values = ["SYSTEM", "USER", "ASSISTANT", "TOOL"]
|
110
118
|
if not value_allowed_none_or_none_sentinel(role, allowed_values):
|
111
119
|
role = 'UNKNOWN_ENUM_VALUE'
|
112
120
|
self._role = role
|
@@ -0,0 +1,254 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20231130
|
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 RerankTextDetails(object):
|
14
|
+
"""
|
15
|
+
Details required for a rerank request.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RerankTextDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param input:
|
24
|
+
The value to assign to the input property of this RerankTextDetails.
|
25
|
+
:type input: str
|
26
|
+
|
27
|
+
:param compartment_id:
|
28
|
+
The value to assign to the compartment_id property of this RerankTextDetails.
|
29
|
+
:type compartment_id: str
|
30
|
+
|
31
|
+
:param serving_mode:
|
32
|
+
The value to assign to the serving_mode property of this RerankTextDetails.
|
33
|
+
:type serving_mode: oci.generative_ai_inference.models.ServingMode
|
34
|
+
|
35
|
+
:param documents:
|
36
|
+
The value to assign to the documents property of this RerankTextDetails.
|
37
|
+
:type documents: list[str]
|
38
|
+
|
39
|
+
:param top_n:
|
40
|
+
The value to assign to the top_n property of this RerankTextDetails.
|
41
|
+
:type top_n: int
|
42
|
+
|
43
|
+
:param is_echo:
|
44
|
+
The value to assign to the is_echo property of this RerankTextDetails.
|
45
|
+
:type is_echo: bool
|
46
|
+
|
47
|
+
:param max_chunks_per_document:
|
48
|
+
The value to assign to the max_chunks_per_document property of this RerankTextDetails.
|
49
|
+
:type max_chunks_per_document: int
|
50
|
+
|
51
|
+
"""
|
52
|
+
self.swagger_types = {
|
53
|
+
'input': 'str',
|
54
|
+
'compartment_id': 'str',
|
55
|
+
'serving_mode': 'ServingMode',
|
56
|
+
'documents': 'list[str]',
|
57
|
+
'top_n': 'int',
|
58
|
+
'is_echo': 'bool',
|
59
|
+
'max_chunks_per_document': 'int'
|
60
|
+
}
|
61
|
+
|
62
|
+
self.attribute_map = {
|
63
|
+
'input': 'input',
|
64
|
+
'compartment_id': 'compartmentId',
|
65
|
+
'serving_mode': 'servingMode',
|
66
|
+
'documents': 'documents',
|
67
|
+
'top_n': 'topN',
|
68
|
+
'is_echo': 'isEcho',
|
69
|
+
'max_chunks_per_document': 'maxChunksPerDocument'
|
70
|
+
}
|
71
|
+
|
72
|
+
self._input = None
|
73
|
+
self._compartment_id = None
|
74
|
+
self._serving_mode = None
|
75
|
+
self._documents = None
|
76
|
+
self._top_n = None
|
77
|
+
self._is_echo = None
|
78
|
+
self._max_chunks_per_document = None
|
79
|
+
|
80
|
+
@property
|
81
|
+
def input(self):
|
82
|
+
"""
|
83
|
+
**[Required]** Gets the input of this RerankTextDetails.
|
84
|
+
Input query for search in the documents.
|
85
|
+
|
86
|
+
|
87
|
+
:return: The input of this RerankTextDetails.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._input
|
91
|
+
|
92
|
+
@input.setter
|
93
|
+
def input(self, input):
|
94
|
+
"""
|
95
|
+
Sets the input of this RerankTextDetails.
|
96
|
+
Input query for search in the documents.
|
97
|
+
|
98
|
+
|
99
|
+
:param input: The input of this RerankTextDetails.
|
100
|
+
:type: str
|
101
|
+
"""
|
102
|
+
self._input = input
|
103
|
+
|
104
|
+
@property
|
105
|
+
def compartment_id(self):
|
106
|
+
"""
|
107
|
+
**[Required]** Gets the compartment_id of this RerankTextDetails.
|
108
|
+
The OCID of the compartment to call into the Generative AI service LLMs.
|
109
|
+
|
110
|
+
|
111
|
+
:return: The compartment_id of this RerankTextDetails.
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._compartment_id
|
115
|
+
|
116
|
+
@compartment_id.setter
|
117
|
+
def compartment_id(self, compartment_id):
|
118
|
+
"""
|
119
|
+
Sets the compartment_id of this RerankTextDetails.
|
120
|
+
The OCID of the compartment to call into the Generative AI service LLMs.
|
121
|
+
|
122
|
+
|
123
|
+
:param compartment_id: The compartment_id of this RerankTextDetails.
|
124
|
+
:type: str
|
125
|
+
"""
|
126
|
+
self._compartment_id = compartment_id
|
127
|
+
|
128
|
+
@property
|
129
|
+
def serving_mode(self):
|
130
|
+
"""
|
131
|
+
**[Required]** Gets the serving_mode of this RerankTextDetails.
|
132
|
+
|
133
|
+
:return: The serving_mode of this RerankTextDetails.
|
134
|
+
:rtype: oci.generative_ai_inference.models.ServingMode
|
135
|
+
"""
|
136
|
+
return self._serving_mode
|
137
|
+
|
138
|
+
@serving_mode.setter
|
139
|
+
def serving_mode(self, serving_mode):
|
140
|
+
"""
|
141
|
+
Sets the serving_mode of this RerankTextDetails.
|
142
|
+
|
143
|
+
:param serving_mode: The serving_mode of this RerankTextDetails.
|
144
|
+
:type: oci.generative_ai_inference.models.ServingMode
|
145
|
+
"""
|
146
|
+
self._serving_mode = serving_mode
|
147
|
+
|
148
|
+
@property
|
149
|
+
def documents(self):
|
150
|
+
"""
|
151
|
+
**[Required]** Gets the documents of this RerankTextDetails.
|
152
|
+
A list of document strings to rerank based on the query asked.
|
153
|
+
|
154
|
+
|
155
|
+
:return: The documents of this RerankTextDetails.
|
156
|
+
:rtype: list[str]
|
157
|
+
"""
|
158
|
+
return self._documents
|
159
|
+
|
160
|
+
@documents.setter
|
161
|
+
def documents(self, documents):
|
162
|
+
"""
|
163
|
+
Sets the documents of this RerankTextDetails.
|
164
|
+
A list of document strings to rerank based on the query asked.
|
165
|
+
|
166
|
+
|
167
|
+
:param documents: The documents of this RerankTextDetails.
|
168
|
+
:type: list[str]
|
169
|
+
"""
|
170
|
+
self._documents = documents
|
171
|
+
|
172
|
+
@property
|
173
|
+
def top_n(self):
|
174
|
+
"""
|
175
|
+
Gets the top_n of this RerankTextDetails.
|
176
|
+
The number of most relevant documents or indices to return. Defaults to the length of the documents.
|
177
|
+
|
178
|
+
|
179
|
+
:return: The top_n of this RerankTextDetails.
|
180
|
+
:rtype: int
|
181
|
+
"""
|
182
|
+
return self._top_n
|
183
|
+
|
184
|
+
@top_n.setter
|
185
|
+
def top_n(self, top_n):
|
186
|
+
"""
|
187
|
+
Sets the top_n of this RerankTextDetails.
|
188
|
+
The number of most relevant documents or indices to return. Defaults to the length of the documents.
|
189
|
+
|
190
|
+
|
191
|
+
:param top_n: The top_n of this RerankTextDetails.
|
192
|
+
:type: int
|
193
|
+
"""
|
194
|
+
self._top_n = top_n
|
195
|
+
|
196
|
+
@property
|
197
|
+
def is_echo(self):
|
198
|
+
"""
|
199
|
+
Gets the is_echo of this RerankTextDetails.
|
200
|
+
Whether or not to return the documents in the response.
|
201
|
+
|
202
|
+
|
203
|
+
:return: The is_echo of this RerankTextDetails.
|
204
|
+
:rtype: bool
|
205
|
+
"""
|
206
|
+
return self._is_echo
|
207
|
+
|
208
|
+
@is_echo.setter
|
209
|
+
def is_echo(self, is_echo):
|
210
|
+
"""
|
211
|
+
Sets the is_echo of this RerankTextDetails.
|
212
|
+
Whether or not to return the documents in the response.
|
213
|
+
|
214
|
+
|
215
|
+
:param is_echo: The is_echo of this RerankTextDetails.
|
216
|
+
:type: bool
|
217
|
+
"""
|
218
|
+
self._is_echo = is_echo
|
219
|
+
|
220
|
+
@property
|
221
|
+
def max_chunks_per_document(self):
|
222
|
+
"""
|
223
|
+
Gets the max_chunks_per_document of this RerankTextDetails.
|
224
|
+
The maximum number of chunks to produce internally from a document.
|
225
|
+
|
226
|
+
|
227
|
+
:return: The max_chunks_per_document of this RerankTextDetails.
|
228
|
+
:rtype: int
|
229
|
+
"""
|
230
|
+
return self._max_chunks_per_document
|
231
|
+
|
232
|
+
@max_chunks_per_document.setter
|
233
|
+
def max_chunks_per_document(self, max_chunks_per_document):
|
234
|
+
"""
|
235
|
+
Sets the max_chunks_per_document of this RerankTextDetails.
|
236
|
+
The maximum number of chunks to produce internally from a document.
|
237
|
+
|
238
|
+
|
239
|
+
:param max_chunks_per_document: The max_chunks_per_document of this RerankTextDetails.
|
240
|
+
:type: int
|
241
|
+
"""
|
242
|
+
self._max_chunks_per_document = max_chunks_per_document
|
243
|
+
|
244
|
+
def __repr__(self):
|
245
|
+
return formatted_flat_dict(self)
|
246
|
+
|
247
|
+
def __eq__(self, other):
|
248
|
+
if other is None:
|
249
|
+
return False
|
250
|
+
|
251
|
+
return self.__dict__ == other.__dict__
|
252
|
+
|
253
|
+
def __ne__(self, other):
|
254
|
+
return not self == other
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20231130
|
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 RerankTextResult(object):
|
14
|
+
"""
|
15
|
+
The rerank response to return to the caller.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RerankTextResult 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 RerankTextResult.
|
25
|
+
:type id: str
|
26
|
+
|
27
|
+
:param model_id:
|
28
|
+
The value to assign to the model_id property of this RerankTextResult.
|
29
|
+
:type model_id: str
|
30
|
+
|
31
|
+
:param model_version:
|
32
|
+
The value to assign to the model_version property of this RerankTextResult.
|
33
|
+
:type model_version: str
|
34
|
+
|
35
|
+
:param document_ranks:
|
36
|
+
The value to assign to the document_ranks property of this RerankTextResult.
|
37
|
+
:type document_ranks: list[oci.generative_ai_inference.models.DocumentRank]
|
38
|
+
|
39
|
+
"""
|
40
|
+
self.swagger_types = {
|
41
|
+
'id': 'str',
|
42
|
+
'model_id': 'str',
|
43
|
+
'model_version': 'str',
|
44
|
+
'document_ranks': 'list[DocumentRank]'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'id': 'id',
|
49
|
+
'model_id': 'modelId',
|
50
|
+
'model_version': 'modelVersion',
|
51
|
+
'document_ranks': 'documentRanks'
|
52
|
+
}
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._model_id = None
|
56
|
+
self._model_version = None
|
57
|
+
self._document_ranks = None
|
58
|
+
|
59
|
+
@property
|
60
|
+
def id(self):
|
61
|
+
"""
|
62
|
+
**[Required]** Gets the id of this RerankTextResult.
|
63
|
+
A unique identifier for this `RerankResult`.
|
64
|
+
|
65
|
+
|
66
|
+
:return: The id of this RerankTextResult.
|
67
|
+
:rtype: str
|
68
|
+
"""
|
69
|
+
return self._id
|
70
|
+
|
71
|
+
@id.setter
|
72
|
+
def id(self, id):
|
73
|
+
"""
|
74
|
+
Sets the id of this RerankTextResult.
|
75
|
+
A unique identifier for this `RerankResult`.
|
76
|
+
|
77
|
+
|
78
|
+
:param id: The id of this RerankTextResult.
|
79
|
+
:type: str
|
80
|
+
"""
|
81
|
+
self._id = id
|
82
|
+
|
83
|
+
@property
|
84
|
+
def model_id(self):
|
85
|
+
"""
|
86
|
+
Gets the model_id of this RerankTextResult.
|
87
|
+
The OCID of the model used in the rerank request.
|
88
|
+
|
89
|
+
|
90
|
+
:return: The model_id of this RerankTextResult.
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._model_id
|
94
|
+
|
95
|
+
@model_id.setter
|
96
|
+
def model_id(self, model_id):
|
97
|
+
"""
|
98
|
+
Sets the model_id of this RerankTextResult.
|
99
|
+
The OCID of the model used in the rerank request.
|
100
|
+
|
101
|
+
|
102
|
+
:param model_id: The model_id of this RerankTextResult.
|
103
|
+
:type: str
|
104
|
+
"""
|
105
|
+
self._model_id = model_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def model_version(self):
|
109
|
+
"""
|
110
|
+
Gets the model_version of this RerankTextResult.
|
111
|
+
The version of the model.
|
112
|
+
|
113
|
+
|
114
|
+
:return: The model_version of this RerankTextResult.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._model_version
|
118
|
+
|
119
|
+
@model_version.setter
|
120
|
+
def model_version(self, model_version):
|
121
|
+
"""
|
122
|
+
Sets the model_version of this RerankTextResult.
|
123
|
+
The version of the model.
|
124
|
+
|
125
|
+
|
126
|
+
:param model_version: The model_version of this RerankTextResult.
|
127
|
+
:type: str
|
128
|
+
"""
|
129
|
+
self._model_version = model_version
|
130
|
+
|
131
|
+
@property
|
132
|
+
def document_ranks(self):
|
133
|
+
"""
|
134
|
+
**[Required]** Gets the document_ranks of this RerankTextResult.
|
135
|
+
Top n documents with their index and relevance score.
|
136
|
+
|
137
|
+
|
138
|
+
:return: The document_ranks of this RerankTextResult.
|
139
|
+
:rtype: list[oci.generative_ai_inference.models.DocumentRank]
|
140
|
+
"""
|
141
|
+
return self._document_ranks
|
142
|
+
|
143
|
+
@document_ranks.setter
|
144
|
+
def document_ranks(self, document_ranks):
|
145
|
+
"""
|
146
|
+
Sets the document_ranks of this RerankTextResult.
|
147
|
+
Top n documents with their index and relevance score.
|
148
|
+
|
149
|
+
|
150
|
+
:param document_ranks: The document_ranks of this RerankTextResult.
|
151
|
+
:type: list[oci.generative_ai_inference.models.DocumentRank]
|
152
|
+
"""
|
153
|
+
self._document_ranks = document_ranks
|
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
|
@@ -23,7 +23,7 @@ class SystemMessage(Message):
|
|
23
23
|
|
24
24
|
:param role:
|
25
25
|
The value to assign to the role property of this SystemMessage.
|
26
|
-
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT"
|
26
|
+
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", "TOOL"
|
27
27
|
:type role: str
|
28
28
|
|
29
29
|
:param content:
|