Skip to content

Commit

Permalink
Update configuration.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshapalov authored Oct 21, 2024
1 parent 3a39719 commit 538d493
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/rubyai/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ class Configuration
BASE_URL = "https://api.openai.com/v1/chat/completions"

MODELS = {
"gpt-3.5-turbo" => "gpt-3.5-turbo",
"gpt-4" => "gpt-4",
"gpt-4-32k" => "gpt-4-32k",
"gpt-3.5-turbo" => "gpt-3.5-turbo",
"text-davinci-003" => "text-davinci-003",
"gpt-4-turbo" => "gpt-4-turbo",
"gpt-4o-mini" => "gpt-4o-mini",
"o1-preview" => "o1-preview",
"o1-mini" => "o1-mini",
"gpt-4-turbo" => "gpt-4-turbo"
"o1-preview" => "o1-preview",
"text-davinci-003" => "text-davinci-003"
}

DEFAULT_MODEL = "gpt-3.5-turbo"
Expand All @@ -35,4 +35,4 @@ def self.configuration
def self.configure
yield(configuration)
end
end
end

0 comments on commit 538d493

Please sign in to comment.