Class: Anthropic::Helpers::Bedrock::MantleClient::MantleBeta
- Inherits:
-
Object
- Object
- Anthropic::Helpers::Bedrock::MantleClient::MantleBeta
- Defined in:
- lib/anthropic/helpers/bedrock/mantle_client.rb
Overview
Restricted Beta service that only exposes messages. Other beta resources (models, files, skills) are not supported on Bedrock Mantle.
Instance Attribute Summary collapse
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(client:) ⇒ MantleBeta
constructor
private
A new instance of MantleBeta.
- #models ⇒ Object
- #skills ⇒ Object
Constructor Details
#initialize(client:) ⇒ MantleBeta
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MantleBeta.
140 141 142 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 140 def initialize(client:) @messages = Anthropic::Resources::Beta::Messages.new(client: client) end |
Instance Attribute Details
#messages ⇒ Anthropic::Resources::Beta::Messages (readonly)
137 138 139 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 137 def @messages end |
Instance Method Details
#files ⇒ Object
149 150 151 152 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 149 def files raise NotImplementedError, "Beta files are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |
#models ⇒ Object
144 145 146 147 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 144 def models raise NotImplementedError, "Beta models are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |
#skills ⇒ Object
154 155 156 157 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 154 def skills raise NotImplementedError, "Beta skills are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |