DefaultSupportedTypes
: override InferenceType
[Get] |
Signature
override InferenceType DefaultSupportedTypes |
SupportsVision
: bool
[Get] |
Indicates whether this provider prepares single-image inputs for supported Replicate models.
Disable for text-only models or when the selected model ignores images.
See IChatTask and the model card on Replicate for vision capabilities.
Signature
bool SupportsVision |
ChatAsync
(
req
, stream
, ct
)
|
Executes a text (or multimodal) prediction on Replicate and returns assistant text.
Handles model id vs specific version and chooses the simplest synchronous polling flow.
See IChatTask. Docs: https://replicate.com/docs/reference/http
Signature
async Task< ChatResponse > ChatAsync(ChatRequest req, IProgress< ChatDelta > stream=null, CancellationToken ct=default) Parameters ct: CancellationToken
Cancellation token for HTTP and polling.
|