RikAI2-RAG
Lazarus IT: support@lazarusai.com URL: https://lazarus-ai.atlassian.net/servicedesk/customer/portal/8 License: Get Lazarus Terms of Service
Rag Request
header Parameters
required | orgid (string) or orgid (null) (orgid) orgid |
required | authkey (string) or authkey (null) (authkey) authkey |
simple (boolean) or simple (null) (simple) Default: false Boolean whether the topics RikAI2 should be skipped ( |
Request Body schema: application/jsonrequired
required | Question (string) or Array of Question (strings) (Question) The question for the model to answer. |
required | object (Settings) |
required | object (VKGInput) |
Base64 (string) or Array of Base64 (strings) or Base64 (null) (Base64) The base64 encoding of a file to be used in the API request. (Base64 or InputURL are required) | |
Inputurl (string) or Array of Inputurl (strings) or Inputurl (null) (Inputurl) The url of a file to be used in the API request. (Base64 or InputURL are required) | |
Searchprompt (string) or Searchprompt (null) (Searchprompt) The prompt to RikAI2 that should create a comma separated list of topics to be used to search the VKG specified in | |
Numclosest (integer) or Numclosest (null) (Numclosest) Default: 5 The number of nodes to be included for every topics search in the VKG specified in | |
Numtopics (integer) or Numtopics (null) (Numtopics) Default: 20 The maximum number of topics for searching in the VKG specified in | |
Webhook (string) or Webhook (null) (Webhook) |
Responses
Request samples
- Payload
Content type
application/json
{- "base64": "string",
- "inputUrl": "string",
- "question": "string",
- "settings": {
- "advanced_explainability": false,
- "advanced_vision": true
}, - "vkg": {
- "url": "string",
- "vkgId": "string",
- "orgId": "string",
- "authKey": "string",
- "userId": "string"
}, - "searchPrompt": "string",
- "numClosest": 5,
- "numTopics": 20,
- "webhook": "string"
}Response samples
- 200
- 422
Content type
application/json
{- "apiVersion": "string",
- "baseModel": "string",
- "code": 0,
- "data": [
- null
], - "documentId": "string",
- "endTime": 0,
- "id": "string",
- "metadata": { },
- "model": "string",
- "organization": "string",
- "pages": 0,
- "provider": "string",
- "questions": 0,
- "settings": { },
- "startTime": 0,
- "status": "string",
- "statusId": "string",
- "topics": [
- "string"
], - "nodes": [
- "string"
], - "searchPrompt": "string",
- "requestPrompt": "string"
}