Skip to content

Commit

Permalink
Test gpt4o-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jul 19, 2024
1 parent 418c498 commit 83acbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/concerns/entry/ai_assistant.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rubocop:disable Metrics/ModuleLength
class Entry
module AiAssistant
OPENAI_MODEL = "gpt-4o".freeze
OPENAI_MODEL = "gpt-4o-mini".freeze
OPENAI_TEMPERATURE = 0.85 # 0-1.0, higher = more creative
MAX_RESPONSE_TOKENS = 500

Expand Down
2 changes: 1 addition & 1 deletion app/models/concerns/entry/ai_transcribe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Entry::AiTranscribe
OPENAI_WHISPER_MODEL = "whisper-1".freeze
OPENAI_MODEL = "gpt-4o".freeze
OPENAI_MODEL = "gpt-4o-mini".freeze
OPENAI_TEMPERATURE = 0.3 # 0-1.0, higher = more creative

# Entry::AiTranscribe.new.batch_ai_transcribe("/Users/user/Downloads/files", "mp3")
Expand Down

0 comments on commit 83acbcf

Please sign in to comment.