BedrockLLMClient
Creates a new Bedrock LLM client configured with the specified AWS credentials and settings.
Return
A configured LLMClient instance for Bedrock
Parameters
The runtime client for interacting with Bedrock, highly configurable
The API method to use for interacting with Bedrock models that support messages, defaults to BedrockAPIMethod.InvokeModel.
Optional settings of the AWS bedrock Guardrails (see AWS documentation ) that would be used for the LLMClient.moderate request
Optional fallback model family to use for unsupported models. If not provided, unsupported models will throw an exception.
A clock used for time-based operations
Constructors
Creates a new Bedrock LLM client configured with the specified identity provider and settings.
Functions
Moderates the provided prompt using AWS Bedrock Guardrails.