nemoguardrails.library.factchecking.align_score.request

View as Markdown

Module Contents

Functions

NameDescription
alignscore_requestChecks the facts for the bot response by making a request to the AlignScore API.

Data

log

API

nemoguardrails.library.factchecking.align_score.request.alignscore_request(
api_url: str = 'http://localhost:5000/alig...,
evidence: typing.Optional[list] = None,
response: typing.Optional[str] = None
)
async

Checks the facts for the bot response by making a request to the AlignScore API.

nemoguardrails.library.factchecking.align_score.request.log = logging.getLogger(__name__)