oci 2.126.4__py3-none-any.whl → 2.128.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (494) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +10 -10
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +66 -66
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +494 -38
  34. oci/capacity_management/models/__init__.py +4 -2
  35. oci/capacity_management/models/create_occ_capacity_request_details.py +32 -1
  36. oci/capacity_management/models/metadata_details.py +7 -3
  37. oci/capacity_management/models/occ_availability_catalog.py +2 -2
  38. oci/capacity_management/models/occ_availability_catalog_summary.py +2 -2
  39. oci/capacity_management/models/occ_availability_summary.py +99 -40
  40. oci/capacity_management/models/occ_capacity_request.py +47 -0
  41. oci/capacity_management/models/occ_capacity_request_base_details.py +96 -32
  42. oci/capacity_management/models/occ_capacity_request_summary.py +31 -0
  43. oci/capacity_management/models/occ_overview_collection.py +72 -0
  44. oci/capacity_management/models/occ_overview_summary.py +413 -0
  45. oci/certificates/certificates_client.py +5 -5
  46. oci/certificates_management/certificates_management_client.py +32 -32
  47. oci/cims/incident_client.py +8 -8
  48. oci/cims/user_client.py +1 -1
  49. oci/cloud_bridge/common_client.py +5 -5
  50. oci/cloud_bridge/discovery_client.py +14 -14
  51. oci/cloud_bridge/inventory_client.py +16 -16
  52. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  53. oci/cloud_guard/cloud_guard_client.py +155 -155
  54. oci/cloud_migrations/migration_client.py +43 -43
  55. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  56. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  57. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  58. oci/compute_instance_agent/plugin_client.py +2 -2
  59. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  60. oci/container_engine/container_engine_client.py +44 -44
  61. oci/container_instances/container_instance_client.py +18 -18
  62. oci/core/blockstorage_client.py +60 -60
  63. oci/core/compute_client.py +99 -99
  64. oci/core/compute_management_client.py +32 -32
  65. oci/core/virtual_network_client.py +247 -247
  66. oci/dashboard_service/dashboard_client.py +6 -6
  67. oci/dashboard_service/dashboard_group_client.py +6 -6
  68. oci/data_catalog/data_catalog_client.py +149 -149
  69. oci/data_flow/data_flow_client.py +42 -42
  70. oci/data_integration/data_integration_client.py +163 -163
  71. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  72. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  73. oci/data_safe/data_safe_client.py +278 -278
  74. oci/data_science/data_science_client.py +91 -91
  75. oci/database/database_client.py +447 -333
  76. oci/database/models/__init__.py +6 -0
  77. oci/database/models/autonomous_database_peer_collection.py +72 -0
  78. oci/database/models/autonomous_database_peer_summary.py +107 -0
  79. oci/database/models/create_autonomous_database_base.py +4 -0
  80. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +512 -0
  81. oci/database/models/database_connection_credentials_by_details.py +7 -3
  82. oci/database/models/database_ssl_connection_credentials.py +7 -3
  83. oci/database/models/enable_database_management_details.py +7 -3
  84. oci/database/models/enable_pluggable_database_management_details.py +7 -3
  85. oci/database/models/modify_database_management_details.py +7 -3
  86. oci/database/models/modify_pluggable_database_management_details.py +7 -3
  87. oci/database_management/db_management_client.py +478 -206
  88. oci/database_management/diagnosability_client.py +4 -4
  89. oci/database_management/managed_my_sql_databases_client.py +7 -7
  90. oci/database_management/models/__init__.py +10 -0
  91. oci/database_management/models/basic_named_credential_content.py +7 -3
  92. oci/database_management/models/basic_preferred_credential.py +7 -3
  93. oci/database_management/models/data_points.py +103 -0
  94. oci/database_management/models/database_connection_credentials_by_details.py +7 -3
  95. oci/database_management/models/database_password_credential_details.py +7 -3
  96. oci/database_management/models/database_secret_credential_details.py +7 -3
  97. oci/database_management/models/database_ssl_connection_credentials.py +7 -3
  98. oci/database_management/models/database_usage_metrics.py +183 -0
  99. oci/database_management/models/dataguard_performance_metrics.py +72 -0
  100. oci/database_management/models/peer_database_metrics.py +72 -0
  101. oci/database_management/models/performance_metrics.py +165 -0
  102. oci/database_management/models/performance_metrics_data.py +387 -0
  103. oci/database_management/models/preferred_credential_summary.py +7 -3
  104. oci/database_management/models/test_basic_preferred_credential_details.py +7 -3
  105. oci/database_management/models/update_basic_preferred_credential_details.py +7 -3
  106. oci/database_management/perfhub_client.py +1 -1
  107. oci/database_management/sql_tuning_client.py +17 -17
  108. oci/database_migration/database_migration_client.py +41 -41
  109. oci/database_tools/database_tools_client.py +23 -23
  110. oci/demand_signal/__init__.py +14 -0
  111. oci/demand_signal/models/__init__.py +48 -0
  112. oci/demand_signal/models/change_occ_demand_signal_compartment_details.py +76 -0
  113. oci/demand_signal/models/create_occ_demand_signal_details.py +251 -0
  114. oci/demand_signal/models/occ_demand_signal.py +501 -0
  115. oci/demand_signal/models/occ_demand_signal_collection.py +72 -0
  116. oci/demand_signal/models/occ_demand_signal_data.py +134 -0
  117. oci/demand_signal/models/occ_demand_signal_summary.py +430 -0
  118. oci/demand_signal/models/occ_demand_signal_value.py +134 -0
  119. oci/demand_signal/models/patch_insert_instruction.py +171 -0
  120. oci/demand_signal/models/patch_insert_multiple_instruction.py +171 -0
  121. oci/demand_signal/models/patch_instruction.py +192 -0
  122. oci/demand_signal/models/patch_merge_instruction.py +97 -0
  123. oci/demand_signal/models/patch_move_instruction.py +147 -0
  124. oci/demand_signal/models/patch_occ_demand_signal_details.py +72 -0
  125. oci/demand_signal/models/patch_prohibit_instruction.py +100 -0
  126. oci/demand_signal/models/patch_remove_instruction.py +59 -0
  127. oci/demand_signal/models/patch_replace_instruction.py +92 -0
  128. oci/demand_signal/models/patch_require_instruction.py +99 -0
  129. oci/demand_signal/models/update_occ_demand_signal_details.py +185 -0
  130. oci/demand_signal/occ_demand_signal_client.py +953 -0
  131. oci/demand_signal/occ_demand_signal_client_composite_operations.py +176 -0
  132. oci/desktops/desktop_service_client.py +21 -21
  133. oci/devops/devops_client.py +89 -89
  134. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  135. oci/dns/dns_client.py +52 -52
  136. oci/dts/appliance_export_job_client.py +6 -6
  137. oci/dts/shipping_vendors_client.py +1 -1
  138. oci/dts/transfer_appliance_client.py +8 -8
  139. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  140. oci/dts/transfer_device_client.py +5 -5
  141. oci/dts/transfer_job_client.py +6 -6
  142. oci/dts/transfer_package_client.py +7 -7
  143. oci/em_warehouse/em_data_lake_client.py +13 -13
  144. oci/em_warehouse/em_warehouse_client.py +13 -13
  145. oci/email/email_client.py +31 -31
  146. oci/email_data_plane/email_dp_client.py +1 -1
  147. oci/events/events_client.py +6 -6
  148. oci/file_storage/file_storage_client.py +50 -50
  149. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  150. oci/functions/functions_invoke_client.py +1 -1
  151. oci/functions/functions_management_client.py +16 -16
  152. oci/fusion_apps/data_masking_activity_client.py +3 -3
  153. oci/fusion_apps/fusion_applications_client.py +39 -39
  154. oci/fusion_apps/fusion_environment_client.py +15 -15
  155. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  156. oci/fusion_apps/refresh_activity_client.py +4 -4
  157. oci/fusion_apps/scheduled_activity_client.py +2 -2
  158. oci/fusion_apps/service_attachment_client.py +2 -2
  159. oci/generative_ai/generative_ai_client.py +22 -22
  160. oci/generative_ai/models/__init__.py +4 -0
  161. oci/generative_ai/models/chat_model_metrics.py +113 -0
  162. oci/generative_ai/models/create_dedicated_ai_cluster_details.py +8 -0
  163. oci/generative_ai/models/dedicated_ai_cluster.py +17 -5
  164. oci/generative_ai/models/lora_training_config.py +186 -0
  165. oci/generative_ai/models/model_metrics.py +11 -3
  166. oci/generative_ai/models/t_few_training_config.py +1 -1
  167. oci/generative_ai/models/text_generation_model_metrics.py +1 -1
  168. oci/generative_ai/models/training_config.py +11 -3
  169. oci/generative_ai/models/vanilla_training_config.py +1 -1
  170. oci/generative_ai_inference/generative_ai_inference_client.py +13 -17
  171. oci/generative_ai_inference/models/__init__.py +23 -1
  172. oci/generative_ai_inference/models/assistant_message.py +89 -0
  173. oci/generative_ai_inference/models/base_chat_request.py +3 -3
  174. oci/generative_ai_inference/models/base_chat_response.py +3 -3
  175. oci/generative_ai_inference/models/chat_details.py +3 -3
  176. oci/generative_ai_inference/models/chat_result.py +2 -2
  177. oci/generative_ai_inference/models/choice.py +1 -1
  178. oci/generative_ai_inference/models/citation.py +9 -9
  179. oci/generative_ai_inference/models/cohere_chat_bot_message.py +113 -0
  180. oci/generative_ai_inference/models/cohere_chat_request.py +353 -30
  181. oci/generative_ai_inference/models/cohere_chat_response.py +166 -16
  182. oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
  183. oci/generative_ai_inference/models/cohere_message.py +49 -43
  184. oci/generative_ai_inference/models/cohere_parameter_definition.py +134 -0
  185. oci/generative_ai_inference/models/cohere_system_message.py +82 -0
  186. oci/generative_ai_inference/models/cohere_tool.py +134 -0
  187. oci/generative_ai_inference/models/cohere_tool_call.py +103 -0
  188. oci/generative_ai_inference/models/cohere_tool_message.py +82 -0
  189. oci/generative_ai_inference/models/cohere_tool_result.py +99 -0
  190. oci/generative_ai_inference/models/cohere_user_message.py +82 -0
  191. oci/generative_ai_inference/models/embed_text_details.py +4 -4
  192. oci/generative_ai_inference/models/generate_text_details.py +2 -2
  193. oci/generative_ai_inference/models/generic_chat_request.py +16 -10
  194. oci/generative_ai_inference/models/generic_chat_response.py +3 -3
  195. oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
  196. oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
  197. oci/generative_ai_inference/models/llm_inference_response.py +3 -11
  198. oci/generative_ai_inference/models/logprobs.py +3 -1
  199. oci/generative_ai_inference/models/message.py +50 -5
  200. oci/generative_ai_inference/models/on_demand_serving_mode.py +2 -2
  201. oci/generative_ai_inference/models/serving_mode.py +3 -3
  202. oci/generative_ai_inference/models/summarize_text_details.py +2 -2
  203. oci/generative_ai_inference/models/system_message.py +89 -0
  204. oci/generative_ai_inference/models/text_content.py +1 -1
  205. oci/generative_ai_inference/models/user_message.py +89 -0
  206. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  207. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  208. oci/golden_gate/golden_gate_client.py +2420 -1399
  209. oci/golden_gate/golden_gate_client_composite_operations.py +274 -0
  210. oci/golden_gate/models/__init__.py +20 -0
  211. oci/golden_gate/models/add_resource_lock_details.py +124 -0
  212. oci/golden_gate/models/amazon_kinesis_connection.py +8 -1
  213. oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -1
  214. oci/golden_gate/models/amazon_redshift_connection.py +8 -1
  215. oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -1
  216. oci/golden_gate/models/amazon_s3_connection.py +8 -1
  217. oci/golden_gate/models/amazon_s3_connection_summary.py +8 -1
  218. oci/golden_gate/models/azure_data_lake_storage_connection.py +8 -1
  219. oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -1
  220. oci/golden_gate/models/azure_synapse_connection.py +8 -1
  221. oci/golden_gate/models/azure_synapse_connection_summary.py +8 -1
  222. oci/golden_gate/models/certificate.py +2 -2
  223. oci/golden_gate/models/connection.py +42 -3
  224. oci/golden_gate/models/connection_summary.py +44 -5
  225. oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -1
  226. oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -1
  227. oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -1
  228. oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -1
  229. oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -1
  230. oci/golden_gate/models/create_certificate_details.py +2 -2
  231. oci/golden_gate/models/create_connection_details.py +42 -3
  232. oci/golden_gate/models/create_db2_connection_details.py +474 -0
  233. oci/golden_gate/models/create_deployment_backup_details.py +33 -2
  234. oci/golden_gate/models/create_deployment_details.py +37 -2
  235. oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -1
  236. oci/golden_gate/models/create_generic_connection_details.py +8 -1
  237. oci/golden_gate/models/create_golden_gate_connection_details.py +8 -1
  238. oci/golden_gate/models/create_google_big_query_connection_details.py +8 -1
  239. oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -1
  240. oci/golden_gate/models/create_hdfs_connection_details.py +8 -1
  241. oci/golden_gate/models/create_java_message_service_connection_details.py +8 -1
  242. oci/golden_gate/models/create_kafka_connection_details.py +8 -1
  243. oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +8 -1
  244. oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +8 -1
  245. oci/golden_gate/models/create_mongo_db_connection_details.py +8 -1
  246. oci/golden_gate/models/create_mysql_connection_details.py +8 -1
  247. oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -1
  248. oci/golden_gate/models/create_ogg_deployment_details.py +4 -4
  249. oci/golden_gate/models/create_oracle_connection_details.py +41 -1
  250. oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -1
  251. oci/golden_gate/models/create_postgresql_connection_details.py +47 -5
  252. oci/golden_gate/models/create_redis_connection_details.py +46 -4
  253. oci/golden_gate/models/create_snowflake_connection_details.py +8 -1
  254. oci/golden_gate/models/db2_connection.py +431 -0
  255. oci/golden_gate/models/db2_connection_summary.py +399 -0
  256. oci/golden_gate/models/deployment.py +37 -2
  257. oci/golden_gate/models/deployment_backup.py +112 -2
  258. oci/golden_gate/models/deployment_backup_summary.py +112 -2
  259. oci/golden_gate/models/deployment_summary.py +39 -4
  260. oci/golden_gate/models/deployment_type_summary.py +7 -3
  261. oci/golden_gate/models/elasticsearch_connection.py +8 -1
  262. oci/golden_gate/models/elasticsearch_connection_summary.py +8 -1
  263. oci/golden_gate/models/generate_library_url_details.py +101 -0
  264. oci/golden_gate/models/generate_log_reader_component_library_url_details.py +51 -0
  265. oci/golden_gate/models/generic_connection.py +8 -1
  266. oci/golden_gate/models/generic_connection_summary.py +8 -1
  267. oci/golden_gate/models/golden_gate_connection.py +8 -1
  268. oci/golden_gate/models/golden_gate_connection_summary.py +8 -1
  269. oci/golden_gate/models/google_big_query_connection.py +8 -1
  270. oci/golden_gate/models/google_big_query_connection_summary.py +8 -1
  271. oci/golden_gate/models/google_cloud_storage_connection.py +8 -1
  272. oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -1
  273. oci/golden_gate/models/hdfs_connection.py +8 -1
  274. oci/golden_gate/models/hdfs_connection_summary.py +8 -1
  275. oci/golden_gate/models/java_message_service_connection.py +8 -1
  276. oci/golden_gate/models/java_message_service_connection_summary.py +8 -1
  277. oci/golden_gate/models/kafka_connection.py +8 -1
  278. oci/golden_gate/models/kafka_connection_summary.py +8 -1
  279. oci/golden_gate/models/kafka_schema_registry_connection.py +8 -1
  280. oci/golden_gate/models/kafka_schema_registry_connection_summary.py +8 -1
  281. oci/golden_gate/models/library_url.py +72 -0
  282. oci/golden_gate/models/microsoft_sqlserver_connection.py +8 -1
  283. oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +8 -1
  284. oci/golden_gate/models/mongo_db_connection.py +8 -1
  285. oci/golden_gate/models/mongo_db_connection_summary.py +8 -1
  286. oci/golden_gate/models/mysql_connection.py +19 -4
  287. oci/golden_gate/models/mysql_connection_summary.py +8 -1
  288. oci/golden_gate/models/oci_object_storage_connection.py +8 -1
  289. oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -1
  290. oci/golden_gate/models/ogg_deployment.py +2 -2
  291. oci/golden_gate/models/oracle_connection.py +64 -4
  292. oci/golden_gate/models/oracle_connection_summary.py +41 -1
  293. oci/golden_gate/models/oracle_nosql_connection.py +8 -1
  294. oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -1
  295. oci/golden_gate/models/postgresql_connection.py +56 -6
  296. oci/golden_gate/models/postgresql_connection_summary.py +45 -3
  297. oci/golden_gate/models/redis_connection.py +52 -6
  298. oci/golden_gate/models/redis_connection_summary.py +45 -3
  299. oci/golden_gate/models/remove_resource_lock_details.py +91 -0
  300. oci/golden_gate/models/resource_lock.py +185 -0
  301. oci/golden_gate/models/snowflake_connection.py +8 -1
  302. oci/golden_gate/models/snowflake_connection_summary.py +8 -1
  303. oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
  304. oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
  305. oci/golden_gate/models/update_amazon_s3_connection_details.py +1 -1
  306. oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
  307. oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
  308. oci/golden_gate/models/update_connection_details.py +11 -3
  309. oci/golden_gate/models/update_db2_connection_details.py +429 -0
  310. oci/golden_gate/models/update_deployment_details.py +43 -0
  311. oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
  312. oci/golden_gate/models/update_generic_connection_details.py +1 -1
  313. oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
  314. oci/golden_gate/models/update_google_big_query_connection_details.py +1 -1
  315. oci/golden_gate/models/update_google_cloud_storage_connection_details.py +1 -1
  316. oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
  317. oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
  318. oci/golden_gate/models/update_kafka_connection_details.py +1 -1
  319. oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
  320. oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +1 -1
  321. oci/golden_gate/models/update_mongo_db_connection_details.py +1 -1
  322. oci/golden_gate/models/update_mysql_connection_details.py +1 -1
  323. oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
  324. oci/golden_gate/models/update_ogg_deployment_details.py +4 -4
  325. oci/golden_gate/models/update_oracle_connection_details.py +34 -1
  326. oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
  327. oci/golden_gate/models/update_postgresql_connection_details.py +38 -3
  328. oci/golden_gate/models/update_redis_connection_details.py +38 -3
  329. oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
  330. oci/golden_gate/models/work_request.py +7 -3
  331. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  332. oci/governance_rules_control_plane/work_request_client.py +5 -5
  333. oci/healthchecks/health_checks_client.py +17 -17
  334. oci/identity/identity_client.py +145 -145
  335. oci/identity_data_plane/dataplane_client.py +2 -2
  336. oci/identity_domains/identity_domains_client.py +300 -300
  337. oci/integration/integration_instance_client.py +15 -15
  338. oci/jms/java_management_service_client.py +66 -66
  339. oci/jms_java_downloads/java_download_client.py +52 -51
  340. oci/jms_java_downloads/models/create_java_download_report_details.py +80 -6
  341. oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +76 -2
  342. oci/jms_java_downloads/models/java_download_count_aggregation.py +2 -2
  343. oci/jms_java_downloads/models/java_download_record.py +2 -2
  344. oci/jms_java_downloads/models/java_download_record_summary.py +2 -2
  345. oci/jms_java_downloads/models/java_download_report.py +174 -2
  346. oci/jms_java_downloads/models/java_download_report_summary.py +174 -2
  347. oci/jms_java_downloads/models/java_download_token.py +24 -8
  348. oci/jms_java_downloads/models/java_download_token_summary.py +24 -8
  349. oci/jms_java_downloads/models/java_license_acceptance_record.py +4 -4
  350. oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +4 -4
  351. oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +2 -2
  352. oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +76 -2
  353. oci/key_management/ekm_client.py +5 -5
  354. oci/key_management/kms_crypto_client.py +6 -6
  355. oci/key_management/kms_hsm_cluster_client.py +12 -12
  356. oci/key_management/kms_management_client.py +21 -21
  357. oci/key_management/kms_vault_client.py +14 -14
  358. oci/license_manager/license_manager_client.py +18 -18
  359. oci/limits/limits_client.py +4 -4
  360. oci/limits/quotas_client.py +7 -7
  361. oci/load_balancer/load_balancer_client.py +61 -61
  362. oci/lockbox/lockbox_client.py +24 -24
  363. oci/log_analytics/log_analytics_client.py +193 -193
  364. oci/logging/logging_management_client.py +30 -30
  365. oci/loggingingestion/logging_client.py +1 -1
  366. oci/loggingsearch/log_search_client.py +1 -1
  367. oci/management_agent/management_agent_client.py +28 -28
  368. oci/management_dashboard/dashx_apis_client.py +14 -14
  369. oci/marketplace/account_client.py +2 -2
  370. oci/marketplace/marketplace_client.py +30 -30
  371. oci/marketplace_private_offer/attachment_client.py +5 -5
  372. oci/marketplace_private_offer/offer_client.py +6 -6
  373. oci/marketplace_publisher/attachment_client.py +5 -5
  374. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  375. oci/marketplace_publisher/offer_client.py +6 -6
  376. oci/media_services/media_services_client.py +60 -60
  377. oci/media_services/media_stream_client.py +2 -2
  378. oci/monitoring/monitoring_client.py +18 -18
  379. oci/mysql/channels_client.py +7 -7
  380. oci/mysql/db_backups_client.py +6 -6
  381. oci/mysql/db_system_client.py +17 -17
  382. oci/mysql/mysqlaas_client.py +7 -7
  383. oci/mysql/replicas_client.py +5 -5
  384. oci/mysql/work_requests_client.py +4 -4
  385. oci/network_firewall/network_firewall_client.py +80 -80
  386. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  387. oci/nosql/nosql_client.py +24 -24
  388. oci/object_storage/object_storage_client.py +50 -50
  389. oci/oce/oce_instance_client.py +10 -10
  390. oci/oci_control_center/occ_metrics_client.py +3 -3
  391. oci/ocvp/cluster_client.py +5 -5
  392. oci/ocvp/esxi_host_client.py +8 -8
  393. oci/ocvp/sddc_client.py +14 -14
  394. oci/ocvp/work_request_client.py +4 -4
  395. oci/oda/management_client.py +59 -59
  396. oci/oda/oda_client.py +17 -17
  397. oci/oda/odapackage_client.py +7 -7
  398. oci/onesubscription/billing_schedule_client.py +1 -1
  399. oci/onesubscription/commitment_client.py +2 -2
  400. oci/onesubscription/computed_usage_client.py +3 -3
  401. oci/onesubscription/invoice_summary_client.py +2 -2
  402. oci/onesubscription/organization_subscription_client.py +1 -1
  403. oci/onesubscription/ratecard_client.py +1 -1
  404. oci/onesubscription/subscribed_service_client.py +2 -2
  405. oci/onesubscription/subscription_client.py +1 -1
  406. oci/ons/notification_control_plane_client.py +6 -6
  407. oci/ons/notification_data_plane_client.py +10 -10
  408. oci/opa/opa_instance_client.py +13 -13
  409. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  410. oci/opensearch/opensearch_cluster_client.py +14 -14
  411. oci/operator_access_control/access_requests_client.py +10 -10
  412. oci/operator_access_control/operator_actions_client.py +2 -2
  413. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  414. oci/operator_access_control/operator_control_client.py +6 -6
  415. oci/opsi/operations_insights_client.py +175 -175
  416. oci/optimizer/optimizer_client.py +26 -26
  417. oci/os_management/event_client.py +8 -8
  418. oci/os_management/os_management_client.py +69 -69
  419. oci/os_management_hub/event_client.py +8 -8
  420. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  421. oci/os_management_hub/managed_instance_client.py +31 -31
  422. oci/os_management_hub/managed_instance_group_client.py +25 -25
  423. oci/os_management_hub/management_station_client.py +10 -10
  424. oci/os_management_hub/onboarding_client.py +6 -6
  425. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  426. oci/os_management_hub/scheduled_job_client.py +7 -7
  427. oci/os_management_hub/software_source_client.py +27 -27
  428. oci/os_management_hub/work_request_client.py +4 -4
  429. oci/osp_gateway/address_rule_service_client.py +1 -1
  430. oci/osp_gateway/address_service_client.py +2 -2
  431. oci/osp_gateway/invoice_service_client.py +5 -5
  432. oci/osp_gateway/subscription_service_client.py +5 -5
  433. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  434. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  435. oci/osub_subscription/commitment_client.py +2 -2
  436. oci/osub_subscription/ratecard_client.py +1 -1
  437. oci/osub_subscription/subscription_client.py +1 -1
  438. oci/osub_usage/computed_usage_client.py +3 -3
  439. oci/psql/postgresql_client.py +33 -33
  440. oci/queue/queue_admin_client.py +11 -11
  441. oci/queue/queue_client.py +8 -8
  442. oci/recovery/database_recovery_client.py +25 -25
  443. oci/redis/redis_cluster_client.py +11 -11
  444. oci/resource_manager/resource_manager_client.py +52 -52
  445. oci/resource_scheduler/schedule_client.py +26 -26
  446. oci/resource_search/resource_search_client.py +3 -3
  447. oci/rover/rover_bundle_client.py +8 -8
  448. oci/rover/rover_cluster_client.py +8 -8
  449. oci/rover/rover_entitlement_client.py +6 -6
  450. oci/rover/rover_node_client.py +15 -15
  451. oci/rover/shape_client.py +1 -1
  452. oci/rover/work_requests_client.py +5 -5
  453. oci/sch/connector_plugins_client.py +2 -2
  454. oci/sch/service_connector_client.py +12 -12
  455. oci/secrets/secrets_client.py +3 -3
  456. oci/service_catalog/service_catalog_client.py +26 -26
  457. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  458. oci/service_mesh/service_mesh_client.py +48 -48
  459. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  460. oci/streaming/stream_admin_client.py +18 -18
  461. oci/streaming/stream_client.py +8 -8
  462. oci/tenant_manager_control_plane/domain_client.py +5 -5
  463. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  464. oci/tenant_manager_control_plane/governance_client.py +2 -2
  465. oci/tenant_manager_control_plane/link_client.py +3 -3
  466. oci/tenant_manager_control_plane/orders_client.py +2 -2
  467. oci/tenant_manager_control_plane/organization_client.py +10 -10
  468. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  469. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  470. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  471. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  472. oci/threat_intelligence/threatintel_client.py +5 -5
  473. oci/usage/resources_client.py +2 -2
  474. oci/usage/rewards_client.py +6 -6
  475. oci/usage/usagelimits_client.py +1 -1
  476. oci/usage_api/usageapi_client.py +33 -33
  477. oci/vault/vaults_client.py +13 -13
  478. oci/vbs_inst/vbs_instance_client.py +10 -10
  479. oci/version.py +1 -1
  480. oci/visual_builder/vb_instance_client.py +13 -13
  481. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  482. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  483. oci/waa/waa_client.py +13 -13
  484. oci/waa/work_request_client.py +4 -4
  485. oci/waas/redirect_client.py +6 -6
  486. oci/waas/waas_client.py +66 -66
  487. oci/waf/waf_client.py +24 -24
  488. oci/work_requests/work_request_client.py +4 -4
  489. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/METADATA +1 -1
  490. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/RECORD +494 -439
  491. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/LICENSE.txt +0 -0
  492. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  493. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/WHEEL +0 -0
  494. {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/top_level.txt +0 -0
@@ -55,6 +55,10 @@ class CohereChatResponse(BaseChatResponse):
55
55
  The value to assign to the text property of this CohereChatResponse.
56
56
  :type text: str
57
57
 
58
+ :param chat_history:
59
+ The value to assign to the chat_history property of this CohereChatResponse.
60
+ :type chat_history: list[oci.generative_ai_inference.models.CohereMessage]
61
+
58
62
  :param citations:
59
63
  The value to assign to the citations property of this CohereChatResponse.
60
64
  :type citations: list[oci.generative_ai_inference.models.Citation]
@@ -69,6 +73,10 @@ class CohereChatResponse(BaseChatResponse):
69
73
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
70
74
  :type finish_reason: str
71
75
 
76
+ :param error_message:
77
+ The value to assign to the error_message property of this CohereChatResponse.
78
+ :type error_message: str
79
+
72
80
  :param search_queries:
73
81
  The value to assign to the search_queries property of this CohereChatResponse.
74
82
  :type search_queries: list[oci.generative_ai_inference.models.SearchQuery]
@@ -77,41 +85,61 @@ class CohereChatResponse(BaseChatResponse):
77
85
  The value to assign to the documents property of this CohereChatResponse.
78
86
  :type documents: list[object]
79
87
 
88
+ :param tool_calls:
89
+ The value to assign to the tool_calls property of this CohereChatResponse.
90
+ :type tool_calls: list[oci.generative_ai_inference.models.CohereToolCall]
91
+
92
+ :param prompt:
93
+ The value to assign to the prompt property of this CohereChatResponse.
94
+ :type prompt: str
95
+
80
96
  """
81
97
  self.swagger_types = {
82
98
  'api_format': 'str',
83
99
  'text': 'str',
100
+ 'chat_history': 'list[CohereMessage]',
84
101
  'citations': 'list[Citation]',
85
102
  'is_search_required': 'bool',
86
103
  'finish_reason': 'str',
104
+ 'error_message': 'str',
87
105
  'search_queries': 'list[SearchQuery]',
88
- 'documents': 'list[object]'
106
+ 'documents': 'list[object]',
107
+ 'tool_calls': 'list[CohereToolCall]',
108
+ 'prompt': 'str'
89
109
  }
90
110
 
91
111
  self.attribute_map = {
92
112
  'api_format': 'apiFormat',
93
113
  'text': 'text',
114
+ 'chat_history': 'chatHistory',
94
115
  'citations': 'citations',
95
116
  'is_search_required': 'isSearchRequired',
96
117
  'finish_reason': 'finishReason',
118
+ 'error_message': 'errorMessage',
97
119
  'search_queries': 'searchQueries',
98
- 'documents': 'documents'
120
+ 'documents': 'documents',
121
+ 'tool_calls': 'toolCalls',
122
+ 'prompt': 'prompt'
99
123
  }
100
124
 
101
125
  self._api_format = None
102
126
  self._text = None
127
+ self._chat_history = None
103
128
  self._citations = None
104
129
  self._is_search_required = None
105
130
  self._finish_reason = None
131
+ self._error_message = None
106
132
  self._search_queries = None
107
133
  self._documents = None
134
+ self._tool_calls = None
135
+ self._prompt = None
108
136
  self._api_format = 'COHERE'
109
137
 
110
138
  @property
111
139
  def text(self):
112
140
  """
113
141
  **[Required]** Gets the text of this CohereChatResponse.
114
- Contents of the reply generated by the model.
142
+ Contents of the response that the model generates.
115
143
 
116
144
 
117
145
  :return: The text of this CohereChatResponse.
@@ -123,7 +151,7 @@ class CohereChatResponse(BaseChatResponse):
123
151
  def text(self, text):
124
152
  """
125
153
  Sets the text of this CohereChatResponse.
126
- Contents of the reply generated by the model.
154
+ Contents of the response that the model generates.
127
155
 
128
156
 
129
157
  :param text: The text of this CohereChatResponse.
@@ -131,11 +159,35 @@ class CohereChatResponse(BaseChatResponse):
131
159
  """
132
160
  self._text = text
133
161
 
162
+ @property
163
+ def chat_history(self):
164
+ """
165
+ Gets the chat_history of this CohereChatResponse.
166
+ The list of previous messages between the user and the model. The chat history gives the model context for responding to the user's inputs.
167
+
168
+
169
+ :return: The chat_history of this CohereChatResponse.
170
+ :rtype: list[oci.generative_ai_inference.models.CohereMessage]
171
+ """
172
+ return self._chat_history
173
+
174
+ @chat_history.setter
175
+ def chat_history(self, chat_history):
176
+ """
177
+ Sets the chat_history of this CohereChatResponse.
178
+ The list of previous messages between the user and the model. The chat history gives the model context for responding to the user's inputs.
179
+
180
+
181
+ :param chat_history: The chat_history of this CohereChatResponse.
182
+ :type: list[oci.generative_ai_inference.models.CohereMessage]
183
+ """
184
+ self._chat_history = chat_history
185
+
134
186
  @property
135
187
  def citations(self):
136
188
  """
137
189
  Gets the citations of this CohereChatResponse.
138
- Inline citations for the generated reply.
190
+ Inline citations for the generated response.
139
191
 
140
192
 
141
193
  :return: The citations of this CohereChatResponse.
@@ -147,7 +199,7 @@ class CohereChatResponse(BaseChatResponse):
147
199
  def citations(self, citations):
148
200
  """
149
201
  Sets the citations of this CohereChatResponse.
150
- Inline citations for the generated reply.
202
+ Inline citations for the generated response.
151
203
 
152
204
 
153
205
  :param citations: The citations of this CohereChatResponse.
@@ -159,7 +211,7 @@ class CohereChatResponse(BaseChatResponse):
159
211
  def is_search_required(self):
160
212
  """
161
213
  Gets the is_search_required of this CohereChatResponse.
162
- Denotes that a search for documents is required.
214
+ If set to true, a search for documents is required.
163
215
 
164
216
 
165
217
  :return: The is_search_required of this CohereChatResponse.
@@ -171,7 +223,7 @@ class CohereChatResponse(BaseChatResponse):
171
223
  def is_search_required(self, is_search_required):
172
224
  """
173
225
  Sets the is_search_required of this CohereChatResponse.
174
- Denotes that a search for documents is required.
226
+ If set to true, a search for documents is required.
175
227
 
176
228
 
177
229
  :param is_search_required: The is_search_required of this CohereChatResponse.
@@ -183,7 +235,7 @@ class CohereChatResponse(BaseChatResponse):
183
235
  def finish_reason(self):
184
236
  """
185
237
  **[Required]** Gets the finish_reason of this CohereChatResponse.
186
- Why the generation was completed.
238
+ Why the generation stopped.
187
239
 
188
240
  Allowed values for this property are: "COMPLETE", "ERROR_TOXIC", "ERROR_LIMIT", "ERROR", "USER_CANCEL", "MAX_TOKENS", 'UNKNOWN_ENUM_VALUE'.
189
241
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -198,7 +250,7 @@ class CohereChatResponse(BaseChatResponse):
198
250
  def finish_reason(self, finish_reason):
199
251
  """
200
252
  Sets the finish_reason of this CohereChatResponse.
201
- Why the generation was completed.
253
+ Why the generation stopped.
202
254
 
203
255
 
204
256
  :param finish_reason: The finish_reason of this CohereChatResponse.
@@ -209,11 +261,35 @@ class CohereChatResponse(BaseChatResponse):
209
261
  finish_reason = 'UNKNOWN_ENUM_VALUE'
210
262
  self._finish_reason = finish_reason
211
263
 
264
+ @property
265
+ def error_message(self):
266
+ """
267
+ Gets the error_message of this CohereChatResponse.
268
+ If there is an error during the streaming scenario, then the `errorMessage` parameter contains details for the error.
269
+
270
+
271
+ :return: The error_message of this CohereChatResponse.
272
+ :rtype: str
273
+ """
274
+ return self._error_message
275
+
276
+ @error_message.setter
277
+ def error_message(self, error_message):
278
+ """
279
+ Sets the error_message of this CohereChatResponse.
280
+ If there is an error during the streaming scenario, then the `errorMessage` parameter contains details for the error.
281
+
282
+
283
+ :param error_message: The error_message of this CohereChatResponse.
284
+ :type: str
285
+ """
286
+ self._error_message = error_message
287
+
212
288
  @property
213
289
  def search_queries(self):
214
290
  """
215
291
  Gets the search_queries of this CohereChatResponse.
216
- Generated search queries.
292
+ The generated search queries.
217
293
 
218
294
 
219
295
  :return: The search_queries of this CohereChatResponse.
@@ -225,7 +301,7 @@ class CohereChatResponse(BaseChatResponse):
225
301
  def search_queries(self, search_queries):
226
302
  """
227
303
  Sets the search_queries of this CohereChatResponse.
228
- Generated search queries.
304
+ The generated search queries.
229
305
 
230
306
 
231
307
  :param search_queries: The search_queries of this CohereChatResponse.
@@ -237,8 +313,21 @@ class CohereChatResponse(BaseChatResponse):
237
313
  def documents(self):
238
314
  """
239
315
  Gets the documents of this CohereChatResponse.
240
- Documents seen by the model when generating the reply. Each document is a JSON String
241
- representing the field and values of the document.
316
+ The documents that the model can refer to when generating a response. Each document is a JSON string that represents the field and values of the document.
317
+
318
+ Example:
319
+ '[
320
+ {
321
+ \"id\": \"doc_0\",
322
+ \"snippet\": \"Emperor penguins are the tallest.\",
323
+ \"title\": \"Tall penguins\"
324
+ },
325
+ {
326
+ \"id\": \"doc_1\",
327
+ \"snippet\": \"Emperor penguins only live in Antarctica.\",
328
+ \"title\": \"Penguin habitats\"
329
+ }
330
+ ]'
242
331
 
243
332
 
244
333
  :return: The documents of this CohereChatResponse.
@@ -250,8 +339,21 @@ class CohereChatResponse(BaseChatResponse):
250
339
  def documents(self, documents):
251
340
  """
252
341
  Sets the documents of this CohereChatResponse.
253
- Documents seen by the model when generating the reply. Each document is a JSON String
254
- representing the field and values of the document.
342
+ The documents that the model can refer to when generating a response. Each document is a JSON string that represents the field and values of the document.
343
+
344
+ Example:
345
+ '[
346
+ {
347
+ \"id\": \"doc_0\",
348
+ \"snippet\": \"Emperor penguins are the tallest.\",
349
+ \"title\": \"Tall penguins\"
350
+ },
351
+ {
352
+ \"id\": \"doc_1\",
353
+ \"snippet\": \"Emperor penguins only live in Antarctica.\",
354
+ \"title\": \"Penguin habitats\"
355
+ }
356
+ ]'
255
357
 
256
358
 
257
359
  :param documents: The documents of this CohereChatResponse.
@@ -259,6 +361,54 @@ class CohereChatResponse(BaseChatResponse):
259
361
  """
260
362
  self._documents = documents
261
363
 
364
+ @property
365
+ def tool_calls(self):
366
+ """
367
+ Gets the tool_calls of this CohereChatResponse.
368
+ A list of tool calls generated by the model.
369
+
370
+
371
+ :return: The tool_calls of this CohereChatResponse.
372
+ :rtype: list[oci.generative_ai_inference.models.CohereToolCall]
373
+ """
374
+ return self._tool_calls
375
+
376
+ @tool_calls.setter
377
+ def tool_calls(self, tool_calls):
378
+ """
379
+ Sets the tool_calls of this CohereChatResponse.
380
+ A list of tool calls generated by the model.
381
+
382
+
383
+ :param tool_calls: The tool_calls of this CohereChatResponse.
384
+ :type: list[oci.generative_ai_inference.models.CohereToolCall]
385
+ """
386
+ self._tool_calls = tool_calls
387
+
388
+ @property
389
+ def prompt(self):
390
+ """
391
+ Gets the prompt of this CohereChatResponse.
392
+ The full prompt that was sent to the model if isEcho is true when request.
393
+
394
+
395
+ :return: The prompt of this CohereChatResponse.
396
+ :rtype: str
397
+ """
398
+ return self._prompt
399
+
400
+ @prompt.setter
401
+ def prompt(self, prompt):
402
+ """
403
+ Sets the prompt of this CohereChatResponse.
404
+ The full prompt that was sent to the model if isEcho is true when request.
405
+
406
+
407
+ :param prompt: The prompt of this CohereChatResponse.
408
+ :type: str
409
+ """
410
+ self._prompt = prompt
411
+
262
412
  def __repr__(self):
263
413
  return formatted_flat_dict(self)
264
414
 
@@ -23,7 +23,7 @@ class CohereLlmInferenceResponse(LlmInferenceResponse):
23
23
 
24
24
  :param runtime_type:
25
25
  The value to assign to the runtime_type property of this CohereLlmInferenceResponse.
26
- Allowed values for this property are: "COHERE", "LLAMA", "OPENAI", "DALLE3"
26
+ Allowed values for this property are: "COHERE", "LLAMA"
27
27
  :type runtime_type: str
28
28
 
29
29
  :param generated_texts:
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
12
12
  @init_model_state_from_kwargs
13
13
  class CohereMessage(object):
14
14
  """
