IAIConversation
public interface IAIConversation
Represents a conversation instance. Unlike regular AI calls, conversations retain the entire context.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| instruction | java.lang.String | The 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.