copilot

Check Causality

POST
Check whether an idea is causal or not. Optional parameter model_type is used to specify the model to use for the check. Returns a JSON object with the following structure: { "is_causal": bool, "suggestions": list[str, str, str] - rephrased of the original idea into a causal idea }

Query parameters

why_promptstringRequired
model_typeenumOptional
Enum representing the llm model types used in the experiments.

Response

This endpoint returns an object
is_causal
boolean
Whether the idea is causal or not
suggestions
list of stringsOptional
List of rephrased versions of the original idea into a causal format, if the original idea is not causal. Base your suggestions on human decisions.