EmbeddingsBody

sttp.openai.requests.embeddings.EmbeddingsRequestBody.EmbeddingsBody
See theEmbeddingsBody companion object
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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product