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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions lib/openai/models/audio/speech_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ module Voice
SHIMMER = :shimmer

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

# The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`,
Expand All @@ -126,6 +132,12 @@ module ResponseFormat
PCM = :pcm

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/audio/speech_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ module SpeechModel
GPT_4O_MINI_TTS = :"gpt-4o-mini-tts"

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/audio/transcription_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ module TimestampGranularity
SEGMENT = :segment

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/audio/transcription_include.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ module TranscriptionInclude
LOGPROBS = :logprobs

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/audio/translation_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ module ResponseFormat
VTT = :vtt

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/audio_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ module AudioModel
GPT_4O_MINI_TRANSCRIBE = :"gpt-4o-mini-transcribe"

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
6 changes: 6 additions & 0 deletions lib/openai/models/audio_response_format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ module AudioResponseFormat
VTT = :vtt

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
6 changes: 6 additions & 0 deletions lib/openai/models/batch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ module Status
CANCELLED = :cancelled

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

class Errors < OpenAI::BaseModel
Expand Down
12 changes: 12 additions & 0 deletions lib/openai/models/batch_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ module CompletionWindow
NUMBER_24H = :"24h"

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

# The endpoint to be used for all requests in the batch. Currently
Expand All @@ -82,6 +88,12 @@ module Endpoint
V1_COMPLETIONS = :"/v1/completions"

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/assistant_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ module Order
DESC = :desc

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/assistant_tool_choice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ module Type
FILE_SEARCH = :file_search

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/assistant_tool_choice_option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ module Auto
REQUIRED = :required

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

# @!parse
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/file_search_tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ module Ranker
DEFAULT_2024_08_21 = :default_2024_08_21

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
12 changes: 12 additions & 0 deletions lib/openai/models/beta/thread_create_and_run_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ module Role
ASSISTANT = :assistant

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

class Attachment < OpenAI::BaseModel
Expand Down Expand Up @@ -780,6 +786,12 @@ module Type
LAST_MESSAGES = :last_messages

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/thread_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ module Role
ASSISTANT = :assistant

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

class Attachment < OpenAI::BaseModel
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/image_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ module Detail
HIGH = :high

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/image_file_delta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ module Detail
HIGH = :high

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/image_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ module Detail
HIGH = :high

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/image_url_delta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ module Detail
HIGH = :high

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
18 changes: 18 additions & 0 deletions lib/openai/models/beta/threads/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ module Reason
RUN_FAILED = :run_failed

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end

Expand All @@ -240,6 +246,12 @@ module Role
ASSISTANT = :assistant

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

# The status of the message, which can be either `in_progress`, `incomplete`, or
Expand All @@ -252,6 +264,12 @@ module Status
COMPLETED = :completed

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/message_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ module Role
ASSISTANT = :assistant

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end

class Attachment < OpenAI::BaseModel
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/message_delta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ module Role
ASSISTANT = :assistant

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions lib/openai/models/beta/threads/message_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ module Order
DESC = :desc

finalize!

class << self
# @!parse
# # @return [Array<Symbol>]
# def values; end
end
end
end
end
Expand Down
Loading