Closed deadbits closed 10 months ago
I have a poc of this working. I'll need to spend some time testing different inputs and finding a good threshold.
This endpoint is more meant to be an additional check right now; it's not part of the scanners (currently/yet?). I did have the idea of input vs output scanners, so maybe this could be the first.
Add API endpoint to calculate similarity between a submitted prompt and response
Function will compare prompt and response to determine if they are relevant. This doesn't need to be a scanner module imo.. just a call to a func and return