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?

demandé il y a 7 mois876 vues
2 réponses
0
Réponse acceptée

thx will try that out!!

répondu il y a 7 mois
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
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions