Class: Roseflow::OpenAI::Operations::Completion

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

Overview

Completion operation.

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.

See platform.openai.com/docs/api-reference/completions 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