Skip to content

[FEATURE] : Add rerank bedrock client configuration support - #428

Open
marora90 wants to merge 1 commit into
awslabs:mainfrom
marora90:bedrock_config
Open

[FEATURE] : Add rerank bedrock client configuration support#428
marora90 wants to merge 1 commit into
awslabs:mainfrom
marora90:bedrock_config

Conversation

@marora90

Copy link
Copy Markdown
Contributor

Description

Adds support for configuring Bedrock reranker clients with custom botocore.config.Config options. This enables users to customize connection timeouts, read timeouts, and retry behavior for bedrock reranking operations.

Changes

  • Add bedrock_reranker_client_config parameter to ProcessorArgs class
  • Update processors to use configured session and apply botocore Config
  • Document the new parameter

Problem

Related issue: #427

Users previously had no way to configure timeouts and retries for Bedrock reranking operations

Testing

  • Unit tests added/updated
  • Existing tests pass (pytest)

Checklist

  • Code follows existing style and conventions
  • License headers present on new files
  • Documentation updated (if applicable)
  • No breaking changes (or clearly documented)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant