ResourceFileReference
A shared prompt or JSON file of a project, which other files read by name.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The name other files read it by, as in @prompt("name") or @json("name"): the file name without its extension. Constraints: required (empty or whitespace-only strings are rejected). |
content | string | yes | The file’s text, kept exactly as sent. Constraints: required (empty or whitespace-only strings are rejected). |
Example
Section titled “Example”{ "name": "...", "content": "..."}Where it’s used
Section titled “Where it’s used”- Inside
ResourceFileReferences