Skip to content

Commit be931f4

Browse files
committed
Add Rerank documentation
1 parent 25b0651 commit be931f4

File tree

2 files changed

+669
-2
lines changed

2 files changed

+669
-2
lines changed

docs/configuration.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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)
@@ -144,6 +145,7 @@ These settings determine which models are used by the top-level helper methods (
144145

145146
* `config.default_model`: Used by `RubyLLM.chat`. Default: `'gpt-4.1-nano'`.
146147
* `config.default_embedding_model`: Used by `RubyLLM.embed`. Default: `'text-embedding-3-small'`.
148+
* `config.default_rerank_model`: Used by `RubyLLM.rerank`. Default: `'rerank-v3.5'`.
147149
* `config.default_image_model`: Used by `RubyLLM.paint`. Default: `'dall-e-3'`.
148150

149151
Choose defaults that match your most common use case and provider availability.

0 commit comments

Comments
 (0)