Skip to content

Commit

Permalink
refactor!: remove /v1/rag/query endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Apr 7, 2024
1 parent 1b2fb3a commit c0f7d6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ pub(crate) async fn handle_llama_request(
},
"/v1/files" => ggml::files_handler(req).await,
"/v1/chunks" => ggml::chunks_handler(req).await,
"/v1/rag/query" => ggml::rag_query_handler(req, template_ty, log_prompts).await,
"/v1/rag/embeddings" => ggml::doc_to_embeddings(req).await,
"/v1/create/rag" => ggml::doc_to_embeddings(req).await,
_ => error::invalid_endpoint(req.uri().path()),
}
}

0 comments on commit c0f7d6b

Please sign in to comment.