Skip to content

Commit

Permalink
access body kety
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbalcaen committed Apr 26, 2024
1 parent 06bf54c commit c982756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambdas/bedrock_invoker/src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def lambda_handler(event, context):
)

print(response)
print(response['Body'])
response_body = response['Body'].read().decode('utf-8')
print(response['body'])
response_body = response['body'].read().decode('utf-8')
print(response_body)
return {
'statusCode': 200,
Expand Down

0 comments on commit c982756

Please sign in to comment.