-
-
Notifications
You must be signed in to change notification settings - Fork 0
Invoke API requestMetadata support #42
Copy link
Copy link
Open
Labels
api audioAudio API specificAudio API specificapi chatChat API specificChat API specificapi imageImage API specificImage API specificapi videoVideo API specificVideo API specificenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
api audioAudio API specificAudio API specificapi chatChat API specificChat API specificapi imageImage API specificImage API specificapi videoVideo API specificVideo API specificenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
Backlog
Invoke model API now support
requestMetadatainbotocore>=1.43.12(to specify inpyproject.yml):https://docs.aws.amazon.com/boto3/latest/reference/services/bedrock-runtime/client/invoke_model.html
The following header is also supported and should be supported globally: X-Amzn-Bedrock-Request-Metadata
{ "requestMetadata":{ "shape":"RequestMetadataJson", "documentation":"<p>Key-value pairs that you can use to filter invocation logs.</p>", "location":"header", "locationName":"X-Amzn-Bedrock-Request-Metadata" } }