openai4s.types.completions

Members list

Type members

Classlikes

enum Model(val value: NonEmptyString)

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-05-01

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
final case class Text(model: Model, prompt: Option[Prompt], maxTokens: Option[MaxTokens], temperature: Option[Temperature], topP: Option[TopP], n: Option[N], stream: Option[Stream], logprobs: Option[Logprobs], stop: Option[Stop])

https://platform.openai.com/docs/api-reference/completions#:~:text=prompt%20and%20parameters.-,Request%20body,-model

Attributes

Since

2023-05-01

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

Attributes

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