Skip to content

Instantly share code, notes, and snippets.

@micahwalter
Created November 2, 2023 15:08
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/454c09c04da028ae0fed9c8727f32bfb to your computer and use it in GitHub Desktop.
Save micahwalter/454c09c04da028ae0fed9c8727f32bfb to your computer and use it in GitHub Desktop.
resp, err := svc.InvokeModel(context.TODO(), &bedrockruntime.InvokeModelInput{
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