Temperature

openai4s.types.common.Temperature
object Temperature extends InlinedRefined[Float], CatsEqShow[Float], CirceRefinedCodec[Float]

Attributes

Graph
Supertypes
trait CirceRefinedCodec[Float]
trait CirceRefinedDecoder[Float]
trait CirceEncoder[Float]
trait CatsEqShow[Float]
trait CatsShow[Float]
trait CatsEq[Float]
trait InlinedRefined[Float]
trait RefinedBase[Float]
trait NewtypeBase[Float]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

override opaque type Type

Attributes

Inherited from:
RefinedBase

Value members

Concrete methods

inline override def inlinedPredicate(inline a: Float): Boolean

Attributes

Definition Classes
InlinedRefined
override def invalidReason(a: Float): String

Attributes

Definition Classes
RefinedBase
inline override def predicate(a: Float): Boolean

Attributes

Definition Classes
RefinedBase

Inherited methods

inline def apply(inline a: Float): Type

Attributes

Inherited from:
InlinedRefined
override def deriving[F[*]](using fa: F[Float]): F[Type]

Attributes

Definition Classes
RefinedBase -> NewtypeBase
Inherited from:
RefinedBase
inline def expectedMessage(expected: String): String

Attributes

Inherited from:
RefinedBase
def from(a: Float): Either[String, Type]

Attributes

Inherited from:
RefinedBase
def unapply(typ: Type): Some[A]

Attributes

Inherited from:
RefinedBase
def unsafeFrom(a: Float): Type

Attributes

Inherited from:
RefinedBase

Concrete fields

inline override val inlinedExpectedValue: "a Float between 0f and 2f (inclusive)"

Givens

Inherited givens

given derivedDecoder: Decoder[Type]

Attributes

Inherited from:
CirceRefinedDecoder
given derivedEncoder: Encoder[Type]

Attributes

Inherited from:
CirceEncoder
inline given derivedEq: Eq[Type]

Attributes

Inherited from:
CatsEq
given derivedShow: Show[Type]

Attributes

Inherited from:
CatsShow
inline given given_RefinedCtor_Type_A: given_RefinedCtor_Type_A

Attributes

Inherited from:
RefinedBase
given newRefinedCanEqual: CanEqual[Type, Type]

Attributes

Inherited from:
NewtypeBase
inline given unwrap: Coercible[Type, A]

Attributes

Inherited from:
NewtypeBase
inline given unwrapTC[F[*]]: Coercible[F[Type], F[A]]

Attributes

Inherited from:
NewtypeBase

Extensions

Inherited extensions

extension [B](typ: Type)
def toValue(using coercibleA2B: Coercible[Float, B]): B

Attributes

Inherited from:
NewtypeBase
extension (typ: Type)
inline override def value: A

Attributes

Definition Classes
RefinedBase -> NewtypeBase
Inherited from:
RefinedBase