79709376

Date: 2025-07-21 16:41:01
Score: 1
Natty:
Report link

When i set RetainArgumentTypes to true in FunctionChoiceBehavior it start sending parameters in correct format.

var executionSettings = new OpenAIPromptExecutionSettings
{
    Temperature = 0,
    //FunctionChoiceBehavior = FunctionChoiceBehavior.Auto()
    FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(options: new() { RetainArgumentTypes = true })
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When i
  • Low reputation (0.5):
Posted by: Gürkan