The classification use case lets you use embedding models to compute similarity scores between the incoming text and the labels. It returns the labels ranked in order of most similar to least similar.
The classification use case is compatible with all Lucidworks hosted pre-trained and custom embedding models. The default behavior of embedding models is to always have a score returned.
The topK
and similarityCutoff
parameters can be used to achieve behaviors where only the following are returned:
The single most applicable label
Labels with similarities that exceed a threshold
A set number of items
A set number if it exceeds the threshold
The authentication and authorization access token.
application/json
"application/json"
Unique identifier for the model.
"6a092bd4-5098-466c-94aa-40bf6829430\""
OK
The response is of type object[]
.