The /api/generate endpoint already supports these options:
But we need to add some GUI for this (at least to chat & playground screens but likely also for quicktools), in a user-friendly way. Many users don't know what these mean, so it should be power-user feature. Or it should have "advanced" checkbox, or something like that.
Another question is if these settings should be saved (localStorage or per-chat) or not.
I've refactored sampling modal into a sidebar, fixed some bugs and added this sidebar to a chat window. These values are not saved currently, this will be done during upcoming changes in the /chat/ API
The
/api/generate
endpoint already supports these options:But we need to add some GUI for this (at least to chat & playground screens but likely also for quicktools), in a user-friendly way. Many users don't know what these mean, so it should be power-user feature. Or it should have "advanced" checkbox, or something like that.
Another question is if these settings should be saved (localStorage or per-chat) or not.