Microsoft Extensions AI

Microsoft.Extensions.AI (IChatClient) usage and migration gotchas. Use when building or fixing chat clients, tool/function calling, or middleware pipelines with Microsoft.Extensions.AI — above all that automatic tool calling requires building the client with ChatClientBuilder(...).UseFunctionInvocation(); without it, tools placed in ChatOptions.Tools are silently never invoked, response.Text is empty, and no error is thrown. Also covers the preview→GA API renames (which have no [Obsolete] shims).

richlander Updated

File contents

richlander/dotnet-package-skills/tree/main/examples/microsoft-extensions-ai/skills/microsoft-extensions-ai commit e8f521efe2

Frequently asked questions

npx skillmds@latest add richlander/microsoft-extensions-ai