issues
search
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
:bug: Fix content standalone endpoint response object
#177
Closed
gkumbhat
closed
1 month ago
gkumbhat
commented
1 month ago
Changes
We were currently sending out
TokenClassificationResult
for
/content
endpoint, which is incorrect as per the agreed upon API spec. This PR fixes that by adding a separate
detect_content
function that provides this response object.
Changes
TokenClassificationResult
for/content
endpoint, which is incorrect as per the agreed upon API spec. This PR fixes that by adding a separatedetect_content
function that provides this response object.