Functions
FUNC known_intrinsic_names
- List of all known user-visible intrinsic names.
FUNC fetch_intrinsic_metadata
intrinsic_name: User-visible name of the intrinsic.
- Metadata about the adapter(s) that implement the intrinsic.
ValueError: Ifintrinsic_nameis not a known intrinsic name.
Classes
CLASS AdapterType
Possible types of adapters for a backend.
Attributes:
LORA: Standard LoRA adapter; value"lora".ALORA: Activated LoRA adapter; value"alora".
CLASS IntriniscsCatalogEntry
A single row in the main intrinsics catalog table.
We use Pydantic for this dataclass because the rest of Mellea also uses Pydantic.
Attributes:
name: User-visible name of the intrinsic.internal_name: Internal name used for adapter loading, orNoneif the same asname.repo_id: HuggingFace repository where adapters for the intrinsic are located.adapter_types: Adapter types known to be available for this intrinsic; defaults to(AdapterType.LORA, AdapterType.ALORA).