ClickHouse / ClickHouse/ai-sdk-cpp
Add Support for Amazon Bedrock Provider
- Ngôn ngữ chính
- C++
- Star
- 185
- Fork
- 30
- Merge trung bình
- 25 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
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).
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu bằng việc xem xét các mô-đun provider openai và anthropic hiện có, sau đó kiểm tra entry point được đề xuất ai/bedrock.h và Aws::BedrockRuntime::BedrockRuntimeClient. Xác định cách ánh xạ việc hoàn tất văn bản, streaming, xác thực và giao diện thống nhất sang Bedrock, đồng thời thêm các ví dụ hoặc bài kiểm thử cho một yêu cầu tạo văn bản cơ bản.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, cpp
- Lĩnh vực
- api, cloud
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 30/100