oci 2.150.2__py3-none-any.whl → 2.150.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +4 -1
- 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 +12 -12
- 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 +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- 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 +145 -145
- 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 +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +42 -0
- oci/disaster_recovery/models/block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +35 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +35 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +1 -0
- oci/disaster_recovery/models/create_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/create_block_volume_mount_details.py +3 -2
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +115 -2
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +14 -14
- oci/disaster_recovery/models/create_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/create_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/dr_plan_step.py +58 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +58 -3
- oci/disaster_recovery/models/dr_plan_user_defined_step.py +57 -13
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +29 -2
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +31 -2
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +64 -2
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +113 -2
- oci/disaster_recovery/models/invoke_function_precheck_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_user_defined_custom_precheck_step.py +154 -0
- oci/disaster_recovery/models/local_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/object_store_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/run_local_script_user_defined_custom_precheck_step.py +199 -0
- oci/disaster_recovery/models/run_local_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/run_object_store_script_user_defined_custom_precheck_step.py +156 -0
- oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/source_volume_to_destination_encryption_key_mapping.py +101 -0
- oci/disaster_recovery/models/update_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/update_block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +57 -13
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +113 -2
- oci/disaster_recovery/models/update_invoke_function_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_invoke_function_user_defined_custom_precheck_step_details.py +119 -0
- oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_local_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_object_store_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_local_script_user_defined_custom_precheck_step_details.py +164 -0
- oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_custom_precheck_step_details.py +121 -0
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/update_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/vault_and_encryption_key.py +115 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +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 +24 -24
- oci/generative_ai/models/content_moderation_config.py +79 -1
- oci/generative_ai/models/model.py +69 -3
- oci/generative_ai/models/model_summary.py +69 -3
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generative_ai_inference/models/__init__.py +8 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +41 -2
- oci/generative_ai_inference/models/cohere_chat_response.py +29 -2
- oci/generative_ai_inference/models/completion_tokens_details.py +132 -0
- oci/generative_ai_inference/models/embed_text_result.py +29 -2
- oci/generative_ai_inference/models/prompt_tokens_details.py +70 -0
- oci/generative_ai_inference/models/stream_options.py +70 -0
- oci/generative_ai_inference/models/usage.py +186 -0
- 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 +89 -89
- 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/lustre_file_storage_client.py +11 -11
- 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 +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- 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/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/regions_definitions.py +0 -9
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/models/__init__.py +12 -0
- oci/resource_scheduler/models/body_parameter.py +80 -0
- oci/resource_scheduler/models/change_schedule_compartment_details.py +74 -0
- oci/resource_scheduler/models/header_parameter.py +80 -0
- oci/resource_scheduler/models/parameter.py +123 -0
- oci/resource_scheduler/models/path_parameter.py +80 -0
- oci/resource_scheduler/models/query_parameter.py +80 -0
- oci/resource_scheduler/models/resource.py +113 -2
- oci/resource_scheduler/models/schedule.py +71 -0
- oci/resource_scheduler/schedule_client.py +156 -18
- oci/resource_scheduler/schedule_client_composite_operations.py +44 -0
- 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/stack_monitoring_client.py +87 -87
- 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.150.2.dist-info → oci-2.150.3.dist-info}/METADATA +1 -1
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/RECORD +350 -319
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/WHEEL +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/top_level.txt +0 -0
@@ -162,7 +162,7 @@ class GenerativeAiAgentClient(object):
|
|
162
162
|
:rtype: :class:`~oci.response.Response`
|
163
163
|
|
164
164
|
:example:
|
165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
166
166
|
"""
|
167
167
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
168
168
|
required_arguments = ['workRequestId']
|
@@ -284,7 +284,7 @@ class GenerativeAiAgentClient(object):
|
|
284
284
|
:rtype: :class:`~oci.response.Response`
|
285
285
|
|
286
286
|
:example:
|
287
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
287
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/change_agent_compartment.py.html>`__ to see an example of how to use change_agent_compartment API.
|
288
288
|
"""
|
289
289
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
290
290
|
required_arguments = ['agentId']
|
@@ -411,7 +411,7 @@ class GenerativeAiAgentClient(object):
|
|
411
411
|
:rtype: :class:`~oci.response.Response`
|
412
412
|
|
413
413
|
:example:
|
414
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/change_agent_endpoint_compartment.py.html>`__ to see an example of how to use change_agent_endpoint_compartment API.
|
415
415
|
"""
|
416
416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
417
417
|
required_arguments = ['agentEndpointId']
|
@@ -538,7 +538,7 @@ class GenerativeAiAgentClient(object):
|
|
538
538
|
:rtype: :class:`~oci.response.Response`
|
539
539
|
|
540
540
|
:example:
|
541
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/change_knowledge_base_compartment.py.html>`__ to see an example of how to use change_knowledge_base_compartment API.
|
542
542
|
"""
|
543
543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
544
544
|
required_arguments = ['knowledgeBaseId']
|
@@ -651,7 +651,7 @@ class GenerativeAiAgentClient(object):
|
|
651
651
|
:rtype: :class:`~oci.response.Response`
|
652
652
|
|
653
653
|
:example:
|
654
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
654
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_agent.py.html>`__ to see an example of how to use create_agent API.
|
655
655
|
"""
|
656
656
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
657
657
|
required_arguments = []
|
@@ -752,7 +752,7 @@ class GenerativeAiAgentClient(object):
|
|
752
752
|
:rtype: :class:`~oci.response.Response`
|
753
753
|
|
754
754
|
:example:
|
755
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
755
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_agent_endpoint.py.html>`__ to see an example of how to use create_agent_endpoint API.
|
756
756
|
"""
|
757
757
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
758
758
|
required_arguments = []
|
@@ -853,7 +853,7 @@ class GenerativeAiAgentClient(object):
|
|
853
853
|
:rtype: :class:`~oci.response.Response`
|
854
854
|
|
855
855
|
:example:
|
856
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
856
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_data_ingestion_job.py.html>`__ to see an example of how to use create_data_ingestion_job API.
|
857
857
|
"""
|
858
858
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
859
859
|
required_arguments = []
|
@@ -954,7 +954,7 @@ class GenerativeAiAgentClient(object):
|
|
954
954
|
:rtype: :class:`~oci.response.Response`
|
955
955
|
|
956
956
|
:example:
|
957
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
957
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_data_source.py.html>`__ to see an example of how to use create_data_source API.
|
958
958
|
"""
|
959
959
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
960
960
|
required_arguments = []
|
@@ -1055,7 +1055,7 @@ class GenerativeAiAgentClient(object):
|
|
1055
1055
|
:rtype: :class:`~oci.response.Response`
|
1056
1056
|
|
1057
1057
|
:example:
|
1058
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1058
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_knowledge_base.py.html>`__ to see an example of how to use create_knowledge_base API.
|
1059
1059
|
"""
|
1060
1060
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1061
1061
|
required_arguments = []
|
@@ -1156,7 +1156,7 @@ class GenerativeAiAgentClient(object):
|
|
1156
1156
|
:rtype: :class:`~oci.response.Response`
|
1157
1157
|
|
1158
1158
|
:example:
|
1159
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1159
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/create_tool.py.html>`__ to see an example of how to use create_tool API.
|
1160
1160
|
"""
|
1161
1161
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1162
1162
|
required_arguments = []
|
@@ -1258,7 +1258,7 @@ class GenerativeAiAgentClient(object):
|
|
1258
1258
|
:rtype: :class:`~oci.response.Response`
|
1259
1259
|
|
1260
1260
|
:example:
|
1261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_agent.py.html>`__ to see an example of how to use delete_agent API.
|
1262
1262
|
"""
|
1263
1263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1264
1264
|
required_arguments = ['agentId']
|
@@ -1367,7 +1367,7 @@ class GenerativeAiAgentClient(object):
|
|
1367
1367
|
:rtype: :class:`~oci.response.Response`
|
1368
1368
|
|
1369
1369
|
:example:
|
1370
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1370
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_agent_endpoint.py.html>`__ to see an example of how to use delete_agent_endpoint API.
|
1371
1371
|
"""
|
1372
1372
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1373
1373
|
required_arguments = ['agentEndpointId']
|
@@ -1476,7 +1476,7 @@ class GenerativeAiAgentClient(object):
|
|
1476
1476
|
:rtype: :class:`~oci.response.Response`
|
1477
1477
|
|
1478
1478
|
:example:
|
1479
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1479
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_data_ingestion_job.py.html>`__ to see an example of how to use delete_data_ingestion_job API.
|
1480
1480
|
"""
|
1481
1481
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1482
1482
|
required_arguments = ['dataIngestionJobId']
|
@@ -1585,7 +1585,7 @@ class GenerativeAiAgentClient(object):
|
|
1585
1585
|
:rtype: :class:`~oci.response.Response`
|
1586
1586
|
|
1587
1587
|
:example:
|
1588
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1588
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_data_source.py.html>`__ to see an example of how to use delete_data_source API.
|
1589
1589
|
"""
|
1590
1590
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1591
1591
|
required_arguments = ['dataSourceId']
|
@@ -1694,7 +1694,7 @@ class GenerativeAiAgentClient(object):
|
|
1694
1694
|
:rtype: :class:`~oci.response.Response`
|
1695
1695
|
|
1696
1696
|
:example:
|
1697
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1697
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_knowledge_base.py.html>`__ to see an example of how to use delete_knowledge_base API.
|
1698
1698
|
"""
|
1699
1699
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1700
1700
|
required_arguments = ['knowledgeBaseId']
|
@@ -1803,7 +1803,7 @@ class GenerativeAiAgentClient(object):
|
|
1803
1803
|
:rtype: :class:`~oci.response.Response`
|
1804
1804
|
|
1805
1805
|
:example:
|
1806
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1806
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/delete_tool.py.html>`__ to see an example of how to use delete_tool API.
|
1807
1807
|
"""
|
1808
1808
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1809
1809
|
required_arguments = ['toolId']
|
@@ -1906,7 +1906,7 @@ class GenerativeAiAgentClient(object):
|
|
1906
1906
|
:rtype: :class:`~oci.response.Response`
|
1907
1907
|
|
1908
1908
|
:example:
|
1909
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1909
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_agent.py.html>`__ to see an example of how to use get_agent API.
|
1910
1910
|
"""
|
1911
1911
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1912
1912
|
required_arguments = ['agentId']
|
@@ -2009,7 +2009,7 @@ class GenerativeAiAgentClient(object):
|
|
2009
2009
|
:rtype: :class:`~oci.response.Response`
|
2010
2010
|
|
2011
2011
|
:example:
|
2012
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2012
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_agent_endpoint.py.html>`__ to see an example of how to use get_agent_endpoint API.
|
2013
2013
|
"""
|
2014
2014
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2015
2015
|
required_arguments = ['agentEndpointId']
|
@@ -2112,7 +2112,7 @@ class GenerativeAiAgentClient(object):
|
|
2112
2112
|
:rtype: :class:`~oci.response.Response`
|
2113
2113
|
|
2114
2114
|
:example:
|
2115
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2115
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_data_ingestion_job.py.html>`__ to see an example of how to use get_data_ingestion_job API.
|
2116
2116
|
"""
|
2117
2117
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2118
2118
|
required_arguments = ['dataIngestionJobId']
|
@@ -2215,7 +2215,7 @@ class GenerativeAiAgentClient(object):
|
|
2215
2215
|
:rtype: :class:`~oci.response.Response`
|
2216
2216
|
|
2217
2217
|
:example:
|
2218
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2218
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_data_ingestion_job_log_content.py.html>`__ to see an example of how to use get_data_ingestion_job_log_content API.
|
2219
2219
|
"""
|
2220
2220
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2221
2221
|
required_arguments = ['dataIngestionJobId']
|
@@ -2318,7 +2318,7 @@ class GenerativeAiAgentClient(object):
|
|
2318
2318
|
:rtype: :class:`~oci.response.Response`
|
2319
2319
|
|
2320
2320
|
:example:
|
2321
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2321
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_data_source.py.html>`__ to see an example of how to use get_data_source API.
|
2322
2322
|
"""
|
2323
2323
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2324
2324
|
required_arguments = ['dataSourceId']
|
@@ -2421,7 +2421,7 @@ class GenerativeAiAgentClient(object):
|
|
2421
2421
|
:rtype: :class:`~oci.response.Response`
|
2422
2422
|
|
2423
2423
|
:example:
|
2424
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2424
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_knowledge_base.py.html>`__ to see an example of how to use get_knowledge_base API.
|
2425
2425
|
"""
|
2426
2426
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2427
2427
|
required_arguments = ['knowledgeBaseId']
|
@@ -2524,7 +2524,7 @@ class GenerativeAiAgentClient(object):
|
|
2524
2524
|
:rtype: :class:`~oci.response.Response`
|
2525
2525
|
|
2526
2526
|
:example:
|
2527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2527
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_tool.py.html>`__ to see an example of how to use get_tool API.
|
2528
2528
|
"""
|
2529
2529
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2530
2530
|
required_arguments = ['toolId']
|
@@ -2627,7 +2627,7 @@ class GenerativeAiAgentClient(object):
|
|
2627
2627
|
:rtype: :class:`~oci.response.Response`
|
2628
2628
|
|
2629
2629
|
:example:
|
2630
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2630
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2631
2631
|
"""
|
2632
2632
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2633
2633
|
required_arguments = ['workRequestId']
|
@@ -2769,7 +2769,7 @@ class GenerativeAiAgentClient(object):
|
|
2769
2769
|
:rtype: :class:`~oci.response.Response`
|
2770
2770
|
|
2771
2771
|
:example:
|
2772
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_agent_endpoints.py.html>`__ to see an example of how to use list_agent_endpoints API.
|
2773
2773
|
"""
|
2774
2774
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2775
2775
|
required_arguments = []
|
@@ -2937,7 +2937,7 @@ class GenerativeAiAgentClient(object):
|
|
2937
2937
|
:rtype: :class:`~oci.response.Response`
|
2938
2938
|
|
2939
2939
|
:example:
|
2940
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2940
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_agents.py.html>`__ to see an example of how to use list_agents API.
|
2941
2941
|
"""
|
2942
2942
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2943
2943
|
required_arguments = []
|
@@ -3108,7 +3108,7 @@ class GenerativeAiAgentClient(object):
|
|
3108
3108
|
:rtype: :class:`~oci.response.Response`
|
3109
3109
|
|
3110
3110
|
:example:
|
3111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3111
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_data_ingestion_jobs.py.html>`__ to see an example of how to use list_data_ingestion_jobs API.
|
3112
3112
|
"""
|
3113
3113
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3114
3114
|
required_arguments = []
|
@@ -3281,7 +3281,7 @@ class GenerativeAiAgentClient(object):
|
|
3281
3281
|
:rtype: :class:`~oci.response.Response`
|
3282
3282
|
|
3283
3283
|
:example:
|
3284
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3284
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_data_sources.py.html>`__ to see an example of how to use list_data_sources API.
|
3285
3285
|
"""
|
3286
3286
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3287
3287
|
required_arguments = []
|
@@ -3449,7 +3449,7 @@ class GenerativeAiAgentClient(object):
|
|
3449
3449
|
:rtype: :class:`~oci.response.Response`
|
3450
3450
|
|
3451
3451
|
:example:
|
3452
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3452
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_knowledge_bases.py.html>`__ to see an example of how to use list_knowledge_bases API.
|
3453
3453
|
"""
|
3454
3454
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3455
3455
|
required_arguments = []
|
@@ -3620,7 +3620,7 @@ class GenerativeAiAgentClient(object):
|
|
3620
3620
|
:rtype: :class:`~oci.response.Response`
|
3621
3621
|
|
3622
3622
|
:example:
|
3623
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3623
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_tools.py.html>`__ to see an example of how to use list_tools API.
|
3624
3624
|
"""
|
3625
3625
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3626
3626
|
required_arguments = []
|
@@ -3778,7 +3778,7 @@ class GenerativeAiAgentClient(object):
|
|
3778
3778
|
:rtype: :class:`~oci.response.Response`
|
3779
3779
|
|
3780
3780
|
:example:
|
3781
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3781
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
3782
3782
|
"""
|
3783
3783
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3784
3784
|
required_arguments = ['workRequestId']
|
@@ -3933,7 +3933,7 @@ class GenerativeAiAgentClient(object):
|
|
3933
3933
|
:rtype: :class:`~oci.response.Response`
|
3934
3934
|
|
3935
3935
|
:example:
|
3936
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3936
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
3937
3937
|
"""
|
3938
3938
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3939
3939
|
required_arguments = ['workRequestId']
|
@@ -4103,7 +4103,7 @@ class GenerativeAiAgentClient(object):
|
|
4103
4103
|
:rtype: :class:`~oci.response.Response`
|
4104
4104
|
|
4105
4105
|
:example:
|
4106
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4106
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4107
4107
|
"""
|
4108
4108
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4109
4109
|
required_arguments = []
|
@@ -4246,7 +4246,7 @@ class GenerativeAiAgentClient(object):
|
|
4246
4246
|
:rtype: :class:`~oci.response.Response`
|
4247
4247
|
|
4248
4248
|
:example:
|
4249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/update_agent.py.html>`__ to see an example of how to use update_agent API.
|
4250
4250
|
"""
|
4251
4251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4252
4252
|
required_arguments = ['agentId']
|
@@ -4360,7 +4360,7 @@ class GenerativeAiAgentClient(object):
|
|
4360
4360
|
:rtype: :class:`~oci.response.Response`
|
4361
4361
|
|
4362
4362
|
:example:
|
4363
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4363
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/update_agent_endpoint.py.html>`__ to see an example of how to use update_agent_endpoint API.
|
4364
4364
|
"""
|
4365
4365
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4366
4366
|
required_arguments = ['agentEndpointId']
|
@@ -4474,7 +4474,7 @@ class GenerativeAiAgentClient(object):
|
|
4474
4474
|
:rtype: :class:`~oci.response.Response`
|
4475
4475
|
|
4476
4476
|
:example:
|
4477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4477
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/update_data_source.py.html>`__ to see an example of how to use update_data_source API.
|
4478
4478
|
"""
|
4479
4479
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4480
4480
|
required_arguments = ['dataSourceId']
|
@@ -4588,7 +4588,7 @@ class GenerativeAiAgentClient(object):
|
|
4588
4588
|
:rtype: :class:`~oci.response.Response`
|
4589
4589
|
|
4590
4590
|
:example:
|
4591
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/update_knowledge_base.py.html>`__ to see an example of how to use update_knowledge_base API.
|
4592
4592
|
"""
|
4593
4593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4594
4594
|
required_arguments = ['knowledgeBaseId']
|
@@ -4702,7 +4702,7 @@ class GenerativeAiAgentClient(object):
|
|
4702
4702
|
:rtype: :class:`~oci.response.Response`
|
4703
4703
|
|
4704
4704
|
:example:
|
4705
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4705
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagent/update_tool.py.html>`__ to see an example of how to use update_tool API.
|
4706
4706
|
"""
|
4707
4707
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4708
4708
|
required_arguments = ['toolId']
|
@@ -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.150.
|
171
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/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.150.
|
288
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/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.150.
|
401
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/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.150.
|
503
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/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']
|
@@ -616,7 +616,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
616
616
|
:rtype: :class:`~oci.response.Response`
|
617
617
|
|
618
618
|
:example:
|
619
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagentruntime/retrieve_metadata.py.html>`__ to see an example of how to use retrieve_metadata API.
|
620
620
|
"""
|
621
621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
622
622
|
required_arguments = ['knowledgeBaseId']
|
@@ -734,7 +734,7 @@ class GenerativeAiAgentRuntimeClient(object):
|
|
734
734
|
:rtype: :class:`~oci.response.Response`
|
735
735
|
|
736
736
|
:example:
|
737
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
737
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiagentruntime/update_session.py.html>`__ to see an example of how to use update_session API.
|
738
738
|
"""
|
739
739
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
740
740
|
required_arguments = ['agentEndpointId', 'sessionId']
|
@@ -155,7 +155,7 @@ class GenerativeAiInferenceClient(object):
|
|
155
155
|
:rtype: :class:`~oci.response.Response`
|
156
156
|
|
157
157
|
:example:
|
158
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/apply_guardrails.py.html>`__ to see an example of how to use apply_guardrails API.
|
159
159
|
"""
|
160
160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
161
161
|
required_arguments = []
|
@@ -252,7 +252,7 @@ class GenerativeAiInferenceClient(object):
|
|
252
252
|
:rtype: :class:`~oci.response.Response`
|
253
253
|
|
254
254
|
:example:
|
255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/chat.py.html>`__ to see an example of how to use chat API.
|
256
256
|
"""
|
257
257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
258
258
|
required_arguments = []
|
@@ -351,7 +351,7 @@ class GenerativeAiInferenceClient(object):
|
|
351
351
|
:rtype: :class:`~oci.response.Response`
|
352
352
|
|
353
353
|
:example:
|
354
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
354
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/embed_text.py.html>`__ to see an example of how to use embed_text API.
|
355
355
|
"""
|
356
356
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
357
357
|
required_arguments = []
|
@@ -448,7 +448,7 @@ class GenerativeAiInferenceClient(object):
|
|
448
448
|
:rtype: :class:`~oci.response.Response`
|
449
449
|
|
450
450
|
:example:
|
451
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
451
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/generate_text.py.html>`__ to see an example of how to use generate_text API.
|
452
452
|
"""
|
453
453
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
454
454
|
required_arguments = []
|
@@ -547,7 +547,7 @@ class GenerativeAiInferenceClient(object):
|
|
547
547
|
:rtype: :class:`~oci.response.Response`
|
548
548
|
|
549
549
|
:example:
|
550
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
550
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/rerank_text.py.html>`__ to see an example of how to use rerank_text API.
|
551
551
|
"""
|
552
552
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
553
553
|
required_arguments = []
|
@@ -644,7 +644,7 @@ class GenerativeAiInferenceClient(object):
|
|
644
644
|
:rtype: :class:`~oci.response.Response`
|
645
645
|
|
646
646
|
:example:
|
647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.3/generativeaiinference/summarize_text.py.html>`__ to see an example of how to use summarize_text API.
|
648
648
|
"""
|
649
649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
650
650
|
required_arguments = []
|
@@ -34,6 +34,7 @@ from .cohere_tool_call import CohereToolCall
|
|
34
34
|
from .cohere_tool_message import CohereToolMessage
|
35
35
|
from .cohere_tool_result import CohereToolResult
|
36
36
|
from .cohere_user_message import CohereUserMessage
|
37
|
+
from .completion_tokens_details import CompletionTokensDetails
|
37
38
|
from .content_moderation_configuration import ContentModerationConfiguration
|
38
39
|
from .content_moderation_result import ContentModerationResult
|
39
40
|
from .dedicated_serving_mode import DedicatedServingMode
|
@@ -65,10 +66,12 @@ from .personally_identifiable_information_configuration import PersonallyIdentif
|
|
65
66
|
from .personally_identifiable_information_result import PersonallyIdentifiableInformationResult
|
66
67
|
from .prompt_injection_configuration import PromptInjectionConfiguration
|
67
68
|
from .prompt_injection_protection_result import PromptInjectionProtectionResult
|
69
|
+
from .prompt_tokens_details import PromptTokensDetails
|
68
70
|
from .rerank_text_details import RerankTextDetails
|
69
71
|
from .rerank_text_result import RerankTextResult
|
70
72
|
from .search_query import SearchQuery
|
71
73
|
from .serving_mode import ServingMode
|
74
|
+
from .stream_options import StreamOptions
|
72
75
|
from .summarize_text_details import SummarizeTextDetails
|
73
76
|
from .summarize_text_result import SummarizeTextResult
|
74
77
|
from .system_message import SystemMessage
|
@@ -82,6 +85,7 @@ from .tool_choice_none import ToolChoiceNone
|
|
82
85
|
from .tool_choice_required import ToolChoiceRequired
|
83
86
|
from .tool_definition import ToolDefinition
|
84
87
|
from .tool_message import ToolMessage
|
88
|
+
from .usage import Usage
|
85
89
|
from .user_message import UserMessage
|
86
90
|
|
87
91
|
# Maps type names to classes for generative_ai_inference services.
|
@@ -114,6 +118,7 @@ generative_ai_inference_type_mapping = {
|
|
114
118
|
"CohereToolMessage": CohereToolMessage,
|
115
119
|
"CohereToolResult": CohereToolResult,
|
116
120
|
"CohereUserMessage": CohereUserMessage,
|
121
|
+
"CompletionTokensDetails": CompletionTokensDetails,
|
117
122
|
"ContentModerationConfiguration": ContentModerationConfiguration,
|
118
123
|
"ContentModerationResult": ContentModerationResult,
|
119
124
|
"DedicatedServingMode": DedicatedServingMode,
|
@@ -145,10 +150,12 @@ generative_ai_inference_type_mapping = {
|
|
145
150
|
"PersonallyIdentifiableInformationResult": PersonallyIdentifiableInformationResult,
|
146
151
|
"PromptInjectionConfiguration": PromptInjectionConfiguration,
|
147
152
|
"PromptInjectionProtectionResult": PromptInjectionProtectionResult,
|
153
|
+
"PromptTokensDetails": PromptTokensDetails,
|
148
154
|
"RerankTextDetails": RerankTextDetails,
|
149
155
|
"RerankTextResult": RerankTextResult,
|
150
156
|
"SearchQuery": SearchQuery,
|
151
157
|
"ServingMode": ServingMode,
|
158
|
+
"StreamOptions": StreamOptions,
|
152
159
|
"SummarizeTextDetails": SummarizeTextDetails,
|
153
160
|
"SummarizeTextResult": SummarizeTextResult,
|
154
161
|
"SystemMessage": SystemMessage,
|
@@ -162,5 +169,6 @@ generative_ai_inference_type_mapping = {
|
|
162
169
|
"ToolChoiceRequired": ToolChoiceRequired,
|
163
170
|
"ToolDefinition": ToolDefinition,
|
164
171
|
"ToolMessage": ToolMessage,
|
172
|
+
"Usage": Usage,
|
165
173
|
"UserMessage": UserMessage
|
166
174
|
}
|
@@ -82,6 +82,10 @@ class CohereChatRequest(BaseChatRequest):
|
|
82
82
|
The value to assign to the is_stream property of this CohereChatRequest.
|
83
83
|
:type is_stream: bool
|
84
84
|
|
85
|
+
:param stream_options:
|
86
|
+
The value to assign to the stream_options property of this CohereChatRequest.
|
87
|
+
:type stream_options: oci.generative_ai_inference.models.StreamOptions
|
88
|
+
|
85
89
|
:param max_tokens:
|
86
90
|
The value to assign to the max_tokens property of this CohereChatRequest.
|
87
91
|
:type max_tokens: int
|
@@ -163,6 +167,7 @@ class CohereChatRequest(BaseChatRequest):
|
|
163
167
|
'is_search_queries_only': 'bool',
|
164
168
|
'preamble_override': 'str',
|
165
169
|
'is_stream': 'bool',
|
170
|
+
'stream_options': 'StreamOptions',
|
166
171
|
'max_tokens': 'int',
|
167
172
|
'max_input_tokens': 'int',
|
168
173
|
'temperature': 'float',
|
@@ -190,6 +195,7 @@ class CohereChatRequest(BaseChatRequest):
|
|
190
195
|
'is_search_queries_only': 'isSearchQueriesOnly',
|
191
196
|
'preamble_override': 'preambleOverride',
|
192
197
|
'is_stream': 'isStream',
|
198
|
+
'stream_options': 'streamOptions',
|
193
199
|
'max_tokens': 'maxTokens',
|
194
200
|
'max_input_tokens': 'maxInputTokens',
|
195
201
|
'temperature': 'temperature',
|
@@ -216,6 +222,7 @@ class CohereChatRequest(BaseChatRequest):
|
|
216
222
|
self._is_search_queries_only = None
|
217
223
|
self._preamble_override = None
|
218
224
|
self._is_stream = None
|
225
|
+
self._stream_options = None
|
219
226
|
self._max_tokens = None
|
220
227
|
self._max_input_tokens = None
|
221
228
|
self._temperature = None
|
@@ -417,6 +424,26 @@ class CohereChatRequest(BaseChatRequest):
|
|
417
424
|
"""
|
418
425
|
self._is_stream = is_stream
|
419
426
|
|
427
|
+
@property
|
428
|
+
def stream_options(self):
|
429
|
+
"""
|
430
|
+
Gets the stream_options of this CohereChatRequest.
|
431
|
+
|
432
|
+
:return: The stream_options of this CohereChatRequest.
|
433
|
+
:rtype: oci.generative_ai_inference.models.StreamOptions
|
434
|
+
"""
|
435
|
+
return self._stream_options
|
436
|
+
|
437
|
+
@stream_options.setter
|
438
|
+
def stream_options(self, stream_options):
|
439
|
+
"""
|
440
|
+
Sets the stream_options of this CohereChatRequest.
|
441
|
+
|
442
|
+
:param stream_options: The stream_options of this CohereChatRequest.
|
443
|
+
:type: oci.generative_ai_inference.models.StreamOptions
|
444
|
+
"""
|
445
|
+
self._stream_options = stream_options
|
446
|
+
|
420
447
|
@property
|
421
448
|
def max_tokens(self):
|
422
449
|
"""
|
@@ -833,7 +860,13 @@ class CohereChatRequest(BaseChatRequest):
|
|
833
860
|
def safety_mode(self):
|
834
861
|
"""
|
835
862
|
Gets the safety_mode of this CohereChatRequest.
|
836
|
-
|
863
|
+
Safety mode: Adds a safety instruction for the model to use when generating responses.
|
864
|
+
Contextual: (Default) Puts fewer constraints on the output. It maintains core protections by aiming to reject harmful or illegal suggestions, but it allows profanity and some toxic content, sexually explicit and violent content, and content that contains medical, financial, or legal information. Contextual mode is suited for entertainment, creative, or academic use.
|
865
|
+
Strict: Aims to avoid sensitive topics, such as violent or sexual acts and profanity. This mode aims to provide a safer experience by prohibiting responses or recommendations that it finds inappropriate. Strict mode is suited for corporate use, such as for corporate communications and customer service.
|
866
|
+
Off: No safety mode is applied.
|
867
|
+
Note: This parameter is only compatible with models cohere.command-r-08-2024, cohere.command-r-plus-08-2024 and Cohere models released after these models. See `release dates`__.
|
868
|
+
|
869
|
+
__ https://docs.cloud.oracle.com/iaas/Content/generative-ai/deprecating.htm
|
837
870
|
|
838
871
|
Allowed values for this property are: "CONTEXTUAL", "STRICT", "OFF"
|
839
872
|
|
@@ -847,7 +880,13 @@ class CohereChatRequest(BaseChatRequest):
|
|
847
880
|
def safety_mode(self, safety_mode):
|
848
881
|
"""
|
849
882
|
Sets the safety_mode of this CohereChatRequest.
|
850
|
-
|
883
|
+
Safety mode: Adds a safety instruction for the model to use when generating responses.
|
884
|
+
Contextual: (Default) Puts fewer constraints on the output. It maintains core protections by aiming to reject harmful or illegal suggestions, but it allows profanity and some toxic content, sexually explicit and violent content, and content that contains medical, financial, or legal information. Contextual mode is suited for entertainment, creative, or academic use.
|
885
|
+
Strict: Aims to avoid sensitive topics, such as violent or sexual acts and profanity. This mode aims to provide a safer experience by prohibiting responses or recommendations that it finds inappropriate. Strict mode is suited for corporate use, such as for corporate communications and customer service.
|
886
|
+
Off: No safety mode is applied.
|
887
|
+
Note: This parameter is only compatible with models cohere.command-r-08-2024, cohere.command-r-plus-08-2024 and Cohere models released after these models. See `release dates`__.
|
888
|
+
|
889
|
+
__ https://docs.cloud.oracle.com/iaas/Content/generative-ai/deprecating.htm
|
851
890
|
|
852
891
|
|
853
892
|
:param safety_mode: The safety_mode of this CohereChatRequest.
|