Values.SearchUsersRequestSourceSearches for UserIDs within a collection based on a FaceId or UserId. This API can be used to find the closest UserID (with a highest similarity) to associate a face. The request must be provided with either FaceId or UserId. The operation returns an array of UserID that match the FaceId or UserId, ordered by similarity score with the highest similarity first.
type nonrec t = {collectionId : CollectionId.t;The ID of an existing collection containing the UserID, used with a UserId or FaceId. If a FaceId is provided, UserId isnโt required to be present in the Collection.
*)userId : UserId.t option;ID for the existing User.
*)faceId : FaceId.t option;ID for the existing face.
*)userMatchThreshold : Percent.t option;Optional value that specifies the minimum confidence in the matched UserID to return. Default value of 80.
*)maxUsers : MaxUserResults.t option;Maximum number of identities to return.
*)}val make :
?userId:??? ->
?faceId:??? ->
?userMatchThreshold:??? ->
?maxUsers:??? ->
collectionId:CollectionId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Float of Percent.t
| `Integer of MaxUserResults.t
| `String of CollectionId.t ])
list ]