Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 907 Bytes

CreateEmbeddingRequest.md

File metadata and controls

24 lines (18 loc) · 907 Bytes

OpenapiClient::CreateEmbeddingRequest

Properties

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]

Example

require 'openapi_client'

instance = OpenapiClient::CreateEmbeddingRequest.new(
  input: null,
  model: null,
  encoding_format: float,
  user: user-1234
)