ChatResult

class oci.generative_ai_agent_runtime.models.ChatResult(**kwargs)

Bases: object

The response of a chat request.

Methods

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

Attributes

message Gets the message of this ChatResult.
traces Gets the traces of this ChatResult.
__init__(**kwargs)

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

Parameters:
message

Gets the message of this ChatResult.

Returns:The message of this ChatResult.
Return type:oci.generative_ai_agent_runtime.models.Message
traces

Gets the traces of this ChatResult. The trace that displays the internal progression, such as reasoning and actions during an execution.

Returns:The traces of this ChatResult.
Return type:list[oci.generative_ai_agent_runtime.models.Trace]