call bedrock claude-2 using curl from command line?

0

does anyone have a small curl example they can share to use bedrock claude-2 from linux command line?

已提問 7 個月前檢視次數 891 次
2 個答案
0
已接受的答案

thx will try that out!!

已回答 7 個月前
0

Hello,

Yes, since it's an API endpoint, you should sign the request using SigV4 with your IAM credentials. To simplify this process, using a higher-level AWS SDK library like Python's boto3 is recommended.

Hope this helps!

Please refer to the following links, which are nearly identical regardless of the AWS service being used: [1] https://github.com/okigan/awscurl [2] https://gist.github.com/slawekzachcial/fe23184124763dfb82f233b5dde2394b

AWS
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南