|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIU. - OpenAI API > AIU. - Artificial Intelligence Utility |
MiniRobotLanguage (MRL)
Response Analysis
Evaluating AI Outputs
Intention
Response Analysis: Understanding AI Results
This section provides commands to analyze and extract details from AI responses generated by the AIU system.
It enables you to evaluate the content, structure, and metrics of AI outputs for debugging or optimization.
It’s part of the AIU - OpenAI API suite.
Response Analysis commands allow you to inspect the raw output, content, word count, completion reason, and token usage of the AI’s responses.
These tools are essential for understanding and refining AI performance after operations are executed.
The following commands are included:
•AIU.GetRaw - Retrieve the raw response from the AI.
•AIU.GetContent - Retrieve the content of the AI’s response.
•AIU.GetWordCount - Retrieve the word count of the AI’s response.
•AIU.GetFinishReason - Retrieve the reason the AI stopped generating.
•AIU.GetTotalTokens - Retrieve the total token count used.
See also:
• Tool and Function Management