FEATURES
Prefix Completion
1. Use Cases
In prefix completion, the user provides the desired prefix information, allowing the model to complete the rest of the content based on the prefix provided by the user.
With this capability, the model demonstrates better instruction-following abilities and can address user requirements for specific formats in certain scenarios.
2. How to Use
Add the following to your request:
3. Supported Models
Currently, large language models support the above parameter.
Note: The list of supported models may change. Please refer to this document for the latest list of supported models.
4. Example Usage
Below is an example of using prefix completion with the OpenAI library: