Guardrails API Documentation
Relevancy
Analyses the relevance of a generated answer to a given question, ensuring that the response appropriately addresses the query. The detector returns a relevancy score indicating how well the answer relates to the question which will be between 0 and 1. 0 if it is relevant and 1 if it is not relevant at all. The detector also provides a list of atomic facts and their relevancy scores, along with the response latency.