AWS bedrock documentation change
Summary
Updated API parameters to use texts array and input_type
Security assessment
Functional parameter change without security implications
Diff
diff --git a/bedrock/latest/userguide/model-card-cohere-embed-english.md b/bedrock/latest/userguide/model-card-cohere-embed-english.md index 44d88d7d9..13562235b 100644 --- a//bedrock/latest/userguide/model-card-cohere-embed-english.md +++ b//bedrock/latest/userguide/model-card-cohere-embed-english.md @@ -116,2 +116,2 @@ 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'