Skip to content

Commit d0fc8a8

Browse files
committed
fix: Diversify should be a float, not a bool
1 parent 1605dec commit d0fc8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asknews_sdk/api/wiki.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def search_wiki(
1818
neighbor_chunks: int = 1,
1919
full_articles: bool = False,
2020
hybrid_search: bool = False,
21-
diversify: bool = False,
21+
diversify: float = 0.0,
2222
string_guarantee: List[str] = None,
2323
include_main_section: bool = False,
2424
*,
@@ -69,7 +69,7 @@ async def search_wiki(
6969
neighbor_chunks: int = 1,
7070
full_articles: bool = False,
7171
hybrid_search: bool = False,
72-
diversify: bool = False,
72+
diversify: float = 0.0,
7373
string_guarantee: List[str] = None,
7474
include_main_section: bool = False,
7575
*,

0 commit comments

Comments
 (0)