15
- An message that represents a single dialogue of chat
15
+ A message that represents a single chat dialog.
16
16
  """
17
17
 
18
18
  #: A constant which can be used with the role property of a CohereMessage.
@@ -23,41 +23,73 @@ class CohereMessage(object):
23
23
  #: This constant has a value of "USER"
24
24
  ROLE_USER = "USER"
25
25
 
26
+ #: A constant which can be used with the role property of a CohereMessage.
27
+ #: This constant has a value of "SYSTEM"
28
+ ROLE_SYSTEM = "SYSTEM"
29
+
30
+ #: A constant which can be used with the role property of a CohereMessage.
31
+ #: This constant has a value of "TOOL"
32
+ ROLE_TOOL = "TOOL"
33
+
26
34
  def __init__(self, **kwargs):
27
35
  """
28
- Initializes a new CohereMessage object with values from keyword arguments.
36
+ Initializes a new CohereMessage object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
37
+ to a service operations then you should favor using a subclass over the base class:
38
+
39
+ * :class:`~oci.generative_ai_inference.models.CohereChatBotMessage`
40
+ * :class:`~oci.generative_ai_inference.models.CohereSystemMessage`
41
+ * :class:`~oci.generative_ai_inference.models.CohereToolMessage`
42
+ * :class:`~oci.generative_ai_inference.models.CohereUserMessage`
43
+
29
44
  The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
