ILLamaExecutor
Namespace: LLama.Abstractions
A high level interface for LLama models.
1 | |
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
Muti-Modal Projections / Clip Model weights
1 | |
Property Value
ImagePaths
List of images: Image filename and path (jpeg images).
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.