https://data.mostly.ai
Authorization
1
Authorization
rows
prompt
model
data_description
dtype
string
category
integer
float
boolean
date
datetime
regex
categories
max_tokens
temperature
top_p
1
{
"rows": [
[
{
"name": "sit ad",
"value": "culpa laborum"
},
{
"name": "esse",
"value": "irure Duis"
},
{
"name": "nisi esse ex ea",
"value": "ea anim qui dolor"
},
{
"name": "eu",
"value": "irure dolore magna officia eu"
},
{
"name": "deserunt do",
"value": "irure ad"
}
],
[
{
"name": "veniam elit aliquip aute",
"value": "cupidatat non"
}
],
[
{
"name": "nostrud aute aliqua",
"value": "exercitation nisi"
},
{
"name": "tempor id consectetur aliqua anim",
"value": "velit est do enim sed"
}
],
[
{
"name": "ad sunt irure sit laboris",
"value": "sint in ex"
}
],
[
{
"name": "Excepteur ut",
"value": "mollit"
},
{
"name": "aliquip",
"value": "culpa in"
},
{
"name": "tempor culpa",
"value": "sint dolor officia adipisicing mollit"
}
]
],
"prompt": "Ut",
"model": "do dolore",
"data_description": "Ut eu in quis",
"dtype": "string",
"regex": "in ullamco",
"categories": [
"fugiat voluptate in est",
"in aliquip consectetur laborum esse"
],
"max_tokens": null,
"temperature": 0.7,
"top_p": 1
}
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Generate completions for a given prompt and rows.
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
The existing values used as context for the newly generated values. The returned values will be of same length and in the same order as the provided list of values. Max 100 rows per request are allowed.
The prompt for generating the returned values.
The model used for generating new values. Check available models with the models.list endpoint. The default model is the first model in that list.
Additional information regarding the context of the provided values.
The dtype of the returned values. One of string
, category
, integer
, float
, boolean
, date
or datetime
.
A regex used to limit the generated values.
The allowed values to be sampled from. If provided, then the dtype is set to category
.
The maximum number of tokens to generate. Only applicable for string dtype.
The temperature used for sampling.
The top_p used for nucleus sampling.