mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix: query collection api call
This commit is contained in:
@@ -390,7 +390,7 @@ def query_collection_handler(
|
|||||||
user=Depends(get_current_user),
|
user=Depends(get_current_user),
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
embeddings_function = embeddings_function(
|
embeddings_function = query_embeddings_function(
|
||||||
app.state.RAG_EMBEDDING_ENGINE,
|
app.state.RAG_EMBEDDING_ENGINE,
|
||||||
app.state.RAG_EMBEDDING_MODEL,
|
app.state.RAG_EMBEDDING_MODEL,
|
||||||
app.state.sentence_transformer_ef,
|
app.state.sentence_transformer_ef,
|
||||||
|
|||||||
Reference in New Issue
Block a user