.Net: New Feature: Support for MinP sampling
Right now, the only supported sampling parameters seem to TopP and Temperature, as well as FrequencyPenalty and PresencePenalty.
Other common sampling parameters seem to be missing. While they can be added using ExtensionData as the following example shows, the documentation discourages from using that
var response = await chatCompletionService.GetChatMessageContentsAsync(
chatHistory,
new OpenAIPromptExecutionSettings
{
Temperature = 1.0,
TopP = 0,
ExtensionData = new Dictionary<string, object>
{
{ "min_p", 0.1 },
},
});
Other parameters should be supported by default as well, like TopK, MinA, and RepetitionPenalty, but especially MinP seems like a big oversight due - in many models I get the best completions by using high temperature combined with a low-ish min-p
This issue is stale because it has been open for 90 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.