Convert timestamp to integer in vector DB storage
This commit is contained in:
@@ -89,7 +89,7 @@ class NanoVectorDBStorage(BaseVectorStorage):
|
|||||||
if not data:
|
if not data:
|
||||||
return
|
return
|
||||||
|
|
||||||
current_time = time.time()
|
current_time = int(time.time())
|
||||||
list_data = [
|
list_data = [
|
||||||
{
|
{
|
||||||
"__id__": k,
|
"__id__": k,
|
||||||
|
Reference in New Issue
Block a user