45
 
31
46
  :param role:
32
47
  The value to assign to the role property of this CohereMessage.
33
- Allowed values for this property are: "CHATBOT", "USER"
48
+ Allowed values for this property are: "CHATBOT", "USER", "SYSTEM", "TOOL", 'UNKNOWN_ENUM_VALUE'.
49
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
34
50
  :type role: str
35
51
 
36
- :param message:
37
- The value to assign to the message property of this CohereMessage.
38
- :type message: str
39
-
40
52
  """
41
53
  self.swagger_types = {
42
- 'role': 'str',
43
- 'message': 'str'
54
+ 'role': 'str'
44
55
  }
45
56
 
46
57
  self.attribute_map = {
47
- 'role': 'role',
48
- 'message': 'message'
58
+ 'role': 'role'
49
59
  }
50
60
 
51
61
  self._role = None
52
- self._message = None
62
+
63
+ @staticmethod
64
+ def get_subtype(object_dictionary):
65
+ """
66
+ Given the hash representation of a subtype of this class,
67
+ use the info in the hash to return the class of the subtype.
68
+ """
69
+ type = object_dictionary['role']
70
+
71
+ if type == 'CHATBOT':
72
+ return 'CohereChatBotMessage'
73
+
74
+ if type == 'SYSTEM':
75
+ return 'CohereSystemMessage'
76
+
77
+ if type == 'TOOL':
78
+ return 'CohereToolMessage'
79
+
80
+ if type == 'USER':
81
+ return 'CohereUserMessage'
82
+ else:
83
+ return 'CohereMessage'
53
84
 
54
85
  @property
55
86
  def role(self):
56
87
  """
57
88
  **[Required]** Gets the role of this CohereMessage.
58
- One of CHATBOT|USER to identify who the message is coming from.
89
+ To identify who the message is coming from, a role is associated to each message.
59
90
 
60
- Allowed values for this property are: "CHATBOT", "USER"
91
+ Allowed values for this property are: "CHATBOT", "USER", "SYSTEM", "TOOL", 'UNKNOWN_ENUM_VALUE'.
92
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
61
93
 
62
94
 
63
95
  :return: The role of this CohereMessage.
@@ -69,43 +101,17 @@ class CohereMessage(object):
69
101
  def role(self, role):
70
102
  """
71
103
  Sets the role of this CohereMessage.
72
- One of CHATBOT|USER to identify who the message is coming from.
104
+ To identify who the message is coming from, a role is associated to each message.
73
105
 
74
106
 
75
107
  :param role: The role of this CohereMessage.
76
108
  :type: str
77
109
  """
78
- allowed_values = ["CHATBOT", "USER"]
110
+ allowed_values = ["CHATBOT", "USER", "SYSTEM", "TOOL"]
79
111
  if not value_allowed_none_or_none_sentinel(role, allowed_values):
80
- raise ValueError(
81
- f"Invalid value for `role`, must be None or one of {allowed_values}"
82
- )
112
+ role = 'UNKNOWN_ENUM_VALUE'
83
113
  self._role = role
