AWS bedrock documentation change
Summary
Updated example API parameters from chat-style messages to embedding-specific parameters (texts, input_type, embedding_types)
Security assessment
Change updates API parameters for accuracy but contains no security fixes, vulnerability references, or security feature documentation.
Diff
diff --git a/bedrock/latest/userguide/model-card-cohere-embed-v4.md b/bedrock/latest/userguide/model-card-cohere-embed-v4.md index 15cc09070..7ef1247c1 100644 --- a//bedrock/latest/userguide/model-card-cohere-embed-v4.md +++ b//bedrock/latest/userguide/model-card-cohere-embed-v4.md @@ -219,2 +219,3 @@ Invoke API - 'messages': [{ 'role': 'user', 'content': 'Can you explain the features of Amazon Bedrock?'}], - 'max_tokens': 1024 + 'texts': ['What are the different services that you offer?'], + 'input_type': 'search_document', + 'embedding_types': ['float']