CapabilityCheck

org.llm4s.capability.CapabilityCheck
See theCapabilityCheck companion object
@Experimental
final class CapabilityCheck[C]

The capabilities of a capability set C, such as Vision & Tools, and how to check them against a model's metadata.

There is one given for every set: the compiler takes C apart at its &s, and refuses at compile time any part that is not one of the markers Vision, Tools, ParallelTools, StructuredOutput, Reasoning, PromptCaching and SystemMessages. A set is never written as a value; it is summoned by org.llm4s.capability.requireCapabilities and Capable.assume.

Type parameters

C

the capability set

Value parameters

capabilities

the set's capabilities, each once, in the order of Capability.values (the compiler may reorder an intersection, so the order it is written in is not kept)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def missing(metadata: ModelMetadata): List[Capability]

The capabilities that metadata does not mark as supported, in the order of capabilities.

The capabilities that metadata does not mark as supported, in the order of capabilities.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields