Commit 1c1d2c25 authored by Steven Kreitzer's avatar Steven Kreitzer
Browse files

fix: query collection api call

parent 72090fab
......@@ -390,7 +390,7 @@ def query_collection_handler(
user=Depends(get_current_user),
):
try:
embeddings_function = embeddings_function(
embeddings_function = query_embeddings_function(
app.state.RAG_EMBEDDING_ENGINE,
app.state.RAG_EMBEDDING_MODEL,
app.state.sentence_transformer_ef,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment