Generate Response from Prompt
Generate Response from Prompt
Request Body — REQUIRED |
---|
stream boolean |
timeout number |
maxRetries number |
data object — REQUIREDpromptId uuid — REQUIRED | inputData object — REQUIRED | n number — REQUIRED | language string — REQUIRED | userId string — REQUIRED |
|
Responses |
---|
Schema — OPTIONAL |
---|
id string | choices object[]index number | text string | finish_reason string | role string — OPTIONAL | function_call — OPTIONAL |
| model string | providerId uuid — OPTIONAL | modelId uuid — OPTIONAL | meta objectusage object — OPTIONALcompletion_tokens number | prompt_tokens number | total_tokens number |
|
|
|