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.
126 127 128 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 126 def initialize(client:) @messages = Anthropic::Resources::Beta::Messages.new(client: client) end |
Instance Attribute Details
#messages ⇒ Anthropic::Resources::Beta::Messages (readonly)
123 124 125 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 123 def @messages end |
Instance Method Details
#files ⇒ Object
134 135 136 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 134 def files raise NotImplementedError, "Beta files are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |
#models ⇒ Object
130 131 132 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 130 def models raise NotImplementedError, "Beta models are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |
#skills ⇒ Object
138 139 140 |
# File 'lib/anthropic/helpers/bedrock/mantle_client.rb', line 138 def skills raise NotImplementedError, "Beta skills are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported." end |