Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: Unable to resolve Docling URL via Langflow on Linux

Mike Pawlowskide43aa66d431
diff --git a/Makefile b/Makefile
index 18c21d42a..79cd515c5 100644
--- a/Makefile
+++ b/Makefile
@@ -986,12 +986,10 @@ health: ## Check health of all services
@echo "$(CYAN)Frontend:$(NC) $$(curl -s http://localhost:3000/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
@echo "$(CYAN)Backend:$(NC) $$(curl -s http://localhost:8000/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
@echo "$(CYAN)Langflow:$(NC) $$(curl -s http://localhost:7860/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
- @echo "$(CYAN)OpenSearch:$(NC) $$( \
- curl -s -k -u ${OPENSEARCH_USERNAME}:${OPENSEARCH_PASSWORD} \
+ @STATUS=$$(curl -s -k -u ${OPENSEARCH_USERNAME}:${OPENSEARCH_PASSWORD} \
https://localhost:9200/_cluster/health 2>/dev/null \
- | jq -c '{status: (.status // "Not responding")}' 2>/dev/null \
- || echo '{"status":"Not responding"}' \
- )"
+ | jq -r '.status // "Not responding"' 2>/dev/null || echo "Not responding"); \
+ echo "$(CYAN)OpenSearch:$(NC) {\"status\":\"$$STATUS\"}"
@echo "$(CYAN)Docling:$(NC) $$(curl -s http://localhost:5001/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
######################