LlamaLib  v2.0.2
Cross-platform library for local LLMs
Loading...
Searching...
No Matches
LoraIdScalePath Struct Reference

Structure representing a LoRA adapter with ID, scale, and file path. More...

#include <LLM.h>

Public Member Functions

bool operator== (const LoraIdScalePath &other) const
 Equality comparison operator.
 

Public Attributes

int id
 Unique identifier for the LoRA adapter.
 
float scale
 Scale factor for the LoRA adapter.
 
std::string path
 Filesystem path to the LoRA adapter file.
 

Detailed Description

Structure representing a LoRA adapter with ID, scale, and file path.

Extended version of LoraIdScale that includes the filesystem path to the adapter

Definition at line 35 of file LLM.h.

Member Function Documentation

◆ operator==()

bool LoraIdScalePath::operator== ( const LoraIdScalePath & other) const
inline

Equality comparison operator.

Parameters
otherThe other LoraIdScalePath to compare with
Returns
true if id, scale, and path are all equal, false otherwise

Definition at line 44 of file LLM.h.

Member Data Documentation

◆ id

int LoraIdScalePath::id

Unique identifier for the LoRA adapter.

Definition at line 37 of file LLM.h.

◆ path

std::string LoraIdScalePath::path

Filesystem path to the LoRA adapter file.

Definition at line 39 of file LLM.h.

◆ scale

float LoraIdScalePath::scale

Scale factor for the LoRA adapter.

Definition at line 38 of file LLM.h.


The documentation for this struct was generated from the following file: