v47

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2024-06-17465244.2 KB
AI Dataset Management

Train Custom Datasets for Search and LLM (Language Model)

Train Custom Datasets for Search and LLM (Language Model). You can train your own custom datasets for Search and LLM (Language Model) using this endpoint. You can pass in the Dataset Name, the Dataset Type and the Dataset File and we will train the dataset for you.

post/api/ai/datasets/train-datasets

Response

Successful response

statusstring

Status indicating the success of the Dataset Creation Process.

processing_timeinteger

The time taken to process the request, in milliseconds.

processing_idstring

A universally unique identifier for the request. This can be used to track the request in the logs.

processing_countinteger

The number of times the request has been processed. This is what is considered in the Billing Process. This is either the number of times the image is processed or the number of words that the server processes.

Example response

{
  "status": "success",
  "data": {
    "dataset_id": "0109c3db-5968-4704-b99e-84d1b8201319",
    "dataset_name": "sampled ataset",
    "dataset_description": "",
    "training_for": "Self",
    "status": "Training",
    "dataset_timestamp": {
      "_seconds": 1697742460,
      "_clock_hash": 762483
    }
  },
  "processing_time": 5359,
  "processing_id": "9cb58eda-8ff3-417c-a5d0-1b427471a3d4",
  "processing_count": 132
}