nemoguardrails.library.factchecking.align_score.request
nemoguardrails.library.factchecking.align_score.request
Module Contents
Functions
Data
API
async
Checks the facts for the bot response by making a request to the AlignScore API.
nemoguardrails.library.factchecking.align_score.request
| Name | Description |
|---|---|
alignscore_request | Checks the facts for the bot response by making a request to the AlignScore 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,http_client: typing.Optional[nemoguardrails.http.HTTPClient] = None)
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__)