Scoring System
Import Scoring Spec
Import a scoring spec from various sources
POST
Authorizations
Body
application/json
Huggingface dataset e.g. withpi/my_scoring_system containing the Scoring spec. This is only needed for the source=HUGGINGFACE.
Example:
"withpi/tldr_scoring_system"
Huggingface token to use if you want to read to your own HF organization. This is only needed for the source=HUGGINGFACE.
Source of where to get the Scoring spec
Available options:
HUGGINGFACE
Response
200
application/json
Successful Response
The application description
Example:
"Write a children's story communicating a simple life lesson."
The dimensions of the scoring spec
Example:
[
{
"description": "dimension1 description",
"label": "dimension1",
"sub_dimensions": [
{
"description": "subdimension1 description",
"label": "subdimension1",
"scoring_type": "PI_SCORER"
}
]
}
]
The name of the scoring spec
Example:
"Sample Scoring Spec"