Skip to content

Commit cbdbf88

Browse files
committed
Bedrock Converse API
1 parent aa207e3 commit cbdbf88

File tree

511 files changed

+59325
-65968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

511 files changed

+59325
-65968
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ group :development do # rubocop:disable Metrics/BlockLength
4040

4141
# Optional dependency for Vertex AI
4242
gem 'googleauth'
43+
44+
# Optional dependency for Bedrock
45+
gem 'aws-eventstream'
4346
end

LICENSES/APACHE-2.0.txt

Lines changed: 0 additions & 202 deletions
This file was deleted.

NOTICE

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/_advanced/models.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ chat = RubyLLM.chat(model: '{{ site.models.anthropic_current }}')
190190
puts chat.model.id # => "claude-3-5-sonnet-20241022" (or latest version)
191191
```
192192

193-
`find` prioritizes exact ID matches before falling back to aliases.
193+
When you call `find` **without** a provider, RubyLLM prioritizes exact ID matches before falling back to aliases.
194194

195195
### Provider-Specific Resolution
196196

@@ -204,6 +204,8 @@ model_anthropic = RubyLLM.models.find('{{ site.models.anthropic_current }}', :an
204204
model_bedrock = RubyLLM.models.find('{{ site.models.anthropic_current }}', :bedrock)
205205
```
206206

207+
When you pass a provider, RubyLLM resolves aliases first. For Bedrock, it then applies region/inference-profile resolution (for example `us.` prefixes) before falling back to an exact ID match.
208+
207209
## Connecting to Custom Endpoints & Using Unlisted Models
208210
{: .d-inline-block }
209211

0 commit comments

Comments
 (0)