Class: OmniAI::OpenAI::Embed
- Inherits:
-
Embed
- Object
- Embed
- OmniAI::OpenAI::Embed
- 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