ChatDetails

class oci.generative_ai_inference.models.ChatDetails(**kwargs)

Bases: object

Details of the conversation for the model to respond.

Methods

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

Attributes

chat_request Gets the chat_request of this ChatDetails.
compartment_id [Required] Gets the compartment_id of this ChatDetails.
serving_mode [Required] Gets the serving_mode of this ChatDetails.
__init__(**kwargs)

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

Parameters:
chat_request

Gets the chat_request of this ChatDetails.

Returns:The chat_request of this ChatDetails.
Return type:oci.generative_ai_inference.models.BaseChatRequest
compartment_id

[Required] Gets the compartment_id of this ChatDetails. The OCID of compartment that the user is authorized to use to call into the Generative AI service.

Returns:The compartment_id of this ChatDetails.
Return type:str
serving_mode

[Required] Gets the serving_mode of this ChatDetails.

Returns:The serving_mode of this ChatDetails.
Return type:oci.generative_ai_inference.models.ServingMode