ModelCapabilities

org.llm4s.model.ModelCapabilities
See theModelCapabilities companion object
case class ModelCapabilities(supportsFunctionCalling: Option[Boolean], supportsParallelFunctionCalling: Option[Boolean], supportsVision: Option[Boolean], supportsPromptCaching: Option[Boolean], supportsReasoning: Option[Boolean], supportsResponseSchema: Option[Boolean], supportsSystemMessages: Option[Boolean], supportsPdfInput: Option[Boolean], supportsAudioInput: Option[Boolean], supportsAudioOutput: Option[Boolean], supportsWebSearch: Option[Boolean], supportsComputerUse: Option[Boolean], supportsAssistantPrefill: Option[Boolean], supportsToolChoice: Option[Boolean], supportsNativeStreaming: Option[Boolean], supportedRegions: Option[List[String]], disallowedParams: Option[Set[String]], temperatureConstraint: Option[(Double, Double)])

Model capabilities and features.

Value parameters

disallowedParams

Set of parameter names that are not supported by this model

supportedRegions

List of supported deployment regions

supportsAssistantPrefill

Whether the model supports assistant message prefill

supportsAudioInput

Whether the model supports audio inputs

supportsAudioOutput

Whether the model supports audio outputs

supportsComputerUse

Whether the model supports computer use

supportsFunctionCalling

Whether the model supports function/tool calling

supportsNativeStreaming

Whether the model supports native streaming (false = needs fake streaming)

supportsParallelFunctionCalling

Whether the model supports parallel tool calls

supportsPdfInput

Whether the model supports PDF file inputs

supportsPromptCaching

Whether the model supports prompt caching

supportsReasoning

Whether the model supports reasoning (O-series, Claude thinking)

supportsResponseSchema

Whether the model supports structured response schemas

supportsSystemMessages

Whether the model supports system messages (false for some O-series)

supportsToolChoice

Whether the model supports tool_choice parameter

supportsVision

Whether the model supports vision/image inputs

supportsWebSearch

Whether the model supports web search

temperatureConstraint

Temperature constraint: None = any, Some((min, max)) = restricted range

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product