You're looking at a specific version of this model. Jump to the model overview.
run-saina /saina-helm-2-0.8b:c35acf50
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| context |
string
|
The text or situation to evaluate.
|
|
| question |
string
|
What do you want to ask about the context?
|
|
| answers |
string
|
One answer per line (at least two). For ratings, order from lowest to highest. For yes/no, enter the yes answer first and the no answer second.
|
|
| question_type |
string
(enum)
|
single_choice
Options: single_choice, multi_choice, rating, yes_no |
Pick one answer by default, or choose multiple answers, an ordered rating, or yes/no.
|
| mode |
string
(enum)
|
distribution
Options: distribution, decision |
Return scores, or apply a decision threshold.
|
| threshold |
number
|
0.8
Max: 1 |
Decision mode only: minimum probability to accept an answer.
|
| request_json |
string
|
|
Optional advanced input: a native /v1/ask JSON request for multiple questions. Overrides the form values when supplied; required fields must still be provided.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'object'}