|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC Commands |
Short Name: ghf
Get history field
AIC_---Artificial-Intelligenc2(Index, FieldName)
Parameter |
Type |
Required |
Description |
Index |
Long |
Yes |
History entry index (0-based) |
FieldName |
String |
Yes |
Name of the field to retrieve (e.g., "Prompt", "Response", "Timestamp") |
Type |
Description |
String |
Returns the specified field value from history |
·Access individual fields of history entries
·Valid field names depend on history structure
·Returns empty string if index or field invalid
' Get specific field from historyDim prompt As Stringprompt = AIC_---Artificial-Intelligenc2(0, "Prompt")Print "Last prompt: " & prompt
Retrieves a specific field from a history entry by index.