Class: Roseflow::OpenAI::Operations::Embedding

Inherits:
Base
  • Object
show all
Defined in:
lib/roseflow/openai/operations/embedding.rb

Overview

Embedding operation.

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.

See platform.openai.com/docs/api-reference/embeddings for more information.

Many of the attributes are actually optional for the API, but we provide defaults to them. This may change in the future.

Method Summary

Methods inherited from Base

#body