com.polarion.alm.tracker.ai.IUseCaseResult


METHODS
Modifiers and TypeNameDescription
String role() Returns the role (such as "assistant" or "system") associated with the response message if the use case execution succeeds. If the execution fails (see {@link #error()} ), it returns an empty string.
String content() Returns the content of the response message from the model if the use case execution succeeds. If the execution fails (see {@link #error()} ), it returns an empty string.
Error error() If the use case execution fails, it returns the error details.

Back to Index