EmbeddingsBody

sttp.openai.requests.embeddings.EmbeddingsRequestBody$.EmbeddingsBody
See theEmbeddingsBody companion object
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

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product