AnthropicModel

com.alecdorrington.iris.anthropic.AnthropicModel
See theAnthropicModel companion trait

Attributes

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

Members list

Type members

Classlikes

enum Listed(val id: String) extends AnthropicModel

The models Iris lists.

The models Iris lists.

Value parameters

id

The model's name in Anthropic's API.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Other extends AnthropicModel

A model Iris does not list, such as one newer than Iris or a proxy's own. Nothing is known of it but its name, so it is sent as Anthropic's newest models are. Made by of, so that a listed model is always its listed case.

A model Iris does not list, such as one newer than Iris or a proxy's own. Nothing is known of it but its name, so it is sent as Anthropic's newest models are. Made by of, so that a listed model is always its listed case.

Value parameters

id

The model's name in Anthropic's API.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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 of(id: String): Option[AnthropicModel]

Names a model, as its listed case where Iris lists it.

Names a model, as its listed case where Iris lists it.

Value parameters

id

The model's name in Anthropic's API, in any case for a listed model.

Attributes

Returns

The model, or None where the name is blank.

Concrete fields

val listed: List[AnthropicModel]

Every model Iris lists.

Every model Iris lists.

Attributes