API Endpoints
Faithfulness
This evaluator assesses the extent to which the generated answer is consistent with the provided context. Higher scores indicate better faithfulness to the context, useful for detecting hallucinations.
Docs: https://docs.ragas.io/en/latest/concepts/metrics/faithfulness.html
POST
/
ragas
/
faithfulness
/
evaluate
Body
application/json
List of entries to be evaluated, check the field type for the necessary keys
Evaluator settings, check the field type for what settings this evaluator supports
Optional environment variables to override the server ones