traceString

Constructs a string representation of the Prompt object, detailing its unique identifier, messages, and temperature parameter.

This property is primarily intended for debugging or logging purposes, offering a concise overview of the Prompt object's state.


Provides a formatted string representation of a Response message that includes its role and content.

The string is structured as: role: <role>, message: <content>.

This property is useful for logging or debugging purposes where a concise yet descriptive summary of the message content and its associated role is required.