84
114
 
85
- @property
86
- def message(self):
87
- """
88
- **[Required]** Gets the message of this CohereMessage.
89
- Contents of the chat message.
90
-
91
-
92
- :return: The message of this CohereMessage.
93
- :rtype: str
94
- """
95
- return self._message
96
-
97
- @message.setter
98
- def message(self, message):
99
- """
100
- Sets the message of this CohereMessage.
101
- Contents of the chat message.
102
-
103
-
104
- :param message: The message of this CohereMessage.
105
- :type: str
106
- """
107
- self._message = message
108
-
109
115
  def __repr__(self):
110
116
  return formatted_flat_dict(self)
111
117
 
@@ -0,0 +1,134 @@
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
+
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 CohereParameterDefinition(object):
14
+ """
15
+ A definition of tool parameter.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CohereParameterDefinition object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param description:
24
+ The value to assign to the description property of this CohereParameterDefinition.
25
+ :type description: str
26
+
27
+ :param type:
28
+ The value to assign to the type property of this CohereParameterDefinition.
29
+ :type type: str
30
+
31
+ :param is_required:
32
+ The value to assign to the is_required property of this CohereParameterDefinition.
33
+ :type is_required: bool
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'description': 'str',
38
+ 'type': 'str',
39
+ 'is_required': 'bool'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'description': 'description',
44
+ 'type': 'type',
45
+ 'is_required': 'isRequired'
46
+ }
47
+
48
+ self._description = None
49
+ self._type = None
50
+ self._is_required = None
51
+
52
+ @property
53
+ def description(self):
54
+ """
55
+ Gets the description of this CohereParameterDefinition.
56
+ The description of the parameter.
57
+
58
+
59
+ :return: The description of this CohereParameterDefinition.
60
+ :rtype: str
61
+ """
62
+ return self._description
63
+
64
+ @description.setter
65
+ def description(self, description):
66
+ """
67
+ Sets the description of this CohereParameterDefinition.
68
+ The description of the parameter.
69
+
70
+
71
+ :param description: The description of this CohereParameterDefinition.
72
+ :type: str
73
+ """
74
+ self._description = description
75
+
76
+ @property
77
+ def type(self):
78
+ """
79
+ **[Required]** Gets the type of this CohereParameterDefinition.
80
+ The type of the parameter. Must be a valid Python type.
81
+
82
+
83
+ :return: The type of this CohereParameterDefinition.
84
+ :rtype: str
85
+ """
86
+ return self._type
87
+
88
+ @type.setter
89
+ def type(self, type):
90
+ """
91
+ Sets the type of this CohereParameterDefinition.
92
+ The type of the parameter. Must be a valid Python type.
93
+
94
+
95
+ :param type: The type of this CohereParameterDefinition.
96
+ :type: str
97
+ """
98
+ self._type = type
99
+
100
+ @property
101
+ def is_required(self):
102
+ """
103
+ Gets the is_required of this CohereParameterDefinition.
104
+ Denotes whether the parameter is always present (required) or not. Defaults to not required.
105
+
106
+
107
+ :return: The is_required of this CohereParameterDefinition.
108
+ :rtype: bool
109
+ """
110
+ return self._is_required
111
+
112
+ @is_required.setter
113
+ def is_required(self, is_required):
114
+ """
115
+ Sets the is_required of this CohereParameterDefinition.
116
+ Denotes whether the parameter is always present (required) or not. Defaults to not required.
117
+
118
+
119
+ :param is_required: The is_required of this CohereParameterDefinition.
120
+ :type: bool
121
+ """
122
+ self._is_required = is_required
123
+
124
+ def __repr__(self):
125
+ return formatted_flat_dict(self)
126
+
127
+ def __eq__(self, other):
128
+ if other is None:
129
+ return False
130
+
131
+ return self.__dict__ == other.__dict__
132
+
133
+ def __ne__(self, other):
134
+ return not self == other
@@ -0,0 +1,82 @@
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 .cohere_message import CohereMessage
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 CohereSystemMessage(CohereMessage):
14
+ """
15
+ A message that represents a single chat dialog as SYSTEM role.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CohereSystemMessage object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.CohereSystemMessage.role` attribute
21
+ of this class is ``SYSTEM`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param role:
25
+ The value to assign to the role property of this CohereSystemMessage.
26
+ Allowed values for this property are: "CHATBOT", "USER", "SYSTEM", "TOOL"
27
+ :type role: str
28
+
29
+ :param message:
30
+ The value to assign to the message property of this CohereSystemMessage.
31
+ :type message: str
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'role': 'str',
36
+ 'message': 'str'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'role': 'role',
41
+ 'message': 'message'
42
+ }
43
+
44
+ self._role = None
45
+ self._message = None
46
+ self._role = 'SYSTEM'
47
+
48
+ @property
49
+ def message(self):
50
+ """
51
+ **[Required]** Gets the message of this CohereSystemMessage.
52
+ Contents of the chat message.
53
+
54
+
55
+ :return: The message of this CohereSystemMessage.
56
+ :rtype: str
57
+ """
58
+ return self._message
59
+
60
+ @message.setter
61
+ def message(self, message):
62
+ """
63
+ Sets the message of this CohereSystemMessage.
64
+ Contents of the chat message.
65
+
66
+
67
+ :param message: The message of this CohereSystemMessage.
68
+ :type: str
69
+ """
70
+ self._message = message
71
+
72
+ def __repr__(self):
73
+ return formatted_flat_dict(self)
74
+
75
+ def __eq__(self, other):
76
+ if other is None:
77
+ return False
78
+
79
+ return self.__dict__ == other.__dict__
80
+
81
+ def __ne__(self, other):
82
+ return not self == other