EmbeddingsRequestBody

sttp.openai.requests.embeddings.EmbeddingsRequestBody$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

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

Attributes

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.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

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