AIC Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC Commands

AIC_---Artificial-Intelligenc2

Previous Top Next


Description

Short Name: ghf

Get history field

Syntax

AIC_---Artificial-Intelligenc2(Index, FieldName)

Parameters

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")

Return Value

Type

Description

String

Returns the specified field value from history

Remarks

·Access individual fields of history entries

·Valid field names depend on history structure

·Returns empty string if index or field invalid

Example

' 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.

See Also

·AIC_---Artificial-Intelligenc2

·AIC_---Artificial-Intelligenc2