Open lmg-anon opened 1 month ago
What's the difference to normal completions? Does the back-end handle adding the correct instruct template?
What's the difference to normal completions? Does the back-end handle adding the correct instruct template?
That's correct, but the main point is allowing the use of endpoints that only support chat completions, such as the endpoint for most OpenAI models. However, I guess the OpenAI endpoint isn't great for this because it doesn't support pre-filling.
Edit: Actually, the OpenAI API does seem to handle prefills well, interesting...
I'm not entirely sure if this is useful, but the recent instruct templates feature gave me the idea for this new feature. Currently it's enabled with chat mode, but it might be optimal to make a separate checkbox for it.