Skip to content

Commit

Permalink
Update kendra-bedrock-cdk-python/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Marco <[email protected]>
  • Loading branch information
krao14 and marcojahn authored Aug 23, 2024
1 parent 319815e commit 704b902
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kendra-bedrock-cdk-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ Here's a breakdown of the steps:
CLI Lambda invoke with test event:
```bash
aws lambda invoke --function-name INVOKE_LAMBDA_FUNCTION_ARN --payload '{"question": "Value" }' output.txt
payload_base64=$(echo -n '{"question": "Value"}' | base64)
aws lambda invoke \
--function-name INVOKE_LAMBDA_FUNCTION_ARN \
--payload "$payload_base64" \
output.txt
```

The output.txt will contain the response generated by Amazon Bedrock.
Expand Down

0 comments on commit 704b902

Please sign in to comment.