xxxxxxxxxx
{
"prompt": "",
"n": "",
"max_tokens": "",
"min_tokens": "",
"temperature": "",
"top_p": "",
"logit_bias": "",
"stop": "",
"top_k": "",
"tfs": "",
"top_a": "",
"typical_p": "",
"stream": "",
"logprobs": "",
"echo": "",
"presence_penalty": "",
"frequency_penalty": "",
"repetition_penalty": "",
"repetition_penalty_slope": "",
"repetition_penalty_range": ""
}
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
curl -X POST \
'https://api.lowcodeapi.com/gooseai/v1/engines/engine_id/completions' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' --data-raw '{
"prompt": "",
"n": "",
"max_tokens": "",
"min_tokens": "",
"temperature": "",
"top_p": "",
"logit_bias": "",
"stop": "",
"top_k": "",
"tfs": "",
"top_a": "",
"typical_p": "",
"stream": "",
"logprobs": "",
"echo": "",
"presence_penalty": "",
"frequency_penalty": "",
"repetition_penalty": "",
"repetition_penalty_slope": "",
"repetition_penalty_range": ""
}'
Last Updated : 2025-01-04 10:49 +00:00
Created by @samalgorai