Fact-check a given passage or a sentence on the knowledge provided.

post/fact_check_kbqa

Request

  • Base URL
    http://localhost:5003
  • Auth
    none declared

Request body

promptstring

(REQUIRED) The user prompt that requested a response (i.e., the user prompt that request the ChatGPT response to be fact-checked.)

responsestring

(REQUIRED) The response to be fact-checked (usually a ChatGPT response). (VERY IMPORTANT) HOWEVER, if the user directly asks you to fact-check a knowledge-based statement, then the response should be same as the prompt.

entry_pointunknown

Response

Fact-check result

fact_check_resultobject[]

The list of fact-check results as dictionaries. This list includes claims extracted from the response, claim-level_factuality and response-level factuality of the response, and potentially the descriptions of why each claim in the response is factual or not.

Changes

No recorded changes to this operation across all 1 revision of this API.