ClickHouse / ClickHouse/ai-sdk-cpp

Add Support for Amazon Bedrock Provider

Offen
#37 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
185
Forks
30
Ø Merge
25 Min.
Gemergte PRs (30 T.)
8

Beschreibung

Currently, the SDK includes built-in support for providers like OpenAI and Anthropic, but Bedrock — which unifies access to many high-quality foundation models — is not directly supported.
This enhancement would allow users of the SDK to leverage AWS’s scalable foundation models via a C++ interface alongside other providers.

**Motivation**
Amazon Bedrock is a fully managed AWS service that provides access to a wide range of foundation models from different providers via a single API. Bedrock supports many leading models across domains such as text, reasoning, coding, and multimodal tasks

**Proposed Solution**
Add a new provider module, e.g. ai/bedrock.h and supporting implementation similar to existing providers (openai, anthropic).
Use AWS SDK for C++ (Aws::BedrockRuntime::BedrockRuntimeClient) to handle API requests and authentication.
Expose key Bedrock features through the SDK’s unified interface (text completion, streaming, etc.).
Include examples/tests demonstrating a basic Bedrock request (e.g. text generation).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginnen Sie mit der Durchsicht der vorhandenen openai- und anthropic-Provider-Module. Untersuchen Sie anschließend den vorgeschlagenen Einstiegspunkt ai/bedrock.h und Aws::BedrockRuntime::BedrockRuntimeClient. Legen Sie fest, wie Textvervollständigung, Streaming, Authentifizierung und die einheitliche Schnittstelle auf Bedrock abgebildet werden sollen, und fügen Sie Beispiele oder Tests für eine einfache Textgenerierungsanfrage hinzu.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, cpp
Bereich
api, cloud
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.