class Ollama::Commands::Embeddings

def self.path

def self.path
  '/api/embeddings'
end

def initialize(model:, prompt:, options: nil, keep_alive: nil)

def initialize(model:, prompt:, options: nil, keep_alive: nil)
  @model, @prompt, @options, @keep_alive, @stream =
    model, prompt, options, keep_alive, false
end

def perform(handler)

def perform(handler)
  @client.request(method: :post, path: self.class.path, body: to_json, stream:, handler:)
end