DiscoveredModel

org.llm4s.config.DiscoveredModel
See theDiscoveredModel companion object
@Stable
final case class DiscoveredModel

A model discovered from a provider's live model-listing endpoint.

Value parameters

metadata

optional key/value pairs of additional model metadata (e.g. display name, token limits) Build one with DiscoveredModel.apply and change it with the with* setters; the constructor and copy are private, so a new field never breaks callers.

name

the model identifier as reported by the provider

provider

the ProviderId that owns this model

Attributes

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

Members list

Value members

Concrete methods

def withMetadata(metadata: Map[String, String]): DiscoveredModel

Sets the additional model metadata.

Sets the additional model metadata.

Attributes

Sets the model identifier.

Sets the model identifier.

Attributes

Sets the owning provider.

Sets the owning provider.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product