# LoraAdapter Namespace: LLama.Abstractions A LoRA adapter to apply to a model ```csharp public struct LoraAdapter ``` Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [ValueType](https://docs.microsoft.com/en-us/dotnet/api/system.valuetype) → [LoraAdapter](./llama.abstractions.loraadapter.md)
Implements [IEquatable<LoraAdapter>](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1) ## Properties ### **Path** Path to the LoRA file ```csharp public string Path { get; set; } ``` #### Property Value [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **Scale** Strength of this LoRA ```csharp public float Scale { get; set; } ``` #### Property Value [Single](https://docs.microsoft.com/en-us/dotnet/api/system.single)
## Constructors ### **LoraAdapter(String, Single)** A LoRA adapter to apply to a model ```csharp LoraAdapter(string Path, float Scale) ``` #### Parameters `Path` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
Path to the LoRA file `Scale` [Single](https://docs.microsoft.com/en-us/dotnet/api/system.single)
Strength of this LoRA ## Methods ### **ToString()** ```csharp string ToString() ``` #### Returns [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **GetHashCode()** ```csharp int GetHashCode() ``` #### Returns [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)
### **Equals(Object)** ```csharp bool Equals(object obj) ``` #### Parameters `obj` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)
#### Returns [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **Equals(LoraAdapter)** ```csharp bool Equals(LoraAdapter other) ``` #### Parameters `other` [LoraAdapter](./llama.abstractions.loraadapter.md)
#### Returns [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **Deconstruct(String&, Single&)** ```csharp void Deconstruct(String& Path, Single& Scale) ``` #### Parameters `Path` [String&](https://docs.microsoft.com/en-us/dotnet/api/system.string&)
`Scale` [Single&](https://docs.microsoft.com/en-us/dotnet/api/system.single&)