Skip to content

Commit f5d0d6e

Browse files
committed
improve the test
1 parent 52e0777 commit f5d0d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crewai-tools/test_mongodb_vector_search_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
print("Creating vector index...")
3737
if not any([ix["name"] == "vector_index" for ix in coll.list_search_indexes()]):
38-
tool.create_vector_search_index(dimensions=3072, auto_index_timeout=60)
38+
tool.create_vector_search_index(dimensions=1536, auto_index_timeout=60)
3939

4040
# Create the MongoDB tool
4141
print("Creating tool and waiting for index to be complete...")

0 commit comments

Comments
 (0)