fix: Change the type from int to float
This commit is contained in:
tabacoWang 2024-05-02 13:45:19 +08:00
parent 68cfccedee
commit fffd283b0c

View file

@ -53,7 +53,7 @@ def query_doc_with_hybrid_search(
embedding_function,
k: int,
reranking_function,
r: int,
r: float,
):
try:
collection = CHROMA_CLIENT.get_collection(name=collection_name)