Skip to content

Commit 8d6b103

Browse files
committed
fix: unit tests
1 parent a931e83 commit 8d6b103

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/callback/test_callback.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def test_pipeline_callbacks(dataset):
146146
"query_prompt": None,
147147
"sts_prompt": None,
148148
"use_cache": False,
149+
"similarity_fn_name": "cosine",
149150
},
150151
"k": 1,
151152
"weights": "uniform",
@@ -180,6 +181,7 @@ def test_pipeline_callbacks(dataset):
180181
"query_prompt": None,
181182
"sts_prompt": None,
182183
"use_cache": False,
184+
"similarity_fn_name": "cosine",
183185
},
184186
"k": 1,
185187
"weights": "distance",
@@ -214,6 +216,7 @@ def test_pipeline_callbacks(dataset):
214216
"query_prompt": None,
215217
"sts_prompt": None,
216218
"use_cache": False,
219+
"similarity_fn_name": "cosine",
217220
},
218221
},
219222
"module_name": "linear",

0 commit comments

Comments
 (0)