EmbeddingsRequestBody

sttp.openai.requests.embeddings.EmbeddingsRequestBody$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class EmbeddingsBody(model: EmbeddingsModel, input: EmbeddingsInput, user: Option[String])

Value parameters

input

Input text to get embeddings for, encoded as a string or array of tokens.

model

ID of the EmbeddingsModel to use.

user

A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.

Attributes

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

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait EmbeddingsInput

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed abstract class EmbeddingsModel(val value: String)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

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