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
A clock used for time-based operations
Optional settings of the AWS bedrock Guardrails (see AWS documentation ) that would be used for the LLMClient.moderate request
Constructors
Creates a new Bedrock LLM client configured with the specified identity provider and settings.
Functions
Provides the current language learning model provider utilized by this client.
Moderates the provided prompt using specified moderation guardrails settings. The method evaluates both input and output of the prompt against guardrails and determines if either is harmful, returning a corresponding result.