We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3206b81 commit 9482e70Copy full SHA for 9482e70
java/src/main/java/com/genexus/db/GXEmbedding.java
@@ -112,4 +112,9 @@ public String toString()
112
.map(String::valueOf)
113
.collect(Collectors.joining(","));
114
}
115
+
116
+ public boolean isEmpty() {
117
+ return embedding == null || embedding.isEmpty() ||
118
+ embedding.stream().allMatch(v -> v == null || v == 0.0f);
119
+ }
120
0 commit comments