@@ -184,7 +184,7 @@ async def search_memory(query: str) -> str:
|
|||||||
for h in hits:
|
for h in hits:
|
||||||
# All vector db search functions return OutputData class
|
# All vector db search functions return OutputData class
|
||||||
id, score, payload = h.id, h.score, h.payload
|
id, score, payload = h.id, h.score, h.payload
|
||||||
if allowed and h.id is None or h.id not in allowed:
|
if allowed and (h.id is None or h.id not in allowed):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
results.append({
|
results.append({
|
||||||
|
|||||||
Reference in New Issue
Block a user