Skip to content

Commit 3ac8fa9

Browse files
Releasing version 2.150.1
Releasing version 2.150.1
2 parents 5765ac6 + a8c6028 commit 3ac8fa9

File tree

38 files changed

+1737
-14
lines changed

38 files changed

+1737
-14
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66

77
====================
8+
2.150.1 - 2025-04-15
9+
====================
10+
11+
Added
12+
-----
13+
* Support for applying guardrails, enabling content moderation and detection of Prompt Injection and Personally Identifiable Information (PII) in the Generative AI Inference service
14+
* Support for providing customer contacts for operational notifications in the Database service
15+
816
2.150.0 - 2025-04-08
917
====================
1018

docs/api/generative_ai_inference.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ Generative Ai Inference
1818
:nosignatures:
1919
:template: autosummary/model_class.rst
2020

21+
oci.generative_ai_inference.models.ApplyGuardrailsDetails
22+
oci.generative_ai_inference.models.ApplyGuardrailsResult
2123
oci.generative_ai_inference.models.AssistantMessage
2224
oci.generative_ai_inference.models.BaseChatRequest
2325
oci.generative_ai_inference.models.BaseChatResponse
26+
oci.generative_ai_inference.models.CategoryScore
2427
oci.generative_ai_inference.models.ChatChoice
2528
oci.generative_ai_inference.models.ChatContent
2629
oci.generative_ai_inference.models.ChatDetails
@@ -43,6 +46,8 @@ Generative Ai Inference
4346
oci.generative_ai_inference.models.CohereToolMessage
4447
oci.generative_ai_inference.models.CohereToolResult
4548
oci.generative_ai_inference.models.CohereUserMessage
49+
oci.generative_ai_inference.models.ContentModerationConfiguration
50+
oci.generative_ai_inference.models.ContentModerationResult
4651
oci.generative_ai_inference.models.DedicatedServingMode
4752
oci.generative_ai_inference.models.Document
4853
oci.generative_ai_inference.models.DocumentRank
@@ -55,6 +60,10 @@ Generative Ai Inference
5560
oci.generative_ai_inference.models.GeneratedText
5661
oci.generative_ai_inference.models.GenericChatRequest
5762
oci.generative_ai_inference.models.GenericChatResponse
63+
oci.generative_ai_inference.models.GuardrailConfigs
64+
oci.generative_ai_inference.models.GuardrailsInput
65+
oci.generative_ai_inference.models.GuardrailsResults
66+
oci.generative_ai_inference.models.GuardrailsTextInput
5867
oci.generative_ai_inference.models.ImageContent
5968
oci.generative_ai_inference.models.ImageUrl
6069
oci.generative_ai_inference.models.LlamaLlmInferenceRequest
@@ -64,6 +73,10 @@ Generative Ai Inference
6473
oci.generative_ai_inference.models.Logprobs
6574
oci.generative_ai_inference.models.Message
6675
oci.generative_ai_inference.models.OnDemandServingMode
76+
oci.generative_ai_inference.models.PersonallyIdentifiableInformationConfiguration
77+
oci.generative_ai_inference.models.PersonallyIdentifiableInformationResult
78+
oci.generative_ai_inference.models.PromptInjectionConfiguration
79+
oci.generative_ai_inference.models.PromptInjectionProtectionResult
6780
oci.generative_ai_inference.models.RerankTextDetails
6881
oci.generative_ai_inference.models.RerankTextResult
6982
oci.generative_ai_inference.models.SearchQuery
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ApplyGuardrailsDetails
2+
======================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: ApplyGuardrailsDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ApplyGuardrailsResult
2+
=====================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: ApplyGuardrailsResult
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CategoryScore
2+
=============
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: CategoryScore
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ContentModerationConfiguration
2+
==============================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: ContentModerationConfiguration
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ContentModerationResult
2+
=======================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: ContentModerationResult
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GuardrailConfigs
2+
================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: GuardrailConfigs
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GuardrailsInput
2+
===============
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: GuardrailsInput
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GuardrailsResults
2+
=================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: GuardrailsResults
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
GuardrailsTextInput
2+
===================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: GuardrailsTextInput
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PersonallyIdentifiableInformationConfiguration
2+
==============================================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: PersonallyIdentifiableInformationConfiguration
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PersonallyIdentifiableInformationResult
2+
=======================================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: PersonallyIdentifiableInformationResult
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PromptInjectionConfiguration
2+
============================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: PromptInjectionConfiguration
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PromptInjectionProtectionResult
2+
===============================
3+
4+
.. currentmodule:: oci.generative_ai_inference.models
5+
6+
.. autoclass:: PromptInjectionProtectionResult
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

