ProviderKind

org.llm4s.types.ProviderModelTypes.ProviderKind
See theProviderKind companion enum
object ProviderKind

Companion object with lookup utilities for ProviderKind.

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromName(value: String): Option[ProviderKind]

Alias for fromString — parses a ProviderKind from a provider name string.

Alias for fromString — parses a ProviderKind from a provider name string.

Value parameters

value

The provider name string.

Attributes

Returns

Some(ProviderKind) if recognised, None otherwise.

def fromString(value: String): Option[ProviderKind]

Parses a ProviderKind from a case-insensitive provider name string.

Parses a ProviderKind from a case-insensitive provider name string.

Value parameters

value

The provider name string (e.g. "openai", "anthropic", "google").

Attributes

Returns

Some(ProviderKind) if recognised, None otherwise.

Concrete fields

val all: Seq[ProviderKind]

All known provider kinds in a fixed sequence.

All known provider kinds in a fixed sequence.

Attributes