oci 2.143.1__py3-none-any.whl → 2.144.1__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_speech/models/realtime_parameters.py +61 -4
- 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_engine/models/cluster_create_options.py +47 -0
- oci/container_engine/models/cluster_endpoints.py +33 -2
- 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 +404 -404
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_container_database.py +89 -0
- oci/database/models/autonomous_container_database_summary.py +89 -0
- oci/database/models/autonomous_database.py +33 -2
- oci/database/models/autonomous_database_backup.py +15 -3
- oci/database/models/autonomous_database_backup_summary.py +15 -3
- oci/database/models/autonomous_database_summary.py +33 -2
- oci/database/models/autonomous_dw_database.py +33 -2
- oci/database/models/backup_destination.py +95 -2
- oci/database/models/backup_destination_configuration_summary.py +387 -0
- oci/database/models/backup_destination_details_summary.py +356 -0
- oci/database/models/backup_destination_properties.py +134 -0
- oci/database/models/backup_destination_summary.py +95 -2
- oci/database/models/create_autonomous_database_clone_details.py +7 -3
- oci/database/models/create_autonomous_database_from_backup_details.py +40 -5
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +40 -5
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +33 -0
- oci/database/models/db_system.py +96 -10
- oci/database/models/db_system_summary.py +96 -10
- oci/database/models/launch_db_system_base.py +33 -0
- oci/database/models/launch_db_system_details.py +7 -0
- oci/database/models/launch_db_system_from_backup_details.py +7 -0
- oci/database/models/launch_db_system_from_database_details.py +7 -0
- oci/database/models/launch_db_system_from_db_system_details.py +7 -0
- oci/database/models/recovery_appliance_details.py +134 -0
- oci/database/models/restore_autonomous_database_details.py +1 -1
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- 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/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/file_storage/models/file_system.py +33 -0
- oci/file_storage/models/file_system_summary.py +33 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +35 -2
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +35 -2
- oci/file_storage/models/ldap_bind_account.py +7 -0
- oci/file_storage/models/ldap_bind_account_summary.py +7 -0
- oci/file_storage/models/mount_target.py +35 -2
- oci/file_storage/models/mount_target_summary.py +35 -2
- oci/file_storage/models/outbound_connector.py +35 -2
- oci/file_storage/models/outbound_connector_summary.py +35 -2
- oci/file_storage/models/replication.py +35 -2
- oci/file_storage/models/replication_summary.py +33 -0
- oci/file_storage/models/replication_target.py +33 -0
- oci/file_storage/models/replication_target_summary.py +33 -0
- oci/file_storage/models/snapshot.py +33 -0
- oci/file_storage/models/snapshot_summary.py +35 -2
- 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 +90 -90
- oci/golden_gate/models/__init__.py +24 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +1 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_s3_connection.py +1 -1
- oci/golden_gate/models/amazon_s3_connection_summary.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +1 -1
- oci/golden_gate/models/azure_synapse_connection.py +1 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +1 -1
- oci/golden_gate/models/connection.py +59 -35
- oci/golden_gate/models/connection_summary.py +62 -38
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/create_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/create_connection_details.py +58 -34
- oci/golden_gate/models/create_database_registration_details.py +4 -0
- oci/golden_gate/models/create_databricks_connection_details.py +437 -0
- oci/golden_gate/models/create_db2_connection_details.py +7 -1
- oci/golden_gate/models/create_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/create_generic_connection_details.py +1 -1
- oci/golden_gate/models/create_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/create_google_pub_sub_connection_details.py +241 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/create_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/create_kafka_connection_details.py +13 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/create_microsoft_fabric_connection_details.py +336 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/create_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/create_mysql_connection_details.py +5 -1
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +43 -4
- oci/golden_gate/models/create_oracle_connection_details.py +5 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +43 -4
- oci/golden_gate/models/create_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/create_redis_connection_details.py +11 -1
- oci/golden_gate/models/create_snowflake_connection_details.py +7 -1
- oci/golden_gate/models/databricks_connection.py +456 -0
- oci/golden_gate/models/databricks_connection_summary.py +418 -0
- oci/golden_gate/models/db2_connection.py +1 -1
- oci/golden_gate/models/db2_connection_summary.py +1 -1
- oci/golden_gate/models/deployment_type_summary.py +15 -3
- oci/golden_gate/models/elasticsearch_connection.py +1 -1
- oci/golden_gate/models/elasticsearch_connection_summary.py +1 -1
- oci/golden_gate/models/generic_connection.py +1 -1
- oci/golden_gate/models/generic_connection_summary.py +1 -1
- oci/golden_gate/models/golden_gate_connection.py +1 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +1 -1
- oci/golden_gate/models/google_big_query_connection.py +1 -1
- oci/golden_gate/models/google_big_query_connection_summary.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +1 -1
- oci/golden_gate/models/google_pub_sub_connection.py +271 -0
- oci/golden_gate/models/google_pub_sub_connection_summary.py +255 -0
- oci/golden_gate/models/hdfs_connection.py +1 -1
- oci/golden_gate/models/hdfs_connection_summary.py +1 -1
- oci/golden_gate/models/java_message_service_connection.py +1 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_connection.py +1 -1
- oci/golden_gate/models/kafka_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection.py +372 -0
- oci/golden_gate/models/microsoft_fabric_connection_summary.py +352 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +1 -1
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +1 -1
- oci/golden_gate/models/mongo_db_connection.py +141 -6
- oci/golden_gate/models/mongo_db_connection_summary.py +110 -3
- oci/golden_gate/models/mysql_connection.py +1 -1
- oci/golden_gate/models/mysql_connection_summary.py +1 -1
- oci/golden_gate/models/oci_object_storage_connection.py +38 -3
- oci/golden_gate/models/oci_object_storage_connection_summary.py +38 -3
- oci/golden_gate/models/oracle_connection.py +24 -4
- oci/golden_gate/models/oracle_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_nosql_connection.py +38 -3
- oci/golden_gate/models/oracle_nosql_connection_summary.py +38 -3
- oci/golden_gate/models/postgresql_connection.py +8 -4
- oci/golden_gate/models/postgresql_connection_summary.py +1 -1
- oci/golden_gate/models/redis_connection.py +1 -1
- oci/golden_gate/models/redis_connection_summary.py +1 -1
- oci/golden_gate/models/snowflake_connection.py +1 -1
- oci/golden_gate/models/snowflake_connection_summary.py +1 -1
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/update_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/update_connection_details.py +46 -22
- oci/golden_gate/models/update_database_registration_details.py +4 -0
- oci/golden_gate/models/update_databricks_connection_details.py +392 -0
- oci/golden_gate/models/update_db2_connection_details.py +7 -1
- oci/golden_gate/models/update_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/update_google_pub_sub_connection_details.py +196 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/update_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/update_kafka_connection_details.py +13 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/update_microsoft_fabric_connection_details.py +291 -0
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/update_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/update_mysql_connection_details.py +5 -1
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +42 -3
- oci/golden_gate/models/update_oracle_connection_details.py +5 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +42 -3
- oci/golden_gate/models/update_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/update_redis_connection_details.py +11 -1
- oci/golden_gate/models/update_snowflake_connection_details.py +7 -1
- 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/operations_insights_client.py +181 -181
- 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/__init__.py +42 -0
- oci/stack_monitoring/models/alarm_condition.py +588 -0
- oci/stack_monitoring/models/alarm_condition_collection.py +72 -0
- oci/stack_monitoring/models/alarm_condition_summary.py +588 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +7 -3
- oci/stack_monitoring/models/associated_resources_summary.py +7 -3
- oci/stack_monitoring/models/condition.py +243 -0
- oci/stack_monitoring/models/create_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/create_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/create_monitored_resource_details.py +7 -3
- oci/stack_monitoring/models/create_monitoring_template_details.py +406 -0
- oci/stack_monitoring/models/defined_alarm_condition.py +150 -0
- oci/stack_monitoring/models/defined_monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/defined_monitoring_template_summary.py +326 -0
- oci/stack_monitoring/models/discovery_details.py +26 -6
- oci/stack_monitoring/models/discovery_job_summary.py +26 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/license_auto_assign_config_summary.py +7 -3
- oci/stack_monitoring/models/manage_license_details.py +7 -3
- oci/stack_monitoring/models/member_reference.py +154 -0
- oci/stack_monitoring/models/metric_extension.py +2 -2
- oci/stack_monitoring/models/metric_extension_metric_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation.py +105 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extensions_metric_aggregation.py +105 -0
- oci/stack_monitoring/models/monitored_resource.py +7 -3
- oci/stack_monitoring/models/monitored_resource_member_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_type.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type_summary.py +31 -0
- oci/stack_monitoring/models/monitoring_template.py +743 -0
- oci/stack_monitoring/models/monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/monitoring_template_summary.py +599 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_metrics_details.py +263 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_resources_details.py +357 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +7 -3
- oci/stack_monitoring/models/system_format_resource_type_metadata_details.py +37 -2
- oci/stack_monitoring/models/update_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/update_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/update_monitoring_template_details.py +375 -0
- oci/stack_monitoring/models/work_request.py +18 -6
- oci/stack_monitoring/models/work_request_summary.py +18 -6
- oci/stack_monitoring/stack_monitoring_client.py +2446 -446
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +331 -0
- 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/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.1.dist-info → oci-2.144.1.dist-info}/METADATA +1 -1
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/RECORD +655 -563
- oci/data_safe/models/create_audit_profile_details.py +0 -278
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/WHEEL +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,144 @@
|
|
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
|
+
from .tool_definition import ToolDefinition
|
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 FunctionDefinition(ToolDefinition):
|
14
|
+
"""
|
15
|
+
A function the model may call.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new FunctionDefinition object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.FunctionDefinition.type` attribute
|
21
|
+
of this class is ``FUNCTION`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this FunctionDefinition.
|
26
|
+
Allowed values for this property are: "FUNCTION"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
:param name:
|
30
|
+
The value to assign to the name property of this FunctionDefinition.
|
31
|
+
:type name: str
|
32
|
+
|
33
|
+
:param description:
|
34
|
+
The value to assign to the description property of this FunctionDefinition.
|
35
|
+
:type description: str
|
36
|
+
|
37
|
+
:param parameters:
|
38
|
+
The value to assign to the parameters property of this FunctionDefinition.
|
39
|
+
:type parameters: object
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'type': 'str',
|
44
|
+
'name': 'str',
|
45
|
+
'description': 'str',
|
46
|
+
'parameters': 'object'
|
47
|
+
}
|
48
|
+
|
49
|
+
self.attribute_map = {
|
50
|
+
'type': 'type',
|
51
|
+
'name': 'name',
|
52
|
+
'description': 'description',
|
53
|
+
'parameters': 'parameters'
|
54
|
+
}
|
55
|
+
|
56
|
+
self._type = None
|
57
|
+
self._name = None
|
58
|
+
self._description = None
|
59
|
+
self._parameters = None
|
60
|
+
self._type = 'FUNCTION'
|
61
|
+
|
62
|
+
@property
|
63
|
+
def name(self):
|
64
|
+
"""
|
65
|
+
Gets the name of this FunctionDefinition.
|
66
|
+
The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
67
|
+
|
68
|
+
|
69
|
+
:return: The name of this FunctionDefinition.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._name
|
73
|
+
|
74
|
+
@name.setter
|
75
|
+
def name(self, name):
|
76
|
+
"""
|
77
|
+
Sets the name of this FunctionDefinition.
|
78
|
+
The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
79
|
+
|
80
|
+
|
81
|
+
:param name: The name of this FunctionDefinition.
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
self._name = name
|
85
|
+
|
86
|
+
@property
|
87
|
+
def description(self):
|
88
|
+
"""
|
89
|
+
Gets the description of this FunctionDefinition.
|
90
|
+
A description of what the function does, used by the model to choose when and how to call the function.
|
91
|
+
|
92
|
+
|
93
|
+
:return: The description of this FunctionDefinition.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._description
|
97
|
+
|
98
|
+
@description.setter
|
99
|
+
def description(self, description):
|
100
|
+
"""
|
101
|
+
Sets the description of this FunctionDefinition.
|
102
|
+
A description of what the function does, used by the model to choose when and how to call the function.
|
103
|
+
|
104
|
+
|
105
|
+
:param description: The description of this FunctionDefinition.
|
106
|
+
:type: str
|
107
|
+
"""
|
108
|
+
self._description = description
|
109
|
+
|
110
|
+
@property
|
111
|
+
def parameters(self):
|
112
|
+
"""
|
113
|
+
Gets the parameters of this FunctionDefinition.
|
114
|
+
The parameters the functions accepts, described as a JSON Schema object. Omitting parameters defines a function with an empty parameter list.
|
115
|
+
|
116
|
+
|
117
|
+
:return: The parameters of this FunctionDefinition.
|
118
|
+
:rtype: object
|
119
|
+
"""
|
120
|
+
return self._parameters
|
121
|
+
|
122
|
+
@parameters.setter
|
123
|
+
def parameters(self, parameters):
|
124
|
+
"""
|
125
|
+
Sets the parameters of this FunctionDefinition.
|
126
|
+
The parameters the functions accepts, described as a JSON Schema object. Omitting parameters defines a function with an empty parameter list.
|
127
|
+
|
128
|
+
|
129
|
+
:param parameters: The parameters of this FunctionDefinition.
|
130
|
+
:type: object
|
131
|
+
"""
|
132
|
+
self._parameters = parameters
|
133
|
+
|
134
|
+
def __repr__(self):
|
135
|
+
return formatted_flat_dict(self)
|
136
|
+
|
137
|
+
def __eq__(self, other):
|
138
|
+
if other is None:
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
return not self == other
|
@@ -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
|