mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
Merge pull request #1905 from 7a6ac0/r_score_type
fix: change r_score type to float
This commit is contained in:
commit
e700552f93
@ -53,7 +53,7 @@ def query_doc_with_hybrid_search(
|
|||||||
embedding_function,
|
embedding_function,
|
||||||
k: int,
|
k: int,
|
||||||
reranking_function,
|
reranking_function,
|
||||||
r: int,
|
r: float,
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
collection = CHROMA_CLIENT.get_collection(name=collection_name)
|
collection = CHROMA_CLIENT.get_collection(name=collection_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user