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 [Required] 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

[Required] 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 in which to call the Generative AI service to chat.

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