Bedrock integration

Invoke model with streaming (Bedrock format)

POST/bedrock/model/{modelId}/invoke-with-response-stream

Invokes a model with streaming using AWS Bedrock InvokeModelWithResponseStream API format.

Path Parameters

modelId*string

Model ID (e.g., anthropic.claude-3-sonnet-20240229-v1:0)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/x-amz-eventstream

application/json

application/json

curl -X POST "http://localhost:8080/bedrock/model/string/invoke-with-response-stream" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "message": "string",
  "type": "string"
}
{
  "message": "string",
  "type": "string"
}