Generates a fill-in-the-middle (FIM) code completion using Codestral models.; Generates a streaming fill-in-the-middle (FIM) code completion using Codestral models.
- Provider
- Mistral AI API (AI Models)
- Input summary
- {"name":"seed","type":"integer","required":false,"description":"Random seed for deterministic output"}, {"name":"stop","type":"array","required":false,"description":"Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"}, {"name":"model","type":"string","required":true,"description":"ID of the model with FIM to use","enum":["text-completion-codestral/codestral-latest","text-completion-codestral/codestral-2405"]}, {"name":"top_p","type":"number","required":false,"description":"Nucleus sampling, where the model considers the results of the tokens with top_p probability mass"}, {"name":"prompt","type":"string","required":true,"description":"The text/code to complete"}, {"name":"stream","type":"boolean","required":true,"description":"Whether to stream back partial progress","enum":[true]}, {"name":"suffix","type":"string","required":false,"description":"Optional text/code that adds more context for the model"}, {"name":"metadata","type":"object","required":false,"description":"Metadata"}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available