{
  "repo": "pingcap/autoflow",
  "binary": "local-embedding-reranker",
  "binary_path": "backend/local_embedding_reranker/main.py",
  "dependencies": {
    "LocalEmbeddingRerankerLifecycle.StartModelService": {
      "infrastructure": {
        "network": {
          "conditions": [
            "When uvicorn entrypoint is started"
          ],
          "operations": [
            {
              "operation": "LISTEN MODEL SERVICE",
              "trigger": "Expose the local embedding and reranker API on port 5001",
              "conditions": [
                "uvicorn entrypoint is started"
              ],
              "implementation": "backend/local_embedding_reranker/main.py runs uvicorn on :5001"
            }
          ]
        }
      },
      "services": []
    },
    "HTTP GET /api/v1/healthz": {
      "infrastructure": {},
      "services": []
    },
    "HTTP POST /api/v1/embedding": {
      "infrastructure": {},
      "services": []
    },
    "HTTP POST /api/v1/reranker": {
      "infrastructure": {},
      "services": []
    }
  }
}
