Module: LLM::Bedrock::ResponseAdapter::Models Private
- Includes:
- Model::Collection
- Defined in:
- lib/llm/providers/bedrock/response_adapter/models.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Adapts Bedrock ListFoundationModels API responses to llm.rb’s normalized model collection format.
The Bedrock ListFoundationModels response looks like:
{
"modelSummaries": [{
"modelId": "anthropic.claude-sonnet-4-20250514-v1:0",
"modelName": "Claude Sonnet 4",
"providerName": "Anthropic",
"inputModalities": ["TEXT", "IMAGE"],
"outputModalities": ["TEXT"],
...
}]
}