Skip to content

Commit

Permalink
Print response before post function
Browse files Browse the repository at this point in the history
Signed-off-by: b4sjoo <[email protected]>
  • Loading branch information
b4sjoo committed Oct 1, 2024
1 parent a364f14 commit fbcc2f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
ext {
opensearch_group = "org.opensearch"
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
opensearch_version = System.getProperty("opensearch.version", "2.18.0-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "2.17.0-SNAPSHOT")
buildVersionQualifier = System.getProperty("build.version_qualifier", "")

// 2.0.0-rc1-SNAPSHOT -> 2.0.0.0-rc1-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ public static ModelTensors processOutput(
if (modelResponse == null) {
throw new IllegalArgumentException("model response is null");
}
log.warn("WTF: " + modelResponse);
System.out.println(modelResponse);
if (mlGuard != null
&& !mlGuard
.validate(
Expand Down

0 comments on commit fbcc2f0

Please sign in to comment.