Skip to content

Commit cd00bbb

Browse files
committed
FindAndRerank
1 parent 49d5c2e commit cd00bbb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

astra-db-java/src/main/java/com/datastax/astra/client/core/hybrid/HybridLimits.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,12 @@ public HybridLimits lexical(Integer limit) {
5757
return this;
5858
}
5959

60+
public HybridLimits vector(Integer limit) {
61+
if (mapOfLimits == null) {
62+
mapOfLimits = new HashMap<>();
63+
}
64+
mapOfLimits.put(DataAPIKeywords.VECTOR.getKeyword(), limit);
65+
return this;
66+
}
67+
6068
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy