Nuclia Understanding API (v1)
API reference for the Nuclia Understanding API.
Send Data To Process
Push data to process
Request Body schema: application/jsonrequired
Kbid (string) or Kbid (null) (Kbid) | |
Uuid (string) or Uuid (null) (Uuid) | |
Title (string) or Title (null) (Title) | |
| labels | Array of strings (Labels) Default: [] |
Slug (string) or Slug (null) (Slug) | |
Source (integer) or null | |
Userid (string) or Userid (null) (Userid) | |
object (Genericfield) Default: {} | |
object (Filefield) Default: {} | |
object (Linkfield) Default: {} | |
object (Textfield) Default: {} | |
object (Layoutfield) Default: {} | |
object (Conversationfield) Default: {} | |
PushProcessingOptions (object) or null | |
LearningConfig (object) or null | |
WebhookConfig (object) or null |
Responses
Request samples
- Payload
{- "kbid": "string",
- "uuid": "string",
- "title": "string",
- "labels": [ ],
- "slug": "string",
- "source": 0,
- "userid": "string",
- "genericfield": { },
- "filefield": { },
- "linkfield": { },
- "textfield": { },
- "layoutfield": { },
- "conversationfield": { },
- "processing_options": {
- "ml_text": true,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "learning_config": {
- "semantic_models": [
- "string"
], - "generative_model": "string",
- "ner_model": "string",
- "anonymization_model": "string",
- "visual_labeling": "string"
}, - "webhook_config": {
- "uri": "string",
- "headers": { }
}
}Response samples
- 200
- 422
{- "seqid": 0,
- "account_seq": 0,
- "queue": "shared",
- "uuid": "string",
- "processing_id": "string"
}Get Processed Data
Retreive status of processed and unprocessed payloads from a zone
query Parameters
Cursor (string) or Cursor (null) (Cursor) | |
| limit | integer (Limit) Default: 20 |
Scheduled (boolean) or Scheduled (null) (Scheduled) | |
Kbid (string) or Kbid (null) (Kbid) | |
| sort_on | string (SortFields) Default: "timestamp" Enum: "timestamp" "scheduled_at" "completed_at" |
| sort_order | string (SortOrder) Default: "asc" Enum: "asc" "desc" |
Responses
Response samples
- 200
- 422
{- "results": [
- {
- "processing_id": "string",
- "resource_id": "string",
- "kbid": "string",
- "title": "string",
- "labels": [
- "string"
], - "completed": true,
- "scheduled": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "schedule_eta": 0,
- "schedule_order": 0,
- "request": "string",
- "response": "string"
}
], - "cursor": "string"
}Get Processed Data
Retreive status of processed and unprocessed payloads from a zone
path Parameters
| processing_id required | string (Processing Id) |
Responses
Response samples
- 200
- 422
{- "processing_id": "string",
- "resource_id": "string",
- "kbid": "string",
- "title": "string",
- "labels": [
- "string"
], - "completed": true,
- "scheduled": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "schedule_eta": 0,
- "schedule_order": 0,
- "request": "string",
- "response": "string"
}Upload Binary File
Upload a file using a multipart request
header Parameters
X-Filename (string) or X-Filename (null) (X-Filename) Default: | |
X-Password (string) or X-Password (null) (X-Password) | |
X-Language (string) or X-Language (null) (X-Language) | |
X-Md5 (string) or X-Md5 (null) (X-Md5) |
Responses
Response samples
- 201
- 422
nullTus Server Information
Gather information about the Server’s current configuration such as enabled extensions, version...
path Parameters
required | Upload Id (string) or Upload Id (null) (Upload Id) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Download Account Predictive Model File
Download the trained model or any other generated file as a result of a training task on a Knowledge Box
path Parameters
| kbid required | string (Kbid) |
| model_id required | string (Model Id) |
| filename required | string (Filename) |
query Parameters
| account_id required | string (Account Id) |
Responses
Response samples
- 200
- 422
nullAccount Bedrock Models Authentication
Finish a new bedrock authentication flow for an account
path Parameters
| account_id required | string (Account Id) |
Request Body schema: application/jsonrequired
| role_arn required | string (Role Arn) ARN of the role created in AWS IAM |
| region required | string (Region) AWS region where the Bedrock service is used |
Responses
Request samples
- Payload
{- "role_arn": "string",
- "region": "string"
}Response samples
- 200
- 422
nullGet Public Model Configuration On Account
Get details of a public model configuration on an account
path Parameters
| account_id required | string (Account Id) |
| model_id required | string <uuid4> (Model Id) |
Responses
Response samples
- 200
- 422
{- "id": "string",
- "default_model_id": "string",
- "description": "string",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "assume_role": 0
}Public Model Configuration Deletion On Account
Delete specific public model configuration from the account
path Parameters
| account_id required | string (Account Id) |
| model_id required | string <uuid4> (Model Id) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Learning Configuration Schema
Get trained models
path Parameters
| account_id required | string (Account Id) |
| model_id required | string <uuid4> (Model Id) |
Responses
Response samples
- 200
- 422
{- "model_id": "string",
- "account": "string",
- "model_type": "GENERATIVE",
- "trained_date": "2019-08-24T14:15:22Z",
- "location": "string",
- "trained_kbid": "string",
- "model_types": [ ],
- "log": "string",
- "kbids": [
- "string"
], - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}Learning Configuration Models From Account
Get trained models
path Parameters
| account_id required | string (Account Id) |
Responses
Response samples
- 200
- 422
[- {
- "model_id": "string",
- "account": "string",
- "model_type": "GENERATIVE",
- "trained_date": "2019-08-24T14:15:22Z",
- "location": "string",
- "trained_kbid": "string",
- "model_types": [ ],
- "title": "string"
}
]Delete A Model From A Kb
Remove from availability a model from a KB
path Parameters
| kbid required | string (Kbid) |
| model_id required | string (Model Id) |
| account_id required | string (Account Id) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Learning Configuration Schema
Get schema for creating a KB
path Parameters
| account_id required | string (Account Id) |
Responses
Response samples
- 200
- 422
{- "semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "semantic_models": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "default_semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "anonymization_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "visual_labeling": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "generative_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "ner_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "relation_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "user_keys": {
- "schemas": { },
- "create": false,
- "update": false
}, - "user_prompts": {
- "schemas": { },
- "create": false,
- "update": false
}, - "summary_prompt": {
- "schemas": { },
- "create": false,
- "update": false
}, - "prefer_markdown_generative_response": {
- "schemas": { },
- "create": false,
- "update": false
}
}Knowledgebox Models Configuration
Current configuration of models assigned to a knowledgebox
path Parameters
| kbid required | string (Kbid) |
Responses
Response samples
- 200
- 422
{- "resource_labelers_models": [
- "string"
], - "paragraph_labelers_models": [
- "string"
], - "intent_models": [
- "string"
], - "visual_labeling": "disabled",
- "ner_model": "multilingual",
- "relation_model": "base",
- "anonymization_model": "disabled",
- "semantic_model": "string",
- "semantic_models": [
- "string"
], - "default_semantic_model": "string",
- "semantic_vector_similarity": "DOT",
- "semantic_vector_size": 1024,
- "semantic_matryoshka_dims": [ ],
- "semantic_threshold": 0.4,
- "generative_model": "chatgpt-azure-4o",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "summary": "extended",
- "summary_model": "chatgpt-azure-4o",
- "summary_prompt": {
- "prompt": "Make a bullet point summary of the following content: {text}"
}, - "prefer_markdown_generative_response": false,
- "semantic_model_configs": { }
}Knowledgebox Models Add Configuration
Current configuration of models assigned to a knowledgebox
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
AnonymizationModel (string) or Anonymization Model (string) (Anonymization Model) Default: "disabled" | |
VisualLabeling (string) or Visual Labeling (string) (Visual Labeling) Default: "disabled" | |
| generative_model | string (Generative Model) Default: "chatgpt-azure-4o" |
NERModel (string) or Ner Model (string) (Ner Model) Default: "multilingual" | |
RelationModel (string) or Relation Model (string) (Relation Model) Default: "base" | |
UserLearningKeys (object) or null | |
UserPrompts (object) or null | |
Summary (string) or null Default: "simple" | |
| summary_model | string (Summary Model) Default: "chatgpt-azure-4o" |
SummaryPrompt (object) or null | |
| prefer_markdown_generative_response | boolean (Prefer Markdown Generative Response) Default: false |
Default Semantic Model (string) or Default Semantic Model (null) (Default Semantic Model) The default vector set / semantic model to use. Must be one of the models defined in the | |
SemanticModel (string) or null Deprecated | |
Array of Semantic Models (strings) or Semantic Models (null) (Semantic Models) |
Responses
Request samples
- Payload
{- "anonymization_model": "disabled",
- "visual_labeling": "disabled",
- "generative_model": "chatgpt-azure-4o",
- "ner_model": "multilingual",
- "relation_model": "base",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "summary": "simple",
- "summary_model": "chatgpt-azure-4o",
- "summary_prompt": {
- "prompt": "Make a bullet point summary of the following content: {text}"
}, - "prefer_markdown_generative_response": false,
- "default_semantic_model": "string",
- "semantic_model": "en-2024-04-24",
- "semantic_models": [
- "en-2024-04-24"
]
}Response samples
- 200
- 422
{- "resource_labelers_models": [
- "string"
], - "paragraph_labelers_models": [
- "string"
], - "intent_models": [
- "string"
], - "visual_labeling": "disabled",
- "ner_model": "multilingual",
- "relation_model": "base",
- "anonymization_model": "disabled",
- "semantic_model": "string",
- "semantic_models": [
- "string"
], - "default_semantic_model": "string",
- "semantic_vector_similarity": "DOT",
- "semantic_vector_size": 1024,
- "semantic_matryoshka_dims": [ ],
- "semantic_threshold": 0.4,
- "generative_model": "chatgpt-azure-4o",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "summary": "extended",
- "summary_model": "chatgpt-azure-4o",
- "summary_prompt": {
- "prompt": "Make a bullet point summary of the following content: {text}"
}, - "prefer_markdown_generative_response": false,
- "semantic_model_configs": { }
}Knowledgebox Models Update Configuration
Current configuration of models assigned to a knowledgebox
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
AnonymizationModel (string) or Anonymization Model (string) (Anonymization Model) Default: "disabled" | |
VisualLabeling (string) or Visual Labeling (string) (Visual Labeling) Default: "disabled" | |
| generative_model | string (Generative Model) Default: "chatgpt-azure-4o" |
NERModel (string) or Ner Model (string) (Ner Model) Default: "multilingual" | |
RelationModel (string) or Relation Model (string) (Relation Model) Default: "base" | |
UserLearningKeys (object) or null | |
UserPrompts (object) or null | |
Summary (string) or null Default: "simple" | |
| summary_model | string (Summary Model) Default: "chatgpt-azure-4o" |
SummaryPrompt (object) or null | |
| prefer_markdown_generative_response | boolean (Prefer Markdown Generative Response) Default: false |
Default Semantic Model (string) or Default Semantic Model (null) (Default Semantic Model) The default vector set / semantic model to use. Must be one of the models defined in the |
Responses
Request samples
- Payload
{- "anonymization_model": "disabled",
- "visual_labeling": "disabled",
- "generative_model": "chatgpt-azure-4o",
- "ner_model": "multilingual",
- "relation_model": "base",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "summary": "simple",
- "summary_model": "chatgpt-azure-4o",
- "summary_prompt": {
- "prompt": "Make a bullet point summary of the following content: {text}"
}, - "prefer_markdown_generative_response": false,
- "default_semantic_model": "string"
}Response samples
- 200
- 422
{- "resource_labelers_models": [
- "string"
], - "paragraph_labelers_models": [
- "string"
], - "intent_models": [
- "string"
], - "visual_labeling": "disabled",
- "ner_model": "multilingual",
- "relation_model": "base",
- "anonymization_model": "disabled",
- "semantic_model": "string",
- "semantic_models": [
- "string"
], - "default_semantic_model": "string",
- "semantic_vector_similarity": "DOT",
- "semantic_vector_size": 1024,
- "semantic_matryoshka_dims": [ ],
- "semantic_threshold": 0.4,
- "generative_model": "chatgpt-azure-4o",
- "user_keys": {
- "openai": {
- "key": "string",
- "org": "string"
}, - "azure_openai": {
- "key": "string",
- "url": "string",
- "deployment": "string",
- "model": "string"
}, - "mistral": {
- "key": "string"
}, - "palm": {
- "credentials": "string",
- "location": "string",
- "gemini_key": "string"
}, - "anthropic": {
- "key": "string"
}, - "claude3": {
- "key": "string"
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": "string"
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "azure_mistral": {
- "key": "string"
}, - "hf_llm": {
- "url": "string",
- "key": "string"
}, - "hf_embedding": {
- "url": "string",
- "key": "",
- "matryoshka": [
- 768,
- 512,
- 256
], - "similarity": "DOT",
- "size": 0,
- "threshold": 0.4,
- "passage_prompt": "Passage: {}",
- "query_prompt": "Represent this sentence for searching relevant passages: {}"
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "user_prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}, - "summary": "extended",
- "summary_model": "chatgpt-azure-4o",
- "summary_prompt": {
- "prompt": "Make a bullet point summary of the following content: {text}"
}, - "prefer_markdown_generative_response": false,
- "semantic_model_configs": { }
}Available Models For A Knowledge Box
Get all available models for a knowledge box grouped by provider
path Parameters
| kbid required | string (Kbid) |
Responses
Response samples
- 200
- 422
{- "providers": {
- "property1": {
- "title": "string",
- "enterprise_readiness": true,
- "models": {
- "property1": {
- "name": "string",
- "title": "string",
- "description": "string",
- "config": {
- "input_tokens": {
- "min": 0,
- "max": 0
}, - "output_tokens": {
- "min": 0,
- "max": 0,
- "default_max": 0
}, - "prompt_id": "string",
- "driver": "microsoft",
- "max_images": 0,
- "assume_role": 0
}, - "features": {
- "reasoning": {
- "default": 0,
- "available_efforts": [
- "minimal"
]
}, - "tools": { },
- "structured_output": { },
- "vision": { },
- "streaming": { },
- "system_message": { },
- "text_extraction": { },
- "custom_keys": { },
- "file_input": { }
}, - "metadata": {
- "data_region": "USA",
- "deployed_region": "string",
- "deprecated": false,
- "shut_down_date": "2019-08-24T14:15:22Z",
- "superseded_by": "string",
- "stability": "stable",
- "knowledge_cutoff_date": "2019-08-24T14:15:22Z",
- "release_date": "2019-08-24T14:15:22Z"
}
}, - "property2": {
- "name": "string",
- "title": "string",
- "description": "string",
- "config": {
- "input_tokens": {
- "min": 0,
- "max": 0
}, - "output_tokens": {
- "min": 0,
- "max": 0,
- "default_max": 0
}, - "prompt_id": "string",
- "driver": "microsoft",
- "max_images": 0,
- "assume_role": 0
}, - "features": {
- "reasoning": {
- "default": 0,
- "available_efforts": [
- "minimal"
]
}, - "tools": { },
- "structured_output": { },
- "vision": { },
- "streaming": { },
- "system_message": { },
- "text_extraction": { },
- "custom_keys": { },
- "file_input": { }
}, - "metadata": {
- "data_region": "USA",
- "deployed_region": "string",
- "deprecated": false,
- "shut_down_date": "2019-08-24T14:15:22Z",
- "superseded_by": "string",
- "stability": "stable",
- "knowledge_cutoff_date": "2019-08-24T14:15:22Z",
- "release_date": "2019-08-24T14:15:22Z"
}
}
}
}, - "property2": {
- "title": "string",
- "enterprise_readiness": true,
- "models": {
- "property1": {
- "name": "string",
- "title": "string",
- "description": "string",
- "config": {
- "input_tokens": {
- "min": 0,
- "max": 0
}, - "output_tokens": {
- "min": 0,
- "max": 0,
- "default_max": 0
}, - "prompt_id": "string",
- "driver": "microsoft",
- "max_images": 0,
- "assume_role": 0
}, - "features": {
- "reasoning": {
- "default": 0,
- "available_efforts": [
- "minimal"
]
}, - "tools": { },
- "structured_output": { },
- "vision": { },
- "streaming": { },
- "system_message": { },
- "text_extraction": { },
- "custom_keys": { },
- "file_input": { }
}, - "metadata": {
- "data_region": "USA",
- "deployed_region": "string",
- "deprecated": false,
- "shut_down_date": "2019-08-24T14:15:22Z",
- "superseded_by": "string",
- "stability": "stable",
- "knowledge_cutoff_date": "2019-08-24T14:15:22Z",
- "release_date": "2019-08-24T14:15:22Z"
}
}, - "property2": {
- "name": "string",
- "title": "string",
- "description": "string",
- "config": {
- "input_tokens": {
- "min": 0,
- "max": 0
}, - "output_tokens": {
- "min": 0,
- "max": 0,
- "default_max": 0
}, - "prompt_id": "string",
- "driver": "microsoft",
- "max_images": 0,
- "assume_role": 0
}, - "features": {
- "reasoning": {
- "default": 0,
- "available_efforts": [
- "minimal"
]
}, - "tools": { },
- "structured_output": { },
- "vision": { },
- "streaming": { },
- "system_message": { },
- "text_extraction": { },
- "custom_keys": { },
- "file_input": { }
}, - "metadata": {
- "data_region": "USA",
- "deployed_region": "string",
- "deprecated": false,
- "shut_down_date": "2019-08-24T14:15:22Z",
- "superseded_by": "string",
- "stability": "stable",
- "knowledge_cutoff_date": "2019-08-24T14:15:22Z",
- "release_date": "2019-08-24T14:15:22Z"
}
}
}
}
}
}Learning Configuration Schema
Get jsonschema definition for learning_configuration field of knowledgebox creation payload
Responses
Response samples
- 200
- 422
{- "semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "semantic_models": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "default_semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "anonymization_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "visual_labeling": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "generative_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "ner_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "relation_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "user_keys": {
- "schemas": { },
- "create": false,
- "update": false
}, - "user_prompts": {
- "schemas": { },
- "create": false,
- "update": false
}, - "summary_prompt": {
- "schemas": { },
- "create": false,
- "update": false
}, - "prefer_markdown_generative_response": {
- "schemas": { },
- "create": false,
- "update": false
}
}Learning Configuration Schema
Get jsonschema definition for learning_configuration field of knowledgebox creation payload
Responses
Response samples
- 200
- 422
{- "semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "semantic_models": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "default_semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "anonymization_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "visual_labeling": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "generative_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "ner_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "relation_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "user_keys": {
- "schemas": { },
- "create": false,
- "update": false
}, - "user_prompts": {
- "schemas": { },
- "create": false,
- "update": false
}, - "summary_prompt": {
- "schemas": { },
- "create": false,
- "update": false
}, - "prefer_markdown_generative_response": {
- "schemas": { },
- "create": false,
- "update": false
}
}Learning Configuration Schema
Get jsonschema definition for learning_configuration field of knowledgebox update payload
path Parameters
| kbid required | string (Kbid) |
Responses
Response samples
- 200
- 422
{- "semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "semantic_models": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "default_semantic_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "anonymization_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "visual_labeling": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "generative_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "ner_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "relation_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary_model": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "summary": {
- "options": [
- {
- "name": "string",
- "description": "string",
- "value": "string",
- "provider": "string",
- "user_prompt": "string",
- "user_key": "string"
}
], - "default": "string",
- "create": false,
- "update": false,
- "multiple": false
}, - "user_keys": {
- "schemas": { },
- "create": false,
- "update": false
}, - "user_prompts": {
- "schemas": { },
- "create": false,
- "update": false
}, - "summary_prompt": {
- "schemas": { },
- "create": false,
- "update": false
}, - "prefer_markdown_generative_response": {
- "schemas": { },
- "create": false,
- "update": false
}
}Predict Chat
Chat interface for your NucliaDB
query Parameters
| model | string (Model) Default: "chatgpt-azure-4o" |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| question required | string (Question) |
| retrieval | boolean (Retrieval) Default: true |
| user_id | string (User Id) Default: "system" |
System (string) or System (null) (System) | |
Array of objects (Chat History) Default: [] | |
Array of objects (Context) Default: [] | |
Array of Query Context (strings) or Query Context (object) (Query Context) Default: {} | |
object (Query Context Order) Default: {} | |
Truncate (boolean) or Truncate (null) (Truncate) Default: true | |
UserPrompt (object) or null | |
Citations (boolean) or CitationsType (string) or Citations (null) (Citations) Whether to include citations in the response. If set to None or False, no citations will be computed. If set to True or 'default', citations will be computed after answer generation and send as a separate | |
Citation Threshold (number) or Citation Threshold (null) (Citation Threshold) If citations is set to True or 'default', this will be the similarity threshold. Value between 0 and 1, lower values will produce more citations. If not set, it will be set to the optimized threshold found by Nuclia. | |
Generative Model (string) or Generative Model (null) (Generative Model) | |
Max Tokens (integer) or Max Tokens (null) (Max Tokens) | |
Array of Query Context Images (objects) or Query Context Images (object) (Query Context Images) Default: {} | |
Prefer Markdown (boolean) or Prefer Markdown (null) (Prefer Markdown) | |
Json Schema (object) or Json Schema (null) (Json Schema) | |
| format_prompt | boolean (Format Prompt) Default: true |
| rerank_context | boolean (Rerank Context) Default: false Whether to reorder the query context based on a reranker. This option will also make it so the first response will contain the scores given for each context piece. |
Array of objects (Tools) List of tools to choose | |
Seed (integer) or Seed (null) (Seed) Seed use for the generative model for a deterministic output. | |
Reasoning (object) or Reasoning (boolean) (Reasoning) Default: false Reasoning options for the generative model. Set to True to enable default reasoning, False to disable, or provide a Reasoning object for custom options. |
Responses
Request samples
- Payload
{- "question": "string",
- "retrieval": true,
- "user_id": "system",
- "system": "string",
- "chat_history": [ ],
- "context": [ ],
- "query_context": { },
- "query_context_order": { },
- "truncate": true,
- "user_prompt": {
- "prompt": "string"
}, - "citations": true,
- "citation_threshold": 1,
- "generative_model": "string",
- "max_tokens": 0,
- "query_context_images": { },
- "prefer_markdown": true,
- "json_schema": { },
- "format_prompt": true,
- "rerank_context": false,
- "tools": [
- {
- "name": "string",
- "description": "string",
- "parameters": { }
}
], - "seed": 0,
- "reasoning": false
}Response samples
- 200
- 422
nullPredict Chat Kbid
Chat interface for your NucliaDB
path Parameters
| kbid required | string (Kbid) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| question required | string (Question) |
| retrieval | boolean (Retrieval) Default: true |
| user_id | string (User Id) Default: "system" |
System (string) or System (null) (System) | |
Array of objects (Chat History) Default: [] | |
Array of objects (Context) Default: [] | |
Array of Query Context (strings) or Query Context (object) (Query Context) Default: {} | |
object (Query Context Order) Default: {} | |
Truncate (boolean) or Truncate (null) (Truncate) Default: true | |
UserPrompt (object) or null | |
Citations (boolean) or CitationsType (string) or Citations (null) (Citations) Whether to include citations in the response. If set to None or False, no citations will be computed. If set to True or 'default', citations will be computed after answer generation and send as a separate | |
Citation Threshold (number) or Citation Threshold (null) (Citation Threshold) If citations is set to True or 'default', this will be the similarity threshold. Value between 0 and 1, lower values will produce more citations. If not set, it will be set to the optimized threshold found by Nuclia. | |
Generative Model (string) or Generative Model (null) (Generative Model) | |
Max Tokens (integer) or Max Tokens (null) (Max Tokens) | |
Array of Query Context Images (objects) or Query Context Images (object) (Query Context Images) Default: {} | |
Prefer Markdown (boolean) or Prefer Markdown (null) (Prefer Markdown) | |
Json Schema (object) or Json Schema (null) (Json Schema) | |
| format_prompt | boolean (Format Prompt) Default: true |
| rerank_context | boolean (Rerank Context) Default: false Whether to reorder the query context based on a reranker. This option will also make it so the first response will contain the scores given for each context piece. |
Array of objects (Tools) List of tools to choose | |
Seed (integer) or Seed (null) (Seed) Seed use for the generative model for a deterministic output. | |
Reasoning (object) or Reasoning (boolean) (Reasoning) Default: false Reasoning options for the generative model. Set to True to enable default reasoning, False to disable, or provide a Reasoning object for custom options. |
Responses
Request samples
- Payload
{- "question": "string",
- "retrieval": true,
- "user_id": "system",
- "system": "string",
- "chat_history": [ ],
- "context": [ ],
- "query_context": { },
- "query_context_order": { },
- "truncate": true,
- "user_prompt": {
- "prompt": "string"
}, - "citations": true,
- "citation_threshold": 1,
- "generative_model": "string",
- "max_tokens": 0,
- "query_context_images": { },
- "prefer_markdown": true,
- "json_schema": { },
- "format_prompt": true,
- "rerank_context": false,
- "tools": [
- {
- "name": "string",
- "description": "string",
- "parameters": { }
}
], - "seed": 0,
- "reasoning": false
}Response samples
- 200
- 422
nullPredict Query Deprecated
Get the vector of a sentence. This endpoint is deprecated, please use the POST endpoint instead.
query Parameters
Text (string) or Text (null) (Text) Text to process | |
| semantic_model | string (Semantic Model) Default: "multilingual-2024-05-06" |
| token_model | string (Token Model) Default: "multilingual" |
| generative_model | string (Generative Model) Default: "chatgpt-azure-4o" |
| rephrase | boolean (Rephrase) Default: false |
Rephrase Prompt (string) or Rephrase Prompt (null) (Rephrase Prompt) Examples: rephrase_prompt=Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.
QUESTION: {question}
Please return ONLY the question without any explanation. Just the rephrased question. rephrase_prompt=Rephrase this question so its better for retrieval, identify any part numbers and append them to the end of the question separated by a commas.
QUESTION: {question}
Please return ONLY the question without any explanation. Prompt to rephrase the sentence, if not provided, the default prompt will be used. It must include the {question} placeholder. The placeholder will be replaced with the original question. | |
| agentic_entities | boolean (Agentic Entities) Default: false If true, the model will return the entities detected in the sentence guided by an already defined Graph Extraction Agent in the Knowledge Box. |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "language": "string",
- "stop_words": [
- "string"
], - "semantic_threshold": 0,
- "semantic_thresholds": {
- "property1": 0,
- "property2": 0
}, - "visual_llm": true,
- "max_context": 0,
- "entities": {
- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "sentence": {
- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "query": "string",
- "rephrased_query": ""
}Predict Query Post
Preprocess a query.
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
Text (string) or Text (null) (Text) The query text to be processed | |
Image (object) or null Image to be considered as part of the query. Even if the | |
| rephrase | boolean (Rephrase) Default: false If true, the model will rephrase the input text before processing |
Rephrase Prompt (string) or Rephrase Prompt (null) (Rephrase Prompt) Custom prompt for rephrasing the input text | |
| generative_model | string (Generative Model) Default: "chatgpt-azure-4o" The generative model to use for rephrasing. |
Array of Semantic Models (strings) or Semantic Models (null) (Semantic Models) Semantic models to compute the sentence vector for, if not provided, it will only compute the sentence vector for default semantic model in the Knowledge box's configuration. | |
| agentic_entities | boolean (Agentic Entities) Default: false If true, the model will return the entities detected in the sentence guided by an already defined Graph Extraction Agent in the Knowledge Box. |
| token_model | string (Token Model) Default: "multilingual" The NER model to use for extracting entities from the input text. |
| semantic_model | string (Semantic Model) Default: "multilingual-2024-05-06" Semantic model to compute the sentence vector for. |
Responses
Request samples
- Payload
{- "text": "string",
- "query_image": {
- "content_type": "string",
- "b64encoded": "string"
}, - "rephrase": false,
- "rephrase_prompt": "Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.\nQUESTION: {question}\nPlease return ONLY the question without any explanation. Just the rephrased question.",
- "generative_model": "chatgpt-azure-4o",
- "semantic_models": [
- "string"
], - "agentic_entities": false,
- "token_model": "multilingual",
- "semantic_model": "multilingual-2024-05-06"
}Response samples
- 200
- 422
{- "language": "string",
- "stop_words": [
- "string"
], - "semantic_threshold": 0,
- "semantic_thresholds": {
- "property1": 0,
- "property2": 0
}, - "visual_llm": true,
- "max_context": 0,
- "entities": {
- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "sentence": {
- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "query": "string",
- "rephrased_query": ""
}Predict Query Kbid Deprecated
Get the vector of a sentence
path Parameters
| kbid required | string (Kbid) |
query Parameters
Text (string) or Text (null) (Text) Text to process | |
Array of Semantic Models (strings) or Semantic Models (null) (Semantic Models) Semantic models to compute the sentence vector for, if not provided, it will only compute the sentence vector for default semantic model in the Knowledge box's configuration. | |
| generative_model | string (Generative Model) Default: "chatgpt-azure-4o-mini" |
| rephrase | boolean (Rephrase) Default: false |
Rephrase Prompt (string) or Rephrase Prompt (null) (Rephrase Prompt) Examples: rephrase_prompt=Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.
QUESTION: {question}
Please return ONLY the question without any explanation. Just the rephrased question. rephrase_prompt=Rephrase this question so its better for retrieval, identify any part numbers and append them to the end of the question separated by a commas.
QUESTION: {question}
Please return ONLY the question without any explanation. Prompt to rephrase the sentence, if not provided, the default prompt will be used. It must include the {question} placeholder. The placeholder will be replaced with the original question. | |
| agentic_entities | boolean (Agentic Entities) Default: false If true, the model will return the entities detected in the sentence guided by an already defined Graph Extraction Agent in the Knowledge Box. |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "language": "string",
- "stop_words": [
- "string"
], - "semantic_threshold": 0,
- "semantic_thresholds": {
- "property1": 0,
- "property2": 0
}, - "visual_llm": true,
- "max_context": 0,
- "entities": {
- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "sentence": {
- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "query": "string",
- "rephrased_query": ""
}Predict Query Post Kbid
Get the vector of a sentence
path Parameters
| kbid required | string (Kbid) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
Text (string) or Text (null) (Text) The query text to be processed | |
Image (object) or null Image to be considered as part of the query. Even if the | |
| rephrase | boolean (Rephrase) Default: false If true, the model will rephrase the input text before processing |
Rephrase Prompt (string) or Rephrase Prompt (null) (Rephrase Prompt) Custom prompt for rephrasing the input text | |
Generative Model (string) or Generative Model (null) (Generative Model) The generative model to use for rephrasing | |
Array of Semantic Models (strings) or Semantic Models (null) (Semantic Models) Semantic models to compute the sentence vector for, if not provided, it will only compute the sentence vector for default semantic model in the Knowledge box's configuration. | |
| agentic_entities | boolean (Agentic Entities) Default: false If true, the model will return the entities detected in the sentence guided by an already defined Graph Extraction Agent in the Knowledge Box. |
Responses
Request samples
- Payload
{- "text": "string",
- "query_image": {
- "content_type": "string",
- "b64encoded": "string"
}, - "rephrase": false,
- "rephrase_prompt": "Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.\nQUESTION: {question}\nPlease return ONLY the question without any explanation. Just the rephrased question.",
- "generative_model": "string",
- "semantic_models": [
- "string"
], - "agentic_entities": false
}Response samples
- 200
- 422
{- "language": "string",
- "stop_words": [
- "string"
], - "semantic_threshold": 0,
- "semantic_thresholds": {
- "property1": 0,
- "property2": 0
}, - "visual_llm": true,
- "max_context": 0,
- "entities": {
- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "sentence": {
- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}, - "query": "string",
- "rephrased_query": ""
}Predict Remi
The REMi model is a model that computes metrics for a given question, answer and contexts. The metrics computed are:
- Answer Relevance: Measures the relevance of the generated answer to the user query, in a scale of 0 to 5.
- Context Relevance: Measures the relevance of the retrieved context to the user query, in a scale of 0 to 5.
- Groundedness: Measures the degree to which the generated answer is grounded in the retrieved context, in a scale of 0 to 5.
More information about REMi metrics and how to interpret in the following link: https://nuclia.com/developers/remi-open-source-rag-evaluation-model/
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| user_id required | string (The user ID of the user making the request) |
(The question or query that the user asked (string)) or (The question or query that the user asked (null)) (The question or query that the user asked) | |
The answer that the model provided (string) or The answer that the model provided (null) (The answer that the model provided) | |
Array of The contexts that the model used to generate the answer (strings) or The contexts that the model used to generate the answer (null) (The contexts that the model used to generate the answer) |
Responses
Request samples
- Payload
{- "user_id": "string",
- "question": "string",
- "answer": "string",
- "contexts": [
- "string"
]
}Response samples
- 200
- 422
{- "time": 0,
- "answer_relevance": {
- "score": 0,
- "reason": "string"
}, - "context_relevance": [
- 0
], - "groundedness": [
- 0
], - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Remi Kbid
The REMi model is a model that computes metrics for a given question, answer and contexts. The metrics computed are:
- Answer Relevance: Measures the relevance of the generated answer to the user query, in a scale of 0 to 5.
- Context Relevance: Measures the relevance of the retrieved context to the user query, in a scale of 0 to 5.
- Groundedness: Measures the degree to which the generated answer is grounded in the retrieved context, in a scale of 0 to 5.
More information about REMi metrics and how to interpret in the following link: https://nuclia.com/developers/remi-open-source-rag-evaluation-model/
path Parameters
| kbid required | string (Kbid) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| user_id required | string (The user ID of the user making the request) |
(The question or query that the user asked (string)) or (The question or query that the user asked (null)) (The question or query that the user asked) | |
The answer that the model provided (string) or The answer that the model provided (null) (The answer that the model provided) | |
Array of The contexts that the model used to generate the answer (strings) or The contexts that the model used to generate the answer (null) (The contexts that the model used to generate the answer) |
Responses
Request samples
- Payload
{- "user_id": "string",
- "question": "string",
- "answer": "string",
- "contexts": [
- "string"
]
}Response samples
- 200
- 422
{- "time": 0,
- "answer_relevance": {
- "score": 0,
- "reason": "string"
}, - "context_relevance": [
- 0
], - "groundedness": [
- 0
], - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Rephrase
Rephrase interface for your NucliaDB
query Parameters
| model | string (Model) Default: "chatgpt-azure-4o" |
Request Body schema: application/jsonrequired
| question required | string (Question) |
Array of objects (Chat History) | |
Array of objects (Context) | |
Array of User Context (strings) or User Context (null) (User Context) | |
| user_id | string (User Id) Default: "system" |
Generative model (string) or Generative model (null) (Generative model) The generative model to use for the rephrase endpoint. If not provided, the model configured for the Knowledge Box is used. | |
Prompt (string) or Prompt (null) (Prompt) Prompt to send the model to rephrase the sentence, if not provided, the default prompt will be used. It must include the {question} placeholder. The placeholder will be replaced with the original question. It will only be used if no user_context is provided. | |
Chat History Relevance Threshold (number) or Chat History Relevance Threshold (null) (Chat History Relevance Threshold) |
Responses
Request samples
- Payload
{- "question": "string",
- "chat_history": [
- {
- "author": "NUCLIA",
- "text": "string"
}
], - "context": [
- {
- "author": "NUCLIA",
- "text": "string"
}
], - "user_context": [
- "string"
], - "user_id": "system",
- "generative_model": "string",
- "prompt": "Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.\nQUESTION: {question}\nPlease return ONLY the question without any explanation. Just the rephrased question.",
- "chat_history_relevance_threshold": 1
}Response samples
- 200
- 422
"string"Predict Rephrase Kbid
Rephrase interface for your NucliaDB with Container
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
| question required | string (Question) |
Array of objects (Chat History) | |
Array of objects (Context) | |
Array of User Context (strings) or User Context (null) (User Context) | |
| user_id | string (User Id) Default: "system" |
Generative model (string) or Generative model (null) (Generative model) The generative model to use for the rephrase endpoint. If not provided, the model configured for the Knowledge Box is used. | |
Prompt (string) or Prompt (null) (Prompt) Prompt to send the model to rephrase the sentence, if not provided, the default prompt will be used. It must include the {question} placeholder. The placeholder will be replaced with the original question. It will only be used if no user_context is provided. | |
Chat History Relevance Threshold (number) or Chat History Relevance Threshold (null) (Chat History Relevance Threshold) |
Responses
Request samples
- Payload
{- "question": "string",
- "chat_history": [
- {
- "author": "NUCLIA",
- "text": "string"
}
], - "context": [
- {
- "author": "NUCLIA",
- "text": "string"
}
], - "user_context": [
- "string"
], - "user_id": "system",
- "generative_model": "string",
- "prompt": "Rephrase this question so its better for retrieval, and keep the rephrased question in the same language as the original.\nQUESTION: {question}\nPlease return ONLY the question without any explanation. Just the rephrased question.",
- "chat_history_relevance_threshold": 1
}Response samples
- 200
- 422
nullPredict Rerank
Rerank your results
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| question required | string (Question) |
| user_id required | string (User Id) |
object (Context) Default: {} |
Responses
Request samples
- Payload
{- "question": "string",
- "user_id": "string",
- "context": { }
}Response samples
- 200
- 422
{- "context_scores": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Rerank Kbid
Rerank your results
path Parameters
| kbid required | string (Kbid) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
| question required | string (Question) |
| user_id required | string (User Id) |
object (Context) Default: {} |
Responses
Request samples
- Payload
{- "question": "string",
- "user_id": "string",
- "context": { }
}Response samples
- 200
- 422
{- "context_scores": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Sentence
Get the vector of a sentence
query Parameters
| text required | string (Text) |
| model | string (Model) Default: "multilingual-2024-05-06" |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Sentence Kbid
Get the vector of a sentence
path Parameters
| kbid required | string (Kbid) |
query Parameters
| text required | string (Text) |
Array of Models (strings) or Models (null) (Models) Semantic models to compute the sentence vector for, if not provided, it will only compute the sentence vector for default semantic model in the Knowledge box's configuration. |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "data": [
- 0
], - "vectors": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "time": 0,
- "timings": {
- "property1": 0,
- "property2": 0
}, - "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Summarize
Get summarized answers via NUA
query Parameters
| model | string (Model) Default: "chatgpt-azure-4o" |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
required | object (Resources) |
| summary_kind | string (SummaryKind) Default: "simple" Enum: "simple" "extended" |
User Prompt (string) or User Prompt (null) (User Prompt) Default: "" | |
Generative Model (string) or Generative Model (null) (Generative Model) |
Responses
Request samples
- Payload
{- "resources": {
- "property1": {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
}, - "summary_kind": "simple",
- "user_prompt": "",
- "generative_model": "string"
}Response samples
- 200
- 422
{- "resources": {
- "property1": {
- "summary": "string",
- "tokens": 0,
- "input_tokens": 0,
- "output_tokens": 0
}, - "property2": {
- "summary": "string",
- "tokens": 0,
- "input_tokens": 0,
- "output_tokens": 0
}
}, - "summary": "",
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Summarize Kbid
Get summarized answers via NUA with Container
path Parameters
| kbid required | string (Kbid) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Request Body schema: application/jsonrequired
required | object (Resources) |
| summary_kind | string (SummaryKind) Default: "simple" Enum: "simple" "extended" |
User Prompt (string) or User Prompt (null) (User Prompt) Default: "" | |
Generative Model (string) or Generative Model (null) (Generative Model) |
Responses
Request samples
- Payload
{- "resources": {
- "property1": {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
}, - "summary_kind": "simple",
- "user_prompt": "",
- "generative_model": "string"
}Response samples
- 200
- 422
{- "resources": {
- "property1": {
- "summary": "string",
- "tokens": 0,
- "input_tokens": 0,
- "output_tokens": 0
}, - "property2": {
- "summary": "string",
- "tokens": 0,
- "input_tokens": 0,
- "output_tokens": 0
}
}, - "summary": "",
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Tokens
Get tokens of a sentence
query Parameters
| text required | string (Text) |
| model | string (Model) Default: "multilingual" |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Predict Tokens Kbid
Get tokens of a sentence with Container
path Parameters
| kbid required | string (Kbid) |
query Parameters
| text required | string (Text) |
header Parameters
| x-show-consumption | boolean (X-Show-Consumption) Default: false |
Responses
Response samples
- 200
- 422
{- "tokens": [ ],
- "time": 0,
- "input_tokens": 0,
- "consumption": {
- "normalized_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}, - "customer_key_tokens": {
- "input": 0,
- "output": 0,
- "image": 0
}
}
}Upload Partition Account
Upload a partition of a dataset
path Parameters
| dataset_id required | string (Dataset Id) |
| account_id required | string (Account Id) |
| partition_id required | string (Partition Id) |
header Parameters
| content-length required | integer (Content-Length) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete Dataset Partition
Deletes a partition of a dataset
path Parameters
| dataset_id required | string (Dataset Id) |
| partition_id required | string (Partition Id) ^[a-zA-Z0-9-_]+$ |
| account_id required | string (Account Id) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Create Dataset Account
Creates a new dataset
path Parameters
| account_id required | string (Account Id) |
Request Body schema: application/jsonrequired
| name required | string (Name) |
required | object (DatasetFilter) |
| type required | string (Task-Input) Enum: "PARAGRAPH_CLASSIFICATION" "FIELD_CLASSIFICATION" "SENTENCE_CLASSIFICATION" "TOKEN_CLASSIFICATION" "IMAGE_CLASSIFICATION" "PARAGRAPH_STREAMING" "QUESTION_ANSWER_STREAMING" "FIELD_STREAMING" |
Responses
Request samples
- Payload
{- "name": "string",
- "filter": {
- "labels": [
- "string"
]
}, - "type": "PARAGRAPH_CLASSIFICATION"
}Response samples
- 201
- 422
{- "id": "string"
}Response samples
- 201
- 422
{- "datasets": [
- {
- "id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "nua_client_id": "string",
- "account_type": "string",
- "type": "string",
- "path": "string",
- "filter": { },
- "name": "string"
}
]
}Upload Partition
Upload a partition of a dataset
path Parameters
| dataset_id required | string (Dataset Id) |
| partition_id required | string (Partition Id) |
header Parameters
| content-length required | integer (Content-Length) |
Responses
Response samples
- 422
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Create Dataset
Creates a new dataset
Request Body schema: application/jsonrequired
| name required | string (Name) |
required | object (DatasetFilter) |
| type required | string (Task-Input) Enum: "PARAGRAPH_CLASSIFICATION" "FIELD_CLASSIFICATION" "SENTENCE_CLASSIFICATION" "TOKEN_CLASSIFICATION" "IMAGE_CLASSIFICATION" "PARAGRAPH_STREAMING" "QUESTION_ANSWER_STREAMING" "FIELD_STREAMING" |
Responses
Request samples
- Payload
{- "name": "string",
- "filter": {
- "labels": [
- "string"
]
}, - "type": "PARAGRAPH_CLASSIFICATION"
}Response samples
- 201
- 422
{- "id": "string"
}Patch Driver
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| driver required | string (Driver) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| identifier required | string (Identifier) |
| name required | string (Name) |
| provider required | string (Provider) Value: "brave" |
required | object (BraveInnerConfig) |
Responses
Request samples
- Payload
{- "id": "string",
- "identifier": "string",
- "name": "string",
- "provider": "brave",
- "config": {
- "endpoint": "web",
- "key": "string"
}
}Response samples
- 200
- 422
nullAdd Driver
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| identifier required | string (Identifier) |
| name required | string (Name) |
| provider required | string (Provider) Value: "brave" |
required | object (BraveInnerConfig) |
Responses
Request samples
- Payload
{- "id": "string",
- "identifier": "string",
- "name": "string",
- "provider": "brave",
- "config": {
- "endpoint": "web",
- "key": "string"
}
}Response samples
- 200
- 422
{- "id": "string"
}Request Export Retrieval Agent
Request the export of a Retrieval Agent. This will send an email with a download link to the email associated with the account.
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
| passphrase required | string (Passphrase) >= 16 characters Passphrase to encrypt the exported configuration. Will be required for import. |
Responses
Request samples
- Payload
{- "passphrase": "stringstringstri"
}Response samples
- 200
- 422
nullAdd Generation
Add Generation Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "summarize" Value: "summarize" |
Prompt (string) or Prompt (null) (Prompt) | |
| model | string (Generative model) Default: "chatgpt-azure-4o-mini" Model used to generate the response |
| images | boolean (Images) Default: false |
| conversational | boolean (Conversational) Default: false |
| include_mcp_prompts | boolean (If MCP prompts were used during the context steps, include them in the prompt to generate the final answer) Default: false |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}Response samples
- 200
- 422
{- "id": "string"
}Response samples
- 200
- 422
[- {
- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}
]Patch Generation
Set PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| generation required | string (Generation) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "summarize" Value: "summarize" |
Prompt (string) or Prompt (null) (Prompt) | |
| model | string (Generative model) Default: "chatgpt-azure-4o-mini" Model used to generate the response |
| images | boolean (Images) Default: false |
| conversational | boolean (Conversational) Default: false |
| include_mcp_prompts | boolean (If MCP prompts were used during the context steps, include them in the prompt to generate the final answer) Default: false |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}Response samples
- 200
- 422
nullImport Retrieval Agent
Import Retrieval Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: multipart/form-datarequired
| file required | string <binary> (File) |
| passphrase required | string (Passphrase) Passphrase for the encrypted export file |
| overwrite | boolean (Overwrite) Default: false Whether to overwrite existing agent configuration. If false and the agent configuration is not empty, the import will fail. |
Responses
Response samples
- 200
- 422
nullAdd Postprocess
Add PostProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "remi" Value: "remi" |
| context_granularity | string (Granularity of the contexts pieces) Default: "full" Enum: "full" "partial_answers" Granularity of the context pieces sent to REMi for groundedness evaluation. If 'partial_answers', the evaluation will use agent-level answer attempts to the question when available for a speedier analysis. If 'full', the evaluation will use all individual text chunks that each agent generated for a more detailed analysis. |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "remi",
- "context_granularity": "full"
}Response samples
- 200
- 422
{- "id": "string"
}Patch Postprocess
Set PostProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| postprocess required | string (Postprocess) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "remi" Value: "remi" |
| context_granularity | string (Granularity of the contexts pieces) Default: "full" Enum: "full" "partial_answers" Granularity of the context pieces sent to REMi for groundedness evaluation. If 'partial_answers', the evaluation will use agent-level answer attempts to the question when available for a speedier analysis. If 'full', the evaluation will use all individual text chunks that each agent generated for a more detailed analysis. |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "remi",
- "context_granularity": "full"
}Response samples
- 200
- 422
nullAdd Preprocess
Add PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "historical" Value: "historical" |
| all required | boolean (All) |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "historical",
- "all": true
}Response samples
- 200
- 422
{- "id": "string"
}Patch Preprocess
Set PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| preprocess required | string (Preprocess) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "historical" Value: "historical" |
| all required | boolean (All) |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "historical",
- "all": true
}Response samples
- 200
- 422
nullSet Rules
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
required | Array of Rule (object) or strings (Rules) | ||||
Array Any of
| |||||
Responses
Request samples
- Payload
{- "rules": [
- {
- "prompt": "string"
}
]
}Response samples
- 200
- 422
nullInteraction
Interact session
path Parameters
| kbid required | string (Kbid) |
| session required | string (Session) |
query Parameters
From Cursor (integer) or From Cursor (null) (From Cursor) |
Request Body schema: application/jsonrequired
| question required | string (Question) |
object (Headers) Default: {} | |
| operation | integer (InteractionOperation) Default: 0 Enum: 0 1 |
Responses
Request samples
- Payload
{- "question": "string",
- "headers": { },
- "operation": 0
}Response samples
- 200
- 422
nullCreate Session
Create session
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
| slug required | string (Slug) |
| name required | string (Name) |
| summary required | string (Summary) |
| data required | string (Data) |
| format required | string (TextFormat) Enum: "PLAIN" "HTML" "RST" "MARKDOWN" "JSON" "KEEP_MARKDOWN" "JSONL" "PLAIN_BLANKLINE_SPLIT" |
Responses
Request samples
- Payload
{- "slug": "string",
- "name": "string",
- "summary": "string",
- "data": "string",
- "format": "PLAIN"
}Response samples
- 200
- 422
{- "uuid": "string",
- "elapsed": 0,
- "seqid": 0
}Patch Driver
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| driver required | string (Driver) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| identifier required | string (Identifier) |
| name required | string (Name) |
| provider required | string (Provider) Value: "brave" |
required | object (BraveInnerConfig) |
Responses
Request samples
- Payload
{- "id": "string",
- "identifier": "string",
- "name": "string",
- "provider": "brave",
- "config": {
- "endpoint": "web",
- "key": "string"
}
}Response samples
- 200
- 422
nullAdd Driver
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| identifier required | string (Identifier) |
| name required | string (Name) |
| provider required | string (Provider) Value: "brave" |
required | object (BraveInnerConfig) |
Responses
Request samples
- Payload
{- "id": "string",
- "identifier": "string",
- "name": "string",
- "provider": "brave",
- "config": {
- "endpoint": "web",
- "key": "string"
}
}Response samples
- 200
- 422
{- "id": "string"
}Request Export Retrieval Agent
Request the export of a Retrieval Agent. This will send an email with a download link to the email associated with the account.
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
| passphrase required | string (Passphrase) >= 16 characters Passphrase to encrypt the exported configuration. Will be required for import. |
Responses
Request samples
- Payload
{- "passphrase": "stringstringstri"
}Response samples
- 200
- 422
nullAdd Generation
Add Generation Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "summarize" Value: "summarize" |
Prompt (string) or Prompt (null) (Prompt) | |
| model | string (Generative model) Default: "chatgpt-azure-4o-mini" Model used to generate the response |
| images | boolean (Images) Default: false |
| conversational | boolean (Conversational) Default: false |
| include_mcp_prompts | boolean (If MCP prompts were used during the context steps, include them in the prompt to generate the final answer) Default: false |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}Response samples
- 200
- 422
{- "id": "string"
}Response samples
- 200
- 422
[- {
- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}
]Patch Generation
Set PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| generation required | string (Generation) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "summarize" Value: "summarize" |
Prompt (string) or Prompt (null) (Prompt) | |
| model | string (Generative model) Default: "chatgpt-azure-4o-mini" Model used to generate the response |
| images | boolean (Images) Default: false |
| conversational | boolean (Conversational) Default: false |
| include_mcp_prompts | boolean (If MCP prompts were used during the context steps, include them in the prompt to generate the final answer) Default: false |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "summarize",
- "prompt": "string",
- "model": "chatgpt-azure-4o-mini",
- "images": false,
- "conversational": false,
- "include_mcp_prompts": false
}Response samples
- 200
- 422
nullImport Retrieval Agent
Import Retrieval Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: multipart/form-datarequired
| file required | string <binary> (File) |
| passphrase required | string (Passphrase) Passphrase for the encrypted export file |
| overwrite | boolean (Overwrite) Default: false Whether to overwrite existing agent configuration. If false and the agent configuration is not empty, the import will fail. |
Responses
Response samples
- 200
- 422
nullAdd Postprocess
Add PostProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "remi" Value: "remi" |
| context_granularity | string (Granularity of the contexts pieces) Default: "full" Enum: "full" "partial_answers" Granularity of the context pieces sent to REMi for groundedness evaluation. If 'partial_answers', the evaluation will use agent-level answer attempts to the question when available for a speedier analysis. If 'full', the evaluation will use all individual text chunks that each agent generated for a more detailed analysis. |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "remi",
- "context_granularity": "full"
}Response samples
- 200
- 422
{- "id": "string"
}Patch Postprocess
Set PostProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| postprocess required | string (Postprocess) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "remi" Value: "remi" |
| context_granularity | string (Granularity of the contexts pieces) Default: "full" Enum: "full" "partial_answers" Granularity of the context pieces sent to REMi for groundedness evaluation. If 'partial_answers', the evaluation will use agent-level answer attempts to the question when available for a speedier analysis. If 'full', the evaluation will use all individual text chunks that each agent generated for a more detailed analysis. |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "remi",
- "context_granularity": "full"
}Response samples
- 200
- 422
nullAdd Preprocess
Add PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "historical" Value: "historical" |
| all required | boolean (All) |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "historical",
- "all": true
}Response samples
- 200
- 422
{- "id": "string"
}Patch Preprocess
Set PreProcess Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
| preprocess required | string (Preprocess) |
Request Body schema: application/jsonrequired
Id (string) or Id (null) (Id) | |
| title | string (Title) Default: "agent" |
Array of Rules (strings) or Rules (null) (Rules) | |
| max_retries | integer (Max Retries) Default: 1 |
| module | string (Module) Default: "historical" Value: "historical" |
| all required | boolean (All) |
Responses
Request samples
- Payload
{- "id": "string",
- "title": "agent",
- "rules": [
- "string"
], - "max_retries": 1,
- "module": "historical",
- "all": true
}Response samples
- 200
- 422
nullSet Rules
Set Agent Configuration
path Parameters
| agent_id required | string (Agent Id) |
Request Body schema: application/jsonrequired
required | Array of Rule (object) or strings (Rules) | ||||
Array Any of
| |||||
Responses
Request samples
- Payload
{- "rules": [
- {
- "prompt": "string"
}
]
}Response samples
- 200
- 422
nullInteraction
Interact session
path Parameters
| kbid required | string (Kbid) |
| session required | string (Session) |
query Parameters
From Cursor (integer) or From Cursor (null) (From Cursor) |
Request Body schema: application/jsonrequired
| question required | string (Question) |
object (Headers) Default: {} | |
| operation | integer (InteractionOperation) Default: 0 Enum: 0 1 |
Responses
Request samples
- Payload
{- "question": "string",
- "headers": { },
- "operation": 0
}Response samples
- 200
- 422
nullPatch Session
Create session
path Parameters
| kbid required | string (Kbid) |
| session required | string (Session) |
Request Body schema: application/jsonrequired
| slug required | string (Slug) |
| name required | string (Name) |
| summary required | string (Summary) |
| data required | string (Data) |
| format required | string (TextFormat) Enum: "PLAIN" "HTML" "RST" "MARKDOWN" "JSON" "KEEP_MARKDOWN" "JSONL" "PLAIN_BLANKLINE_SPLIT" |
Responses
Request samples
- Payload
{- "slug": "string",
- "name": "string",
- "summary": "string",
- "data": "string",
- "format": "PLAIN"
}Response samples
- 200
- 422
nullGet Session
Create session
path Parameters
| kbid required | string (Kbid) |
| session required | string (Session) |
Responses
Response samples
- 200
- 422
{- "id": "string",
- "slug": "string",
- "title": "string",
- "summary": "string",
- "icon": "string",
- "thumbnail": "string",
- "metadata": {
- "metadata": { },
- "language": "string",
- "languages": [
- "string"
], - "status": "PENDING"
}, - "usermetadata": {
- "classifications": [ ],
- "relations": [ ]
}, - "fieldmetadata": [
- {
- "paragraphs": [ ],
- "question_answers": [ ],
- "field": {
- "field_type": "file",
- "field": "string"
}
}
], - "computedmetadata": {
- "field_classifications": [ ]
}, - "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "last_seqid": 0,
- "last_account_seq": 0,
- "queue": "private",
- "hidden": true,
- "origin": {
- "source_id": "string",
- "url": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "metadata": { },
- "tags": [ ],
- "collaborators": [ ],
- "filename": "string",
- "related": [ ],
- "path": "string",
- "source": "API"
}, - "extra": {
- "metadata": { }
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": "string",
- "source_start": 0,
- "source_end": 0,
- "to_start": 0,
- "to_end": 0,
- "data_augmentation_task_id": "string"
}, - "from": {
- "value": "string",
- "type": "entity",
- "group": "string"
}, - "to": {
- "value": "string",
- "type": "entity",
- "group": "string"
}
}
], - "data": {
- "texts": {
- "property1": {
- "value": {
- "body": "string",
- "format": "PLAIN",
- "md5": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "body": "string",
- "format": "PLAIN",
- "md5": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "files": {
- "property1": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "file": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "password": "string",
- "external": false,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "file": {
- "language": "string",
- "md5": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "nested": {
- "property1": "string",
- "property2": "string"
}, - "file_generated": {
- "property1": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "property2": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
}, - "file_rows_previews": {
- "property1": {
- "sheets": {
- "property1": {
- "rows": null
}, - "property2": {
- "rows": null
}
}
}, - "property2": {
- "sheets": {
- "property1": {
- "rows": null
}, - "property2": {
- "rows": null
}
}
}
}, - "file_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "file_pages_previews": {
- "pages": [
- {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
], - "positions": [
- {
- "start": 0,
- "end": 0
}
], - "structures": [
- {
- "page": {
- "width": null,
- "height": null
}, - "tokens": [
- null
]
}
]
}, - "file_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "icon": "string",
- "nested_position": {
- "property1": {
- "start": 0,
- "end": 0,
- "page": 0
}, - "property2": {
- "start": 0,
- "end": 0,
- "page": 0
}
}, - "nested_list_position": {
- "property1": {
- "positions": [
- {
- "start": null,
- "end": null,
- "page": null
}
]
}, - "property2": {
- "positions": [
- {
- "start": null,
- "end": null,
- "page": null
}
]
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "file": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "password": "string",
- "external": false,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "file": {
- "language": "string",
- "md5": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "nested": {
- "property1": "string",
- "property2": "string"
}, - "file_generated": {
- "property1": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "property2": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
}, - "file_rows_previews": {
- "property1": {
- "sheets": {
- "property1": {
- "rows": null
}, - "property2": {
- "rows": null
}
}
}, - "property2": {
- "sheets": {
- "property1": {
- "rows": null
}, - "property2": {
- "rows": null
}
}
}
}, - "file_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "file_pages_previews": {
- "pages": [
- {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
], - "positions": [
- {
- "start": 0,
- "end": 0
}
], - "structures": [
- {
- "page": {
- "width": null,
- "height": null
}, - "tokens": [
- null
]
}
]
}, - "file_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "icon": "string",
- "nested_position": {
- "property1": {
- "start": 0,
- "end": 0,
- "page": 0
}, - "property2": {
- "start": 0,
- "end": 0,
- "page": 0
}
}, - "nested_list_position": {
- "property1": {
- "positions": [
- {
- "start": null,
- "end": null,
- "page": null
}
]
}, - "property2": {
- "positions": [
- {
- "start": null,
- "end": null,
- "page": null
}
]
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "links": {
- "property1": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "cookies": {
- "property1": "string",
- "property2": "string"
}, - "uri": "string",
- "language": "string",
- "localstorage": {
- "property1": "string",
- "property2": "string"
}, - "css_selector": "string",
- "xpath": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "link": {
- "date": "2019-08-24T14:15:22Z",
- "language": "string",
- "title": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "link_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "link_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "link_image": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "description": "string",
- "type": "string",
- "embed": "string",
- "file_generated": {
- "property1": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "property2": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "cookies": {
- "property1": "string",
- "property2": "string"
}, - "uri": "string",
- "language": "string",
- "localstorage": {
- "property1": "string",
- "property2": "string"
}, - "css_selector": "string",
- "xpath": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "link": {
- "date": "2019-08-24T14:15:22Z",
- "language": "string",
- "title": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "link_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "link_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "link_image": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "description": "string",
- "type": "string",
- "embed": "string",
- "file_generated": {
- "property1": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "property2": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "conversations": {
- "property1": {
- "value": {
- "pages": 0,
- "size": 0,
- "total": 0,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "pages": 0,
- "size": 0,
- "total": 0,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "generics": {
- "property1": {
- "value": "string",
- "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": "string",
- "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": 0,
- "end": 0,
- "start_seconds": [
- null
], - "end_seconds": [
- null
], - "kind": "TEXT",
- "classifications": [
- null
], - "sentences": [
- null
], - "key": "string",
- "page": {
- "page": null,
- "page_with_visual": null
}, - "representation": {
- "is_a_table": null,
- "reference_file": null
}, - "relations": {
- "parents": [ ],
- "siblings": [ ],
- "replacements": [ ]
}
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [
- null
]
}, - "property2": {
- "entities": [
- null
]
}
}, - "classifications": [
- {
- "labelset": "string",
- "label": "string"
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [
- null
], - "entity": "string"
}, - "property2": {
- "position": [
- null
], - "entity": "string"
}
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": null,
- "source_start": null,
- "source_end": null,
- "to_start": null,
- "to_end": null,
- "data_augmentation_task_id": null
}, - "from": {
- "value": null,
- "type": null,
- "group": null
}, - "to": {
- "value": null,
- "type": null,
- "group": null
}
}
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}, - "property2": {
- "links": [
- "string"
], - "paragraphs": [
- {
- "start": null,
- "end": null,
- "start_seconds": null,
- "end_seconds": null,
- "kind": null,
- "classifications": null,
- "sentences": null,
- "key": null,
- "page": null,
- "representation": null,
- "relations": null
}
], - "ner": {
- "property1": "string",
- "property2": "string"
}, - "entities": {
- "property1": {
- "entities": [ ]
}, - "property2": {
- "entities": [ ]
}
}, - "classifications": [
- {
- "labelset": null,
- "label": null
}
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": {
- "position": [ ],
- "entity": null
}, - "property2": {
- "position": [ ],
- "entity": null
}
}, - "relations": [
- {
- "relation": null,
- "label": null,
- "metadata": null,
- "from": null,
- "to": null
}
], - "mime_type": "string"
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- {
- "token": "string",
- "root": "string",
- "type": "string"
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "split_metadata": {
- "property1": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "entities": [
- {
- "token": null,
- "root": null,
- "type": null
}
], - "tokens": {
- "property1": 0,
- "property2": 0
}
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- {
- "start": 0,
- "end": 0,
- "start_paragraph": 0,
- "end_paragraph": 0,
- "vector": [
- null
]
}
]
}, - "split_vectors": {
- "property1": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}, - "property2": {
- "vectors": [
- {
- "start": null,
- "end": null,
- "start_paragraph": null,
- "end_paragraph": null,
- "vector": null
}
]
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- {
- "question": {
- "text": null,
- "language": null,
- "ids_paragraphs": [ ]
}, - "answers": [
- null
]
}
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}, - "property2": {
- "question_answer": [
- {
- "question": null,
- "answers": [ ]
}
]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}
}, - "security": {
- "access_groups": [ ]
}
}Create Session
Create session
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
| slug required | string (Slug) |
| name required | string (Name) |
| summary required | string (Summary) |
| data required | string (Data) |
| format required | string (TextFormat) Enum: "PLAIN" "HTML" "RST" "MARKDOWN" "JSON" "KEEP_MARKDOWN" "JSONL" "PLAIN_BLANKLINE_SPLIT" |
Responses
Request samples
- Payload
{- "slug": "string",
- "name": "string",
- "summary": "string",
- "data": "string",
- "format": "PLAIN"
}Response samples
- 200
- 422
{- "uuid": "string",
- "elapsed": 0,
- "seqid": 0
}Get Sessions
Create session
path Parameters
| kbid required | string (Kbid) |
query Parameters
| page | integer (Page) Default: 0 Requested page number (0-based) |
| size | integer (Size) Default: 20 Page size |
Responses
Response samples
- 200
- 422
{- "resources": [
- {
- "id": "string",
- "slug": "string",
- "title": "string",
- "summary": "string",
- "icon": "string",
- "thumbnail": "string",
- "metadata": {
- "metadata": { },
- "language": "string",
- "languages": [
- "string"
], - "status": "PENDING"
}, - "usermetadata": {
- "classifications": [ ],
- "relations": [ ]
}, - "fieldmetadata": [
- {
- "paragraphs": [ ],
- "question_answers": [ ],
- "field": {
- "field_type": "file",
- "field": "string"
}
}
], - "computedmetadata": {
- "field_classifications": [ ]
}, - "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "last_seqid": 0,
- "last_account_seq": 0,
- "queue": "private",
- "hidden": true,
- "origin": {
- "source_id": "string",
- "url": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "metadata": { },
- "tags": [ ],
- "collaborators": [ ],
- "filename": "string",
- "related": [ ],
- "path": "string",
- "source": "API"
}, - "extra": {
- "metadata": { }
}, - "relations": [
- {
- "relation": "ABOUT",
- "label": "string",
- "metadata": {
- "paragraph_id": "string",
- "source_start": 0,
- "source_end": 0,
- "to_start": 0,
- "to_end": 0,
- "data_augmentation_task_id": "string"
}, - "from": {
- "value": "string",
- "type": "entity",
- "group": "string"
}, - "to": {
- "value": "string",
- "type": "entity",
- "group": "string"
}
}
], - "data": {
- "texts": {
- "property1": {
- "value": {
- "body": "string",
- "format": "PLAIN",
- "md5": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "body": "string",
- "format": "PLAIN",
- "md5": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "files": {
- "property1": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "file": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "password": "string",
- "external": false,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}, - "file": {
- "language": "string",
- "md5": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "nested": {
- "property1": "string",
- "property2": "string"
}, - "file_generated": {
- "property1": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "property2": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}
}, - "file_rows_previews": {
- "property1": {
- "sheets": null
}, - "property2": {
- "sheets": null
}
}, - "file_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "file_pages_previews": {
- "pages": [
- null
], - "positions": [
- null
], - "structures": [
- null
]
}, - "file_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "icon": "string",
- "nested_position": {
- "property1": {
- "start": null,
- "end": null,
- "page": null
}, - "property2": {
- "start": null,
- "end": null,
- "page": null
}
}, - "nested_list_position": {
- "property1": {
- "positions": [ ]
}, - "property2": {
- "positions": [ ]
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "file": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "language": "string",
- "password": "string",
- "external": false,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}, - "file": {
- "language": "string",
- "md5": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "nested": {
- "property1": "string",
- "property2": "string"
}, - "file_generated": {
- "property1": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "property2": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}
}, - "file_rows_previews": {
- "property1": {
- "sheets": null
}, - "property2": {
- "sheets": null
}
}, - "file_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "file_pages_previews": {
- "pages": [
- null
], - "positions": [
- null
], - "structures": [
- null
]
}, - "file_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "icon": "string",
- "nested_position": {
- "property1": {
- "start": null,
- "end": null,
- "page": null
}, - "property2": {
- "start": null,
- "end": null,
- "page": null
}
}, - "nested_list_position": {
- "property1": {
- "positions": [ ]
}, - "property2": {
- "positions": [ ]
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "links": {
- "property1": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "cookies": {
- "property1": "string",
- "property2": "string"
}, - "uri": "string",
- "language": "string",
- "localstorage": {
- "property1": "string",
- "property2": "string"
}, - "css_selector": "string",
- "xpath": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}, - "link": {
- "date": "2019-08-24T14:15:22Z",
- "language": "string",
- "title": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "link_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "link_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "link_image": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "description": "string",
- "type": "string",
- "embed": "string",
- "file_generated": {
- "property1": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "property2": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "added": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "cookies": {
- "property1": "string",
- "property2": "string"
}, - "uri": "string",
- "language": "string",
- "localstorage": {
- "property1": "string",
- "property2": "string"
}, - "css_selector": "string",
- "xpath": "string",
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}, - "link": {
- "date": "2019-08-24T14:15:22Z",
- "language": "string",
- "title": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "link_thumbnail": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "link_preview": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "field": "string",
- "link_image": {
- "uri": "string",
- "size": 0,
- "content_type": "string",
- "filename": "string",
- "md5": "string"
}, - "description": "string",
- "type": "string",
- "embed": "string",
- "file_generated": {
- "property1": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "property2": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}
}
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "conversations": {
- "property1": {
- "value": {
- "pages": 0,
- "size": 0,
- "total": 0,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": {
- "pages": 0,
- "size": 0,
- "total": 0,
- "extract_strategy": "string",
- "split_strategy": "string"
}, - "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}, - "generics": {
- "property1": {
- "value": "string",
- "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}, - "property2": {
- "value": "string",
- "extracted": {
- "text": {
- "text": "string",
- "split_text": {
- "property1": "string",
- "property2": "string"
}, - "deleted_splits": [
- "string"
]
}, - "metadata": {
- "metadata": {
- "links": [
- null
], - "paragraphs": [
- null
], - "ner": {
- "property1": null,
- "property2": null
}, - "entities": {
- "property1": null,
- "property2": null
}, - "classifications": [
- null
], - "last_index": "2019-08-24T14:15:22Z",
- "last_understanding": "2019-08-24T14:15:22Z",
- "last_extract": "2019-08-24T14:15:22Z",
- "last_summary": "2019-08-24T14:15:22Z",
- "last_processing_start": "2019-08-24T14:15:22Z",
- "thumbnail": {
- "uri": null,
- "size": null,
- "content_type": null,
- "filename": null,
- "md5": null
}, - "language": "string",
- "summary": "string",
- "positions": {
- "property1": null,
- "property2": null
}, - "relations": [
- null
], - "mime_type": "string"
}, - "split_metadata": {
- "property1": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}, - "property2": {
- "links": [ ],
- "paragraphs": [ ],
- "ner": { },
- "entities": { },
- "classifications": [ ],
- "last_index": null,
- "last_understanding": null,
- "last_extract": null,
- "last_summary": null,
- "last_processing_start": null,
- "thumbnail": null,
- "language": null,
- "summary": null,
- "positions": { },
- "relations": null,
- "mime_type": null
}
}, - "deleted_splits": [
- "string"
]
}, - "large_metadata": {
- "metadata": {
- "entities": [
- null
], - "tokens": {
- "property1": null,
- "property2": null
}
}, - "split_metadata": {
- "property1": {
- "entities": null,
- "tokens": null
}, - "property2": {
- "entities": null,
- "tokens": null
}
}, - "deleted_splits": [
- "string"
]
}, - "vectors": {
- "vectors": {
- "vectors": [
- null
]
}, - "split_vectors": {
- "property1": {
- "vectors": null
}, - "property2": {
- "vectors": null
}
}, - "deleted_splits": [
- "string"
]
}, - "question_answers": {
- "question_answers": {
- "question_answer": [
- null
]
}, - "split_question_answers": {
- "property1": {
- "question_answer": [ ]
}, - "property2": {
- "question_answer": [ ]
}
}, - "deleted_splits": [
- "string"
]
}
}, - "error": {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}, - "status": "string",
- "errors": [
- {
- "body": "string",
- "code": 0,
- "code_str": "string",
- "created": "2019-08-24T14:15:22Z",
- "severity": "string"
}
]
}
}
}, - "security": {
- "access_groups": [ ]
}
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "last": true
}
}Start Dataset Task
Start an Ingestion Agent or a Task on a Dataset
path Parameters
| dataset_id required | string (Dataset Id) |
Request Body schema: application/jsonrequired
| name required | string (TaskName) Enum: "dummy" "env" "demo-dataset" "labeler" "llm-graph" "synthetic-questions" "ask" "llm-align" "semantic-model-migrator" "llama-guard" "prompt-guard" |
DataAugmentation (object) or SemanticModelMigrationParams (object) or Parameters (null) (Parameters) Parameters to be passed to the task. These must match the | |
Uuid Task (string) or Uuid Task (null) (Uuid Task) UUID of an already configured task. This is used to start a task that was already configured |
Responses
Request samples
- Payload
{- "name": "dummy",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "uuid_task": "string"
}Response samples
- 200
- 422
{- "name": "dummy",
- "status": "not_running",
- "id": "string"
}Inspect Dataset Task
Get the status of an Ingestion Agent or a Task of a Dataset
path Parameters
| dataset_id required | string (Dataset Id) |
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}List Account Available Tasks
Get the available tasks for a Dataset
path Parameters
| dataset_id required | string (Dataset Id) |
query Parameters
| count | integer (Count) Default: 10 How many finished tasks to return |
Responses
Response samples
- 200
- 422
{- "tasks": [
- {
- "name": "dummy",
- "description": "string",
- "validation": { }
}
], - "running": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}
], - "configs": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "kbid": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "defined_at": "2019-08-24T14:15:22Z",
- "enabled": true
}
], - "done": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}
]
}Start Knowledge Box Task
Start an Ingestion Agent or a Task on a Knowledge Box
path Parameters
| kb_uuid required | string (Kb Uuid) |
Request Body schema: application/jsonrequired
| name required | string (TaskName) Enum: "dummy" "env" "demo-dataset" "labeler" "llm-graph" "synthetic-questions" "ask" "llm-align" "semantic-model-migrator" "llama-guard" "prompt-guard" |
DataAugmentation (object) or SemanticModelMigrationParams (object) or Parameters (null) (Parameters) Parameters to be passed to the task. These must match the | |
Uuid Task (string) or Uuid Task (null) (Uuid Task) UUID of an already configured task. This is used to start a task that was already configured | |
| apply | string (ApplyOptions) Default: "ALL" Enum: "EXISTING" "NEW" "ALL"
|
| enabled | boolean (Enabled) Default: true Whether the task should be enabled at the time of creation. This only applies to tasks involving 'NEW' apply options, as 'EXISTING' tasks start immediately |
Responses
Request samples
- Payload
{- "name": "dummy",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "uuid_task": "string",
- "apply": "EXISTING",
- "enabled": true
}Response samples
- 200
- 422
{- "name": "dummy",
- "status": "not_running",
- "id": "string"
}Patch Knowledge Box Task
Modify the parameters of a task. This is only available for tasks that run on NEW resources, tasks that run on EXISTING resources cannot be modified.
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
Request Body schema: application/jsonrequired
required | DataAugmentation (object) or SemanticModelMigrationParams (object) or Parameters (null) (Parameters) Parameters to be passed to the task. These must match the | ||||||||||||
Any of
| |||||||||||||
Responses
Request samples
- Payload
{- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}
}Response samples
- 200
- 422
{- "task": {
- "name": "string",
- "image_repository": "europe-west4-docker.pkg.dev/nuclia-internal/nuclia",
- "image_name": "string",
- "image_version": "latest",
- "entrypoint": [
- "string"
], - "sentry_id": "string",
- "memory": "1Gi",
- "cpu": "1000m",
- "imagePullPolicy": "Always",
- "use_gpu": false,
- "trainset_type": 0,
- "command": [
- "string"
], - "disallowed_account_types": [ ],
- "model_type": null,
- "listing": true,
- "data_augmentation": false,
- "description": "string",
- "feedback": false,
- "cleanup_command": [
- "string"
]
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "dataset_path": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "token": "string",
- "key_id": "string",
- "ndb_token": "string",
- "log": "string",
- "cleanup_parent_task_id": "string"
}Delete Knowledge Box Task
Delete an Ingestion Agent or a Task of a Knowledge Box
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
query Parameters
| cleanup | boolean (Cleanup) Default: false Cleanup all data associated with the task |
Responses
Response samples
- 200
- 422
nullCleanup Knowledge Box Task
Start a cleanup process for an Ingestion Agent or a Task of a Knowledge Box
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "request": {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": null,
- "label": null
}
], - "relations": [
- {
- "source": null,
- "target": null,
- "label": null
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}, - "config": {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "kbid": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": null,
- "label": null
}
], - "relations": [
- {
- "source": null,
- "target": null,
- "label": null
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "defined_at": "2019-08-24T14:15:22Z",
- "enabled": true
}
}Enable Knowledge Box Task
Enable or disable a task. This is only available for tasks that run on NEW resources. To disable a task that runs on EXISTING resources, use the stop endpoint.
path Parameters
| task_id required | string (Task Id) |
| kb_uuid required | string (Kb Uuid) |
Request Body schema: application/jsonrequired
| enabled required | boolean (Enabled) |
Responses
Request samples
- Payload
{- "enabled": true
}Response samples
- 200
- 422
nullInspect Knowledge Box Task
Get the details of an Ingestion Agent or a Task of a Knowledge Box
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "request": {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": null,
- "label": null
}
], - "relations": [
- {
- "source": null,
- "target": null,
- "label": null
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}, - "config": {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "kbid": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": null,
- "label": null
}
], - "relations": [
- {
- "source": null,
- "target": null,
- "label": null
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "defined_at": "2019-08-24T14:15:22Z",
- "enabled": true
}
}Restart Knowledge Box Task
Restart an Ingestion Agent or a Task of a Knowledge Box. This only affects tasks that are configured to run on EXISTING resources, for tasks that run on NEW resources, use the enable endpoint.
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "name": "dummy",
- "status": "not_running",
- "id": "string"
}Stop Knowledge Box Task
Stop an Ingestion Agent or a Task of a Knowledge Box. This only affects tasks that are currently running on EXISTING resources, for disabling tasks that run on NEW resources, use the enable endpoint.
path Parameters
| kb_uuid required | string (Kb Uuid) |
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "name": "dummy",
- "status": "not_running",
- "id": "string"
}Inspect Knowledge Box Task Worker
Get the worker config of a task on a knowledge box
path Parameters
| task_id required | string (Task Id) |
Responses
Response samples
- 200
- 422
{- "task": {
- "name": "string",
- "image_repository": "europe-west4-docker.pkg.dev/nuclia-internal/nuclia",
- "image_name": "string",
- "image_version": "latest",
- "entrypoint": [
- "string"
], - "sentry_id": "string",
- "memory": "1Gi",
- "cpu": "1000m",
- "imagePullPolicy": "Always",
- "use_gpu": false,
- "trainset_type": 0,
- "command": [
- "string"
], - "disallowed_account_types": [ ],
- "model_type": null,
- "listing": true,
- "data_augmentation": false,
- "description": "string",
- "feedback": false,
- "cleanup_command": [
- "string"
]
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "dataset_path": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- {
- "name": "string",
- "label": "string"
}
], - "relations": [
- {
- "source": "string",
- "target": "string",
- "label": "string"
}
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "params": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "token": "string",
- "key_id": "string",
- "ndb_token": "string",
- "log": "string",
- "cleanup_parent_task_id": "string"
}List Knowledge Box Available Tasks
Get the available Ingestion Agents and Tasks of a Knowledge Box
path Parameters
| kb_uuid required | string (Kb Uuid) |
query Parameters
| count | integer (Count) Default: 10 How many finished tasks to return |
Responses
Response samples
- 200
- 422
{- "tasks": [
- {
- "name": "dummy",
- "description": "string",
- "validation": { }
}
], - "running": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}
], - "configs": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "kbid": "string",
- "account_id": "string",
- "account_type": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "defined_at": "2019-08-24T14:15:22Z",
- "enabled": true
}
], - "done": [
- {
- "task": {
- "name": "string",
- "data_augmentation": false,
- "description": "string",
- "can_cleanup": false
}, - "source": "nucliadb",
- "kbid": "string",
- "dataset_id": "string",
- "account_id": "string",
- "nua_client_id": "string",
- "user_id": "string",
- "id": "string",
- "task_config_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "scheduled": false,
- "completed": false,
- "stopped": false,
- "scheduled_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "stopped_at": "2019-08-24T14:15:22Z",
- "failed": false,
- "retries": 0,
- "parameters": {
- "name": "",
- "on": 0,
- "filter": {
- "contains": [
- "string"
], - "resource_type": [
- "string"
], - "field_types": [
- "string"
], - "not_field_types": [
- "string"
], - "rids": [
- "string"
], - "fields": [
- "string"
], - "splits": [
- "string"
], - "labels": [
- "string"
], - "apply_to_agent_generated_fields": false,
- "contains_operator": 0,
- "labels_operator": 0
}, - "operations": [
- {
- "graph": {
- "entity_defs": [
- {
- "label": "string",
- "description": ""
}
], - "examples": [
- {
- "entities": [
- null
], - "relations": [
- null
], - "text": "string"
}
], - "ident": "string",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "label": {
- "labels": [
- {
- "prop": "label",
- "labelset": "string",
- "label": "string"
}
], - "ident": "string",
- "description": "",
- "multiple": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "ask": {
- "question": "string",
- "destination": "string",
- "json": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
], - "user_prompt": ""
}, - "qa": {
- "question_generator_prompt": "",
- "system_question_generator_prompt": "",
- "summary_prompt": "",
- "generate_answers_prompt": "",
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "extract": {
- "model": 0,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "prompt_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}, - "llama_guard": {
- "enabled": false,
- "triggers": [
- {
- "url": "",
- "headers": {
- "property1": null,
- "property2": null
}, - "params": {
- "property1": null,
- "property2": null
}
}
]
}
}
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "filter_expression_json": ""
}, - "log": "string",
- "cleanup_parent_task_id": "string"
}
]
}Learning Extract Strategies
Get available extract strategies onprem
path Parameters
| kbid required | string (Kbid) |
Responses
Response samples
- 200
- 422
{- "property1": {
- "name": "",
- "vllm_config": {
- "rules": [
- "string"
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}
}, - "ai_tables": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
], - "merge_pages": false,
- "max_pages_to_merge": 0
}, - "split": {
- "max_paragraph": 0,
- "custom_split": 0
}
}, - "property2": {
- "name": "",
- "vllm_config": {
- "rules": [
- "string"
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}
}, - "ai_tables": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
], - "merge_pages": false,
- "max_pages_to_merge": 0
}, - "split": {
- "max_paragraph": 0,
- "custom_split": 0
}
}
}Add A Extract Strategy To A Kb Onprem
Add a extract strategy to a KB to be used
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
| name | string (Name) Default: "" |
VLLMExtractionConfig (object) or null | |
AITables (object) or null | |
SplitConfig (object) or null |
Responses
Request samples
- Payload
{- "name": "",
- "vllm_config": {
- "rules": [
- "string"
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}
}, - "ai_tables": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
], - "merge_pages": false,
- "max_pages_to_merge": 0
}, - "split": {
- "max_paragraph": 0,
- "custom_split": 0
}
}Response samples
- 200
- 422
"string"Extract Strategy Configuration
Get extract strategy for a given id
path Parameters
| kbid required | string (Kbid) |
| strategy_id required | string (Strategy Id) |
Responses
Response samples
- 200
- 422
{- "name": "",
- "vllm_config": {
- "rules": [
- "string"
], - "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}
}, - "ai_tables": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
], - "merge_pages": false,
- "max_pages_to_merge": 0
}, - "split": {
- "max_paragraph": 0,
- "custom_split": 0
}
}Learning Split Strategies
Get available split strategies onprem
path Parameters
| kbid required | string (Kbid) |
Responses
Response samples
- 200
- 422
{- "property1": {
- "name": "",
- "max_paragraph": 0,
- "custom_split": 0,
- "llm_split": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
]
}, - "manual_split": {
- "splitter": ""
}
}, - "property2": {
- "name": "",
- "max_paragraph": 0,
- "custom_split": 0,
- "llm_split": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
]
}, - "manual_split": {
- "splitter": ""
}
}
}Add A Split Strategy To A Kb Onprem
Add a split strategy to a KB to be used
path Parameters
| kbid required | string (Kbid) |
Request Body schema: application/jsonrequired
| name | string (Name) Default: "" |
| max_paragraph | integer (Max Paragraph) Default: 0 |
CustomSplitStrategy (integer) or null Default: 0 | |
LLMSplitConfig (object) or null | |
ManualSplitConfig (object) or null |
Responses
Request samples
- Payload
{- "name": "",
- "max_paragraph": 0,
- "custom_split": 0,
- "llm_split": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
]
}, - "manual_split": {
- "splitter": ""
}
}Response samples
- 200
- 422
"string"Split Strategy Configuration
Get split strategy for a given id
path Parameters
| kbid required | string (Kbid) |
| strategy_id required | string (Strategy Id) |
Responses
Response samples
- 200
- 422
{- "name": "",
- "max_paragraph": 0,
- "custom_split": 0,
- "llm_split": {
- "llm": {
- "model": "",
- "provider": "",
- "keys": {
- "openai": {
- "key": "",
- "org": ""
}, - "azure_openai": {
- "key": "",
- "url": "",
- "deployment": "",
- "model": ""
}, - "palm": {
- "credentials": "",
- "location": "",
- "gemini_key": ""
}, - "anthropic": {
- "key": ""
}, - "claude3": {
- "key": ""
}, - "anthropic_vertex": {
- "credentials": "string",
- "location": ""
}, - "anthropic_bedrock": {
- "access_key": "string",
- "secret_key": "string"
}, - "text_generation": {
- "model": ""
}, - "mistral": {
- "key": ""
}, - "azure_mistral": {
- "key": "",
- "url": ""
}, - "hf_llm": {
- "key": "",
- "url": "",
- "model": 0
}, - "hf_embedding": {
- "url": "",
- "key": "",
- "matryoshka": [
- 0
], - "similarity": "",
- "size": 0,
- "threshold": 0,
- "passage_prompt": "",
- "query_prompt": ""
}, - "azure_aii": {
- "key": "",
- "url": "",
- "model": ""
}, - "openai_compat": {
- "key": "",
- "url": "string",
- "model_id": "string",
- "tokenizer": 0,
- "generation_config": {
- "temperature": 0,
- "default_max_completion_tokens": 800,
- "max_input_tokens": 64000,
- "max_supported_completion_tokens": 0
}, - "model_features": {
- "logprobs": false,
- "streaming": true,
- "system_message": true,
- "tool_use": true,
- "vision": true,
- "file_input": false,
- "max_images": 5,
- "seed_support": false,
- "reasoning": 0
}
}
}, - "prompts": {
- "openai": {
- "system": "",
- "prompt": ""
}, - "azure_openai": {
- "system": "",
- "prompt": ""
}, - "palm": {
- "prompt": ""
}, - "anthropic": {
- "prompt": ""
}, - "text_generation": {
- "prompt": ""
}, - "mistral": {
- "prompt": ""
}, - "azure_mistral": {
- "prompt": "",
- "system": ""
}, - "claude3": {
- "system": "",
- "prompt": ""
}, - "anthropic_vertex": {
- "system": "",
- "prompt": ""
}, - "anthropic_bedrock": {
- "system": "",
- "prompt": ""
}, - "deepseek": {
- "system": "",
- "prompt": ""
}, - "nova": {
- "system": "",
- "prompt": ""
}
}
}, - "rules": [
- "string"
]
}, - "manual_split": {
- "splitter": ""
}
}