openai4s.types.chat

Members list

Type members

Classlikes

final case class Chat(model: Model, messages: NonEmptyList[Message], temperature: Option[Temperature], maxTokens: Option[MaxTokens])

Attributes

Since

2023-03-24

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Chat.type
final case class Message(role: Role, content: Content)

Attributes

Since

2023-03-24

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Message.type
enum Model(val value: NonEmptyString, val description: String, val maxTokens: Int, val trainingData: Option[YearMonth])

Reference:

Attributes

Since

2023-03-24

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Model

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Model.type
final case class Response(id: Id, `object`: Object, created: Created, model: Model, usage: Usage, choices: List[Choice])

Attributes

Since

2023-03-28

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Response.type