Module: RubyAmazonBedrock
- Defined in:
- lib/amazon_bedrock.rb,
lib/amazon_bedrock/version.rb,
lib/bedrock_runtime/client.rb,
lib/bedrock_runtime/payload_factory.rb,
lib/bedrock_runtime/response_factory.rb,
lib/bedrock_runtime/payload_builders/base.rb,
lib/bedrock_runtime/response_builders/meta.rb,
lib/bedrock_runtime/payload_builders/meta/base.rb,
lib/bedrock_runtime/response_builders/anthropic.rb,
lib/bedrock_runtime/payload_builders/amazon/base.rb,
lib/bedrock_runtime/response_builders/ai_21_labs.rb,
lib/bedrock_runtime/response_builders/amazon_text.rb,
lib/bedrock_runtime/response_builders/amazon_image.rb,
lib/bedrock_runtime/response_builders/cohere_embed.rb,
lib/bedrock_runtime/response_builders/stability_ai.rb,
lib/bedrock_runtime/payload_builders/anthropic/base.rb,
lib/bedrock_runtime/payload_builders/ai_21_labs/base.rb,
lib/bedrock_runtime/response_builders/cohere_command.rb,
lib/bedrock_runtime/payload_builders/cohere/embed_base.rb,
lib/bedrock_runtime/payload_builders/stability_ai/base.rb,
lib/bedrock_runtime/payload_builders/anthropic/claude_v1.rb,
lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb,
lib/bedrock_runtime/payload_builders/cohere/command_base.rb,
lib/bedrock_runtime/payload_builders/ai_21_labs/j2_mid_v1.rb,
lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb,
lib/bedrock_runtime/payload_builders/meta/llama213b_chat_v1.rb,
lib/bedrock_runtime/payload_builders/meta/llama270b_chat_v1.rb,
lib/bedrock_runtime/payload_builders/cohere/command_text_v14.rb,
lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb,
lib/bedrock_runtime/payload_builders/amazon/titan_text_lite_v1.rb,
lib/bedrock_runtime/payload_builders/meta/llama38b_instruct_v1.rb,
lib/bedrock_runtime/payload_builders/meta/llama370b_instruct_v1.rb,
lib/bedrock_runtime/payload_builders/anthropic/claude_instant_v1.rb,
lib/bedrock_runtime/payload_builders/amazon/titan_text_express_v1.rb,
lib/bedrock_runtime/payload_builders/cohere/embed_multilingual_v3.rb,
lib/bedrock_runtime/payload_builders/cohere/command_light_text_v14.rb,
lib/bedrock_runtime/payload_builders/amazon/titan_image_generator_v1.rb,
lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb,
lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
Overview
require_relative ‘base’
Defined Under Namespace
Modules: PayloadBuilders, ResponseBuilders Classes: Client, Configuration, Error, PayloadFactory, ResponseFactory, UnknownModelError
Constant Summary collapse
- VERSION =
"0.2.4"
Class Method Summary collapse
-
.configuration ⇒ Configuration
Returns the current configuration instance or creates a new one.
-
.configure {|Configuration| ... } ⇒ Object
Provides a block to configure the RubyAmazonBedrock settings.
Class Method Details
.configuration ⇒ Configuration
Returns the current configuration instance or creates a new one.
33 34 35 |
# File 'lib/amazon_bedrock.rb', line 33 def configuration @configuration ||= Configuration.new end |
.configure {|Configuration| ... } ⇒ Object
Provides a block to configure the RubyAmazonBedrock settings.
40 41 42 |
# File 'lib/amazon_bedrock.rb', line 40 def configure yield(configuration) end |