ILLamaExecutor
Namespace: LLama.Abstractions
A high level interface for LLama models.
1 | |
Attributes NullableContextAttribute
Properties
Context
The loaded context for this executor.
1 | |
Property Value
IsMultiModal
Identify if it's a multi-modal model and there is a image to process.
1 | |
Property Value
ClipModel
Multi-Modal Projections / Clip Model weights
1 | |
Property Value
Images
List of images: List of images in byte array format.
1 | |
Property Value
Methods
InferAsync(String, IInferenceParams, CancellationToken)
Asynchronously infers a response from the model.
1 | |
Parameters
text String
Your prompt
inferenceParams IInferenceParams
Any additional parameters
token CancellationToken
A cancellation token.