"Similarity" admin task
POST params: - similarity_threshold: int - use_tfidf: bool - delete: bool - project: int - feature_source: list - list[date, definition, duration, court, currency_name, currency_value, term, party, geoentity] - distance_type: str - see scipy.spatial.distance._METRICS
Request body
Example request
{
"use_tfidf": true,
"feature_source": "term",
"distance_type": "cosine",
"item_id": 1,
"similarity_threshold": 0,
"project": 6,
"run_name": "run_name",
"create_reverse_relations": true,
"delete": true
}Response
Example response
{
"confirm": true,
"task_id": "task_id",
"detail": "detail"
}Changes
Changed in 3 of the 5 revisions of this API.344
- ▲
the request property
create_reverse_relationsbecame not nullable (media type: application/json)request-property-became-not-nullable
- ▲
the request property
create_reverse_relationsbecame not nullable (media type: application/x-www-form-urlencoded)request-property-became-not-nullable
- ▲
the request property
create_reverse_relationsbecame not nullable (media type: multipart/form-data)request-property-became-not-nullable
- ▲
the request property
deletebecame not nullable (media type: application/json)request-property-became-not-nullable
- ▲
the request property
deletebecame not nullable (media type: application/x-www-form-urlencoded)request-property-became-not-nullable
- ▲
the request property
deletebecame not nullable (media type: multipart/form-data)request-property-became-not-nullable
- ▲
the request property
item_idbecame not nullable (media type: application/json)request-property-became-not-nullable
- ▲
the request property
item_idbecame not nullable (media type: application/x-www-form-urlencoded)request-property-became-not-nullable
- ▲
the request property
item_idbecame not nullable (media type: multipart/form-data)request-property-became-not-nullable
- ▲
the request property
run_namebecame not nullable (media type: application/json)request-property-became-not-nullable
- ▲
the request property
run_namebecame not nullable (media type: application/x-www-form-urlencoded)request-property-became-not-nullable
- ▲
the request property
run_namebecame not nullable (media type: multipart/form-data)request-property-became-not-nullable
- ▲
the request property
use_tfidfbecame not nullable (media type: application/json)request-property-became-not-nullable
- ▲
the request property
use_tfidfbecame not nullable (media type: application/x-www-form-urlencoded)request-property-became-not-nullable
- ▲
the request property
use_tfidfbecame not nullable (media type: multipart/form-data)request-property-became-not-nullable
- ▲
the request property
create_reverse_relationsbecame required (media type: application/json)request-property-became-required
- ▲
the request property
create_reverse_relationsbecame required (media type: application/x-www-form-urlencoded)request-property-became-required
- ▲
the request property
create_reverse_relationsbecame required (media type: multipart/form-data)request-property-became-required
- ▲
the request property
deletebecame required (media type: application/json)request-property-became-required
- ▲
the request property
deletebecame required (media type: application/x-www-form-urlencoded)request-property-became-required
- ▲
the request property
deletebecame required (media type: multipart/form-data)request-property-became-required
- ▲
the request property
item_idbecame required (media type: application/json)request-property-became-required
- ▲
the request property
item_idbecame required (media type: application/x-www-form-urlencoded)request-property-became-required
- ▲
the request property
item_idbecame required (media type: multipart/form-data)request-property-became-required
- ▲
the request property
run_namebecame required (media type: application/json)request-property-became-required
- ▲
the request property
run_namebecame required (media type: application/x-www-form-urlencoded)request-property-became-required
- ▲
the request property
run_namebecame required (media type: multipart/form-data)request-property-became-required
- ▲
the request property
use_tfidfbecame required (media type: application/json)request-property-became-required
- ▲
the request property
use_tfidfbecame required (media type: application/x-www-form-urlencoded)request-property-became-required
- ▲
the request property
use_tfidfbecame required (media type: multipart/form-data)request-property-became-required
- ▲
removed the enum value
wminkowskiof the request propertydistance_type(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
wminkowskiof the request propertydistance_type(media type: application/x-www-form-urlencoded)request-property-enum-value-removed
- ▲
removed the enum value
wminkowskiof the request propertydistance_type(media type: multipart/form-data)request-property-enum-value-removed
- ○
added the new
kulczynski1enum value to the request propertydistance_type(media type: application/json)request-property-enum-value-added
- ○
added the new
kulczynski1enum value to the request propertydistance_type(media type: application/x-www-form-urlencoded)request-property-enum-value-added
- ○
added the new
kulczynski1enum value to the request propertydistance_type(media type: multipart/form-data)request-property-enum-value-added
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 63 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