foundation-model-stack / fms-guardrails-orchestrator

🚀 Guardrails orchestration server for application of various detections on text generation input and output.
https://foundation-model-stack.github.io/fms-guardrails-orchestrator/
Apache License 2.0
2 stars 15 forks source link

Implement real liveness and readiness endpoints #39

Open gkumbhat opened 4 months ago

gkumbhat commented 4 months ago

Description

Currently we a health check endpoint which is stubbed out version. We need to implement real health check endpoint that is able to measure health of the server.

Tasks

Acceptance Criteria

gkumbhat commented 3 months ago

Brainstorming a bit on this topic:

evaline-ju commented 3 months ago
  • To start with, we can check if the detector is able to connect / call out to chunker or not.

Q - is the idea here to make sure we test with an expected available chunker that we parse the list of configured detectors and check a call to the particular chunker?

gkumbhat commented 3 months ago

is the idea here to make sure we test with an expected available chunker that we parse the list of configured detectors and check a call to the particular chunker?

@evaline-ju yes, precisely