IAIConversation

public interface IAIConversation

Represents a conversation instance. Unlike regular AI calls, conversations retain the entire context.

Methods

MethodDescription
getResponse(String instruction)Sends conversation request message including entire context and returns response.

getResponse(String instruction)

public abstract String getResponse(String instruction)

Sends conversation request message including entire context and returns response.

Parameters:

ParameterTypeDescription
instructionjava.lang.StringThe instruction or message to be processed by the AI model.

Returns: java.lang.String - The message generated by the AI model in response to the given instruction within conversation context.