File tree Expand file tree Collapse file tree 2 files changed +669
-2
lines changed Expand file tree Collapse file tree 2 files changed +669
-2
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,10 @@ RubyLLM.configure do |config|
6868
6969 # --- Default Models ---
7070 # Used by RubyLLM.chat, RubyLLM.embed, RubyLLM.paint if no model is specified.
71- config.default_model = ' gpt-4.1-nano' # Default: 'gpt-4.1-nano'
71+ config.default_model = ' gpt-4.1-nano' # Default: 'gpt-4.1-nano'
7272 config.default_embedding_model = ' text-embedding-3-small' # Default: 'text-embedding-3-small'
73- config.default_image_model = ' dall-e-3' # Default: 'dall-e-3'
73+ config.default_rerank_model = ' rerank-v3.5' # Default: 'rerank-v3.5'
74+ config.default_image_model = ' dall-e-3' # Default: 'dall-e-3'
7475
7576 # --- Connection Settings ---
7677 config.request_timeout = 120 # Request timeout in seconds (default: 120)
@@ -148,6 +149,7 @@ These settings determine which models are used by the top-level helper methods (
148149
149150* ` config.default_model ` : Used by ` RubyLLM.chat ` . Default: ` 'gpt-4.1-nano' ` .
150151* ` config.default_embedding_model ` : Used by ` RubyLLM.embed ` . Default: ` 'text-embedding-3-small' ` .
152+ * ` config.default_rerank_model ` : Used by ` RubyLLM.rerank ` . Default: ` 'rerank-v3.5' ` .
151153* ` config.default_image_model ` : Used by ` RubyLLM.paint ` . Default: ` 'dall-e-3' ` .
152154
153155Choose defaults that match your most common use case and provider availability.
You can’t perform that action at this time.
0 commit comments