ResourceFileReferences
The shared prompts and JSON files of a project, sent with a build.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
prompts | ResourceFileReference[] | yes | The prompts (prompts/), read with @prompt("name"). Constraints: required (empty or whitespace-only strings are rejected). |
json | ResourceFileReference[] | yes | The JSON files (json/), such as JSON Schemas, read with @json("name"). Constraints: required (empty or whitespace-only strings are rejected). |
Example
Section titled “Example”{ "prompts": [ { "name": "...", "content": "..." } ], "json": [ { "name": "...", "content": "..." } ]}Where it’s used
Section titled “Where it’s used”- Inside
BuildRequest