Skip to contents

From the contract's table, by the provider lm15 routes the model to.

Usage

model_capabilities(provider, model)

Arguments

provider

The lm15 provider ("openai", "anthropic", ...).

model

The model's name at that provider.

Value

A named list of TRUE/FALSE facts.

Examples

model_capabilities("anthropic", "claude-haiku-4-5")
#> $instruct
#> [1] TRUE
#> 
#> $native_function_calling
#> [1] TRUE
#> 
#> $native_structured_output
#> [1] TRUE
#> 
#> $stop_sequences
#> [1] TRUE
#> 
#> $native_reasoning
#> [1] TRUE
#> 
#> $assistant_prefill
#> [1] FALSE
#>