ProviderCapabilities

org.llm4s.llmconnect.utils.ProviderCapabilities
final case class ProviderCapabilities(supportsStreaming: Boolean, supportsToolCalls: Boolean, supportsFunctionCalling: Boolean, supportsVision: Boolean, maxTokens: Option[Int], supportedModels: List[String], metadata: Map[String, String])

Describes the capabilities supported by an LLM provider.

Value parameters

maxTokens

maximum token limit for completions, if known

metadata

additional provider-specific key-value metadata

supportedModels

list of model identifiers the provider offers

supportsFunctionCalling

whether the provider supports legacy function calling

supportsStreaming

whether the provider supports streaming responses

supportsToolCalls

whether the provider supports tool/function calling

supportsVision

whether the provider supports image/vision inputs

Attributes

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