https://github.com/tkc/go_bedrock_proxy_server
A proxy server that sends signed requests to AWS Bedrock. It reads AWS credentials from a YAML configuration file, signs requests using AWS Signature Version 4, and forwards them to the Bedrock API for processing.
https://github.com/tkc/go_bedrock_proxy_server
bedrock golang proxy
Last synced: 9 days ago
JSON representation
A proxy server that sends signed requests to AWS Bedrock. It reads AWS credentials from a YAML configuration file, signs requests using AWS Signature Version 4, and forwards them to the Bedrock API for processing.
- Host: GitHub
- URL: https://github.com/tkc/go_bedrock_proxy_server
- Owner: tkc
- Created: 2024-09-14T19:26:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T23:28:23.000Z (over 1 year ago)
- Last Synced: 2025-03-12T11:13:29.972Z (over 1 year ago)
- Topics: bedrock, golang, proxy
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Bedrock Proxy Server
This project provides a proxy server that sends signed requests to AWS Bedrock. It reads the AWS credentials from a YAML configuration file, signs the request using AWS Signature Version 4, and sends the signed request to the Bedrock API.
## Setup Configuration
Create a config.yaml file in the root of your project directory with the following structure:
```yaml
region: "us-west-2"
access_key_id: "YOUR_ACCESS_KEY"
secret_access_key: "YOUR_SECRET_ACCESS_KEY"
model_id: "YOUR_MODEL_ID"
```
## Run the Application
```bash
go run main.go
```