public abstract class UserInput
One piece of input to an AI prompt: text, or a file/image attached by path. Build instances via text(String), inlineFile(String), inlineImage(String). Attachment paths may be absolute or relative to the project folder; attachments larger than 10MB are rejected.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static UserInput |
inlineFile(String filePath) |
|
public static UserInput |
inlineImage(String imagePath) |
|
public static UserInput |
text(String message) |