src/oci/database/models/autonomous_container_database.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ def __init__(self, **kwargs):
168168
The value to assign to the display_name property of this AutonomousContainerDatabase.
169169
:type display_name: str
170170
171+
:param customer_contacts:
172+
The value to assign to the customer_contacts property of this AutonomousContainerDatabase.
173+
:type customer_contacts: list[oci.database.models.CustomerContact]
174+
171175
:param db_unique_name:
172176
The value to assign to the db_unique_name property of this AutonomousContainerDatabase.
173177
:type db_unique_name: str
@@ -407,6 +411,7 @@ def __init__(self, **kwargs):
407411
'id': 'str',
408412
'compartment_id': 'str',
409413
'display_name': 'str',
414+
'customer_contacts': 'list[CustomerContact]',
410415
'db_unique_name': 'str',
411416
'db_name': 'str',
412417
'service_level_agreement_type': 'str',
@@ -466,6 +471,7 @@ def __init__(self, **kwargs):
466471
'id': 'id',
467472
'compartment_id': 'compartmentId',
468473
'display_name': 'displayName',
474+
'customer_contacts': 'customerContacts',
469475
'db_unique_name': 'dbUniqueName',
470476
'db_name': 'dbName',
471477
'service_level_agreement_type': 'serviceLevelAgreementType',
@@ -524,6 +530,7 @@ def __init__(self, **kwargs):
524530
self._id = None
525531
self._compartment_id = None
526532
self._display_name = None
533+
self._customer_contacts = None
527534
self._db_unique_name = None
528535
self._db_name = None
529536
self._service_level_agreement_type = None
@@ -651,6 +658,30 @@ def display_name(self, display_name):
651658
"""
652659
self._display_name = display_name
653660

661+
@property
662+
def customer_contacts(self):
663+
"""
664+
Gets the customer_contacts of this AutonomousContainerDatabase.
665+
Customer Contacts. Setting this to an empty list removes all customer contacts.
666+
667+
668+
:return: The customer_contacts of this AutonomousContainerDatabase.
669+
:rtype: list[oci.database.models.CustomerContact]
670+
"""
671+
return self._customer_contacts
672+
673+
@customer_contacts.setter
674+
def customer_contacts(self, customer_contacts):
675+
"""
676+
Sets the customer_contacts of this AutonomousContainerDatabase.
677+
Customer Contacts. Setting this to an empty list removes all customer contacts.
678+
679+
680+
:param customer_contacts: The customer_contacts of this AutonomousContainerDatabase.
681+
:type: list[oci.database.models.CustomerContact]
682+
"""
683+
self._customer_contacts = customer_contacts
684+
654685
@property
655686
def db_unique_name(self):
656687
"""

src/oci/database/models/autonomous_container_database_summary.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ def __init__(self, **kwargs):
168168
The value to assign to the display_name property of this AutonomousContainerDatabaseSummary.
169169
:type display_name: str
170170
171+
:param customer_contacts:
172+
The value to assign to the customer_contacts property of this AutonomousContainerDatabaseSummary.
173+
:type customer_contacts: list[oci.database.models.CustomerContact]
174+
171175
:param db_unique_name:
172176
The value to assign to the db_unique_name property of this AutonomousContainerDatabaseSummary.
173177
:type db_unique_name: str
@@ -407,6 +411,7 @@ def __init__(self, **kwargs):
407411
'id': 'str',
408412
'compartment_id': 'str',
409413
'display_name': 'str',
414+
'customer_contacts': 'list[CustomerContact]',
410415
'db_unique_name': 'str',
411416
'db_name': 'str',
412417
'service_level_agreement_type': 'str',
@@ -466,6 +471,7 @@ def __init__(self, **kwargs):
466471
'id': 'id',
467472
'compartment_id': 'compartmentId',
468473
'display_name': 'displayName',
474+
'customer_contacts': 'customerContacts',
469475
'db_unique_name': 'dbUniqueName',
470476
'db_name': 'dbName',
471477
'service_level_agreement_type': 'serviceLevelAgreementType',
@@ -524,6 +530,7 @@ def __init__(self, **kwargs):
524530
self._id = None
525531
self._compartment_id = None
526532
self._display_name = None
533+
self._customer_contacts = None
527534
self._db_unique_name = None
528535
self._db_name = None
529536
self._service_level_agreement_type = None
@@ -651,6 +658,30 @@ def display_name(self, display_name):
651658
"""
652659
self._display_name = display_name
653660

661+
@property
662+
def customer_contacts(self):
663+
"""
664+
Gets the customer_contacts of this AutonomousContainerDatabaseSummary.
665+
Customer Contacts. Setting this to an empty list removes all customer contacts.
666+
667+
668+
:return: The customer_contacts of this AutonomousContainerDatabaseSummary.
669+
:rtype: list[oci.database.models.CustomerContact]
670+
"""
671+
return self._customer_contacts
672+
673+
@customer_contacts.setter
674+
def customer_contacts(self, customer_contacts):
675+
"""
676+
Sets the customer_contacts of this AutonomousContainerDatabaseSummary.
677+
Customer Contacts. Setting this to an empty list removes all customer contacts.
678+
679+
680+
:param customer_contacts: The customer_contacts of this AutonomousContainerDatabaseSummary.
681+
:type: list[oci.database.models.CustomerContact]
682+
"""
683+
self._customer_contacts = customer_contacts
684+
654685
@property
655686
def db_unique_name(self):
656687
"""

0 commit comments

Comments
 (0)