Skip to main content

SliceX AI Medley

SliceX AI Medley API (1.0)

Download OpenAPI specification:Download

Binary Text Classification

Inference with 2 possible classes (e.g. POSITIVE and NEGATIVE).

Customer Review Sentiment (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Toxicity Detection (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Multi-Class Text Classification

Inference with multiple possible classes. Scores sum up to 1.

News Classification (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Sentiment Analysis (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Financial Customer Support (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Financial Sentiment Analysis (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Conversational Language Understanding (En) (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Conversational Language Understanding (Jp) (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Multi-Label Text Classification

Inference with multiple possible classes. Scores don't sum up to 1.

Emotion Detection (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Sequence Labeling

Named Entity Recognition. Finds the tokens (e.g. person, location, etc.) in the query.

Named Entity Recognition (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Question Answering

Looks to answer questions based on text passages.

Research Papers Search (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Custom Trained Model

User Model Inference

path Parameters
model_id
required
string (Model Id)
header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 20 items

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Medley

Medley

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
query
string (The string to run the inference on.)
models
Array of strings (List of models to run.)

Responses

Request samples

Content type
application/json
{
  • "query": "string",
  • "models": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Medley (Batch)

header Parameters
x-api-key
required
string (x-api-key)
Request Body schema: application/json
queries
Array of strings (The list of strings to run the inference on.) <= 50 items
models
Array of strings (List of models to run.)

Responses

Request samples

Content type
application/json
{
  • "queries": [
    ],
  • "models": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}