Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e700552f
Unverified
Commit
e700552f
authored
May 02, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
May 02, 2024
Browse files
Merge pull request #1905 from 7a6ac0/r_score_type
fix: change r_score type to float
parents
d680d52b
fffd283b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/rag/utils.py
backend/apps/rag/utils.py
+1
-1
No files found.
backend/apps/rag/utils.py
View file @
e700552f
...
...
@@ -53,7 +53,7 @@ def query_doc_with_hybrid_search(
embedding_function
,
k
:
int
,
reranking_function
,
r
:
in
t
,
r
:
floa
t
,
):
try
:
collection
=
CHROMA_CLIENT
.
get_collection
(
name
=
collection_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment