# ILLamaExecutor Namespace: LLama.Abstractions A high level interface for LLama models. ```csharp public interface ILLamaExecutor ``` ## Properties ### **Context** The loaded context for this executor. ```csharp public abstract LLamaContext Context { get; } ``` #### Property Value [LLamaContext](./llama.llamacontext.md)
### **IsMultiModal** Identify if it's a multi-modal model and there is a image to process. ```csharp public abstract bool IsMultiModal { get; } ``` #### Property Value [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **ClipModel** Muti-Modal Projections / Clip Model weights ```csharp public abstract LLavaWeights ClipModel { get; } ``` #### Property Value [LLavaWeights](./llama.llavaweights.md)
### **ImagePaths** List of images: Image filename and path (jpeg images). ```csharp public abstract List ImagePaths { get; set; } ``` #### Property Value [List<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1)
## Methods ### **InferAsync(String, IInferenceParams, CancellationToken)** Asynchronously infers a response from the model. ```csharp IAsyncEnumerable InferAsync(string text, IInferenceParams inferenceParams, CancellationToken token) ``` #### Parameters `text` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
Your prompt `inferenceParams` [IInferenceParams](./llama.abstractions.iinferenceparams.md)
Any additional parameters `token` [CancellationToken](https://docs.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken)
A cancellation token. #### Returns [IAsyncEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1)