Supported in: Batch
Call an LLM with a configurable prompt.
Expression categories: String
Output type: Array<AnyType> | Boolean | Date | Decimal | Double | Float | Integer | Long | Short | String | Struct | Struct<ok<AnyType> | Boolean | Date | Decimal | Double | Float | Integer | Long | Short | String | Struct | Timestamp, error> | Timestamp
Argument values:
prompt
prompt | Output |
---|---|
The food was great! | 5 |
Argument values:
prompt
, mediaRef
]prompt | mediaRef | Output |
---|---|---|
Patient: John Doe, Age: 45, Symptoms: Persistent cough, shortness of breath, and chest pain. Please analyze the attached chest X-ray for any signs of pneumonia or other abnormalities. | {"mimeType":"image/jpeg","reference":{"type":"mediaSetViewItem","mediaSetViewItem":{"mediaSetRid":"r... | Diagnostic Report: Patient: John Doe Age: 45 Symptoms: Persistent cough, shortness of b... |
Argument values:
prompt
prompt | Output |
---|---|
null | null |
Description: Only MediaSet Reference, without a prompt, should have a null output. Argument values:
mediaRef
mediaRef | Output |
---|---|
{"mimeType":"image/jpeg","reference":{"type":"mediaSetViewItem","mediaSetViewItem":{"mediaSetRid":"r... | null |
Description: Empty input string should have a null output. Argument values:
prompt
prompt | Output |
---|---|
empty string | null |
Description: Input prompt surpassing model limits should have a null output. Argument values:
prompt
WITH_ERRORS
prompt | Output |
---|---|
What is the capital of France? | { error: null, ok: Paris, } |
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ... | { error: Context limit exceeded., ok: null, } |
Description: Input prompt surpassing model limits should have a null output. Argument values:
prompt
prompt | Output |
---|---|
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ... | null |