ChatDetails¶
-
class
oci.generative_ai_agent_runtime.models.ChatDetails(**kwargs)¶ Bases:
objectChat details for managing user interactions and tool executions.
Methods
__init__(**kwargs)Initializes a new ChatDetails object with values from keyword arguments. Attributes
performed_actionsGets the performed_actions of this ChatDetails. session_idGets the session_id of this ChatDetails. should_streamGets the should_stream of this ChatDetails. tool_inputsGets the tool_inputs of this ChatDetails. tool_parametersGets the tool_parameters of this ChatDetails. user_messageGets the user_message 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: - user_message (str) – The value to assign to the user_message property of this ChatDetails.
- should_stream (bool) – The value to assign to the should_stream property of this ChatDetails.
- session_id (str) – The value to assign to the session_id property of this ChatDetails.
- tool_parameters (dict(str, str)) – The value to assign to the tool_parameters property of this ChatDetails.
- tool_inputs (list[oci.generative_ai_agent_runtime.models.ToolInput]) – The value to assign to the tool_inputs property of this ChatDetails.
- performed_actions (list[oci.generative_ai_agent_runtime.models.PerformedAction]) – The value to assign to the performed_actions property of this ChatDetails.
-
performed_actions¶ Gets the performed_actions of this ChatDetails. A list of actions that have been performed based on prior required actions.
Returns: The performed_actions of this ChatDetails. Return type: list[oci.generative_ai_agent_runtime.models.PerformedAction]
-
session_id¶ Gets the session_id of this ChatDetails. Optional sessionId. If not provided, will chat without any prior context.
Returns: The session_id of this ChatDetails. Return type: str
-
should_stream¶ Gets the should_stream of this ChatDetails. Whether to stream the response.
Returns: The should_stream of this ChatDetails. Return type: bool
-
tool_inputs¶ Gets the tool_inputs of this ChatDetails. Array of tool input objects, each specifying a tool’s ID, type, and corresponding input parameters required for execution.
Returns: The tool_inputs of this ChatDetails. Return type: list[oci.generative_ai_agent_runtime.models.ToolInput]
-
tool_parameters¶ Gets the tool_parameters of this ChatDetails. A map where each key is a toolId and the value contains tool type and additional dynamic parameters. This field is deprecated and will be removed after July 02 2026.
Returns: The tool_parameters of this ChatDetails. Return type: dict(str, str)
-
user_message¶ Gets the user_message of this ChatDetails. The input user message content for the chat.
Returns: The user_message of this ChatDetails. Return type: str
-