PassAssertionFilter

PassAssertionFilter(assertions)
Parameters:
NameDescription
assertions

Instance Methods

pass_assertions

pass_assertions(
    self,
    context,
    response,
    **_
) -> 

(openai<1) Check if the response passes the assertions.

Parameters:
NameDescription
context
response
**_