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: - compartment_id (str) – The value to assign to the compartment_id property of this ChatDetails.
- serving_mode (oci.generative_ai_inference.models.ServingMode) – The value to assign to the serving_mode property of this ChatDetails.
- chat_request (oci.generative_ai_inference.models.BaseChatRequest) – The value to assign to the chat_request property of this ChatDetails.
-
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
-