Class: BackendSpec
Specification of a Mellea backend implementation.
URI: mellea:BackendSpec
classDiagram
class BackendSpec
click BackendSpec href "../BackendSpec/"
ModelElement <|-- BackendSpec
click ModelElement href "../ModelElement/"
BackendSpec : backend_family
BackendSpec --> "0..1" BackendFamilyEnum : backend_family
click BackendFamilyEnum href "../BackendFamilyEnum/"
BackendSpec : coverage_scope
BackendSpec --> "*" CoverageScopeEnum : coverage_scope
click CoverageScopeEnum href "../CoverageScopeEnum/"
BackendSpec : default_formatter
BackendSpec --> "0..1" FormatterSpec : default_formatter
click FormatterSpec href "../FormatterSpec/"
BackendSpec : description
BackendSpec : element_kind
BackendSpec --> "0..1" ElementKindEnum : element_kind
click ElementKindEnum href "../ElementKindEnum/"
BackendSpec : id
BackendSpec : model_identifier
BackendSpec --> "*" ModelIdentifierSpec : model_identifier
click ModelIdentifierSpec href "../ModelIdentifierSpec/"
BackendSpec : model_options_key
BackendSpec : module_path
BackendSpec : name
BackendSpec : package_kind
BackendSpec --> "0..1" PackageKindEnum : package_kind
click PackageKindEnum href "../PackageKindEnum/"
BackendSpec : source_file
BackendSpec : supports_multimodal
BackendSpec : supports_streaming
BackendSpec : supports_tool_calls
BackendSpec : tags
Inheritance
- NamedElement
- ModelElement
- BackendSpec
- ModelElement
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| backend_family | 0..1 BackendFamilyEnum |
Slot describing the backend family | direct |
| model_identifier | * ModelIdentifierSpec |
Slot describing the model identifier | direct |
| default_formatter | 0..1 FormatterSpec |
Slot describing the default formatter | direct |
| model_options_key | * String |
Slot describing the model options key | direct |
| supports_streaming | 0..1 Boolean |
Slot describing the supports streaming | direct |
| supports_tool_calls | 0..1 Boolean |
Slot describing the supports tool calls | direct |
| supports_multimodal | 0..1 Boolean |
Slot describing the supports multimodal | direct |
| id | 1 Uriorcurie |
Stable identifier for a schema element | NamedElement |
| name | 1 String |
Human-readable name | NamedElement |
| description | 0..1 String |
Narrative description of the element | NamedElement |
| module_path | 0..1 PythonDottedPath |
Python module path where this element is defined | NamedElement |
| source_file | 0..1 RepositoryRelativePath |
Source file relative to repository root | NamedElement |
| package_kind | 0..1 PackageKindEnum |
Package bucket | NamedElement |
| element_kind | 0..1 ElementKindEnum |
Kind of Python declaration | NamedElement |
| coverage_scope | * CoverageScopeEnum |
Where this element surfaces (source/API/CLI/example/test) | NamedElement |
| tags | * String |
Free-form classification tags | NamedElement |
Usages
| used by | used in | type | used |
|---|---|---|---|
| SessionSpec | uses_backend | range | BackendSpec |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mellea
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mellea:BackendSpec |
| native | mellea:BackendSpec |
| related | nexus:AiSystem, mcp:Implementation |
| close | nexus:AiProvider, gist_linkml:Specification |
LinkML Source
Direct
name: BackendSpec
description: Specification of a Mellea backend implementation.
in_subset:
- core_runtime
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- nexus:AiProvider
- gist_linkml:Specification
related_mappings:
- nexus:AiSystem
- mcp:Implementation
is_a: ModelElement
slots:
- backend_family
- model_identifier
- default_formatter
- model_options_key
- supports_streaming
- supports_tool_calls
- supports_multimodal
Induced
name: BackendSpec
description: Specification of a Mellea backend implementation.
in_subset:
- core_runtime
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- nexus:AiProvider
- gist_linkml:Specification
related_mappings:
- nexus:AiSystem
- mcp:Implementation
is_a: ModelElement
attributes:
backend_family:
name: backend_family
description: Slot describing the backend family.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: BackendFamilyEnum
model_identifier:
name: model_identifier
description: Slot describing the model identifier.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: ModelIdentifierSpec
multivalued: true
inlined: true
inlined_as_list: true
default_formatter:
name: default_formatter
description: Slot describing the default formatter.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: FormatterSpec
model_options_key:
name: model_options_key
description: Slot describing the model options key.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: string
multivalued: true
supports_streaming:
name: supports_streaming
description: Slot describing the supports streaming.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: boolean
supports_tool_calls:
name: supports_tool_calls
description: Slot describing the supports tool calls.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: boolean
supports_multimodal:
name: supports_multimodal
description: Slot describing the supports multimodal.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- BackendSpec
range: boolean
id:
name: id
description: Stable identifier for a schema element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: BackendSpec
domain_of:
- NamedElement
range: uriorcurie
required: true
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:name
owner: BackendSpec
domain_of:
- NamedElement
range: string
required: true
description:
name: description
description: Narrative description of the element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:description
owner: BackendSpec
domain_of:
- NamedElement
range: string
module_path:
name: module_path
description: Python module path where this element is defined.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: PythonDottedPath
source_file:
name: source_file
description: Source file relative to repository root.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: RepositoryRelativePath
package_kind:
name: package_kind
description: Package bucket.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: PackageKindEnum
element_kind:
name: element_kind
description: Kind of Python declaration.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: ElementKindEnum
coverage_scope:
name: coverage_scope
description: Where this element surfaces (source/API/CLI/example/test).
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: CoverageScopeEnum
multivalued: true
tags:
name: tags
description: Free-form classification tags.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: BackendSpec
domain_of:
- NamedElement
range: string
multivalued: true