Microsoft is heralding the arrival of an official OpenAI library for .NET builders. The OpenAI library helps the entire OpenAI API and OpenAI’s newest flagship mannequin, GPT-4o, which might cause throughout audio, imaginative and prescient, and textual content in actual time.
Introduced June 6 and accessible now in a primary beta, the OpenAI .NET API library is accessible from NuGet.
Ensuing from Microsoft’s collaboration with OpenAI, the OpenAI .NET API library supplies sync and async entry to the OpenAI REST API from .NET purposes. It helps capabilities together with Assistants v2, for constructing AI assistants inside purposes, and Chat Completions, for taking an inventory of messages as enter and returning a mannequin message. The library consists of extensibility that permits the neighborhood to construct libraries on prime and entry to streaming completions by way of IAsyncEnumerable<T>.
The OpenAI .NET API library is supported on GitHub and can be saved updated with the newest options from OpenAI, Microsoft stated. Work will proceed in coming months to collect suggestions, enhance the library, and supply a secure NuGet package deal. The OpenAI .NET API library is appropriate with .NET Customary 2.0 purposes. Nevertheless, some code examples within the OpenAI .NET API library doc may depend upon newer language options. Builders will want an API key to name the OpenAI REST API.
Microsoft final month introduced investments to broaden the AI ecosystem for .NET builders. AI consideration included end-to-end eventualities for constructing AI-enabled purposes, embracing the AI ecosystem, and integration with cloud providers.
Copyright © 2024 IDG Communications, Inc.


