Module: Roseflow::OpenAI

Defined in:
lib/roseflow/openai.rb,
lib/roseflow/openai/model.rb,
lib/roseflow/openai/client.rb,
lib/roseflow/openai/config.rb,
lib/roseflow/openai/structs.rb,
lib/roseflow/openai/version.rb,
lib/roseflow/openai/provider.rb,
lib/roseflow/openai/response.rb,
lib/roseflow/openai/embedding.rb,
lib/roseflow/openai/chat_message.rb,
lib/roseflow/openai/operations/base.rb,
lib/roseflow/openai/operations/chat.rb,
lib/roseflow/openai/model_repository.rb,
lib/roseflow/openai/operations/image.rb,
lib/roseflow/openai/operation_handler.rb,
lib/roseflow/openai/operations/embedding.rb,
lib/roseflow/openai/operations/completion.rb,
lib/roseflow/openai/operations/image_edit.rb,
lib/roseflow/openai/operations/image_variation.rb

Defined Under Namespace

Modules: Operations, VERSION Classes: ApiResponse, ApiResponseBody, ApiUsage, ChatMessage, ChatResponse, Choice, Client, CompletionResponse, Config, EditModelInstruction, EditResponse, Embedding, EmbeddingApiResponse, EmbeddingApiResponseBody, EmbeddingApiResponseErrorBody, Error, Image, ImageApiResponse, ImageApiResponseBody, Model, ModelConfiguration, ModelPermission, ModelRepository, OpenAIEmbedding, OperationHandler, Provider, TextApiResponse

Constant Summary collapse

FailedToCreateEmbeddingError =
Class.new(StandardError)

Class Method Summary collapse

Class Method Details

.gem_versionObject



5
6
7
# File 'lib/roseflow/openai/version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end