oci 2.149.0__py3-none-any.whl → 2.149.2__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/__init__.py +2 -2
- 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 +340 -9
- oci/apm_config/models/__init__.py +22 -0
- oci/apm_config/models/apdex_rules_summary.py +7 -0
- oci/apm_config/models/config_summary.py +35 -2
- oci/apm_config/models/copy_configuration_details.py +86 -0
- oci/apm_config/models/export_configuration_details.py +76 -0
- oci/apm_config/models/export_configuration_response_details.py +70 -0
- oci/apm_config/models/export_import_apdex_rules_summary.py +128 -0
- oci/apm_config/models/export_import_config_summary.py +226 -0
- oci/apm_config/models/export_import_metric_group_summary.py +232 -0
- oci/apm_config/models/export_import_options_summary.py +194 -0
- oci/apm_config/models/export_import_span_filter_summary.py +163 -0
- oci/apm_config/models/import_configuration_details.py +113 -0
- oci/apm_config/models/import_configuration_failed_item_summary.py +193 -0
- oci/apm_config/models/import_configuration_failed_items_collection.py +70 -0
- oci/apm_config/models/metric_group_summary.py +7 -0
- oci/apm_config/models/options_summary.py +7 -0
- oci/apm_config/models/span_filter_summary.py +7 -0
- 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 +633 -113
- oci/core/compute_client_composite_operations.py +82 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/change_compute_host_compartment_details.py +76 -0
- oci/core/models/compute_host.py +826 -0
- oci/core/models/compute_host_collection.py +70 -0
- oci/core/models/compute_host_summary.py +720 -0
- oci/core/models/update_compute_host_details.py +154 -0
- oci/core/virtual_network_client.py +258 -258
- 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 +317 -317
- oci/data_science/data_science_client.py +7469 -3597
- oci/data_science/data_science_client_composite_operations.py +981 -105
- oci/data_science/models/__init__.py +118 -0
- oci/data_science/models/application_component.py +193 -0
- oci/data_science/models/auth_configuration.py +115 -0
- oci/data_science/models/change_ml_application_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_implementation_compartment_details.py +70 -0
- oci/data_science/models/change_ml_application_instance_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_instance_view_compartment_details.py +76 -0
- oci/data_science/models/configuration_property.py +101 -0
- oci/data_science/models/configuration_property_schema.py +276 -0
- oci/data_science/models/create_auth_configuration_details.py +95 -0
- oci/data_science/models/create_iam_auth_configuration_create_details.py +48 -0
- oci/data_science/models/create_idcs_auth_configuration_details.py +79 -0
- oci/data_science/models/create_idcs_custom_service_auth_configuration_details.py +203 -0
- oci/data_science/models/create_ml_application_details.py +206 -0
- oci/data_science/models/create_ml_application_implementation_details.py +264 -0
- oci/data_science/models/create_ml_application_instance_details.py +326 -0
- oci/data_science/models/data_flow_application_application_component.py +94 -0
- oci/data_science/models/data_science_job_application_component.py +94 -0
- oci/data_science/models/data_science_model_application_component.py +94 -0
- oci/data_science/models/data_science_model_deployment_instance_component.py +125 -0
- oci/data_science/models/data_science_pipeline_application_component.py +94 -0
- oci/data_science/models/data_science_schedule_instance_component.py +94 -0
- oci/data_science/models/disable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/enable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/generic_oci_resource_application_component.py +125 -0
- oci/data_science/models/generic_oci_resource_instance_component.py +125 -0
- oci/data_science/models/iam_auth_configuration.py +49 -0
- oci/data_science/models/idcs_auth_configuration.py +111 -0
- oci/data_science/models/idcs_custom_service_auth_configuration.py +204 -0
- oci/data_science/models/implementation_log_details.py +140 -0
- oci/data_science/models/implementation_logging.py +120 -0
- oci/data_science/models/instance_component.py +201 -0
- oci/data_science/models/ml_application.py +410 -0
- oci/data_science/models/ml_application_collection.py +70 -0
- oci/data_science/models/ml_application_implementation.py +666 -0
- oci/data_science/models/ml_application_implementation_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_summary.py +487 -0
- oci/data_science/models/ml_application_implementation_version.py +600 -0
- oci/data_science/models/ml_application_implementation_version_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_version_summary.py +487 -0
- oci/data_science/models/ml_application_instance.py +736 -0
- oci/data_science/models/ml_application_instance_collection.py +70 -0
- oci/data_science/models/ml_application_instance_internal_trigger.py +125 -0
- oci/data_science/models/ml_application_instance_summary.py +456 -0
- oci/data_science/models/ml_application_instance_view.py +829 -0
- oci/data_science/models/ml_application_instance_view_collection.py +70 -0
- oci/data_science/models/ml_application_instance_view_summary.py +580 -0
- oci/data_science/models/ml_application_package_argument_details.py +210 -0
- oci/data_science/models/ml_application_package_arguments.py +70 -0
- oci/data_science/models/ml_application_summary.py +332 -0
- oci/data_science/models/object_storage_bucket_instance_component.py +125 -0
- oci/data_science/models/object_storage_object_instance_component.py +156 -0
- oci/data_science/models/prediction_endpoint_details.py +101 -0
- oci/data_science/models/prediction_uri.py +101 -0
- oci/data_science/models/trigger_ml_application_instance_flow_details.py +70 -0
- oci/data_science/models/update_ml_application_details.py +144 -0
- oci/data_science/models/update_ml_application_implementation_details.py +171 -0
- oci/data_science/models/update_ml_application_implementation_version_details.py +113 -0
- oci/data_science/models/update_ml_application_instance_details.py +206 -0
- oci/data_science/models/update_ml_application_instance_view_details.py +113 -0
- oci/data_science/models/work_request.py +59 -3
- oci/data_science/models/work_request_summary.py +59 -3
- oci/database/database_client.py +414 -414
- 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/dblm/db_life_cycle_management_client.py +12 -12
- 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 +74 -74
- 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 +711 -111
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +132 -0
- oci/generative_ai_agent/models/__init__.py +66 -0
- oci/generative_ai_agent/models/agent.py +29 -2
- oci/generative_ai_agent/models/agent_endpoint.py +143 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +143 -0
- oci/generative_ai_agent/models/agent_summary.py +29 -2
- oci/generative_ai_agent/models/api_schema_inline_input_location.py +80 -0
- oci/generative_ai_agent/models/api_schema_input_location.py +113 -0
- oci/generative_ai_agent/models/api_schema_object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/content_moderation_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/create_agent_details.py +29 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/create_data_source_details.py +31 -0
- oci/generative_ai_agent/models/create_tool_details.py +307 -0
- oci/generative_ai_agent/models/data_source.py +31 -0
- oci/generative_ai_agent/models/function.py +134 -0
- oci/generative_ai_agent/models/function_calling_tool_config.py +76 -0
- oci/generative_ai_agent/models/guardrail_config.py +120 -0
- oci/generative_ai_agent/models/http_endpoint_auth_config.py +137 -0
- oci/generative_ai_agent/models/http_endpoint_delegated_bearer_auth_config.py +50 -0
- oci/generative_ai_agent/models/http_endpoint_idcs_auth_config.py +76 -0
- oci/generative_ai_agent/models/http_endpoint_no_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_oci_resource_principal_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_tool_config.py +134 -0
- oci/generative_ai_agent/models/human_input_config.py +70 -0
- oci/generative_ai_agent/models/idcs_secret.py +2 -1
- oci/generative_ai_agent/models/inline_input_location.py +80 -0
- oci/generative_ai_agent/models/input_location.py +113 -0
- oci/generative_ai_agent/models/knowledge_base_config.py +74 -0
- oci/generative_ai_agent/models/llm_config.py +66 -0
- oci/generative_ai_agent/models/llm_customization.py +70 -0
- oci/generative_ai_agent/models/object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +2 -2
- oci/generative_ai_agent/models/object_storage_prefix_output_location.py +142 -0
- oci/generative_ai_agent/models/output_config.py +97 -0
- oci/generative_ai_agent/models/output_location.py +99 -0
- oci/generative_ai_agent/models/personally_identifiable_information_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/prompt_injection_guardrail_config.py +90 -0
- oci/generative_ai_agent/models/rag_tool_config.py +107 -0
- oci/generative_ai_agent/models/sql_tool_config.py +341 -0
- oci/generative_ai_agent/models/tool.py +522 -0
- oci/generative_ai_agent/models/tool_collection.py +70 -0
- oci/generative_ai_agent/models/tool_config.py +133 -0
- oci/generative_ai_agent/models/tool_summary.py +486 -0
- oci/generative_ai_agent/models/update_agent_details.py +29 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/update_data_source_details.py +31 -0
- oci/generative_ai_agent/models/update_tool_details.py +241 -0
- oci/generative_ai_agent/models/work_request.py +19 -3
- oci/generative_ai_agent/models/work_request_summary.py +19 -3
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +128 -6
- oci/generative_ai_agent_runtime/models/__init__.py +24 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +65 -3
- oci/generative_ai_agent_runtime/models/chat_result.py +95 -2
- oci/generative_ai_agent_runtime/models/citation.py +34 -3
- oci/generative_ai_agent_runtime/models/function_call.py +101 -0
- oci/generative_ai_agent_runtime/models/function_calling_performed_action.py +87 -0
- oci/generative_ai_agent_runtime/models/function_calling_required_action.py +83 -0
- oci/generative_ai_agent_runtime/models/human_approval_performed_action.py +103 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_summary.py +262 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_value.py +101 -0
- oci/generative_ai_agent_runtime/models/message_content.py +33 -2
- oci/generative_ai_agent_runtime/models/metadata_filter.py +101 -0
- oci/generative_ai_agent_runtime/models/paragraph.py +132 -0
- oci/generative_ai_agent_runtime/models/paragraph_citation.py +97 -0
- oci/generative_ai_agent_runtime/models/performed_action.py +138 -0
- oci/generative_ai_agent_runtime/models/required_action.py +134 -0
- oci/generative_ai_agent_runtime/models/retrieve_metadata_details.py +70 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- 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 +79 -79
- 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/lustre_file_storage/__init__.py +14 -0
- oci/lustre_file_storage/lustre_file_storage_client.py +1536 -0
- oci/lustre_file_storage/lustre_file_storage_client_composite_operations.py +202 -0
- oci/lustre_file_storage/models/__init__.py +44 -0
- oci/lustre_file_storage/models/change_lustre_file_system_compartment_details.py +74 -0
- oci/lustre_file_storage/models/create_lustre_file_system_details.py +559 -0
- oci/lustre_file_storage/models/lustre_file_system.py +986 -0
- oci/lustre_file_storage/models/lustre_file_system_collection.py +70 -0
- oci/lustre_file_storage/models/lustre_file_system_summary.py +921 -0
- oci/lustre_file_storage/models/maintenance_window.py +141 -0
- oci/lustre_file_storage/models/root_squash_configuration.py +193 -0
- oci/lustre_file_storage/models/update_lustre_file_system_details.py +327 -0
- oci/lustre_file_storage/models/work_request.py +449 -0
- oci/lustre_file_storage/models/work_request_error.py +144 -0
- oci/lustre_file_storage/models/work_request_error_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_log_entry.py +107 -0
- oci/lustre_file_storage/models/work_request_log_entry_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_resource.py +205 -0
- oci/lustre_file_storage/models/work_request_summary.py +447 -0
- oci/lustre_file_storage/models/work_request_summary_collection.py +70 -0
- 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/mngdmac/mac_device_client.py +6 -6
- oci/mngdmac/mac_order_client.py +22 -22
- 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/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/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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/create_operations_insights_warehouse_details.py +33 -2
- oci/opsi/models/operations_insights_warehouse.py +49 -2
- oci/opsi/models/operations_insights_warehouse_summary.py +33 -2
- oci/opsi/models/sql_plan_line.py +66 -0
- oci/opsi/models/update_operations_insights_warehouse_details.py +33 -2
- 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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- 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/models/functions_target_details.py +4 -0
- oci/sch/models/log_source.py +4 -6
- oci/sch/models/monitoring_target_details.py +0 -4
- oci/sch/models/notifications_target_details.py +0 -2
- oci/sch/models/plugin_source_details.py +4 -4
- oci/sch/models/service_connector.py +37 -0
- 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 +44 -0
- oci/stack_monitoring/models/additional_configuration_details.py +70 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration.py +277 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration_property.py +101 -0
- oci/stack_monitoring/models/agent_extension_handler_metric_mapping_details.py +165 -0
- oci/stack_monitoring/models/agent_receiver_properties.py +70 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +14 -6
- oci/stack_monitoring/models/associated_resources_summary.py +14 -6
- oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
- oci/stack_monitoring/models/availability_metrics_details.py +101 -0
- oci/stack_monitoring/models/collectd_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_details.py +146 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_summary.py +142 -0
- oci/stack_monitoring/models/config.py +19 -3
- oci/stack_monitoring/models/config_summary.py +8 -0
- oci/stack_monitoring/models/create_compute_auto_activate_plugin_config_details.py +107 -0
- oci/stack_monitoring/models/create_config_details.py +8 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/create_monitored_resource_type_details.py +9 -5
- oci/stack_monitoring/models/create_onboard_config_details.py +259 -0
- oci/stack_monitoring/models/dynamic_group_details.py +148 -0
- oci/stack_monitoring/models/group_details.py +132 -0
- oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +18 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +1 -1
- oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +1 -1
- oci/stack_monitoring/models/maintenance_window.py +108 -5
- oci/stack_monitoring/models/maintenance_window_summary.py +7 -3
- oci/stack_monitoring/models/metric_name_configuration_details.py +101 -0
- oci/stack_monitoring/models/monitored_resource.py +14 -6
- oci/stack_monitoring/models/monitored_resource_member_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_task.py +31 -0
- oci/stack_monitoring/models/monitored_resource_task_details.py +19 -3
- oci/stack_monitoring/models/monitored_resource_task_summary.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type.py +129 -5
- oci/stack_monitoring/models/monitored_resource_type_summary.py +94 -5
- oci/stack_monitoring/models/onboard_config_details.py +296 -0
- oci/stack_monitoring/models/onboard_config_summary.py +174 -0
- oci/stack_monitoring/models/resource_type_config_details.py +124 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +14 -6
- oci/stack_monitoring/models/telegraf_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/update_agent_receiver_task_details.py +190 -0
- oci/stack_monitoring/models/update_compute_auto_activate_plugin_config_details.py +100 -0
- oci/stack_monitoring/models/update_config_details.py +8 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/update_monitored_resource_type_details.py +7 -3
- oci/stack_monitoring/models/update_onboard_config_details.py +252 -0
- oci/stack_monitoring/models/update_resource_type_config_task_details.py +133 -0
- oci/stack_monitoring/models/work_request.py +11 -3
- oci/stack_monitoring/models/work_request_summary.py +11 -3
- oci/stack_monitoring/stack_monitoring_client.py +121 -93
- 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.149.0.dist-info → oci-2.149.2.dist-info}/METADATA +1 -1
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/RECORD +498 -336
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/WHEEL +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/top_level.txt +0 -0
@@ -108,7 +108,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
108
108
|
'regional_client': True,
|
109
109
|
'service_endpoint': kwargs.get('service_endpoint'),
|
110
110
|
'base_path': '/20240531',
|
111
|
-
'service_endpoint_template': 'https://
|
111
|
+
'service_endpoint_template': 'https://agent-runtime.generativeai.{region}.oci.{secondLevelDomain}',
|
112
112
|
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
113
113
|
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
114
114
|
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
@@ -168,7 +168,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
168
168
|
:rtype: :class:`~oci.response.Response`
|
169
169
|
|
170
170
|
:example:
|
171
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
171
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/chat.py.html>`__ to see an example of how to use chat API.
|
172
172
|
"""
|
173
173
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
174
174
|
required_arguments = ['agentEndpointId']
|
@@ -285,7 +285,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
285
285
|
:rtype: :class:`~oci.response.Response`
|
286
286
|
|
287
287
|
:example:
|
288
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
288
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/create_session.py.html>`__ to see an example of how to use create_session API.
|
289
289
|
"""
|
290
290
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
291
291
|
required_arguments = ['agentEndpointId']
|
@@ -398,7 +398,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
398
398
|
:rtype: :class:`~oci.response.Response`
|
399
399
|
|
400
400
|
:example:
|
401
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
401
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/delete_session.py.html>`__ to see an example of how to use delete_session API.
|
402
402
|
"""
|
403
403
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
404
404
|
required_arguments = ['agentEndpointId', 'sessionId']
|
@@ -500,7 +500,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
500
500
|
:rtype: :class:`~oci.response.Response`
|
501
501
|
|
502
502
|
:example:
|
503
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
503
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/get_session.py.html>`__ to see an example of how to use get_session API.
|
504
504
|
"""
|
505
505
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
506
506
|
required_arguments = ['agentEndpointId', 'sessionId']
|
@@ -572,6 +572,128 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
572
572
|
api_reference_link=api_reference_link,
|
573
573
|
required_arguments=required_arguments)
|
574
574
|
|
575
|
+
def retrieve_metadata(self, knowledge_base_id, retrieve_metadata_details, **kwargs):
|
576
|
+
"""
|
577
|
+
Returns metadata of provided knowledgeBase. Return available metadata with information of field names, their types, supported operations, and possible values.
|
578
|
+
|
579
|
+
|
580
|
+
:param str knowledge_base_id: (required)
|
581
|
+
A unique ID for the Knowledge Base.
|
582
|
+
|
583
|
+
:param oci.generative_ai_agent_runtime.models.RetrieveMetadataDetails retrieve_metadata_details: (required)
|
584
|
+
Input for retrieve metadata.
|
585
|
+
|
586
|
+
:param str opc_request_id: (optional)
|
587
|
+
The client request ID for tracing.
|
588
|
+
|
589
|
+
:param str if_match: (optional)
|
590
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
591
|
+
for a resource, set the `if-match` parameter to the value of the
|
592
|
+
etag from a previous GET or POST response for that resource.
|
593
|
+
The resource will be updated or deleted only if the etag you
|
594
|
+
provide matches the resource's current etag value.
|
595
|
+
|
596
|
+
:param str opc_retry_token: (optional)
|
597
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
598
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
599
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
600
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
601
|
+
might be rejected.
|
602
|
+
|
603
|
+
:param obj retry_strategy: (optional)
|
604
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
605
|
+
|
606
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
607
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
608
|
+
|
609
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
610
|
+
|
611
|
+
:param bool allow_control_chars: (optional)
|
612
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
613
|
+
By default, the response will not allow control characters in strings
|
614
|
+
|
615
|
+
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.generative_ai_agent_runtime.models.KnowledgeBaseMetadataSummary`
|
616
|
+
:rtype: :class:`~oci.response.Response`
|
617
|
+
|
618
|
+
:example:
|
619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/retrieve_metadata.py.html>`__ to see an example of how to use retrieve_metadata API.
|
620
|
+
"""
|
621
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
622
|
+
required_arguments = ['knowledgeBaseId']
|
623
|
+
resource_path = "/knowledgeBases/{knowledgeBaseId}/actions/retrieveMetadata"
|
624
|
+
method = "POST"
|
625
|
+
operation_name = "retrieve_metadata"
|
626
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/generative-ai-agents-client/20240531/KnowledgeBaseMetadataSummary/RetrieveMetadata"
|
627
|
+
|
628
|
+
# Don't accept unknown kwargs
|
629
|
+
expected_kwargs = [
|
630
|
+
"allow_control_chars",
|
631
|
+
"retry_strategy",
|
632
|
+
"opc_request_id",
|
633
|
+
"if_match",
|
634
|
+
"opc_retry_token"
|
635
|
+
]
|
636
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
637
|
+
if extra_kwargs:
|
638
|
+
raise ValueError(
|
639
|
+
f"retrieve_metadata got unknown kwargs: {extra_kwargs!r}")
|
640
|
+
|
641
|
+
path_params = {
|
642
|
+
"knowledgeBaseId": knowledge_base_id
|
643
|
+
}
|
644
|
+
|
645
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
646
|
+
|
647
|
+
for (k, v) in six.iteritems(path_params):
|
648
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
649
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
650
|
+
|
651
|
+
header_params = {
|
652
|
+
"accept": "application/json",
|
653
|
+
"content-type": "application/json",
|
654
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
655
|
+
"if-match": kwargs.get("if_match", missing),
|
656
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
657
|
+
}
|
658
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
659
|
+
|
660
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
661
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
662
|
+
client_retry_strategy=self.retry_strategy
|
663
|
+
)
|
664
|
+
if retry_strategy is None:
|
665
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
666
|
+
|
667
|
+
if retry_strategy:
|
668
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
669
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
670
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
671
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
672
|
+
return retry_strategy.make_retrying_call(
|
673
|
+
self.base_client.call_api,
|
674
|
+
resource_path=resource_path,
|
675
|
+
method=method,
|
676
|
+
path_params=path_params,
|
677
|
+
header_params=header_params,
|
678
|
+
body=retrieve_metadata_details,
|
679
|
+
response_type="list[KnowledgeBaseMetadataSummary]",
|
680
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
681
|
+
operation_name=operation_name,
|
682
|
+
api_reference_link=api_reference_link,
|
683
|
+
required_arguments=required_arguments)
|
684
|
+
else:
|
685
|
+
return self.base_client.call_api(
|
686
|
+
resource_path=resource_path,
|
687
|
+
method=method,
|
688
|
+
path_params=path_params,
|
689
|
+
header_params=header_params,
|
690
|
+
body=retrieve_metadata_details,
|
691
|
+
response_type="list[KnowledgeBaseMetadataSummary]",
|
692
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
693
|
+
operation_name=operation_name,
|
694
|
+
api_reference_link=api_reference_link,
|
695
|
+
required_arguments=required_arguments)
|
696
|
+
|
575
697
|
def update_session(self, agent_endpoint_id, session_id, update_session_details, **kwargs):
|
576
698
|
"""
|
577
699
|
Update session metadata, including but not limited to description, tags.
|
@@ -612,7 +734,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
612
734
|
:rtype: :class:`~oci.response.Response`
|
613
735
|
|
614
736
|
:example:
|
615
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
737
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/generativeaiagentruntime/update_session.py.html>`__ to see an example of how to use update_session API.
|
616
738
|
"""
|
617
739
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
618
740
|
required_arguments = ['agentEndpointId', 'sessionId']
|
@@ -11,13 +11,25 @@ from .chat_result import ChatResult
|
|
11
11
|
from .citation import Citation
|
12
12
|
from .create_session_details import CreateSessionDetails
|
13
13
|
from .error_trace import ErrorTrace
|
14
|
+
from .function_call import FunctionCall
|
15
|
+
from .function_calling_performed_action import FunctionCallingPerformedAction
|
16
|
+
from .function_calling_required_action import FunctionCallingRequiredAction
|
14
17
|
from .generation_trace import GenerationTrace
|
18
|
+
from .human_approval_performed_action import HumanApprovalPerformedAction
|
19
|
+
from .knowledge_base_metadata_summary import KnowledgeBaseMetadataSummary
|
20
|
+
from .knowledge_base_metadata_value import KnowledgeBaseMetadataValue
|
15
21
|
from .message import Message
|
16
22
|
from .message_content import MessageContent
|
23
|
+
from .metadata_filter import MetadataFilter
|
17
24
|
from .oci_database_source_location import OciDatabaseSourceLocation
|
18
25
|
from .oci_object_storage_source_location import OciObjectStorageSourceLocation
|
19
26
|
from .oci_open_search_source_location import OciOpenSearchSourceLocation
|
27
|
+
from .paragraph import Paragraph
|
28
|
+
from .paragraph_citation import ParagraphCitation
|
29
|
+
from .performed_action import PerformedAction
|
30
|
+
from .required_action import RequiredAction
|
20
31
|
from .retrieval_trace import RetrievalTrace
|
32
|
+
from .retrieve_metadata_details import RetrieveMetadataDetails
|
21
33
|
from .session import Session
|
22
34
|
from .source_location import SourceLocation
|
23
35
|
from .trace import Trace
|
@@ -30,13 +42,25 @@ generative_ai_agent_runtime_type_mapping = {
|
|
30
42
|
"Citation": Citation,
|
31
43
|
"CreateSessionDetails": CreateSessionDetails,
|
32
44
|
"ErrorTrace": ErrorTrace,
|
45
|
+
"FunctionCall": FunctionCall,
|
46
|
+
"FunctionCallingPerformedAction": FunctionCallingPerformedAction,
|
47
|
+
"FunctionCallingRequiredAction": FunctionCallingRequiredAction,
|
33
48
|
"GenerationTrace": GenerationTrace,
|
49
|
+
"HumanApprovalPerformedAction": HumanApprovalPerformedAction,
|
50
|
+
"KnowledgeBaseMetadataSummary": KnowledgeBaseMetadataSummary,
|
51
|
+
"KnowledgeBaseMetadataValue": KnowledgeBaseMetadataValue,
|
34
52
|
"Message": Message,
|
35
53
|
"MessageContent": MessageContent,
|
54
|
+
"MetadataFilter": MetadataFilter,
|
36
55
|
"OciDatabaseSourceLocation": OciDatabaseSourceLocation,
|
37
56
|
"OciObjectStorageSourceLocation": OciObjectStorageSourceLocation,
|
38
57
|
"OciOpenSearchSourceLocation": OciOpenSearchSourceLocation,
|
58
|
+
"Paragraph": Paragraph,
|
59
|
+
"ParagraphCitation": ParagraphCitation,
|
60
|
+
"PerformedAction": PerformedAction,
|
61
|
+
"RequiredAction": RequiredAction,
|
39
62
|
"RetrievalTrace": RetrievalTrace,
|
63
|
+
"RetrieveMetadataDetails": RetrieveMetadataDetails,
|
40
64
|
"Session": Session,
|
41
65
|
"SourceLocation": SourceLocation,
|
42
66
|
"Trace": Trace,
|
@@ -32,25 +32,39 @@ class ChatDetails(object):
|
|
32
32
|
The value to assign to the session_id property of this ChatDetails.
|
33
33
|
:type session_id: str
|
34
34
|
|
35
|
+
:param tool_parameters:
|
36
|
+
The value to assign to the tool_parameters property of this ChatDetails.
|
37
|
+
:type tool_parameters: dict(str, str)
|
38
|
+
|
39
|
+
:param performed_actions:
|
40
|
+
The value to assign to the performed_actions property of this ChatDetails.
|
41
|
+
:type performed_actions: list[oci.generative_ai_agent_runtime.models.PerformedAction]
|
42
|
+
|
35
43
|
"""
|
36
44
|
self.swagger_types = {
|
37
45
|
'user_message': 'str',
|
38
46
|
'should_stream': 'bool',
|
39
|
-
'session_id': 'str'
|
47
|
+
'session_id': 'str',
|
48
|
+
'tool_parameters': 'dict(str, str)',
|
49
|
+
'performed_actions': 'list[PerformedAction]'
|
40
50
|
}
|
41
51
|
self.attribute_map = {
|
42
52
|
'user_message': 'userMessage',
|
43
53
|
'should_stream': 'shouldStream',
|
44
|
-
'session_id': 'sessionId'
|
54
|
+
'session_id': 'sessionId',
|
55
|
+
'tool_parameters': 'toolParameters',
|
56
|
+
'performed_actions': 'performedActions'
|
45
57
|
}
|
46
58
|
self._user_message = None
|
47
59
|
self._should_stream = None
|
48
60
|
self._session_id = None
|
61
|
+
self._tool_parameters = None
|
62
|
+
self._performed_actions = None
|
49
63
|
|
50
64
|
@property
|
51
65
|
def user_message(self):
|
52
66
|
"""
|
53
|
-
|
67
|
+
Gets the user_message of this ChatDetails.
|
54
68
|
The input user message content for the chat.
|
55
69
|
|
56
70
|
|
@@ -119,6 +133,54 @@ class ChatDetails(object):
|
|
119
133
|
"""
|
120
134
|
self._session_id = session_id
|
121
135
|
|
136
|
+
@property
|
137
|
+
def tool_parameters(self):
|
138
|
+
"""
|
139
|
+
Gets the tool_parameters of this ChatDetails.
|
140
|
+
A map where each key is a toolId and the value contains tool type and additional dynamic parameters.
|
141
|
+
|
142
|
+
|
143
|
+
:return: The tool_parameters of this ChatDetails.
|
144
|
+
:rtype: dict(str, str)
|
145
|
+
"""
|
146
|
+
return self._tool_parameters
|
147
|
+
|
148
|
+
@tool_parameters.setter
|
149
|
+
def tool_parameters(self, tool_parameters):
|
150
|
+
"""
|
151
|
+
Sets the tool_parameters of this ChatDetails.
|
152
|
+
A map where each key is a toolId and the value contains tool type and additional dynamic parameters.
|
153
|
+
|
154
|
+
|
155
|
+
:param tool_parameters: The tool_parameters of this ChatDetails.
|
156
|
+
:type: dict(str, str)
|
157
|
+
"""
|
158
|
+
self._tool_parameters = tool_parameters
|
159
|
+
|
160
|
+
@property
|
161
|
+
def performed_actions(self):
|
162
|
+
"""
|
163
|
+
Gets the performed_actions of this ChatDetails.
|
164
|
+
A list of actions that have been performed based on prior required actions.
|
165
|
+
|
166
|
+
|
167
|
+
:return: The performed_actions of this ChatDetails.
|
168
|
+
:rtype: list[oci.generative_ai_agent_runtime.models.PerformedAction]
|
169
|
+
"""
|
170
|
+
return self._performed_actions
|
171
|
+
|
172
|
+
@performed_actions.setter
|
173
|
+
def performed_actions(self, performed_actions):
|
174
|
+
"""
|
175
|
+
Sets the performed_actions of this ChatDetails.
|
176
|
+
A list of actions that have been performed based on prior required actions.
|
177
|
+
|
178
|
+
|
179
|
+
:param performed_actions: The performed_actions of this ChatDetails.
|
180
|
+
:type: list[oci.generative_ai_agent_runtime.models.PerformedAction]
|
181
|
+
"""
|
182
|
+
self._performed_actions = performed_actions
|
183
|
+
|
122
184
|
def __repr__(self):
|
123
185
|
return formatted_flat_dict(self)
|
124
186
|
|
@@ -28,17 +28,38 @@ class ChatResult(object):
|
|
28
28
|
The value to assign to the traces property of this ChatResult.
|
29
29
|
:type traces: list[oci.generative_ai_agent_runtime.models.Trace]
|
30
30
|
|
31
|
+
:param tool_results:
|
32
|
+
The value to assign to the tool_results property of this ChatResult.
|
33
|
+
:type tool_results: dict(str, str)
|
34
|
+
|
35
|
+
:param required_actions:
|
36
|
+
The value to assign to the required_actions property of this ChatResult.
|
37
|
+
:type required_actions: list[oci.generative_ai_agent_runtime.models.RequiredAction]
|
38
|
+
|
39
|
+
:param guardrail_result:
|
40
|
+
The value to assign to the guardrail_result property of this ChatResult.
|
41
|
+
:type guardrail_result: str
|
42
|
+
|
31
43
|
"""
|
32
44
|
self.swagger_types = {
|
33
45
|
'message': 'Message',
|
34
|
-
'traces': 'list[Trace]'
|
46
|
+
'traces': 'list[Trace]',
|
47
|
+
'tool_results': 'dict(str, str)',
|
48
|
+
'required_actions': 'list[RequiredAction]',
|
49
|
+
'guardrail_result': 'str'
|
35
50
|
}
|
36
51
|
self.attribute_map = {
|
37
52
|
'message': 'message',
|
38
|
-
'traces': 'traces'
|
53
|
+
'traces': 'traces',
|
54
|
+
'tool_results': 'toolResults',
|
55
|
+
'required_actions': 'requiredActions',
|
56
|
+
'guardrail_result': 'guardrailResult'
|
39
57
|
}
|
40
58
|
self._message = None
|
41
59
|
self._traces = None
|
60
|
+
self._tool_results = None
|
61
|
+
self._required_actions = None
|
62
|
+
self._guardrail_result = None
|
42
63
|
|
43
64
|
@property
|
44
65
|
def message(self):
|
@@ -84,6 +105,78 @@ class ChatResult(object):
|
|
84
105
|
"""
|
85
106
|
self._traces = traces
|
86
107
|
|
108
|
+
@property
|
109
|
+
def tool_results(self):
|
110
|
+
"""
|
111
|
+
Gets the tool_results of this ChatResult.
|
112
|
+
A map where each key is a toolId and the value contains tool type and additional dynamic results.
|
113
|
+
|
114
|
+
|
115
|
+
:return: The tool_results of this ChatResult.
|
116
|
+
:rtype: dict(str, str)
|
117
|
+
"""
|
118
|
+
return self._tool_results
|
119
|
+
|
120
|
+
@tool_results.setter
|
121
|
+
def tool_results(self, tool_results):
|
122
|
+
"""
|
123
|
+
Sets the tool_results of this ChatResult.
|
124
|
+
A map where each key is a toolId and the value contains tool type and additional dynamic results.
|
125
|
+
|
126
|
+
|
127
|
+
:param tool_results: The tool_results of this ChatResult.
|
128
|
+
:type: dict(str, str)
|
129
|
+
"""
|
130
|
+
self._tool_results = tool_results
|
131
|
+
|
132
|
+
@property
|
133
|
+
def required_actions(self):
|
134
|
+
"""
|
135
|
+
Gets the required_actions of this ChatResult.
|
136
|
+
A list of actions the agent requires the user or agent client to perform.
|
137
|
+
|
138
|
+
|
139
|
+
:return: The required_actions of this ChatResult.
|
140
|
+
:rtype: list[oci.generative_ai_agent_runtime.models.RequiredAction]
|
141
|
+
"""
|
142
|
+
return self._required_actions
|
143
|
+
|
144
|
+
@required_actions.setter
|
145
|
+
def required_actions(self, required_actions):
|
146
|
+
"""
|
147
|
+
Sets the required_actions of this ChatResult.
|
148
|
+
A list of actions the agent requires the user or agent client to perform.
|
149
|
+
|
150
|
+
|
151
|
+
:param required_actions: The required_actions of this ChatResult.
|
152
|
+
:type: list[oci.generative_ai_agent_runtime.models.RequiredAction]
|
153
|
+
"""
|
154
|
+
self._required_actions = required_actions
|
155
|
+
|
156
|
+
@property
|
157
|
+
def guardrail_result(self):
|
158
|
+
"""
|
159
|
+
Gets the guardrail_result of this ChatResult.
|
160
|
+
Captures the result of guardrail evaluations as JSON string performed on either the input to the agent or the output generated by the agent.
|
161
|
+
|
162
|
+
|
163
|
+
:return: The guardrail_result of this ChatResult.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._guardrail_result
|
167
|
+
|
168
|
+
@guardrail_result.setter
|
169
|
+
def guardrail_result(self, guardrail_result):
|
170
|
+
"""
|
171
|
+
Sets the guardrail_result of this ChatResult.
|
172
|
+
Captures the result of guardrail evaluations as JSON string performed on either the input to the agent or the output generated by the agent.
|
173
|
+
|
174
|
+
|
175
|
+
:param guardrail_result: The guardrail_result of this ChatResult.
|
176
|
+
:type: str
|
177
|
+
"""
|
178
|
+
self._guardrail_result = guardrail_result
|
179
|
+
|
87
180
|
def __repr__(self):
|
88
181
|
return formatted_flat_dict(self)
|
89
182
|
|
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
|
|
12
12
|
@init_model_state_from_kwargs
|
13
13
|
class Citation(object):
|
14
14
|
"""
|
15
|
-
The
|
15
|
+
The source of information for the agent's response.
|
16
16
|
"""
|
17
17
|
|
18
18
|
def __init__(self, **kwargs):
|
@@ -40,26 +40,33 @@ class Citation(object):
|
|
40
40
|
The value to assign to the page_numbers property of this Citation.
|
41
41
|
:type page_numbers: list[int]
|
42
42
|
|
43
|
+
:param metadata:
|
44
|
+
The value to assign to the metadata property of this Citation.
|
45
|
+
:type metadata: dict(str, object)
|
46
|
+
|
43
47
|
"""
|
44
48
|
self.swagger_types = {
|
45
49
|
'source_text': 'str',
|
46
50
|
'source_location': 'SourceLocation',
|
47
51
|
'title': 'str',
|
48
52
|
'doc_id': 'str',
|
49
|
-
'page_numbers': 'list[int]'
|
53
|
+
'page_numbers': 'list[int]',
|
54
|
+
'metadata': 'dict(str, object)'
|
50
55
|
}
|
51
56
|
self.attribute_map = {
|
52
57
|
'source_text': 'sourceText',
|
53
58
|
'source_location': 'sourceLocation',
|
54
59
|
'title': 'title',
|
55
60
|
'doc_id': 'docId',
|
56
|
-
'page_numbers': 'pageNumbers'
|
61
|
+
'page_numbers': 'pageNumbers',
|
62
|
+
'metadata': 'metadata'
|
57
63
|
}
|
58
64
|
self._source_text = None
|
59
65
|
self._source_location = None
|
60
66
|
self._title = None
|
61
67
|
self._doc_id = None
|
62
68
|
self._page_numbers = None
|
69
|
+
self._metadata = None
|
63
70
|
|
64
71
|
@property
|
65
72
|
def source_text(self):
|
@@ -177,6 +184,30 @@ class Citation(object):
|
|
177
184
|
"""
|
178
185
|
self._page_numbers = page_numbers
|
179
186
|
|
187
|
+
@property
|
188
|
+
def metadata(self):
|
189
|
+
"""
|
190
|
+
Gets the metadata of this Citation.
|
191
|
+
The metadata of the retrieved document, if available.
|
192
|
+
|
193
|
+
|
194
|
+
:return: The metadata of this Citation.
|
195
|
+
:rtype: dict(str, object)
|
196
|
+
"""
|
197
|
+
return self._metadata
|
198
|
+
|
199
|
+
@metadata.setter
|
200
|
+
def metadata(self, metadata):
|
201
|
+
"""
|
202
|
+
Sets the metadata of this Citation.
|
203
|
+
The metadata of the retrieved document, if available.
|
204
|
+
|
205
|
+
|
206
|
+
:param metadata: The metadata of this Citation.
|
207
|
+
:type: dict(str, object)
|
208
|
+
"""
|
209
|
+
self._metadata = metadata
|
210
|
+
|
180
211
|
def __repr__(self):
|
181
212
|
return formatted_flat_dict(self)
|
182
213
|
|
@@ -0,0 +1,101 @@
|
|
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: 20240531
|
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 FunctionCall(object):
|
14
|
+
"""
|
15
|
+
Represent a function call the client need to execute in order to fulfill the required action.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new FunctionCall object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param name:
|
24
|
+
The value to assign to the name property of this FunctionCall.
|
25
|
+
:type name: str
|
26
|
+
|
27
|
+
:param arguments:
|
28
|
+
The value to assign to the arguments property of this FunctionCall.
|
29
|
+
:type arguments: str
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'name': 'str',
|
34
|
+
'arguments': 'str'
|
35
|
+
}
|
36
|
+
self.attribute_map = {
|
37
|
+
'name': 'name',
|
38
|
+
'arguments': 'arguments'
|
39
|
+
}
|
40
|
+
self._name = None
|
41
|
+
self._arguments = None
|
42
|
+
|
43
|
+
@property
|
44
|
+
def name(self):
|
45
|
+
"""
|
46
|
+
**[Required]** Gets the name of this FunctionCall.
|
47
|
+
Name of the function to be executed.
|
48
|
+
|
49
|
+
|
50
|
+
:return: The name of this FunctionCall.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._name
|
54
|
+
|
55
|
+
@name.setter
|
56
|
+
def name(self, name):
|
57
|
+
"""
|
58
|
+
Sets the name of this FunctionCall.
|
59
|
+
Name of the function to be executed.
|
60
|
+
|
61
|
+
|
62
|
+
:param name: The name of this FunctionCall.
|
63
|
+
:type: str
|
64
|
+
"""
|
65
|
+
self._name = name
|
66
|
+
|
67
|
+
@property
|
68
|
+
def arguments(self):
|
69
|
+
"""
|
70
|
+
**[Required]** Gets the arguments of this FunctionCall.
|
71
|
+
Arguments for the function call as a JSON string.
|
72
|
+
|
73
|
+
|
74
|
+
:return: The arguments of this FunctionCall.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._arguments
|
78
|
+
|
79
|
+
@arguments.setter
|
80
|
+
def arguments(self, arguments):
|
81
|
+
"""
|
82
|
+
Sets the arguments of this FunctionCall.
|
83
|
+
Arguments for the function call as a JSON string.
|
84
|
+
|
85
|
+
|
86
|
+
:param arguments: The arguments of this FunctionCall.
|
87
|
+
:type: str
|
88
|
+
"""
|
89
|
+
self._arguments = arguments
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|