Webhook is required. While either an outputURL or a webhook was required in previous versions, in this version a webhook is required to receive model output
Explainability Translation in RikAI 2. When a translation flag is called, the explainability of the answer also gets translated in the desired language. Note that advancedExplainability must be set to true to receive explainability for the answer
HEIC File Support. HEIC files can now be used as input
Added a warning message to guide users against inputting an array of questions instead of a single query to RikAI2. The ability to send in multiple questions as an array of strings for RikAI2 will be deprecated at a later date.
Added the ability for users to control the advancedExplainability flag in RikAI2. This flag determines whether the full context is included in the response.
When advancedExplainability is set to false, the model processes requests more quickly but does not include the full context.
When advancedExplainability is set to true, the full context is included in the response.
Previously, advancedExplainability defaulted to true (full context included by default). The default is now set to false (no full context by default).
The returnJSON field now defaults to true instead of false.
When set to true, the outputURL will return a JSON file instead of a ZIP file.
If you want to send a request to a specific API Version, you will have to define the apiVersion header. See how to here: How to Use API Versioning.
If you want the latest API version always, do not specify apiVersion. Your request will default to the latest API version.
You will see the apiVersion field with the date of the latest API version in your response body, response headers, and webhook data. This date will update as new API versions are released.