Skip to main content
View module source on GitHub

MaximBedrockAsyncClient

Maxim Bedrock async client wrapper. This class provides a wrapper around the Bedrock async client to integrate with Maxim’s logging and monitoring capabilities. It allows tracking and logging of Bedrock API interactions through the Maxim platform.

__init__

Initialize the Maxim Bedrock async client. Arguments:

converse_stream

Converse with the Bedrock client. Arguments: Returns: AsyncGenerator[BedrockStreamEvent, None]: An asynchronous generator over the Bedrock stream events.

converse

Converse with the Bedrock client. Arguments: Returns: