/explain
Last updated
Last updated
/explain translates causal reasoning chains () into clear, natural language descriptions.
By providing a fact ID from your results, receive a detailed explanation of how the reasoning engine reaches its decision and display these to end-users, embed into reports or store for audit.
/explain is in open beta and details can be accessed from our . From here you download the OpenAPI specification to import into Postman, for example.
From a result from the Core endpoints (/query
or /response
) or NL endpoints (/interact
) you can obtain a FactID
Make a request to /explain with the session ID, fact ID and ISO 639 language code (Authentication uses your Rainbird account API key passed in the header as X-API-Key)
Receive a natural language explanation of the evidence tree
To optimise the accuracy of /explain, it is advised you review the understandability of the evidence tree, looking specifically at the language used.
/explain operates using third-party AI services (OpenAI). Please ensure shared information is suitable for external processing.
Any request made to /explain shares the complete chain of reasoning with the LLM to produce the explanation.
Whilst we continue to improve the precision of /explain, some responses may be inaccurate.
Improvements could be made by adjusting relationship names to improve readability, or by using in the graph to provide more context.