Spaces:
Running
on
Zero
Running
on
Zero
df
Browse files
babyagi/classesa/diamond.py
CHANGED
@@ -54,7 +54,7 @@ class ProductDatabase:
|
|
54 |
SELECT id,carat, cut, color, clarity, depth, diamondprice.table, x, y, z
|
55 |
FROM diamondprice
|
56 |
order by id asc
|
57 |
-
limit
|
58 |
""", (query_vector, top_k))
|
59 |
results = cursor.fetchall()
|
60 |
return results
|
|
|
54 |
SELECT id,carat, cut, color, clarity, depth, diamondprice.table, x, y, z
|
55 |
FROM diamondprice
|
56 |
order by id asc
|
57 |
+
limit 10000000
|
58 |
""", (query_vector, top_k))
|
59 |
results = cursor.fetchall()
|
60 |
return results
|