Skip to content

Instantly share code, notes, and snippets.

@micahwalter
Created November 3, 2023 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micahwalter/7e63e9dbbf8c3511eb3ff5f366c9097b to your computer and use it in GitHub Desktop.
Save micahwalter/7e63e9dbbf8c3511eb3ff5f366c9097b to your computer and use it in GitHub Desktop.
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