Niobium.Platform.OpenAI 4.2.66

dotnet add package Niobium.Platform.OpenAI --version 4.2.66
                    
NuGet\Install-Package Niobium.Platform.OpenAI -Version 4.2.66
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Niobium.Platform.OpenAI" Version="4.2.66" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Niobium.Platform.OpenAI" Version="4.2.66" />
                    
Directory.Packages.props
<PackageReference Include="Niobium.Platform.OpenAI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Niobium.Platform.OpenAI --version 4.2.66
                    
#r "nuget: Niobium.Platform.OpenAI, 4.2.66"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Niobium.Platform.OpenAI@4.2.66
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Niobium.Platform.OpenAI&version=4.2.66
                    
Install as a Cake Addin
#tool nuget:?package=Niobium.Platform.OpenAI&version=4.2.66
                    
Install as a Cake Tool

Niobium.Platform.OpenAI

Niobium.Platform.OpenAI provides abstractions, dependency injection modules, and helpers for integrating OpenAI-powered language models (such as GPT) into .NET applications. It enables secure, configurable, and extensible access to OpenAI APIs for tasks like conversation analysis, summarization, and more.

What is this project about?

  • Defines interfaces and services for interacting with OpenAI APIs.
  • Provides DI modules for registering OpenAI services and configuration.
  • Supports system prompts, conversation analysis, and result formatting.
  • Used by consumer projects to easily add AI-powered features.

Getting Started

1. Install the NuGet Package

Add the package to your .NET project:

dotnet add package Niobium.Platform.OpenAI

2. Register OpenAI Services in Dependency Injection

In your application's startup or DI configuration:

using Niobium.Platform.OpenAI;

builder.Services.AddOpenAI(options =>
{
    options.ApiKey = "<your-openai-api-key>";
    options.SystemPrompts = new()
    {
        { (int)AnalysisKind.Minutes, "<system prompt for minutes>" },
        { (int)AnalysisKind.SOAPNotes, "<system prompt for SOAP notes>" },
    };
});

3. Use OpenAI Services in Your Application

using Niobium.Platform.OpenAI;

public class MyService
{
    private readonly IOpenAIService _openAI;
    public MyService(IOpenAIService openAI)
    {
        _openAI = openAI;
    }
    // Use _openAI to analyze conversations, generate text, etc.
}

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with clear commit messages
  4. Submit a pull request

Please ensure your code follows the existing style and includes appropriate tests and documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.66 90 9/4/2026
4.0.60 92 8/30/2026
4.0.53 94 8/27/2026
4.0.48 103 8/9/2026
4.0.42 112 7/18/2026
4.0.37 102 7/17/2026
4.0.35 102 7/17/2026
4.0.34 98 7/17/2026
4.0.33 103 7/16/2026
4.0.32 112 7/2/2026
3.4.30 216 12/22/2025
3.4.29 307 11/11/2025
3.4.28 193 11/2/2025
3.4.27 148 11/1/2025
3.4.26 143 11/1/2025
3.4.25 147 11/1/2025
3.4.24 187 10/31/2025
3.2.23 125 10/18/2025
3.2.22 164 10/17/2025
3.2.21 171 10/17/2025
Loading failed