Skip to content

Commit eb1e87e

Browse files
committedMar 26, 2025
Updated model resolution example to a real one
1 parent e5da331 commit eb1e87e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/guides/models.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ When you specify a model, RubyLLM follows these steps to find it:
5757
The same model ID can exist both as a concrete model and as an alias, particularly when the same model is available through different providers:
5858

5959
```ruby
60-
# Use native OpenAI GPT-4
61-
chat = RubyLLM.chat(model: 'gpt-4o')
60+
# Use native Claude 3.5
61+
chat = RubyLLM.chat(model: 'claude-3-5-sonnet')
6262

63-
# Use GPT-4 through Bedrock
64-
chat = RubyLLM.chat(model: 'gpt-4o', provider: 'bedrock')
63+
# Use Claude 3.5 through Bedrock
64+
chat = RubyLLM.chat(model: 'claude-3-5-sonnet', provider: 'bedrock')
6565
```
6666

6767
### Model Aliases

0 commit comments

Comments
 (0)