Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/openai/models/audio/transcription_create_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module Models
module Audio
# Represents a transcription response returned by model, based on the provided
# input.
#
# @see OpenAI::Resources::Audio::Transcriptions#create
#
# @see OpenAI::Resources::Audio::Transcriptions#create_streaming
module TranscriptionCreateResponse
extend OpenAI::Union

Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/audio/translation_create_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Audio
# @see OpenAI::Resources::Audio::Translations#create
module TranslationCreateResponse
extend OpenAI::Union

Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/batch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Batches#create
class Batch < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/assistant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Beta
# @see OpenAI::Resources::Beta::Assistants#create
class Assistant < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/assistant_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Beta
# @see OpenAI::Resources::Beta::Assistants#delete
class AssistantDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Beta
# @see OpenAI::Resources::Beta::Threads#create
class Thread < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/thread_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Beta
# @see OpenAI::Resources::Beta::Threads#delete
class ThreadDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/threads/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module OpenAI
module Models
module Beta
module Threads
# @see OpenAI::Resources::Beta::Threads::Messages#create
class Message < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/threads/message_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module OpenAI
module Models
module Beta
module Threads
# @see OpenAI::Resources::Beta::Threads::Messages#delete
class MessageDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
3 changes: 3 additions & 0 deletions lib/openai/models/beta/threads/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ module OpenAI
module Models
module Beta
module Threads
# @see OpenAI::Resources::Beta::Threads::Runs#create
#
# @see OpenAI::Resources::Beta::Threads::Runs#create_streaming
class Run < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/beta/threads/runs/run_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Models
module Beta
module Threads
module Runs
# @see OpenAI::Resources::Beta::Threads::Runs::Steps#retrieve
class RunStep < OpenAI::BaseModel
# @!attribute id
# The identifier of the run step, which can be referenced in API endpoints.
Expand Down
3 changes: 3 additions & 0 deletions lib/openai/models/chat/chat_completion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
module OpenAI
module Models
module Chat
# @see OpenAI::Resources::Chat::Completions#create
#
# @see OpenAI::Resources::Chat::Completions#create_streaming
class ChatCompletion < OpenAI::BaseModel
# @!attribute id
# A unique identifier for the chat completion.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/chat/chat_completion_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Chat
# @see OpenAI::Resources::Chat::Completions#delete
class ChatCompletionDeleted < OpenAI::BaseModel
# @!attribute id
# The ID of the chat completion that was deleted.
Expand Down
3 changes: 3 additions & 0 deletions lib/openai/models/completion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

module OpenAI
module Models
# @see OpenAI::Resources::Completions#create
#
# @see OpenAI::Resources::Completions#create_streaming
class Completion < OpenAI::BaseModel
# @!attribute id
# A unique identifier for the completion.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/create_embedding_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Embeddings#create
class CreateEmbeddingResponse < OpenAI::BaseModel
# @!attribute data
# The list of embeddings generated by the model.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/file_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Files#delete
class FileDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/file_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Files#create
class FileObject < OpenAI::BaseModel
# @!attribute id
# The file identifier, which can be referenced in the API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/fine_tuning/fine_tuning_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module FineTuning
# @see OpenAI::Resources::FineTuning::Jobs#create
class FineTuningJob < OpenAI::BaseModel
# @!attribute id
# The object identifier, which can be referenced in the API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/fine_tuning/fine_tuning_job_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module FineTuning
# @see OpenAI::Resources::FineTuning::Jobs#list_events
class FineTuningJobEvent < OpenAI::BaseModel
# @!attribute id
# The object identifier.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module OpenAI
module Models
module FineTuning
module Jobs
# @see OpenAI::Resources::FineTuning::Jobs::Checkpoints#list
class FineTuningJobCheckpoint < OpenAI::BaseModel
# @!attribute id
# The checkpoint identifier, which can be referenced in the API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/images_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Images#create_variation
class ImagesResponse < OpenAI::BaseModel
# @!attribute created
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Models#retrieve
class Model < OpenAI::BaseModel
# @!attribute id
# The model identifier, which can be referenced in the API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/model_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Models#delete
class ModelDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/moderation_create_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Moderations#create
class ModerationCreateResponse < OpenAI::BaseModel
# @!attribute id
# The unique identifier for the moderation request.
Expand Down
3 changes: 3 additions & 0 deletions lib/openai/models/responses/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
module OpenAI
module Models
module Responses
# @see OpenAI::Resources::Responses#create
#
# @see OpenAI::Resources::Responses#create_streaming
class Response < OpenAI::BaseModel
# @!attribute id
# Unique identifier for this Response.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/upload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::Uploads#create
class Upload < OpenAI::BaseModel
# @!attribute id
# The Upload unique identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/uploads/upload_part.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module Uploads
# @see OpenAI::Resources::Uploads::Parts#create
class UploadPart < OpenAI::BaseModel
# @!attribute id
# The upload Part unique identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/vector_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::VectorStores#create
class VectorStore < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/vector_store_deleted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::VectorStores#delete
class VectorStoreDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/vector_store_search_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module OpenAI
module Models
# @see OpenAI::Resources::VectorStores#search
class VectorStoreSearchResponse < OpenAI::BaseModel
# @!attribute attributes
# Set of 16 key-value pairs that can be attached to an object. This can be useful
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/vector_stores/file_content_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module VectorStores
# @see OpenAI::Resources::VectorStores::Files#content
class FileContentResponse < OpenAI::BaseModel
# @!attribute [r] text
# The text content
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/vector_stores/vector_store_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module VectorStores
# @see OpenAI::Resources::VectorStores::Files#create
class VectorStoreFile < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module VectorStores
# @see OpenAI::Resources::VectorStores::FileBatches#create
class VectorStoreFileBatch < OpenAI::BaseModel
# @!attribute id
# The identifier, which can be referenced in API endpoints.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module OpenAI
module Models
module VectorStores
# @see OpenAI::Resources::VectorStores::Files#delete
class VectorStoreFileDeleted < OpenAI::BaseModel
# @!attribute id
#
Expand Down