epam/ai-dial-adapter-bedrock
The project implements AI DIAL API for language models from AWS Bedrock
What's novel
The project implements AI DIAL API for language models from AWS Bedrock
Code Analysis
17 files read · 5 roundsA DIAL API adapter that unifies AWS Bedrock LLM APIs (Claude, Llama, Stability AI, Cohere, etc.) into a consistent interface for chat completions, embeddings, tokenization, and prompt truncation.
Strengths
Comprehensive model support with clean abstraction layers, sophisticated prompt truncation algorithm with partition-based token counting, and flexible authentication (API keys, AWS credentials, assume role).
Weaknesses
Heavy reliance on external SDKs (aidial-adapter-anthropic, aidial-sdk) limits standalone utility, and large match statements in factory/adapter routing could be more config-driven.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
139
Contributors
13
Files
130
Active weeks
39
Repository
Language
Python
Stars
12
Forks
6
License
Apache-2.0