AIContextRef
typedef
A reference to a context or to a single item within a context.
{ id }— attaches all prompts and files from the context.{ id, fileId }— attaches a single file from the context.{ id, promptId }— attaches a single prompt from the context.
Properties
fileId: stringmodule:ai/aicore/model/aicontextref~AIContextRef#fileIdid: stringmodule:ai/aicore/model/aicontextref~AIContextRef#idid: stringmodule:ai/aicore/model/aicontextref~AIContextRef#idid: stringmodule:ai/aicore/model/aicontextref~AIContextRef#idpromptId: stringmodule:ai/aicore/model/aicontextref~AIContextRef#promptId
Value
object