oci 2.125.1__py3-none-any.whl → 2.125.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) 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 +134 -43
  6. oci/ai_language/models/__init__.py +24 -0
  7. oci/ai_language/models/assertion_details.py +165 -0
  8. oci/ai_language/models/batch_detect_health_entity_details.py +223 -0
  9. oci/ai_language/models/batch_detect_health_entity_result.py +103 -0
  10. oci/ai_language/models/batch_detect_language_pii_entities_details.py +29 -2
  11. oci/ai_language/models/health_entity.py +351 -0
  12. oci/ai_language/models/health_entity_document_result.py +200 -0
  13. oci/ai_language/models/input_location.py +2 -1
  14. oci/ai_language/models/mel_concept.py +103 -0
  15. oci/ai_language/models/mel_concept_details.py +165 -0
  16. oci/ai_language/models/model_details.py +11 -3
  17. oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
  18. oci/ai_language/models/pii_entity.py +118 -7
  19. oci/ai_language/models/pii_model_details.py +91 -0
  20. oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
  21. oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
  22. oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
  23. oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
  24. oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
  25. oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
  26. oci/ai_language/models/pre_trained_summarization.py +1 -1
  27. oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
  28. oci/ai_language/models/pre_trained_universal_model.py +1 -1
  29. oci/ai_language/models/profile.py +134 -0
  30. oci/ai_language/models/relation_entity.py +196 -0
  31. oci/ai_language/models/resolved_entities.py +72 -0
  32. oci/ai_language/models/resolved_entity.py +227 -0
  33. oci/ai_language/models/text_classification_model_details.py +1 -1
  34. oci/ai_speech/ai_service_speech_client.py +10 -10
  35. oci/ai_vision/ai_service_vision_client.py +25 -25
  36. oci/analytics/analytics_client.py +23 -23
  37. oci/announcements_service/announcement_client.py +4 -4
  38. oci/announcements_service/announcement_subscription_client.py +9 -9
  39. oci/announcements_service/announcements_preferences_client.py +4 -4
  40. oci/apigateway/api_gateway_client.py +21 -21
  41. oci/apigateway/deployment_client.py +6 -6
  42. oci/apigateway/gateway_client.py +6 -6
  43. oci/apigateway/subscribers_client.py +6 -6
  44. oci/apigateway/usage_plans_client.py +6 -6
  45. oci/apigateway/work_requests_client.py +5 -5
  46. oci/apm_config/config_client.py +8 -8
  47. oci/apm_control_plane/apm_domain_client.py +14 -14
  48. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  49. oci/apm_traces/attributes_client.py +8 -8
  50. oci/apm_traces/query_client.py +2 -2
  51. oci/apm_traces/trace_client.py +4 -4
  52. oci/application_migration/application_migration_client.py +36 -36
  53. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  54. oci/artifacts/artifacts_client.py +32 -32
  55. oci/audit/audit_client.py +3 -3
  56. oci/autoscaling/auto_scaling_client.py +11 -11
  57. oci/bastion/bastion_client.py +15 -15
  58. oci/bds/bds_client.py +51 -51
  59. oci/blockchain/blockchain_platform_client.py +27 -27
  60. oci/budget/budget_client.py +10 -10
  61. oci/capacity_management/capacity_management_client.py +19 -19
  62. oci/certificates/certificates_client.py +5 -5
  63. oci/certificates_management/certificates_management_client.py +32 -32
  64. oci/cims/incident_client.py +8 -8
  65. oci/cims/user_client.py +1 -1
  66. oci/cloud_bridge/common_client.py +5 -5
  67. oci/cloud_bridge/discovery_client.py +14 -14
  68. oci/cloud_bridge/inventory_client.py +16 -16
  69. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  70. oci/cloud_guard/cloud_guard_client.py +133 -133
  71. oci/cloud_migrations/migration_client.py +43 -43
  72. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  73. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  74. oci/compute_instance_agent/plugin_client.py +2 -2
  75. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  76. oci/container_engine/container_engine_client.py +44 -44
  77. oci/container_instances/container_instance_client.py +18 -18
  78. oci/core/blockstorage_client.py +60 -60
  79. oci/core/compute_client.py +99 -99
  80. oci/core/compute_management_client.py +32 -32
  81. oci/core/virtual_network_client.py +242 -242
  82. oci/dashboard_service/dashboard_client.py +6 -6
  83. oci/dashboard_service/dashboard_group_client.py +6 -6
  84. oci/data_catalog/data_catalog_client.py +148 -148
  85. oci/data_flow/data_flow_client.py +52 -46
  86. oci/data_flow/models/sql_endpoint.py +42 -3
  87. oci/data_flow/models/sql_endpoint_summary.py +11 -3
  88. oci/data_integration/data_integration_client.py +163 -163
  89. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  90. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  91. oci/data_safe/data_safe_client.py +272 -272
  92. oci/data_science/data_science_client.py +91 -91
  93. oci/data_science/models/instance_configuration.py +37 -2
  94. oci/database/database_client.py +1224 -537
  95. oci/database/database_client_composite_operations.py +204 -0
  96. oci/database/models/__init__.py +12 -0
  97. oci/database/models/autonomous_container_database.py +31 -0
  98. oci/database/models/autonomous_container_database_summary.py +31 -0
  99. oci/database/models/autonomous_database_software_image.py +489 -0
  100. oci/database/models/autonomous_database_software_image_collection.py +72 -0
  101. oci/database/models/autonomous_database_software_image_summary.py +437 -0
  102. oci/database/models/change_autonomous_database_software_image_compartment_details.py +76 -0
  103. oci/database/models/create_autonomous_container_database_details.py +35 -0
  104. oci/database/models/create_autonomous_database_software_image_details.py +267 -0
  105. oci/database/models/maintenance_window.py +33 -2
  106. oci/database/models/update_autonomous_database_software_image_details.py +119 -0
  107. oci/database_management/db_management_client.py +194 -194
  108. oci/database_management/diagnosability_client.py +4 -4
  109. oci/database_management/managed_my_sql_databases_client.py +7 -7
  110. oci/database_management/perfhub_client.py +1 -1
  111. oci/database_management/sql_tuning_client.py +17 -17
  112. oci/database_migration/database_migration_client.py +41 -41
  113. oci/database_migration/models/aws_s3_data_transfer_medium_details.py +29 -2
  114. oci/database_migration/models/data_transfer_medium_details_v2.py +1 -1
  115. oci/database_migration/models/nfs_data_transfer_medium_details.py +29 -2
  116. oci/database_tools/database_tools_client.py +23 -23
  117. oci/desktops/desktop_service_client.py +21 -21
  118. oci/devops/devops_client.py +89 -89
  119. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  120. oci/dns/dns_client.py +52 -52
  121. oci/dts/appliance_export_job_client.py +6 -6
  122. oci/dts/shipping_vendors_client.py +1 -1
  123. oci/dts/transfer_appliance_client.py +8 -8
  124. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  125. oci/dts/transfer_device_client.py +5 -5
  126. oci/dts/transfer_job_client.py +6 -6
  127. oci/dts/transfer_package_client.py +7 -7
  128. oci/em_warehouse/em_data_lake_client.py +13 -13
  129. oci/em_warehouse/em_warehouse_client.py +13 -13
  130. oci/email/email_client.py +26 -26
  131. oci/email_data_plane/email_dp_client.py +2 -2
  132. oci/events/events_client.py +6 -6
  133. oci/file_storage/file_storage_client.py +50 -50
  134. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  135. oci/functions/functions_invoke_client.py +1 -1
  136. oci/functions/functions_management_client.py +16 -16
  137. oci/fusion_apps/data_masking_activity_client.py +3 -3
  138. oci/fusion_apps/fusion_applications_client.py +39 -39
  139. oci/fusion_apps/fusion_environment_client.py +15 -15
  140. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  141. oci/fusion_apps/refresh_activity_client.py +4 -4
  142. oci/fusion_apps/scheduled_activity_client.py +2 -2
  143. oci/fusion_apps/service_attachment_client.py +2 -2
  144. oci/generative_ai/generative_ai_client.py +24 -24
  145. oci/generative_ai/models/dataset.py +1 -1
  146. oci/generative_ai/models/dedicated_ai_cluster.py +34 -3
  147. oci/generative_ai/models/endpoint.py +27 -0
  148. oci/generative_ai/models/model.py +34 -3
  149. oci/generative_ai/models/model_summary.py +7 -3
  150. oci/generative_ai_inference/generative_ai_inference_client.py +101 -3
  151. oci/generative_ai_inference/models/__init__.py +30 -0
  152. oci/generative_ai_inference/models/base_chat_request.py +109 -0
  153. oci/generative_ai_inference/models/base_chat_response.py +109 -0
  154. oci/generative_ai_inference/models/chat_choice.py +161 -0
  155. oci/generative_ai_inference/models/chat_content.py +101 -0
  156. oci/generative_ai_inference/models/chat_details.py +126 -0
  157. oci/generative_ai_inference/models/chat_result.py +130 -0
  158. oci/generative_ai_inference/models/citation.py +165 -0
  159. oci/generative_ai_inference/models/cohere_chat_request.py +443 -0
  160. oci/generative_ai_inference/models/cohere_chat_response.py +272 -0
  161. oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
  162. oci/generative_ai_inference/models/cohere_message.py +119 -0
  163. oci/generative_ai_inference/models/embed_text_details.py +2 -2
  164. oci/generative_ai_inference/models/generic_chat_request.py +474 -0
  165. oci/generative_ai_inference/models/generic_chat_response.py +113 -0
  166. oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
  167. oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
  168. oci/generative_ai_inference/models/llm_inference_response.py +11 -3
  169. oci/generative_ai_inference/models/message.py +103 -0
  170. oci/generative_ai_inference/models/search_query.py +72 -0
  171. oci/generative_ai_inference/models/text_content.py +82 -0
  172. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  173. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  174. oci/golden_gate/golden_gate_client.py +61 -61
  175. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  176. oci/governance_rules_control_plane/work_request_client.py +5 -5
  177. oci/healthchecks/health_checks_client.py +17 -17
  178. oci/identity/identity_client.py +145 -145
  179. oci/identity_data_plane/dataplane_client.py +2 -2
  180. oci/identity_domains/identity_domains_client.py +300 -300
  181. oci/integration/integration_instance_client.py +15 -15
  182. oci/jms/java_management_service_client.py +66 -66
  183. oci/jms_java_downloads/java_download_client.py +25 -25
  184. oci/key_management/ekm_client.py +5 -5
  185. oci/key_management/kms_crypto_client.py +6 -6
  186. oci/key_management/kms_hsm_cluster_client.py +12 -12
  187. oci/key_management/kms_management_client.py +21 -21
  188. oci/key_management/kms_vault_client.py +14 -14
  189. oci/license_manager/license_manager_client.py +18 -18
  190. oci/limits/limits_client.py +4 -4
  191. oci/limits/quotas_client.py +7 -7
  192. oci/load_balancer/load_balancer_client.py +61 -61
  193. oci/lockbox/lockbox_client.py +23 -23
  194. oci/log_analytics/log_analytics_client.py +193 -193
  195. oci/logging/logging_management_client.py +30 -30
  196. oci/loggingingestion/logging_client.py +1 -1
  197. oci/loggingsearch/log_search_client.py +1 -1
  198. oci/management_agent/management_agent_client.py +28 -28
  199. oci/management_dashboard/dashx_apis_client.py +14 -14
  200. oci/marketplace/account_client.py +2 -2
  201. oci/marketplace/marketplace_client.py +30 -30
  202. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  203. oci/media_services/media_services_client.py +60 -60
  204. oci/media_services/media_stream_client.py +2 -2
  205. oci/monitoring/monitoring_client.py +18 -18
  206. oci/mysql/channels_client.py +7 -7
  207. oci/mysql/db_backups_client.py +6 -6
  208. oci/mysql/db_system_client.py +17 -17
  209. oci/mysql/mysqlaas_client.py +7 -7
  210. oci/mysql/replicas_client.py +5 -5
  211. oci/mysql/work_requests_client.py +4 -4
  212. oci/network_firewall/network_firewall_client.py +80 -80
  213. oci/network_load_balancer/models/__init__.py +2 -0
  214. oci/network_load_balancer/models/backend_set.py +64 -0
  215. oci/network_load_balancer/models/backend_set_details.py +64 -0
  216. oci/network_load_balancer/models/backend_set_summary.py +64 -0
  217. oci/network_load_balancer/models/create_backend_set_details.py +64 -0
  218. oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
  219. oci/network_load_balancer/models/health_checker.py +36 -5
  220. oci/network_load_balancer/models/health_checker_details.py +36 -5
  221. oci/network_load_balancer/models/update_backend_set_details.py +64 -0
  222. oci/network_load_balancer/models/update_health_checker_details.py +36 -5
  223. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  224. oci/nosql/nosql_client.py +24 -24
  225. oci/object_storage/object_storage_client.py +50 -50
  226. oci/oce/oce_instance_client.py +10 -10
  227. oci/oci_control_center/occ_metrics_client.py +3 -3
  228. oci/ocvp/cluster_client.py +5 -5
  229. oci/ocvp/esxi_host_client.py +8 -8
  230. oci/ocvp/sddc_client.py +14 -14
  231. oci/ocvp/work_request_client.py +4 -4
  232. oci/oda/management_client.py +59 -59
  233. oci/oda/oda_client.py +17 -17
  234. oci/oda/odapackage_client.py +7 -7
  235. oci/onesubscription/billing_schedule_client.py +1 -1
  236. oci/onesubscription/commitment_client.py +2 -2
  237. oci/onesubscription/computed_usage_client.py +3 -3
  238. oci/onesubscription/invoice_summary_client.py +2 -2
  239. oci/onesubscription/organization_subscription_client.py +1 -1
  240. oci/onesubscription/ratecard_client.py +1 -1
  241. oci/onesubscription/subscribed_service_client.py +2 -2
  242. oci/onesubscription/subscription_client.py +1 -1
  243. oci/ons/notification_control_plane_client.py +6 -6
  244. oci/ons/notification_data_plane_client.py +10 -10
  245. oci/opa/models/opa_instance.py +7 -3
  246. oci/opa/models/work_request.py +11 -3
  247. oci/opa/models/work_request_summary.py +11 -3
  248. oci/opa/opa_instance_client.py +223 -13
  249. oci/opa/opa_instance_client_composite_operations.py +78 -0
  250. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  251. oci/opensearch/opensearch_cluster_client.py +14 -14
  252. oci/operator_access_control/access_requests_client.py +10 -10
  253. oci/operator_access_control/operator_actions_client.py +2 -2
  254. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  255. oci/operator_access_control/operator_control_client.py +6 -6
  256. oci/opsi/operations_insights_client.py +175 -175
  257. oci/optimizer/optimizer_client.py +26 -26
  258. oci/os_management/event_client.py +8 -8
  259. oci/os_management/os_management_client.py +69 -69
  260. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  261. oci/os_management_hub/managed_instance_client.py +22 -22
  262. oci/os_management_hub/managed_instance_group_client.py +22 -22
  263. oci/os_management_hub/management_station_client.py +8 -8
  264. oci/os_management_hub/onboarding_client.py +5 -5
  265. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  266. oci/os_management_hub/scheduled_job_client.py +6 -6
  267. oci/os_management_hub/software_source_client.py +22 -22
  268. oci/os_management_hub/work_request_client.py +4 -4
  269. oci/osp_gateway/address_rule_service_client.py +1 -1
  270. oci/osp_gateway/address_service_client.py +2 -2
  271. oci/osp_gateway/invoice_service_client.py +5 -5
  272. oci/osp_gateway/subscription_service_client.py +5 -5
  273. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  274. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  275. oci/osub_subscription/commitment_client.py +2 -2
  276. oci/osub_subscription/ratecard_client.py +1 -1
  277. oci/osub_subscription/subscription_client.py +1 -1
  278. oci/osub_usage/computed_usage_client.py +3 -3
  279. oci/psql/postgresql_client.py +33 -33
  280. oci/queue/queue_admin_client.py +11 -11
  281. oci/queue/queue_client.py +8 -8
  282. oci/recovery/database_recovery_client.py +23 -23
  283. oci/redis/models/create_redis_cluster_details.py +31 -0
  284. oci/redis/models/redis_cluster.py +31 -0
  285. oci/redis/models/redis_cluster_summary.py +31 -0
  286. oci/redis/models/update_redis_cluster_details.py +31 -0
  287. oci/redis/redis_cluster_client.py +11 -11
  288. oci/regions_definitions.py +5 -0
  289. oci/resource_manager/resource_manager_client.py +52 -52
  290. oci/resource_search/resource_search_client.py +3 -3
  291. oci/rover/rover_bundle_client.py +8 -8
  292. oci/rover/rover_cluster_client.py +8 -8
  293. oci/rover/rover_entitlement_client.py +6 -6
  294. oci/rover/rover_node_client.py +15 -15
  295. oci/rover/shape_client.py +1 -1
  296. oci/rover/work_requests_client.py +5 -5
  297. oci/sch/connector_plugins_client.py +2 -2
  298. oci/sch/service_connector_client.py +12 -12
  299. oci/secrets/secrets_client.py +3 -3
  300. oci/service_catalog/service_catalog_client.py +26 -26
  301. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  302. oci/service_mesh/service_mesh_client.py +48 -48
  303. oci/stack_monitoring/models/associated_monitored_resource.py +118 -0
  304. oci/stack_monitoring/models/associated_resources_summary.py +118 -0
  305. oci/stack_monitoring/models/create_monitored_resource_type_details.py +118 -0
  306. oci/stack_monitoring/models/discovery_job_log_summary.py +35 -2
  307. oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +301 -0
  308. oci/stack_monitoring/models/monitored_resource.py +118 -0
  309. oci/stack_monitoring/models/monitored_resource_member_summary.py +118 -0
  310. oci/stack_monitoring/models/monitored_resource_summary.py +118 -0
  311. oci/stack_monitoring/models/monitored_resource_type.py +118 -0
  312. oci/stack_monitoring/models/monitored_resource_type_summary.py +118 -0
  313. oci/stack_monitoring/models/search_monitored_resources_details.py +184 -0
  314. oci/stack_monitoring/models/update_monitored_resource_type_details.py +118 -0
  315. oci/stack_monitoring/stack_monitoring_client.py +79 -65
  316. oci/streaming/stream_admin_client.py +18 -18
  317. oci/streaming/stream_client.py +8 -8
  318. oci/tenant_manager_control_plane/domain_client.py +5 -5
  319. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  320. oci/tenant_manager_control_plane/governance_client.py +2 -2
  321. oci/tenant_manager_control_plane/link_client.py +3 -3
  322. oci/tenant_manager_control_plane/orders_client.py +2 -2
  323. oci/tenant_manager_control_plane/organization_client.py +10 -10
  324. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  325. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  326. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  327. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  328. oci/threat_intelligence/threatintel_client.py +5 -5
  329. oci/usage/resources_client.py +2 -2
  330. oci/usage/rewards_client.py +6 -6
  331. oci/usage/usagelimits_client.py +1 -1
  332. oci/usage_api/models/__init__.py +12 -0
  333. oci/usage_api/models/create_email_recipients_group_details.py +103 -0
  334. oci/usage_api/models/email_recipient.py +181 -0
  335. oci/usage_api/models/email_recipients_group.py +181 -0
  336. oci/usage_api/models/email_recipients_group_collection.py +72 -0
  337. oci/usage_api/models/email_recipients_group_summary.py +272 -0
  338. oci/usage_api/models/update_email_recipients_group_details.py +72 -0
  339. oci/usage_api/usageapi_client.py +656 -34
  340. oci/usage_api/usageapi_client_composite_operations.py +96 -0
  341. oci/vault/vaults_client.py +13 -13
  342. oci/vbs_inst/vbs_instance_client.py +10 -10
  343. oci/version.py +1 -1
  344. oci/visual_builder/vb_instance_client.py +13 -13
  345. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  346. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  347. oci/waa/waa_client.py +13 -13
  348. oci/waa/work_request_client.py +4 -4
  349. oci/waas/redirect_client.py +6 -6
  350. oci/waas/waas_client.py +66 -66
  351. oci/waf/waf_client.py +24 -24
  352. oci/work_requests/work_request_client.py +4 -4
  353. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/METADATA +1 -1
  354. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/RECORD +358 -318
  355. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/LICENSE.txt +0 -0
  356. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  357. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/WHEEL +0 -0
  358. {oci-2.125.1.dist-info → oci-2.125.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,126 @@
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 ChatDetails(object):
14
+ """
15
+ Details of the conversation for the model to respond.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ChatDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param compartment_id:
24
+ The value to assign to the compartment_id property of this ChatDetails.
25
+ :type compartment_id: str
26
+
27
+ :param serving_mode:
28
+ The value to assign to the serving_mode property of this ChatDetails.
29
+ :type serving_mode: oci.generative_ai_inference.models.ServingMode
30
+
31
+ :param chat_request:
32
+ The value to assign to the chat_request property of this ChatDetails.
33
+ :type chat_request: oci.generative_ai_inference.models.BaseChatRequest
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'compartment_id': 'str',
38
+ 'serving_mode': 'ServingMode',
39
+ 'chat_request': 'BaseChatRequest'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'compartment_id': 'compartmentId',
44
+ 'serving_mode': 'servingMode',
45
+ 'chat_request': 'chatRequest'
46
+ }
47
+
48
+ self._compartment_id = None
49
+ self._serving_mode = None
50
+ self._chat_request = None
51
+
52
+ @property
53
+ def compartment_id(self):
54
+ """
55
+ **[Required]** Gets the compartment_id of this ChatDetails.
56
+ The OCID of compartment that the user is authorized to use to call into the Generative AI service.
57
+
58
+
59
+ :return: The compartment_id of this ChatDetails.
60
+ :rtype: str
61
+ """
62
+ return self._compartment_id
63
+
64
+ @compartment_id.setter
65
+ def compartment_id(self, compartment_id):
66
+ """
67
+ Sets the compartment_id of this ChatDetails.
68
+ The OCID of compartment that the user is authorized to use to call into the Generative AI service.
69
+
70
+
71
+ :param compartment_id: The compartment_id of this ChatDetails.
72
+ :type: str
73
+ """
74
+ self._compartment_id = compartment_id
75
+
76
+ @property
77
+ def serving_mode(self):
78
+ """
79
+ **[Required]** Gets the serving_mode of this ChatDetails.
80
+
81
+ :return: The serving_mode of this ChatDetails.
82
+ :rtype: oci.generative_ai_inference.models.ServingMode
83
+ """
84
+ return self._serving_mode
85
+
86
+ @serving_mode.setter
87
+ def serving_mode(self, serving_mode):
88
+ """
89
+ Sets the serving_mode of this ChatDetails.
90
+
91
+ :param serving_mode: The serving_mode of this ChatDetails.
92
+ :type: oci.generative_ai_inference.models.ServingMode
93
+ """
94
+ self._serving_mode = serving_mode
95
+
96
+ @property
97
+ def chat_request(self):
98
+ """
99
+ Gets the chat_request of this ChatDetails.
100
+
101
+ :return: The chat_request of this ChatDetails.
102
+ :rtype: oci.generative_ai_inference.models.BaseChatRequest
103
+ """
104
+ return self._chat_request
105
+
106
+ @chat_request.setter
107
+ def chat_request(self, chat_request):
108
+ """
109
+ Sets the chat_request of this ChatDetails.
110
+
111
+ :param chat_request: The chat_request of this ChatDetails.
112
+ :type: oci.generative_ai_inference.models.BaseChatRequest
113
+ """
114
+ self._chat_request = chat_request
115
+
116
+ def __repr__(self):
117
+ return formatted_flat_dict(self)
118
+
119
+ def __eq__(self, other):
120
+ if other is None:
121
+ return False
122
+
123
+ return self.__dict__ == other.__dict__
124
+
125
+ def __ne__(self, other):
126
+ return not self == other
@@ -0,0 +1,130 @@
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 ChatResult(object):
14
+ """
15
+ The response to the chat conversation.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ChatResult object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param model_id:
24
+ The value to assign to the model_id property of this ChatResult.
25
+ :type model_id: str
26
+
27
+ :param model_version:
28
+ The value to assign to the model_version property of this ChatResult.
29
+ :type model_version: str
30
+
31
+ :param chat_response:
32
+ The value to assign to the chat_response property of this ChatResult.
33
+ :type chat_response: oci.generative_ai_inference.models.BaseChatResponse
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'model_id': 'str',
38
+ 'model_version': 'str',
39
+ 'chat_response': 'BaseChatResponse'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'model_id': 'modelId',
44
+ 'model_version': 'modelVersion',
45
+ 'chat_response': 'chatResponse'
46
+ }
47
+
48
+ self._model_id = None
49
+ self._model_version = None
50
+ self._chat_response = None
51
+
52
+ @property
53
+ def model_id(self):
54
+ """
55
+ **[Required]** Gets the model_id of this ChatResult.
56
+ The OCID of the model used in this inference request.
57
+
58
+
59
+ :return: The model_id of this ChatResult.
60
+ :rtype: str
61
+ """
62
+ return self._model_id
63
+
64
+ @model_id.setter
65
+ def model_id(self, model_id):
66
+ """
67
+ Sets the model_id of this ChatResult.
68
+ The OCID of the model used in this inference request.
69
+
70
+
71
+ :param model_id: The model_id of this ChatResult.
72
+ :type: str
73
+ """
74
+ self._model_id = model_id
75
+
76
+ @property
77
+ def model_version(self):
78
+ """
79
+ **[Required]** Gets the model_version of this ChatResult.
80
+ The version of the model.
81
+
82
+
83
+ :return: The model_version of this ChatResult.
84
+ :rtype: str
85
+ """
86
+ return self._model_version
87
+
88
+ @model_version.setter
89
+ def model_version(self, model_version):
90
+ """
91
+ Sets the model_version of this ChatResult.
92
+ The version of the model.
93
+
94
+
95
+ :param model_version: The model_version of this ChatResult.
96
+ :type: str
97
+ """
98
+ self._model_version = model_version
99
+
100
+ @property
101
+ def chat_response(self):
102
+ """
103
+ **[Required]** Gets the chat_response of this ChatResult.
104
+
105
+ :return: The chat_response of this ChatResult.
106
+ :rtype: oci.generative_ai_inference.models.BaseChatResponse
107
+ """
108
+ return self._chat_response
109
+
110
+ @chat_response.setter
111
+ def chat_response(self, chat_response):
112
+ """
113
+ Sets the chat_response of this ChatResult.
114
+
115
+ :param chat_response: The chat_response of this ChatResult.
116
+ :type: oci.generative_ai_inference.models.BaseChatResponse
117
+ """
118
+ self._chat_response = chat_response
119
+
120
+ def __repr__(self):
121
+ return formatted_flat_dict(self)
122
+
123
+ def __eq__(self, other):
124
+ if other is None:
125
+ return False
126
+
127
+ return self.__dict__ == other.__dict__
128
+
129
+ def __ne__(self, other):
130
+ return not self == other
@@ -0,0 +1,165 @@
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 Citation(object):
14
+ """
15
+ A section of the generated reply which cites external knowledge.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new Citation object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param start:
24
+ The value to assign to the start property of this Citation.
25
+ :type start: int
26
+
27
+ :param end:
28
+ The value to assign to the end property of this Citation.
29
+ :type end: int
30
+
31
+ :param text:
32
+ The value to assign to the text property of this Citation.
33
+ :type text: str
34
+
35
+ :param document_ids:
36
+ The value to assign to the document_ids property of this Citation.
37
+ :type document_ids: list[str]
38
+
39
+ """
40
+ self.swagger_types = {
41
+ 'start': 'int',
42
+ 'end': 'int',
43
+ 'text': 'str',
44
+ 'document_ids': 'list[str]'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'start': 'start',
49
+ 'end': 'end',
50
+ 'text': 'text',
51
+ 'document_ids': 'documentIds'
52
+ }
53
+
54
+ self._start = None
55
+ self._end = None
56
+ self._text = None
57
+ self._document_ids = None
58
+
59
+ @property
60
+ def start(self):
61
+ """
62
+ **[Required]** Gets the start of this Citation.
63
+ The index of text that the citation starts at, counting from zero.
64
+
65
+
66
+ :return: The start of this Citation.
67
+ :rtype: int
68
+ """
69
+ return self._start
70
+
71
+ @start.setter
72
+ def start(self, start):
73
+ """
74
+ Sets the start of this Citation.
75
+ The index of text that the citation starts at, counting from zero.
76
+
77
+
78
+ :param start: The start of this Citation.
79
+ :type: int
80
+ """
81
+ self._start = start
82
+
83
+ @property
84
+ def end(self):
85
+ """
86
+ **[Required]** Gets the end of this Citation.
87
+ The index of text that the citation ends after, counting from zero.
88
+
89
+
90
+ :return: The end of this Citation.
91
+ :rtype: int
92
+ """
93
+ return self._end
94
+
95
+ @end.setter
96
+ def end(self, end):
97
+ """
98
+ Sets the end of this Citation.
99
+ The index of text that the citation ends after, counting from zero.
100
+
101
+
102
+ :param end: The end of this Citation.
103
+ :type: int
104
+ """
105
+ self._end = end
106
+
107
+ @property
108
+ def text(self):
109
+ """
110
+ **[Required]** Gets the text of this Citation.
111
+ The text of the citation
112
+
113
+
114
+ :return: The text of this Citation.
115
+ :rtype: str
116
+ """
117
+ return self._text
118
+
119
+ @text.setter
120
+ def text(self, text):
121
+ """
122
+ Sets the text of this Citation.
123
+ The text of the citation
124
+
125
+
126
+ :param text: The text of this Citation.
127
+ :type: str
128
+ """
129
+ self._text = text
130
+
131
+ @property
132
+ def document_ids(self):
133
+ """
134
+ **[Required]** Gets the document_ids of this Citation.
135
+ Identifiers of documents cited by this section of the generated reply.
136
+
137
+
138
+ :return: The document_ids of this Citation.
139
+ :rtype: list[str]
140
+ """
141
+ return self._document_ids
142
+
143
+ @document_ids.setter
144
+ def document_ids(self, document_ids):
145
+ """
146
+ Sets the document_ids of this Citation.
147
+ Identifiers of documents cited by this section of the generated reply.
148
+
149
+
150
+ :param document_ids: The document_ids of this Citation.
151
+ :type: list[str]
152
+ """
153
+ self._document_ids = document_ids
154
+
155
+ def __repr__(self):
156
+ return formatted_flat_dict(self)
157
+
158
+ def __eq__(self, other):
159
+ if other is None:
160
+ return False
161
+
162
+ return self.__dict__ == other.__dict__
163
+
164
+ def __ne__(self, other):
165
+ return not self == other