RikAI2
RikAI2 combines large language model (LLM) and extractive AI technologies to understand and contextualize documents. This API allows users to extract and analyze data efficiently with natural language questions.
To gain access to RikAI2, please reach out to the sales team at Lazarus AI.
How to Use
RikAI2 is available for use through endpoints in the Lazarus API framework.
There is a bulk upload endpoint to upload 1 or more files to RikAI2 for asynchronous processing. Currently, this is the only endpoint supported for RikAI2 calls.
Input and Output
Documents may be uploaded using an inputURL or a base64 encoded string.
The question parameter contains the natural language prompt you would like to submit to RikAI2. This parameter accepts a string.
To receive the model output, use either a webhook (recommended) or an outputURL:
- The
webhookparameter is a URL where status updates and JSON responses will be sent. Click here to learn more about usingwebhookandwebhookSendFullparameters, including an example response. - The
outputURLreceives PUT requests made by the API. Its body is either a byte stream (for a ZIP file, default) or a JSON file (ifreturnJSONis set to true). ZIP will contain the file you uploaded, a CSV file with a breakdown of the itemization, and both a JSON and TXT file containing the entire JSON response.
Variations
In addition to the base RikAI2 model for processing documents and asking questions about their content, we have variations of the RikAI2 API available.
- RikAI2-Extract extracts data from a document according to a specific structure defined by the user.
- RikY2 is lightweight and flexible with sequential prompting capabilities.