The OpenAI .NET API library, now in beta, supports the entire OpenAI API including Assistants v2 and Chat Completions as well as the GPT-4o model. Credit: Andrew Neel Microsoft is heralding the arrival of an official OpenAI library for .NET developers. The OpenAI library supports the complete OpenAI API and OpenAI’s latest flagship model, GPT-4o, which can reason across audio, vision, and text in real time. Announced June 6 and available now in a first beta, the OpenAI .NET API library is accessible from NuGet. Resulting from Microsoft’s collaboration with OpenAI, the OpenAI .NET API library provides sync and async access to the OpenAI REST API from .NET applications. It supports capabilities including Assistants v2, for building AI assistants within applications, and Chat Completions, for taking a list of messages as input and returning a model message. The library includes extensibility that enables the community to build libraries on top and access to streaming completions via IAsyncEnumerable<T>. The OpenAI .NET API library is supported on GitHub and will be kept up to date with the latest features from OpenAI, Microsoft said. Work will continue in coming months to gather feedback, improve the library, and offer a stable NuGet package. The OpenAI .NET API library is compatible with .NET Standard 2.0 applications. However, some code examples in the OpenAI .NET API library document might depend on newer language features. Developers will need an API key to call the OpenAI REST API. Microsoft last month announced investments to expand the AI ecosystem for .NET developers. AI attention included end-to-end scenarios for building AI-enabled applications, embracing the AI ecosystem, and integration with cloud services. Related content analysis Beyond the usual suspects: 5 fresh data science tools to try today The mid-month report includes quick tips for easier Python installation, a new VS Code-like IDE just for Python and R users, and five newer data science tools you won't want to miss. By Serdar Yegulalp Jul 12, 2024 2 mins Python Programming Languages Software Development analysis Generative AI won’t fix cloud migration You’ve probably heard how generative AI will solve all cloud migration problems. It’s not that simple. Generative AI could actually make it harder and more costly. By David Linthicum Jul 12, 2024 5 mins Generative AI Artificial Intelligence Cloud Computing news HR professionals trust AI recommendations HireVue survey finds 73% of HR professionals trust AI to make candidate recommendations, while 75% of workers are opposed to AI making hiring decisions. By Paul Krill Jul 11, 2024 3 mins Technology Industry Careers how-to Safety off: Programming in Rust with `unsafe` What does it mean to write unsafe code in Rust, and what can you do (and not do) with the 'unsafe' keyword? The facts may surprise you. By Serdar Yegulalp Jul 11, 2024 8 mins Rust Programming Languages Software Development Resources Videos