ModelId

org.llm4s.identity.ModelId
See theModelId companion object
case class ModelId(name: String)

Identifies a specific LLM model by its API name string.

Model identifiers are forwarded verbatim to the provider's API. The companion object lists constants for known OpenAI models; other models (Anthropic, Gemini, Ollama, etc.) are referenced by passing the API name string directly to RuntimeId and the relevant org.llm4s.llmconnect.config.ProviderConfig.

Value parameters

name

Model identifier as expected by the provider API (e.g. "gpt-4o", "o3-mini").

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