Fill in the middle of a code prompt
One step with Mistral AI. We can help you get access.
Get something done
Fill in the middle of a code prompt
with Mistral AI · Model Inference
Use Mistral AI: its Mistral AI FIM API lets you fill in the middle of a code prompt in a single step (POST /fim/completions). capabilities.work can help you get signed up and connected.
- How do I generate code to fill the gap between a prefix and suffix?
- Can I cap the number of tokens in a fill-in-the-middle completion?
Say it to your AI assistant
- Fill in the middle of {prompt} with {suffix} using model {model}.
- Generate a {model} completion for {prompt} limited to {max_tokens} tokens.
For your developer
POST /fim/completions in Mistral AI FIM API. Full spec on APIs.io.