Skip to content

Commit 3413eec

Browse files
authored
Refactor variable names for clarity in vector_stores.py
1 parent e6eaa4c commit 3413eec

File tree

1 file changed

+2
-2
lines changed
  • backends/advanced/src/advanced_omi_backend/services/memory/providers

1 file changed

+2
-2
lines changed

backends/advanced/src/advanced_omi_backend/services/memory/providers/vector_stores.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ async def search_memories(self, query_embedding: List[float], user_id: str, limi
175175
"query_filter": search_filter,
176176
"limit": limit
177177
}
178-
178+
179179
if score_threshold > 0.0:
180180
search_params["score_threshold"] = score_threshold
181181
memory_logger.debug(f"Using similarity threshold: {score_threshold}")
@@ -185,7 +185,7 @@ async def search_memories(self, query_embedding: List[float], user_id: str, limi
185185
results = response.points
186186

187187
memories = []
188-
for result in response.points:
188+
for result in results:
189189
memory = MemoryEntry(
190190
id=str(result.id),
191191
content=result.payload.get("content", ""),

0 commit comments

Comments
 (0)