Show embedding generation stats to user

This commit is contained in:
perf3ct
2025-03-08 23:17:13 +00:00
parent 0daa9e717f
commit 0cd1be5568
5 changed files with 163 additions and 19 deletions

View File

@@ -378,6 +378,7 @@ function register(app: express.Application) {
apiRoute(PATCH, "/api/embeddings/providers/:providerId", embeddingsRoute.updateProvider);
apiRoute(PST, "/api/embeddings/reprocess", embeddingsRoute.reprocessAllNotes);
apiRoute(GET, "/api/embeddings/queue-status", embeddingsRoute.getQueueStatus);
apiRoute(GET, "/api/embeddings/stats", embeddingsRoute.getEmbeddingStats);
// Ollama API endpoints
route(PST, "/api/ollama/list-models", [auth.checkApiAuth, csrfMiddleware], ollamaRoute.listModels, apiResultHandler);