Create FIM Completion (Beta)
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
The prefix text to complete
string
Text that comes after the completion
number
Maximum tokens to generate
number
Sampling temperature (0-2)
number
Nucleus sampling (0-1)
number
Penalize repeated tokens (-2 to 2)
number
Penalize tokens already present (-2 to 2)
number
Number of top log probabilities to return
array of string
Stop sequences
boolean
Enable streaming response
boolean
Include usage chunk when stream=true
boolean
Echo back the prompt in the completion response