|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.GetLastAnswer |
Top |
MiniRobotLanguage (MRL)
AIC.GetLastAnswer
DESCRIPTION
Intention
Retrieves the last AI response (assistant's answer) from the conversation history. This command returns the most recent message generated by the AI model in response to a user prompt, allowing you to access the answer without re-querying the API.
Syntax
AIC.GetLastAnswer
Example
' Get the last AI response
AIC.Chat|"What is 2+2?"
answer = AIC.GetLastAnswer