ConceptUseFunctionInvocation()
UseFunctionInvocation
A middleware extension method in Microsoft.Extensions.AI that adds function invocation middleware, which identifies and executes the function calls requested by the model.
Timeline (last 90 days)
Oct 18
The image generation middleware must be located outside the function invocation middleware, otherwise the function invoker receives no executable functions, causing the generator to be called 0 times and the response to contain only ImageGenerationToolCallContent with no image.
Unverified50%