Name | Type | Description | Notes |
---|---|---|---|
input | CreateEmbeddingRequestInput | ||
model | CreateEmbeddingRequestModel | ||
encoding_format | String | The format to return the embeddings in. Can be either `float` or `base64`. | [optional][default to 'float'] |
user | String | A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more. | [optional] |
require 'openapi_client'
instance = OpenapiClient::CreateEmbeddingRequest.new(
input: null,
model: null,
encoding_format: float,
user: user-1234
)