# 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)
## Methods
### **Infer(String, IInferenceParams, CancellationToken)**
Infers a response from the model.
```csharp
IEnumerable Infer(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
[IEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1)
### **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)