thresholds

Function that recommends thresholds given an array of prompts

Given an input array of prompts, returns thresholds for a selected model.

get/get_thresholds

Query parameters

promptsstring required

Prompt array.

Headers

model_idstring

The model id to be used. The default choice is: sentence-transformers/all-minilm-l6-v2

Response

successful threshold display

Changes

Changed in 2 of the 5 revisions of this API.11