This feature proposal introduces support for the attachments in chatfile scripts using a new directive: WITH.
The goal is to enable interactions with multimodal models by attaching images, audio, and other data sources to ASK and ANSWER blocks.
Add support for attaching to ASK and ANSWER blocks in chatfile using a new WITH directive.
Syntax
ASK |
I found this interesting image about some “balls”. Can you explain what is going on here?
WITH image-url data:image/png;base64,asdjkasdjfksajk...
WITH text illustration is attached
ANSWER |
The "l_p" metrics are ways to measure distance between points in space, but depending on the value of "p," the shape of all points at the same distance from the center looks different.
In your image:
- When p is 1, the shape looks like a diamond.
- When p is 2, it looks like a circle — this is the usual way we think about distance.
- When p gets very large, the shape becomes more like a square.
These shapes are called "unit balls," and they show how distance is measured differently depending on "p."
Details
WITH <type> <source> attaches content to the preceding block (ASK or ANSWER).
<type> can be image-url, text.
<source> has to be a single or multiline prompt.
This feature proposal introduces support for the attachments in chatfile scripts using a new directive:
WITH.The goal is to enable interactions with multimodal models by attaching images, audio, and other data sources to ASK and ANSWER blocks.
Add support for attaching to ASK and ANSWER blocks in chatfile using a new WITH directive.
Syntax
Details
WITH <type> <source>attaches content to the preceding block (ASKorANSWER).<type>can beimage-url,text.<source>has to be a single or multiline prompt.