Convert timestamp to integer in vector DB storage

This commit is contained in:
yangdx
2025-05-01 23:25:47 +08:00
parent 9ff3542ab2
commit ca85f8a461

View File

@@ -89,7 +89,7 @@ class NanoVectorDBStorage(BaseVectorStorage):
if not data:
return
current_time = time.time()
current_time = int(time.time())
list_data = [
{
"__id__": k,