maxCompletionTokens
: int |
Signature
int maxCompletionTokens |
repetitionPenalty
: float |
Signature
float repetitionPenalty |
temperature
: float |
Signature
float temperature |
topP
: float |
Signature
float topP |
DefaultSupportedTypes
: override InferenceType
[Get] |
Signature
override InferenceType DefaultSupportedTypes |
SupportsVision
: bool
[Get] |
Indicates whether this provider prepares and sends image inputs for supported multimodal models.
Disable for pure-text models to reduce request overhead and validation checks.
See IChatTask and your model's capabilities on the provider dashboard.
Signature
bool SupportsVision |
ChatAsync
(
req
, stream
, ct
)
|
Sends a chat request to Llama-API and extracts the assistant text, handling vision inputs when enabled.
Applies safe defaults for temperature and max tokens unless overridden.
See IChatTask. API docs: https://llama.developer.meta.com/docs/overview/
Signature
async Task< ChatResponse > ChatAsync(ChatRequest req, IProgress< ChatDelta > stream=null, CancellationToken ct=default) Parameters ct: CancellationToken
Cancellation token for image prep and HTTP.
|