Sentiment Analysis Create Feedback
POST {{baseUrl}}/api/v1/datasets/{{sentiment-dataset-id}}/feedback
Creates feedback for a collection of samples. Note that these samples need to originate from the ListPredictions endpoint. The samples are added to the dataset, the machine learning model learns to generalize from the provided samples.
Request Body
{"samples"=>[{"prediction_id"=>"ce9a1015-560a-4dec-97bc-f692e42e081f", "sentiment"=>"NEGATIVE", "messageContent"=>"Your services are down all the time, how can i trust you?"}]}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Authorization | string |
RESPONSES
status: OK
{}