oci 2.127.0__py3-none-any.whl → 2.128.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +22 -22
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +10 -10
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +108 -8
  19. oci/apm_config/models/__init__.py +10 -0
  20. oci/apm_config/models/filter_text_or_id.py +112 -0
  21. oci/apm_config/models/test_details.py +101 -0
  22. oci/apm_config/models/test_output.py +101 -0
  23. oci/apm_config/models/test_span_enrichment_details.py +148 -0
  24. oci/apm_config/models/test_span_enrichment_output.py +113 -0
  25. oci/apm_control_plane/apm_domain_client.py +14 -14
  26. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  27. oci/apm_traces/attributes_client.py +8 -8
  28. oci/apm_traces/query_client.py +2 -2
  29. oci/apm_traces/trace_client.py +4 -4
  30. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  31. oci/artifacts/artifacts_client.py +32 -32
  32. oci/audit/audit_client.py +3 -3
  33. oci/autoscaling/auto_scaling_client.py +11 -11
  34. oci/bastion/bastion_client.py +15 -15
  35. oci/bds/bds_client.py +66 -66
  36. oci/blockchain/blockchain_platform_client.py +27 -27
  37. oci/budget/budget_client.py +10 -10
  38. oci/capacity_management/capacity_management_client.py +22 -22
  39. oci/certificates/certificates_client.py +5 -5
  40. oci/certificates_management/certificates_management_client.py +32 -32
  41. oci/cims/incident_client.py +8 -8
  42. oci/cims/user_client.py +1 -1
  43. oci/cloud_bridge/common_client.py +5 -5
  44. oci/cloud_bridge/discovery_client.py +14 -14
  45. oci/cloud_bridge/inventory_client.py +16 -16
  46. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  47. oci/cloud_guard/cloud_guard_client.py +155 -155
  48. oci/cloud_guard/models/resource_profile.py +66 -4
  49. oci/cloud_guard/models/resource_profile_endpoint_summary.py +97 -4
  50. oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +126 -2
  51. oci/cloud_guard/models/resource_profile_summary.py +66 -4
  52. oci/cloud_guard/models/security_policy_collection.py +115 -2
  53. oci/cloud_guard/models/sighting.py +66 -4
  54. oci/cloud_guard/models/sighting_endpoint_summary.py +97 -4
  55. oci/cloud_guard/models/sighting_impacted_resource_summary.py +126 -2
  56. oci/cloud_guard/models/sighting_summary.py +66 -4
  57. oci/cloud_migrations/migration_client.py +43 -43
  58. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  59. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  60. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  61. oci/compute_instance_agent/plugin_client.py +2 -2
  62. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  63. oci/container_engine/container_engine_client.py +44 -44
  64. oci/container_instances/container_instance_client.py +18 -18
  65. oci/core/blockstorage_client.py +60 -60
  66. oci/core/compute_client.py +99 -99
  67. oci/core/compute_management_client.py +32 -32
  68. oci/core/virtual_network_client.py +247 -247
  69. oci/dashboard_service/dashboard_client.py +6 -6
  70. oci/dashboard_service/dashboard_group_client.py +6 -6
  71. oci/data_catalog/data_catalog_client.py +149 -149
  72. oci/data_flow/data_flow_client.py +42 -42
  73. oci/data_integration/data_integration_client.py +163 -163
  74. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  75. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  76. oci/data_safe/data_safe_client.py +278 -278
  77. oci/data_science/data_science_client.py +91 -91
  78. oci/database/database_client.py +447 -333
  79. oci/database/models/__init__.py +6 -0
  80. oci/database/models/autonomous_database_peer_collection.py +72 -0
  81. oci/database/models/autonomous_database_peer_summary.py +107 -0
  82. oci/database/models/create_autonomous_database_base.py +4 -0
  83. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +512 -0
  84. oci/database_management/db_management_client.py +208 -208
  85. oci/database_management/diagnosability_client.py +4 -4
  86. oci/database_management/managed_my_sql_databases_client.py +7 -7
  87. oci/database_management/perfhub_client.py +1 -1
  88. oci/database_management/sql_tuning_client.py +17 -17
  89. oci/database_migration/database_migration_client.py +41 -41
  90. oci/database_tools/database_tools_client.py +23 -23
  91. oci/demand_signal/occ_demand_signal_client.py +14 -14
  92. oci/desktops/desktop_service_client.py +21 -21
  93. oci/devops/devops_client.py +89 -89
  94. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  95. oci/dns/dns_client.py +52 -52
  96. oci/dts/appliance_export_job_client.py +6 -6
  97. oci/dts/shipping_vendors_client.py +1 -1
  98. oci/dts/transfer_appliance_client.py +8 -8
  99. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  100. oci/dts/transfer_device_client.py +5 -5
  101. oci/dts/transfer_job_client.py +6 -6
  102. oci/dts/transfer_package_client.py +7 -7
  103. oci/em_warehouse/em_data_lake_client.py +13 -13
  104. oci/em_warehouse/em_warehouse_client.py +13 -13
  105. oci/email/email_client.py +31 -31
  106. oci/email_data_plane/email_dp_client.py +1 -1
  107. oci/events/events_client.py +6 -6
  108. oci/file_storage/file_storage_client.py +50 -50
  109. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  110. oci/functions/functions_invoke_client.py +1 -1
  111. oci/functions/functions_management_client.py +16 -16
  112. oci/fusion_apps/data_masking_activity_client.py +3 -3
  113. oci/fusion_apps/fusion_applications_client.py +233 -39
  114. oci/fusion_apps/fusion_applications_client_composite_operations.py +39 -0
  115. oci/fusion_apps/fusion_environment_client.py +15 -15
  116. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  117. oci/fusion_apps/models/__init__.py +4 -0
  118. oci/fusion_apps/models/extract_details_collection.py +72 -0
  119. oci/fusion_apps/models/extract_details_summary.py +134 -0
  120. oci/fusion_apps/models/fusion_environment.py +33 -2
  121. oci/fusion_apps/models/subscription.py +214 -0
  122. oci/fusion_apps/models/work_request.py +27 -3
  123. oci/fusion_apps/refresh_activity_client.py +4 -4
  124. oci/fusion_apps/scheduled_activity_client.py +2 -2
  125. oci/fusion_apps/service_attachment_client.py +2 -2
  126. oci/generative_ai/generative_ai_client.py +22 -22
  127. oci/generative_ai/models/__init__.py +4 -0
  128. oci/generative_ai/models/chat_model_metrics.py +113 -0
  129. oci/generative_ai/models/create_dedicated_ai_cluster_details.py +8 -0
  130. oci/generative_ai/models/dedicated_ai_cluster.py +17 -5
  131. oci/generative_ai/models/lora_training_config.py +186 -0
  132. oci/generative_ai/models/model_metrics.py +11 -3
  133. oci/generative_ai/models/t_few_training_config.py +1 -1
  134. oci/generative_ai/models/text_generation_model_metrics.py +1 -1
  135. oci/generative_ai/models/training_config.py +11 -3
  136. oci/generative_ai/models/vanilla_training_config.py +1 -1
  137. oci/generative_ai_inference/generative_ai_inference_client.py +13 -17
  138. oci/generative_ai_inference/models/__init__.py +23 -1
  139. oci/generative_ai_inference/models/assistant_message.py +89 -0
  140. oci/generative_ai_inference/models/base_chat_request.py +3 -3
  141. oci/generative_ai_inference/models/base_chat_response.py +3 -3
  142. oci/generative_ai_inference/models/chat_details.py +3 -3
  143. oci/generative_ai_inference/models/chat_result.py +2 -2
  144. oci/generative_ai_inference/models/choice.py +1 -1
  145. oci/generative_ai_inference/models/citation.py +9 -9
  146. oci/generative_ai_inference/models/cohere_chat_bot_message.py +113 -0
  147. oci/generative_ai_inference/models/cohere_chat_request.py +353 -30
  148. oci/generative_ai_inference/models/cohere_chat_response.py +166 -16
  149. oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
  150. oci/generative_ai_inference/models/cohere_message.py +49 -43
  151. oci/generative_ai_inference/models/cohere_parameter_definition.py +134 -0
  152. oci/generative_ai_inference/models/cohere_system_message.py +82 -0
  153. oci/generative_ai_inference/models/cohere_tool.py +134 -0
  154. oci/generative_ai_inference/models/cohere_tool_call.py +103 -0
  155. oci/generative_ai_inference/models/cohere_tool_message.py +82 -0
  156. oci/generative_ai_inference/models/cohere_tool_result.py +99 -0
  157. oci/generative_ai_inference/models/cohere_user_message.py +82 -0
  158. oci/generative_ai_inference/models/embed_text_details.py +4 -4
  159. oci/generative_ai_inference/models/generate_text_details.py +2 -2
  160. oci/generative_ai_inference/models/generic_chat_request.py +16 -10
  161. oci/generative_ai_inference/models/generic_chat_response.py +3 -3
  162. oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
  163. oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
  164. oci/generative_ai_inference/models/llm_inference_response.py +3 -11
  165. oci/generative_ai_inference/models/logprobs.py +3 -1
  166. oci/generative_ai_inference/models/message.py +50 -5
  167. oci/generative_ai_inference/models/on_demand_serving_mode.py +2 -2
  168. oci/generative_ai_inference/models/serving_mode.py +3 -3
  169. oci/generative_ai_inference/models/summarize_text_details.py +2 -2
  170. oci/generative_ai_inference/models/system_message.py +89 -0
  171. oci/generative_ai_inference/models/text_content.py +1 -1
  172. oci/generative_ai_inference/models/user_message.py +89 -0
  173. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  174. oci/globally_distributed_database/models/create_dedicated_sharded_database.py +93 -0
  175. oci/globally_distributed_database/models/dedicated_sharded_database.py +111 -0
  176. oci/globally_distributed_database/models/dedicated_sharded_database_summary.py +93 -0
  177. oci/globally_distributed_database/models/private_endpoint.py +31 -0
  178. oci/globally_distributed_database/models/work_request.py +51 -3
  179. oci/globally_distributed_database/models/work_request_summary.py +51 -3
  180. oci/globally_distributed_database/sharded_database_service_client.py +174 -30
  181. oci/globally_distributed_database/sharded_database_service_client_composite_operations.py +39 -0
  182. oci/golden_gate/golden_gate_client.py +2420 -1399
  183. oci/golden_gate/golden_gate_client_composite_operations.py +274 -0
  184. oci/golden_gate/models/__init__.py +20 -0
  185. oci/golden_gate/models/add_resource_lock_details.py +124 -0
  186. oci/golden_gate/models/amazon_kinesis_connection.py +8 -1
  187. oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -1
  188. oci/golden_gate/models/amazon_redshift_connection.py +8 -1
  189. oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -1
  190. oci/golden_gate/models/amazon_s3_connection.py +8 -1
  191. oci/golden_gate/models/amazon_s3_connection_summary.py +8 -1
  192. oci/golden_gate/models/azure_data_lake_storage_connection.py +8 -1
  193. oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -1
  194. oci/golden_gate/models/azure_synapse_connection.py +8 -1
  195. oci/golden_gate/models/azure_synapse_connection_summary.py +8 -1
  196. oci/golden_gate/models/certificate.py +2 -2
  197. oci/golden_gate/models/connection.py +42 -3
  198. oci/golden_gate/models/connection_summary.py +44 -5
  199. oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -1
  200. oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -1
  201. oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -1
  202. oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -1
  203. oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -1
  204. oci/golden_gate/models/create_certificate_details.py +2 -2
  205. oci/golden_gate/models/create_connection_details.py +42 -3
  206. oci/golden_gate/models/create_db2_connection_details.py +474 -0
  207. oci/golden_gate/models/create_deployment_backup_details.py +33 -2
  208. oci/golden_gate/models/create_deployment_details.py +37 -2
  209. oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -1
  210. oci/golden_gate/models/create_generic_connection_details.py +8 -1
  211. oci/golden_gate/models/create_golden_gate_connection_details.py +8 -1
  212. oci/golden_gate/models/create_google_big_query_connection_details.py +8 -1
  213. oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -1
  214. oci/golden_gate/models/create_hdfs_connection_details.py +8 -1
  215. oci/golden_gate/models/create_java_message_service_connection_details.py +8 -1
  216. oci/golden_gate/models/create_kafka_connection_details.py +8 -1
  217. oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +8 -1
  218. oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +8 -1
  219. oci/golden_gate/models/create_mongo_db_connection_details.py +8 -1
  220. oci/golden_gate/models/create_mysql_connection_details.py +8 -1
  221. oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -1
  222. oci/golden_gate/models/create_ogg_deployment_details.py +4 -4
  223. oci/golden_gate/models/create_oracle_connection_details.py +41 -1
  224. oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -1
  225. oci/golden_gate/models/create_postgresql_connection_details.py +47 -5
  226. oci/golden_gate/models/create_redis_connection_details.py +46 -4
  227. oci/golden_gate/models/create_snowflake_connection_details.py +8 -1
  228. oci/golden_gate/models/db2_connection.py +431 -0
  229. oci/golden_gate/models/db2_connection_summary.py +399 -0
  230. oci/golden_gate/models/deployment.py +37 -2
  231. oci/golden_gate/models/deployment_backup.py +112 -2
  232. oci/golden_gate/models/deployment_backup_summary.py +112 -2
  233. oci/golden_gate/models/deployment_summary.py +39 -4
  234. oci/golden_gate/models/deployment_type_summary.py +7 -3
  235. oci/golden_gate/models/elasticsearch_connection.py +8 -1
  236. oci/golden_gate/models/elasticsearch_connection_summary.py +8 -1
  237. oci/golden_gate/models/generate_library_url_details.py +101 -0
  238. oci/golden_gate/models/generate_log_reader_component_library_url_details.py +51 -0
  239. oci/golden_gate/models/generic_connection.py +8 -1
  240. oci/golden_gate/models/generic_connection_summary.py +8 -1
  241. oci/golden_gate/models/golden_gate_connection.py +8 -1
  242. oci/golden_gate/models/golden_gate_connection_summary.py +8 -1
  243. oci/golden_gate/models/google_big_query_connection.py +8 -1
  244. oci/golden_gate/models/google_big_query_connection_summary.py +8 -1
  245. oci/golden_gate/models/google_cloud_storage_connection.py +8 -1
  246. oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -1
  247. oci/golden_gate/models/hdfs_connection.py +8 -1
  248. oci/golden_gate/models/hdfs_connection_summary.py +8 -1
  249. oci/golden_gate/models/java_message_service_connection.py +8 -1
  250. oci/golden_gate/models/java_message_service_connection_summary.py +8 -1
  251. oci/golden_gate/models/kafka_connection.py +8 -1
  252. oci/golden_gate/models/kafka_connection_summary.py +8 -1
  253. oci/golden_gate/models/kafka_schema_registry_connection.py +8 -1
  254. oci/golden_gate/models/kafka_schema_registry_connection_summary.py +8 -1
  255. oci/golden_gate/models/library_url.py +72 -0
  256. oci/golden_gate/models/microsoft_sqlserver_connection.py +8 -1
  257. oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +8 -1
  258. oci/golden_gate/models/mongo_db_connection.py +8 -1
  259. oci/golden_gate/models/mongo_db_connection_summary.py +8 -1
  260. oci/golden_gate/models/mysql_connection.py +19 -4
  261. oci/golden_gate/models/mysql_connection_summary.py +8 -1
  262. oci/golden_gate/models/oci_object_storage_connection.py +8 -1
  263. oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -1
  264. oci/golden_gate/models/ogg_deployment.py +2 -2
  265. oci/golden_gate/models/oracle_connection.py +64 -4
  266. oci/golden_gate/models/oracle_connection_summary.py +41 -1
  267. oci/golden_gate/models/oracle_nosql_connection.py +8 -1
  268. oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -1
  269. oci/golden_gate/models/postgresql_connection.py +56 -6
  270. oci/golden_gate/models/postgresql_connection_summary.py +45 -3
  271. oci/golden_gate/models/redis_connection.py +52 -6
  272. oci/golden_gate/models/redis_connection_summary.py +45 -3
  273. oci/golden_gate/models/remove_resource_lock_details.py +91 -0
  274. oci/golden_gate/models/resource_lock.py +185 -0
  275. oci/golden_gate/models/snowflake_connection.py +8 -1
  276. oci/golden_gate/models/snowflake_connection_summary.py +8 -1
  277. oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
  278. oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
  279. oci/golden_gate/models/update_amazon_s3_connection_details.py +1 -1
  280. oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
  281. oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
  282. oci/golden_gate/models/update_connection_details.py +11 -3
  283. oci/golden_gate/models/update_db2_connection_details.py +429 -0
  284. oci/golden_gate/models/update_deployment_details.py +43 -0
  285. oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
  286. oci/golden_gate/models/update_generic_connection_details.py +1 -1
  287. oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
  288. oci/golden_gate/models/update_google_big_query_connection_details.py +1 -1
  289. oci/golden_gate/models/update_google_cloud_storage_connection_details.py +1 -1
  290. oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
  291. oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
  292. oci/golden_gate/models/update_kafka_connection_details.py +1 -1
  293. oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
  294. oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +1 -1
  295. oci/golden_gate/models/update_mongo_db_connection_details.py +1 -1
  296. oci/golden_gate/models/update_mysql_connection_details.py +1 -1
  297. oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
  298. oci/golden_gate/models/update_ogg_deployment_details.py +4 -4
  299. oci/golden_gate/models/update_oracle_connection_details.py +34 -1
  300. oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
  301. oci/golden_gate/models/update_postgresql_connection_details.py +38 -3
  302. oci/golden_gate/models/update_redis_connection_details.py +38 -3
  303. oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
  304. oci/golden_gate/models/work_request.py +7 -3
  305. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  306. oci/governance_rules_control_plane/work_request_client.py +5 -5
  307. oci/healthchecks/health_checks_client.py +17 -17
  308. oci/identity/identity_client.py +145 -145
  309. oci/identity_data_plane/dataplane_client.py +2 -2
  310. oci/identity_domains/identity_domains_client.py +300 -300
  311. oci/integration/integration_instance_client.py +15 -15
  312. oci/jms/java_management_service_client.py +66 -66
  313. oci/jms_java_downloads/java_download_client.py +50 -50
  314. oci/key_management/ekm_client.py +5 -5
  315. oci/key_management/kms_crypto_client.py +6 -6
  316. oci/key_management/kms_hsm_cluster_client.py +12 -12
  317. oci/key_management/kms_management_client.py +21 -21
  318. oci/key_management/kms_vault_client.py +14 -14
  319. oci/license_manager/license_manager_client.py +18 -18
  320. oci/limits/limits_client.py +4 -4
  321. oci/limits/quotas_client.py +7 -7
  322. oci/load_balancer/load_balancer_client.py +61 -61
  323. oci/lockbox/lockbox_client.py +24 -24
  324. oci/log_analytics/log_analytics_client.py +193 -193
  325. oci/logging/logging_management_client.py +30 -30
  326. oci/loggingingestion/logging_client.py +1 -1
  327. oci/loggingsearch/log_search_client.py +1 -1
  328. oci/management_agent/management_agent_client.py +28 -28
  329. oci/management_dashboard/dashx_apis_client.py +14 -14
  330. oci/marketplace/account_client.py +2 -2
  331. oci/marketplace/marketplace_client.py +30 -30
  332. oci/marketplace_private_offer/attachment_client.py +5 -5
  333. oci/marketplace_private_offer/offer_client.py +6 -6
  334. oci/marketplace_publisher/attachment_client.py +5 -5
  335. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  336. oci/marketplace_publisher/offer_client.py +6 -6
  337. oci/media_services/media_services_client.py +60 -60
  338. oci/media_services/media_stream_client.py +2 -2
  339. oci/monitoring/models/alarm.py +167 -8
  340. oci/monitoring/models/alarm_dimension_states_entry.py +49 -4
  341. oci/monitoring/models/alarm_history_entry.py +47 -0
  342. oci/monitoring/models/alarm_override.py +34 -4
  343. oci/monitoring/models/alarm_status_summary.py +49 -4
  344. oci/monitoring/models/alarm_summary.py +172 -6
  345. oci/monitoring/models/create_alarm_details.py +169 -10
  346. oci/monitoring/models/update_alarm_details.py +169 -10
  347. oci/monitoring/monitoring_client.py +18 -18
  348. oci/mysql/channels_client.py +7 -7
  349. oci/mysql/db_backups_client.py +6 -6
  350. oci/mysql/db_system_client.py +17 -17
  351. oci/mysql/mysqlaas_client.py +7 -7
  352. oci/mysql/replicas_client.py +5 -5
  353. oci/mysql/work_requests_client.py +4 -4
  354. oci/network_firewall/network_firewall_client.py +80 -80
  355. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  356. oci/nosql/nosql_client.py +24 -24
  357. oci/object_storage/object_storage_client.py +50 -50
  358. oci/oce/oce_instance_client.py +10 -10
  359. oci/oci_control_center/occ_metrics_client.py +3 -3
  360. oci/ocvp/cluster_client.py +5 -5
  361. oci/ocvp/esxi_host_client.py +8 -8
  362. oci/ocvp/sddc_client.py +14 -14
  363. oci/ocvp/work_request_client.py +4 -4
  364. oci/oda/management_client.py +59 -59
  365. oci/oda/oda_client.py +17 -17
  366. oci/oda/odapackage_client.py +7 -7
  367. oci/onesubscription/billing_schedule_client.py +1 -1
  368. oci/onesubscription/commitment_client.py +2 -2
  369. oci/onesubscription/computed_usage_client.py +3 -3
  370. oci/onesubscription/invoice_summary_client.py +2 -2
  371. oci/onesubscription/organization_subscription_client.py +1 -1
  372. oci/onesubscription/ratecard_client.py +1 -1
  373. oci/onesubscription/subscribed_service_client.py +2 -2
  374. oci/onesubscription/subscription_client.py +1 -1
  375. oci/ons/notification_control_plane_client.py +6 -6
  376. oci/ons/notification_data_plane_client.py +10 -10
  377. oci/opa/opa_instance_client.py +13 -13
  378. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  379. oci/opensearch/opensearch_cluster_client.py +14 -14
  380. oci/operator_access_control/access_requests_client.py +10 -10
  381. oci/operator_access_control/operator_actions_client.py +2 -2
  382. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  383. oci/operator_access_control/operator_control_client.py +6 -6
  384. oci/opsi/operations_insights_client.py +175 -175
  385. oci/optimizer/optimizer_client.py +26 -26
  386. oci/os_management/event_client.py +8 -8
  387. oci/os_management/os_management_client.py +69 -69
  388. oci/os_management_hub/event_client.py +8 -8
  389. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  390. oci/os_management_hub/managed_instance_client.py +31 -31
  391. oci/os_management_hub/managed_instance_group_client.py +25 -25
  392. oci/os_management_hub/management_station_client.py +10 -10
  393. oci/os_management_hub/onboarding_client.py +6 -6
  394. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  395. oci/os_management_hub/scheduled_job_client.py +7 -7
  396. oci/os_management_hub/software_source_client.py +27 -27
  397. oci/os_management_hub/work_request_client.py +4 -4
  398. oci/osp_gateway/address_rule_service_client.py +1 -1
  399. oci/osp_gateway/address_service_client.py +2 -2
  400. oci/osp_gateway/invoice_service_client.py +5 -5
  401. oci/osp_gateway/subscription_service_client.py +5 -5
  402. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  403. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  404. oci/osub_subscription/commitment_client.py +2 -2
  405. oci/osub_subscription/ratecard_client.py +1 -1
  406. oci/osub_subscription/subscription_client.py +1 -1
  407. oci/osub_usage/computed_usage_client.py +3 -3
  408. oci/psql/postgresql_client.py +33 -33
  409. oci/queue/models/get_message.py +35 -0
  410. oci/queue/models/queue.py +7 -3
  411. oci/queue/models/queue_stats.py +2 -2
  412. oci/queue/queue_admin_client.py +13 -13
  413. oci/queue/queue_client.py +10 -10
  414. oci/recovery/database_recovery_client.py +25 -25
  415. oci/redis/redis_cluster_client.py +22 -22
  416. oci/resource_manager/resource_manager_client.py +52 -52
  417. oci/resource_scheduler/schedule_client.py +13 -13
  418. oci/resource_search/resource_search_client.py +3 -3
  419. oci/rover/rover_bundle_client.py +8 -8
  420. oci/rover/rover_cluster_client.py +8 -8
  421. oci/rover/rover_entitlement_client.py +6 -6
  422. oci/rover/rover_node_client.py +15 -15
  423. oci/rover/shape_client.py +1 -1
  424. oci/rover/work_requests_client.py +5 -5
  425. oci/sch/connector_plugins_client.py +2 -2
  426. oci/sch/service_connector_client.py +12 -12
  427. oci/secrets/secrets_client.py +3 -3
  428. oci/service_catalog/service_catalog_client.py +26 -26
  429. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  430. oci/service_mesh/service_mesh_client.py +48 -48
  431. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  432. oci/streaming/stream_admin_client.py +18 -18
  433. oci/streaming/stream_client.py +8 -8
  434. oci/tenant_manager_control_plane/domain_client.py +5 -5
  435. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  436. oci/tenant_manager_control_plane/governance_client.py +2 -2
  437. oci/tenant_manager_control_plane/link_client.py +3 -3
  438. oci/tenant_manager_control_plane/orders_client.py +2 -2
  439. oci/tenant_manager_control_plane/organization_client.py +10 -10
  440. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  441. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  442. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  443. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  444. oci/threat_intelligence/threatintel_client.py +5 -5
  445. oci/usage/resources_client.py +2 -2
  446. oci/usage/rewards_client.py +6 -6
  447. oci/usage/usagelimits_client.py +1 -1
  448. oci/usage_api/usageapi_client.py +33 -33
  449. oci/vault/vaults_client.py +13 -13
  450. oci/vbs_inst/vbs_instance_client.py +10 -10
  451. oci/version.py +1 -1
  452. oci/visual_builder/vb_instance_client.py +13 -13
  453. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  454. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  455. oci/waa/waa_client.py +13 -13
  456. oci/waa/work_request_client.py +4 -4
  457. oci/waas/redirect_client.py +6 -6
  458. oci/waas/waas_client.py +66 -66
  459. oci/waf/waf_client.py +24 -24
  460. oci/work_requests/work_request_client.py +4 -4
  461. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/METADATA +1 -1
  462. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/RECORD +466 -433
  463. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/LICENSE.txt +0 -0
  464. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  465. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/WHEEL +0 -0
  466. {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,113 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
6
+
7
+ from .model_metrics import ModelMetrics
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 ChatModelMetrics(ModelMetrics):
14
+ """
15
+ The chat model metrics of the fine-tuning process.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ChatModelMetrics object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai.models.ChatModelMetrics.model_metrics_type` attribute
21
+ of this class is ``CHAT_MODEL_METRICS`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param model_metrics_type:
25
+ The value to assign to the model_metrics_type property of this ChatModelMetrics.
26
+ Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", "CHAT_MODEL_METRICS"
27
+ :type model_metrics_type: str
28
+
29
+ :param final_accuracy:
30
+ The value to assign to the final_accuracy property of this ChatModelMetrics.
31
+ :type final_accuracy: float
32
+
33
+ :param final_loss:
34
+ The value to assign to the final_loss property of this ChatModelMetrics.
35
+ :type final_loss: float
36
+
37
+ """
38
+ self.swagger_types = {
39
+ 'model_metrics_type': 'str',
40
+ 'final_accuracy': 'float',
41
+ 'final_loss': 'float'
42
+ }
43
+
44
+ self.attribute_map = {
45
+ 'model_metrics_type': 'modelMetricsType',
46
+ 'final_accuracy': 'finalAccuracy',
47
+ 'final_loss': 'finalLoss'
48
+ }
49
+
50
+ self._model_metrics_type = None
51
+ self._final_accuracy = None
52
+ self._final_loss = None
53
+ self._model_metrics_type = 'CHAT_MODEL_METRICS'
54
+
55
+ @property
56
+ def final_accuracy(self):
57
+ """
58
+ Gets the final_accuracy of this ChatModelMetrics.
59
+ Fine-tuned model accuracy.
60
+
61
+
62
+ :return: The final_accuracy of this ChatModelMetrics.
63
+ :rtype: float
64
+ """
65
+ return self._final_accuracy
66
+
67
+ @final_accuracy.setter
68
+ def final_accuracy(self, final_accuracy):
69
+ """
70
+ Sets the final_accuracy of this ChatModelMetrics.
71
+ Fine-tuned model accuracy.
72
+
73
+
74
+ :param final_accuracy: The final_accuracy of this ChatModelMetrics.
75
+ :type: float
76
+ """
77
+ self._final_accuracy = final_accuracy
78
+
79
+ @property
80
+ def final_loss(self):
81
+ """
82
+ Gets the final_loss of this ChatModelMetrics.
83
+ Fine-tuned model loss.
84
+
85
+
86
+ :return: The final_loss of this ChatModelMetrics.
87
+ :rtype: float
88
+ """
89
+ return self._final_loss
90
+
91
+ @final_loss.setter
92
+ def final_loss(self, final_loss):
93
+ """
94
+ Sets the final_loss of this ChatModelMetrics.
95
+ Fine-tuned model loss.
96
+
97
+
98
+ :param final_loss: The final_loss of this ChatModelMetrics.
99
+ :type: float
100
+ """
101
+ self._final_loss = final_loss
102
+
103
+ def __repr__(self):
104
+ return formatted_flat_dict(self)
105
+
106
+ def __eq__(self, other):
107
+ if other is None:
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ return not self == other
@@ -220,9 +220,13 @@ class CreateDedicatedAiClusterDetails(object):
220
220
 
221
221
  Allowed values are:
222
222
  - LARGE_COHERE
223
+ - LARGE_COHERE_V2
223
224
  - SMALL_COHERE
225
+ - SMALL_COHERE_V2
224
226
  - EMBED_COHERE
225
227
  - LLAMA2_70
228
+ - LARGE_GENERIC
229
+ - LARGE_COHERE_V2_2
226
230
 
227
231
 
228
232
  :return: The unit_shape of this CreateDedicatedAiClusterDetails.
@@ -238,9 +242,13 @@ class CreateDedicatedAiClusterDetails(object):
238
242
 
239
243
  Allowed values are:
240
244
  - LARGE_COHERE
245
+ - LARGE_COHERE_V2
241
246
  - SMALL_COHERE
247
+ - SMALL_COHERE_V2
242
248
  - EMBED_COHERE
243
249
  - LLAMA2_70
250
+ - LARGE_GENERIC
251
+ - LARGE_COHERE_V2_2
244
252
 
245
253
 
246
254
  :param unit_shape: The unit_shape of this CreateDedicatedAiClusterDetails.
@@ -61,10 +61,18 @@ class DedicatedAiCluster(object):
61
61
  #: This constant has a value of "LARGE_COHERE"
62
62
  UNIT_SHAPE_LARGE_COHERE = "LARGE_COHERE"
63
63
 
64
+ #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
65
+ #: This constant has a value of "LARGE_COHERE_V2"
66
+ UNIT_SHAPE_LARGE_COHERE_V2 = "LARGE_COHERE_V2"
67
+
64
68
  #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
65
69
  #: This constant has a value of "SMALL_COHERE"
66
70
  UNIT_SHAPE_SMALL_COHERE = "SMALL_COHERE"
67
71
 
72
+ #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
73
+ #: This constant has a value of "SMALL_COHERE_V2"
74
+ UNIT_SHAPE_SMALL_COHERE_V2 = "SMALL_COHERE_V2"
75
+
68
76
  #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
69
77
  #: This constant has a value of "EMBED_COHERE"
70
78
  UNIT_SHAPE_EMBED_COHERE = "EMBED_COHERE"
@@ -74,8 +82,12 @@ class DedicatedAiCluster(object):
74
82
  UNIT_SHAPE_LLAMA2_70 = "LLAMA2_70"
75
83
 
76
84
  #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
77
- #: This constant has a value of "LARGE_COHERE_V2"
78
- UNIT_SHAPE_LARGE_COHERE_V2 = "LARGE_COHERE_V2"
85
+ #: This constant has a value of "LARGE_GENERIC"
86
+ UNIT_SHAPE_LARGE_GENERIC = "LARGE_GENERIC"
87
+
88
+ #: A constant which can be used with the unit_shape property of a DedicatedAiCluster.
89
+ #: This constant has a value of "LARGE_COHERE_V2_2"
90
+ UNIT_SHAPE_LARGE_COHERE_V2_2 = "LARGE_COHERE_V2_2"
79
91
 
80
92
  def __init__(self, **kwargs):
81
93
  """
@@ -128,7 +140,7 @@ class DedicatedAiCluster(object):
128
140
 
129
141
  :param unit_shape:
130
142
  The value to assign to the unit_shape property of this DedicatedAiCluster.
131
- Allowed values for this property are: "LARGE_COHERE", "SMALL_COHERE", "EMBED_COHERE", "LLAMA2_70", "LARGE_COHERE_V2", 'UNKNOWN_ENUM_VALUE'.
143
+ Allowed values for this property are: "LARGE_COHERE", "LARGE_COHERE_V2", "SMALL_COHERE", "SMALL_COHERE_V2", "EMBED_COHERE", "LLAMA2_70", "LARGE_GENERIC", "LARGE_COHERE_V2_2", 'UNKNOWN_ENUM_VALUE'.
132
144
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
133
145
  :type unit_shape: str
134
146
 
@@ -470,7 +482,7 @@ class DedicatedAiCluster(object):
470
482
  **[Required]** Gets the unit_shape of this DedicatedAiCluster.
471
483
  The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
472
484
 
473
- Allowed values for this property are: "LARGE_COHERE", "SMALL_COHERE", "EMBED_COHERE", "LLAMA2_70", "LARGE_COHERE_V2", 'UNKNOWN_ENUM_VALUE'.
485
+ Allowed values for this property are: "LARGE_COHERE", "LARGE_COHERE_V2", "SMALL_COHERE", "SMALL_COHERE_V2", "EMBED_COHERE", "LLAMA2_70", "LARGE_GENERIC", "LARGE_COHERE_V2_2", 'UNKNOWN_ENUM_VALUE'.
474
486
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
475
487
 
476
488
 
@@ -489,7 +501,7 @@ class DedicatedAiCluster(object):
489
501
  :param unit_shape: The unit_shape of this DedicatedAiCluster.
490
502
  :type: str
491
503
  """
492
- allowed_values = ["LARGE_COHERE", "SMALL_COHERE", "EMBED_COHERE", "LLAMA2_70", "LARGE_COHERE_V2"]
504
+ allowed_values = ["LARGE_COHERE", "LARGE_COHERE_V2", "SMALL_COHERE", "SMALL_COHERE_V2", "EMBED_COHERE", "LLAMA2_70", "LARGE_GENERIC", "LARGE_COHERE_V2_2"]
493
505
  if not value_allowed_none_or_none_sentinel(unit_shape, allowed_values):
494
506
  unit_shape = 'UNKNOWN_ENUM_VALUE'
495
507
  self._unit_shape = unit_shape
@@ -0,0 +1,186 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
6
+
7
+ from .training_config import TrainingConfig
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 LoraTrainingConfig(TrainingConfig):
14
+ """
15
+ The Lora training method hyperparameters.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new LoraTrainingConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai.models.LoraTrainingConfig.training_config_type` attribute
21
+ of this class is ``LORA_TRAINING_CONFIG`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param training_config_type:
25
+ The value to assign to the training_config_type property of this LoraTrainingConfig.
26
+ Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG"
27
+ :type training_config_type: str
28
+
29
+ :param total_training_epochs:
30
+ The value to assign to the total_training_epochs property of this LoraTrainingConfig.
31
+ :type total_training_epochs: int
32
+
33
+ :param learning_rate:
34
+ The value to assign to the learning_rate property of this LoraTrainingConfig.
35
+ :type learning_rate: float
36
+
37
+ :param training_batch_size:
38
+ The value to assign to the training_batch_size property of this LoraTrainingConfig.
39
+ :type training_batch_size: int
40
+
41
+ :param early_stopping_patience:
42
+ The value to assign to the early_stopping_patience property of this LoraTrainingConfig.
43
+ :type early_stopping_patience: int
44
+
45
+ :param early_stopping_threshold:
46
+ The value to assign to the early_stopping_threshold property of this LoraTrainingConfig.
47
+ :type early_stopping_threshold: float
48
+
49
+ :param log_model_metrics_interval_in_steps:
50
+ The value to assign to the log_model_metrics_interval_in_steps property of this LoraTrainingConfig.
51
+ :type log_model_metrics_interval_in_steps: int
52
+
53
+ :param lora_r:
54
+ The value to assign to the lora_r property of this LoraTrainingConfig.
55
+ :type lora_r: int
56
+
57
+ :param lora_alpha:
58
+ The value to assign to the lora_alpha property of this LoraTrainingConfig.
59
+ :type lora_alpha: int
60
+
61
+ :param lora_dropout:
62
+ The value to assign to the lora_dropout property of this LoraTrainingConfig.
63
+ :type lora_dropout: float
64
+
65
+ """
66
+ self.swagger_types = {
67
+ 'training_config_type': 'str',
68
+ 'total_training_epochs': 'int',
69
+ 'learning_rate': 'float',
70
+ 'training_batch_size': 'int',
71
+ 'early_stopping_patience': 'int',
72
+ 'early_stopping_threshold': 'float',
73
+ 'log_model_metrics_interval_in_steps': 'int',
74
+ 'lora_r': 'int',
75
+ 'lora_alpha': 'int',
76
+ 'lora_dropout': 'float'
77
+ }
78
+
79
+ self.attribute_map = {
80
+ 'training_config_type': 'trainingConfigType',
81
+ 'total_training_epochs': 'totalTrainingEpochs',
82
+ 'learning_rate': 'learningRate',
83
+ 'training_batch_size': 'trainingBatchSize',
84
+ 'early_stopping_patience': 'earlyStoppingPatience',
85
+ 'early_stopping_threshold': 'earlyStoppingThreshold',
86
+ 'log_model_metrics_interval_in_steps': 'logModelMetricsIntervalInSteps',
87
+ 'lora_r': 'loraR',
88
+ 'lora_alpha': 'loraAlpha',
89
+ 'lora_dropout': 'loraDropout'
90
+ }
91
+
92
+ self._training_config_type = None
93
+ self._total_training_epochs = None
94
+ self._learning_rate = None
95
+ self._training_batch_size = None
96
+ self._early_stopping_patience = None
97
+ self._early_stopping_threshold = None
98
+ self._log_model_metrics_interval_in_steps = None
99
+ self._lora_r = None
100
+ self._lora_alpha = None
101
+ self._lora_dropout = None
102
+ self._training_config_type = 'LORA_TRAINING_CONFIG'
103
+
104
+ @property
105
+ def lora_r(self):
106
+ """
107
+ Gets the lora_r of this LoraTrainingConfig.
108
+ This parameter represents the LoRA rank of the update matrices.
109
+
110
+
111
+ :return: The lora_r of this LoraTrainingConfig.
112
+ :rtype: int
113
+ """
114
+ return self._lora_r
115
+
116
+ @lora_r.setter
117
+ def lora_r(self, lora_r):
118
+ """
119
+ Sets the lora_r of this LoraTrainingConfig.
120
+ This parameter represents the LoRA rank of the update matrices.
121
+
122
+
123
+ :param lora_r: The lora_r of this LoraTrainingConfig.
124
+ :type: int
125
+ """
126
+ self._lora_r = lora_r
127
+
128
+ @property
129
+ def lora_alpha(self):
130
+ """
131
+ Gets the lora_alpha of this LoraTrainingConfig.
132
+ This parameter represents the scaling factor for the weight matrices in LoRA.
133
+
134
+
135
+ :return: The lora_alpha of this LoraTrainingConfig.
136
+ :rtype: int
137
+ """
138
+ return self._lora_alpha
139
+
140
+ @lora_alpha.setter
141
+ def lora_alpha(self, lora_alpha):
142
+ """
143
+ Sets the lora_alpha of this LoraTrainingConfig.
144
+ This parameter represents the scaling factor for the weight matrices in LoRA.
145
+
146
+
147
+ :param lora_alpha: The lora_alpha of this LoraTrainingConfig.
148
+ :type: int
149
+ """
150
+ self._lora_alpha = lora_alpha
151
+
152
+ @property
153
+ def lora_dropout(self):
154
+ """
155
+ Gets the lora_dropout of this LoraTrainingConfig.
156
+ This parameter indicates the dropout probability for LoRA layers.
157
+
158
+
159
+ :return: The lora_dropout of this LoraTrainingConfig.
160
+ :rtype: float
161
+ """
162
+ return self._lora_dropout
163
+
164
+ @lora_dropout.setter
165
+ def lora_dropout(self, lora_dropout):
166
+ """
167
+ Sets the lora_dropout of this LoraTrainingConfig.
168
+ This parameter indicates the dropout probability for LoRA layers.
169
+
170
+
171
+ :param lora_dropout: The lora_dropout of this LoraTrainingConfig.
172
+ :type: float
173
+ """
174
+ self._lora_dropout = lora_dropout
175
+
176
+ def __repr__(self):
177
+ return formatted_flat_dict(self)
178
+
179
+ def __eq__(self, other):
180
+ if other is None:
181
+ return False
182
+
183
+ return self.__dict__ == other.__dict__
184
+
185
+ def __ne__(self, other):
186
+ return not self == other
@@ -19,18 +19,23 @@ class ModelMetrics(object):
19
19
  #: This constant has a value of "TEXT_GENERATION_MODEL_METRICS"
20
20
  MODEL_METRICS_TYPE_TEXT_GENERATION_MODEL_METRICS = "TEXT_GENERATION_MODEL_METRICS"
21
21
 
22
+ #: A constant which can be used with the model_metrics_type property of a ModelMetrics.
23
+ #: This constant has a value of "CHAT_MODEL_METRICS"
24
+ MODEL_METRICS_TYPE_CHAT_MODEL_METRICS = "CHAT_MODEL_METRICS"
25
+
22
26
  def __init__(self, **kwargs):
23
27
  """
24
28
  Initializes a new ModelMetrics object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
25
29
  to a service operations then you should favor using a subclass over the base class:
26
30
 
27
31
  * :class:`~oci.generative_ai.models.TextGenerationModelMetrics`
32
+ * :class:`~oci.generative_ai.models.ChatModelMetrics`
28
33
 
29
34
  The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
35
 
31
36
  :param model_metrics_type:
32
37
  The value to assign to the model_metrics_type property of this ModelMetrics.
33
- Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", 'UNKNOWN_ENUM_VALUE'.
38
+ Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", "CHAT_MODEL_METRICS", 'UNKNOWN_ENUM_VALUE'.
34
39
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
35
40
  :type model_metrics_type: str
36
41
 
@@ -55,6 +60,9 @@ class ModelMetrics(object):
55
60
 
56
61
  if type == 'TEXT_GENERATION_MODEL_METRICS':
57
62
  return 'TextGenerationModelMetrics'
63
+
64
+ if type == 'CHAT_MODEL_METRICS':
65
+ return 'ChatModelMetrics'
58
66
  else:
59
67
  return 'ModelMetrics'
60
68
 
@@ -64,7 +72,7 @@ class ModelMetrics(object):
64
72
  **[Required]** Gets the model_metrics_type of this ModelMetrics.
65
73
  The type of the model metrics. Each type of model can expect a different set of model metrics.
66
74
 
67
- Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", 'UNKNOWN_ENUM_VALUE'.
75
+ Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", "CHAT_MODEL_METRICS", 'UNKNOWN_ENUM_VALUE'.
68
76
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
69
77
 
70
78
 
@@ -83,7 +91,7 @@ class ModelMetrics(object):
83
91
  :param model_metrics_type: The model_metrics_type of this ModelMetrics.
84
92
  :type: str
85
93
  """
86
- allowed_values = ["TEXT_GENERATION_MODEL_METRICS"]
94
+ allowed_values = ["TEXT_GENERATION_MODEL_METRICS", "CHAT_MODEL_METRICS"]
87
95
  if not value_allowed_none_or_none_sentinel(model_metrics_type, allowed_values):
88
96
  model_metrics_type = 'UNKNOWN_ENUM_VALUE'
89
97
  self._model_metrics_type = model_metrics_type
@@ -23,7 +23,7 @@ class TFewTrainingConfig(TrainingConfig):
23
23
 
24
24
  :param training_config_type:
25
25
  The value to assign to the training_config_type property of this TFewTrainingConfig.
26
- Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG"
26
+ Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG"
27
27
  :type training_config_type: str
28
28
 
29
29
  :param total_training_epochs:
@@ -23,7 +23,7 @@ class TextGenerationModelMetrics(ModelMetrics):
23
23
 
24
24
  :param model_metrics_type:
25
25
  The value to assign to the model_metrics_type property of this TextGenerationModelMetrics.
26
- Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS"
26
+ Allowed values for this property are: "TEXT_GENERATION_MODEL_METRICS", "CHAT_MODEL_METRICS"
27
27
  :type model_metrics_type: str
28
28
 
29
29
  :param final_accuracy:
@@ -23,11 +23,16 @@ class TrainingConfig(object):
23
23
  #: This constant has a value of "VANILLA_TRAINING_CONFIG"
24
24
  TRAINING_CONFIG_TYPE_VANILLA_TRAINING_CONFIG = "VANILLA_TRAINING_CONFIG"
25
25
 
26
+ #: A constant which can be used with the training_config_type property of a TrainingConfig.
27
+ #: This constant has a value of "LORA_TRAINING_CONFIG"
28
+ TRAINING_CONFIG_TYPE_LORA_TRAINING_CONFIG = "LORA_TRAINING_CONFIG"
29
+
26
30
  def __init__(self, **kwargs):
27
31
  """
28
32
  Initializes a new TrainingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
29
33
  to a service operations then you should favor using a subclass over the base class:
30
34
 
35
+ * :class:`~oci.generative_ai.models.LoraTrainingConfig`
31
36
  * :class:`~oci.generative_ai.models.VanillaTrainingConfig`
32
37
  * :class:`~oci.generative_ai.models.TFewTrainingConfig`
33
38
 
@@ -35,7 +40,7 @@ class TrainingConfig(object):
35
40
 
36
41
  :param training_config_type:
37
42
  The value to assign to the training_config_type property of this TrainingConfig.
38
- Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", 'UNKNOWN_ENUM_VALUE'.
43
+ Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG", 'UNKNOWN_ENUM_VALUE'.
39
44
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
40
45
  :type training_config_type: str
41
46
 
@@ -100,6 +105,9 @@ class TrainingConfig(object):
100
105
  """
101
106
  type = object_dictionary['trainingConfigType']
102
107
 
108
+ if type == 'LORA_TRAINING_CONFIG':
109
+ return 'LoraTrainingConfig'
110
+
103
111
  if type == 'VANILLA_TRAINING_CONFIG':
104
112
  return 'VanillaTrainingConfig'
105
113
 
@@ -114,7 +122,7 @@ class TrainingConfig(object):
114
122
  **[Required]** Gets the training_config_type of this TrainingConfig.
115
123
  The fine-tuning method for training a custom model.
116
124
 
117
- Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", 'UNKNOWN_ENUM_VALUE'.
125
+ Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG", 'UNKNOWN_ENUM_VALUE'.
118
126
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
119
127
 
120
128
 
@@ -133,7 +141,7 @@ class TrainingConfig(object):
133
141
  :param training_config_type: The training_config_type of this TrainingConfig.
134
142
  :type: str
135
143
  """
136
- allowed_values = ["TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG"]
144
+ allowed_values = ["TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG"]
137
145
  if not value_allowed_none_or_none_sentinel(training_config_type, allowed_values):
138
146
  training_config_type = 'UNKNOWN_ENUM_VALUE'
139
147
  self._training_config_type = training_config_type
@@ -23,7 +23,7 @@ class VanillaTrainingConfig(TrainingConfig):
23
23
 
24
24
  :param training_config_type:
25
25
  The value to assign to the training_config_type property of this VanillaTrainingConfig.
26
- Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG"
26
+ Allowed values for this property are: "TFEW_TRAINING_CONFIG", "VANILLA_TRAINING_CONFIG", "LORA_TRAINING_CONFIG"
27
27
  :type training_config_type: str
28
28
 
29
29
  :param total_training_epochs:
@@ -24,7 +24,7 @@ class GenerativeAiInferenceClient(object):
24
24
  """
25
25
  OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
26
26
 
27
- Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to [generate text](#/en/generative-ai-inference/latest/GenerateTextResult/GenerateText), [summarize](#/en/generative-ai-inference/latest/SummarizeTextResult/SummarizeText), and [create text embeddings](#/en/generative-ai-inference/latest/EmbedTextResult/EmbedText).
27
+ Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to [chat](#/en/generative-ai-inference/latest/ChatResult/Chat), [generate text](#/en/generative-ai-inference/latest/GenerateTextResult/GenerateText), [summarize](#/en/generative-ai-inference/latest/SummarizeTextResult/SummarizeText), and [create text embeddings](#/en/generative-ai-inference/latest/EmbedTextResult/EmbedText).
28
28
 
29
29
  To use a Generative AI custom model for inference, you must first create an endpoint for that model. Use the [Generative AI service management API](/#/en/generative-ai/latest/) to [create a custom model](#/en/generative-ai/latest/Model/) by fine-tuning an out-of-the-box model, or a previous version of a custom model, using your own data. Fine-tune the custom model on a [fine-tuning dedicated AI cluster](#/en/generative-ai/latest/DedicatedAiCluster/). Then, create a [hosting dedicated AI cluster](#/en/generative-ai/latest/DedicatedAiCluster/) with an [endpoint](#/en/generative-ai/latest/Endpoint/) to host your custom model. For resource management in the Generative AI service, use the [Generative AI service management API](/#/en/generative-ai/latest/).
30
30
 
@@ -133,9 +133,8 @@ class GenerativeAiInferenceClient(object):
133
133
  :param str opc_retry_token: (optional)
134
134
  A token that uniquely identifies a request so it can be retried in case of a timeout or
135
135
  server error without risk of executing that same action again. Retry tokens expire after 24
136
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
137
- has been deleted and purged from the system, then a retry of the original creation request
138
- might be rejected.
136
+ hours, but can be invalidated before that, in case of conflicting operations. For example, if a resource is deleted and purged from the system, then a retry of the original creation request
137
+ is rejected.
139
138
 
140
139
  :param str opc_request_id: (optional)
141
140
  The client request ID for tracing.
@@ -156,7 +155,7 @@ class GenerativeAiInferenceClient(object):
156
155
  :rtype: :class:`~oci.response.Response`
157
156
 
158
157
  :example:
159
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.127.0/generativeaiinference/chat.py.html>`__ to see an example of how to use chat API.
158
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/generativeaiinference/chat.py.html>`__ to see an example of how to use chat API.
160
159
  """
161
160
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
162
161
  required_arguments = []
@@ -233,9 +232,8 @@ class GenerativeAiInferenceClient(object):
233
232
  :param str opc_retry_token: (optional)
234
233
  A token that uniquely identifies a request so it can be retried in case of a timeout or
235
234
  server error without risk of executing that same action again. Retry tokens expire after 24
236
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
237
- has been deleted and purged from the system, then a retry of the original creation request
238
- might be rejected.
235
+ hours, but can be invalidated before that, in case of conflicting operations. For example, if a resource is deleted and purged from the system, then a retry of the original creation request
236
+ is rejected.
239
237
 
240
238
  :param str opc_request_id: (optional)
241
239
  The client request ID for tracing.
@@ -256,7 +254,7 @@ class GenerativeAiInferenceClient(object):
256
254
  :rtype: :class:`~oci.response.Response`
257
255
 
258
256
  :example:
259
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.127.0/generativeaiinference/embed_text.py.html>`__ to see an example of how to use embed_text API.
257
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/generativeaiinference/embed_text.py.html>`__ to see an example of how to use embed_text API.
260
258
  """
261
259
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
262
260
  required_arguments = []
@@ -331,9 +329,8 @@ class GenerativeAiInferenceClient(object):
331
329
  :param str opc_retry_token: (optional)
332
330
  A token that uniquely identifies a request so it can be retried in case of a timeout or
333
331
  server error without risk of executing that same action again. Retry tokens expire after 24
334
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
335
- has been deleted and purged from the system, then a retry of the original creation request
336
- might be rejected.
332
+ hours, but can be invalidated before that, in case of conflicting operations. For example, if a resource is deleted and purged from the system, then a retry of the original creation request
333
+ is rejected.
337
334
 
338
335
  :param str opc_request_id: (optional)
339
336
  The client request ID for tracing.
@@ -354,7 +351,7 @@ class GenerativeAiInferenceClient(object):
354
351
  :rtype: :class:`~oci.response.Response`
355
352
 
356
353
  :example:
357
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.127.0/generativeaiinference/generate_text.py.html>`__ to see an example of how to use generate_text API.
354
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/generativeaiinference/generate_text.py.html>`__ to see an example of how to use generate_text API.
358
355
  """
359
356
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
360
357
  required_arguments = []
@@ -429,9 +426,8 @@ class GenerativeAiInferenceClient(object):
429
426
  :param str opc_retry_token: (optional)
430
427
  A token that uniquely identifies a request so it can be retried in case of a timeout or
431
428
  server error without risk of executing that same action again. Retry tokens expire after 24
432
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
433
- has been deleted and purged from the system, then a retry of the original creation request
434
- might be rejected.
429
+ hours, but can be invalidated before that, in case of conflicting operations. For example, if a resource is deleted and purged from the system, then a retry of the original creation request
430
+ is rejected.
435
431
 
436
432
  :param str opc_request_id: (optional)
437
433
  The client request ID for tracing.
@@ -452,7 +448,7 @@ class GenerativeAiInferenceClient(object):
452
448
  :rtype: :class:`~oci.response.Response`
453
449
 
454
450
  :example:
455
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.127.0/generativeaiinference/summarize_text.py.html>`__ to see an example of how to use summarize_text API.
451
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/generativeaiinference/summarize_text.py.html>`__ to see an example of how to use summarize_text API.
456
452
  """
457
453
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
458
454
  required_arguments = []