Created
November 3, 2023 17:12
-
-
Save micahwalter/7e63e9dbbf8c3511eb3ff5f366c9097b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resp, err := svc.InvokeModelWithResponseStream(context.TODO(), &bedrockruntime.InvokeModelWithResponseStreamInput{ | |
Accept: &accept, | |
ModelId: &modelId, | |
ContentType: &contentType, | |
Body: []byte(string(payloadBody)), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment