Skip to content

Commit

Permalink
Address comment issues
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Oct 15, 2024
1 parent 44b5c83 commit d8244ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ POST /_plugins/_ml/connectors/_create
"content-type": "application/json",
"x-amz-content-sha256": "required"
},
"request_body": "{\"body\":{\"inputText\": \"${parameters.inputText}\", \"inputImage\": \"${parameters.inputImage}\"}}",
"request_body": "{\"inputText\": \"${parameters.inputText:-null}\", \"inputImage\": \"${parameters.inputImage:-null}\"}",
"pre_process_function": "connector.pre_process.bedrock.multimodal_embedding",
"post_process_function": "connector.post_process.bedrock.embedding"
}
Expand Down Expand Up @@ -103,7 +103,7 @@ POST /_plugins/_ml/connectors/_create
"content-type": "application/json",
"x-amz-content-sha256": "required"
},
"request_body": "{\"body\":{\"inputText\": \"${parameters.inputText}\", \"inputImage\": \"${parameters.inputImage}\"}}",
"request_body": "{\"inputText\": \"${parameters.inputText:-null}\", \"inputImage\": \"${parameters.inputImage:-null}\"}",
"pre_process_function": "connector.pre_process.bedrock.multimodal_embedding",
"post_process_function": "connector.post_process.bedrock.embedding"
}
Expand Down

0 comments on commit d8244ec

Please sign in to comment.