Guides
Fill In the Middle
1. Use Cases
FIM (Fill In the Middle) completion allows users to provide both the preceding and following content, enabling the model to fill in the middle content. This is typically used in scenarios such as code completion and filling in missing text within a document.
2. How to Use
2.1 Using in the chat/completions API
2.2 Using in the completions API
3. Supported Models
-
Deepseek Series:
- deepseek-ai/DeepSeek-V2.5
-
Qwen Series:
- Qwen/Qwen2.5-Coder-7B-Instruct
- Qwen/Qwen2.5-Coder-32B-Instruct
Note: The list of supported models may change. Please refer to this documentation for the latest supported models.