You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent-memory-client/agent-memory-client-java/src/main/java/com/redis/agentmemory/models/longtermemory/MemoryRecordResult.java
Copy file name to clipboardExpand all lines: agent-memory-client/agent-memory-client-java/src/main/java/com/redis/agentmemory/models/longtermemory/SearchRequest.java
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,16 @@ public class SearchRequest {
15
15
@Nullable
16
16
privateStringtext;
17
17
18
+
@Nullable
19
+
@JsonProperty("search_mode")
20
+
privateStringsearchMode;
21
+
22
+
@JsonProperty("hybrid_alpha")
23
+
privatedoublehybridAlpha = 0.7;
24
+
25
+
@JsonProperty("text_scorer")
26
+
privateStringtextScorer = "BM25STD";
27
+
18
28
@Nullable
19
29
@JsonProperty("session_id")
20
30
privateStringsessionId;
@@ -85,6 +95,32 @@ public void setText(@Nullable String text) {
Copy file name to clipboardExpand all lines: agent-memory-client/agent-memory-client-java/src/main/java/com/redis/agentmemory/services/LongTermMemoryService.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,9 @@ public MemoryRecordResults searchLongTermMemories(@NotNull SearchRequest request
0 commit comments