onImageCaptured
: Texture2DEvent |
Signature
Texture2DEvent onImageCaptured |
onPromptSent
: StringEvent |
Signature
StringEvent onPromptSent |
onResponseReceived
: StringEvent |
Signature
StringEvent onResponseReceived |
CanCapture
: bool
[Get] |
Signature
bool CanCapture |
ProviderSupportsVision
: bool
[Get] |
Signature
bool ProviderSupportsVision |
SystemPrompt
: string
[Get][Set] |
Gets or sets the system prompt that provides context/instructions to the LLM.
This is prepended to all user messages.
Signature
string SystemPrompt |
SendPromptAsync
(
userText
)
|
Capture passthrough if possible, otherwise send text only.
Signature
async Task SendPromptAsync(string userText) Parameters userText: stringReturns async Task |
SendPromptAsync
(
userText
, image
)
|
Send with a provided Texture2D (e.g., Inspector texture / fake camera). Pass null to send text only.
Signature
Task SendPromptAsync(string userText, Texture2D image) Parameters userText: stringimage: Texture2DReturns Task |
SendPromptWithImagesAsync
(
userText
, images
)
|
Send with pre-built image inputs (URLs and/or bytes).
Signature
Task SendPromptWithImagesAsync(string userText, List< ImageInput > images) Parameters userText: stringimages: List< ImageInput >Returns Task |