ConversationConfig

class oci.generative_ai.models.ConversationConfig(**kwargs)

Bases: object

Holds configuration related to conversation retention

Methods

__init__(**kwargs) Initializes a new ConversationConfig object with values from keyword arguments.

Attributes

conversations_retention_in_hours Gets the conversations_retention_in_hours of this ConversationConfig.
responses_retention_in_hours Gets the responses_retention_in_hours of this ConversationConfig.
__init__(**kwargs)

Initializes a new ConversationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • responses_retention_in_hours (int) – The value to assign to the responses_retention_in_hours property of this ConversationConfig.
  • conversations_retention_in_hours (int) – The value to assign to the conversations_retention_in_hours property of this ConversationConfig.
conversations_retention_in_hours

Gets the conversations_retention_in_hours of this ConversationConfig. Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.

Returns:The conversations_retention_in_hours of this ConversationConfig.
Return type:int
responses_retention_in_hours

Gets the responses_retention_in_hours of this ConversationConfig. Retention period (in hours) for responses. The TTL starts from the time the response was created.

Returns:The responses_retention_in_hours of this ConversationConfig.
Return type:int