From 688318048ccff3cd73bad5e19f6ef5882fc890b2 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:46:07 -0700 Subject: [PATCH] Fix bedrock claude3 blueprint typo (#2962) (#2965) Signed-off-by: b4sjoo (cherry picked from commit 6a6cac13ee1a009ea43a3bad147059578d2adc38) Co-authored-by: Sicheng Song --- .../bedrock_connector_anthropic_claude3_blueprint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/remote_inference_blueprints/bedrock_connector_anthropic_claude3_blueprint.md b/docs/remote_inference_blueprints/bedrock_connector_anthropic_claude3_blueprint.md index 33f26e080e..e3e0b8bd5e 100644 --- a/docs/remote_inference_blueprints/bedrock_connector_anthropic_claude3_blueprint.md +++ b/docs/remote_inference_blueprints/bedrock_connector_anthropic_claude3_blueprint.md @@ -84,7 +84,7 @@ POST /_plugins/_ml/connectors/_create "content-type": "application/json" }, "url": "https://bedrock-runtime.us-east-1.amazonaws.com/model/${parameters.model}/invoke", - "request_body": "{\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"${parameters.prompt}\"}]}],\"anthropic_version\":\"${parameters.anthropic_version}\",\"max_tokens\":${parameters.max_tokens_to_sample}}" + "request_body": "{\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"${parameters.inputs}\"}]}],\"anthropic_version\":\"${parameters.anthropic_version}\",\"max_tokens\":${parameters.max_tokens_to_sample}}" } ] }