Class: OmniAI::OpenAI::Embed

Inherits:
Embed
  • Object
show all
Defined in:
lib/omniai/openai/embed.rb

Overview

An OpenAI embed implementation.

Usage:

input = "..."
response = OmniAI::OpenAI::Embed.process!(input, client: client)
response.embedding [0.0, ...]

Defined Under Namespace

Modules: Model

Constant Summary collapse

DEFAULT_MODEL =
Model::LARGE