diff --git a/docs/my-website/docs/providers/bedrock.md b/docs/my-website/docs/providers/bedrock.md index 1ba67955567..485dbf892b8 100644 --- a/docs/my-website/docs/providers/bedrock.md +++ b/docs/my-website/docs/providers/bedrock.md @@ -412,7 +412,7 @@ response = client.chat.completions.create(model="anthropic.claude-v2", messages ], temperature=0.7, extra_body={ - guardrailConfig={ + "guardrailConfig": { "guardrailIdentifier": "ff6ujrregl1q", # The identifier (ID) for the guardrail. "guardrailVersion": "DRAFT", # The version of the guardrail. "trace": "disabled", # The trace behavior for the guardrail. Can either be "disabled" or "enabled"