From 2213676cef5f5611de0c501c7683e997dad3e3ec Mon Sep 17 00:00:00 2001 From: yabinmeng Date: Wed, 4 Oct 2023 21:22:55 -0500 Subject: [PATCH] Change `vector_value` binding generation from ListSized to ListSizedHashed. This makes sure the generated embedding values are not the same. --- .../src/main/resources/activities/baselines/cql-vector.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter-cqld4/src/main/resources/activities/baselines/cql-vector.yaml b/adapter-cqld4/src/main/resources/activities/baselines/cql-vector.yaml index 786cf68fe..2afb115fa 100644 --- a/adapter-cqld4/src/main/resources/activities/baselines/cql-vector.yaml +++ b/adapter-cqld4/src/main/resources/activities/baselines/cql-vector.yaml @@ -33,7 +33,7 @@ bindings: seq_value: Hash(); Mod(<>); ToString() -> String rw_key: <int>>; ToString() -> String rw_value: Hash(); <int>>; ToString() -> String - vector_value: CqlVector(ListSized(<>,HashRange(0.0f,100.0f))); NormalizeCqlVector(); + vector_value: CqlVector(ListSizedHashed(<>,HashRange(0.0f,100.0f))); NormalizeCqlVector(); blocks: drop-tables: