ShareInvest.Agency 0.15.3

dotnet add package ShareInvest.Agency --version 0.15.3
                    
NuGet\Install-Package ShareInvest.Agency -Version 0.15.3
                    
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="ShareInvest.Agency" Version="0.15.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShareInvest.Agency" Version="0.15.3" />
                    
Directory.Packages.props
<PackageReference Include="ShareInvest.Agency" />
                    
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 ShareInvest.Agency --version 0.15.3
                    
#r "nuget: ShareInvest.Agency, 0.15.3"
                    
#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 ShareInvest.Agency@0.15.3
                    
#: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=ShareInvest.Agency&version=0.15.3
                    
Install as a Cake Addin
#tool nuget:?package=ShareInvest.Agency&version=0.15.3
                    
Install as a Cake Tool

ShareInvest.Agency

AI agency library for PageMint — multi-provider text and image generation services.

Packages

Package Description
ShareInvest.Agency Core interfaces and AI service implementations

Installation

dotnet add package ShareInvest.Agency --source https://nuget.pkg.github.com/cyberprophet/index.json

Usage

// Register in DI
services.AddSingleton(new GptService(logger, apiKey, imageModel));

// Inject and use
public class MyService(GptService gpt)
{
    public async Task GenerateAsync()
    {
        var result = await gpt.GenerateImageAsync<BinaryData>(request);
    }
}

Title Generation

var title = await gpt.GenerateTitleAsync(conversationText, cancellationToken);
// Returns null if generation fails or produces empty content
// Uses gpt-5-nano with embedded PageMint-tailored system prompt
// Titles are capped at 50 characters

The system prompt is stored as an embedded resource under Prompts/title-system.md.

Releases

See CHANGELOG.md for version history and release notes. Current release: v0.10.0 — available on nuget.org.

License

MIT

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
0.15.3 40 4/21/2026
0.15.2 31 4/21/2026
0.15.1 34 4/21/2026
0.15.0 65 4/17/2026
0.14.0 43 4/17/2026
0.13.0 47 4/16/2026
0.12.0 48 4/16/2026
0.11.0 52 4/16/2026
0.10.0 92 4/14/2026
0.9.1 82 4/13/2026
0.9.0 76 4/13/2026
0.8.0 73 4/13/2026
0.7.0 97 4/9/2026
0.6.0 84 4/8/2026
0.2.0 82 4/5/2026
0.1.1 76 4/4/2026