Plugin.Maui.Spine.AI.Functions 0.1.26

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

Plugin.Maui.Spine.AI.Functions

Functions the model calls, declared once for a Spine app and its server. A function runs on the device, on the server, or on either, in an order the app can change per conversation. On the server it knows who is calling: the signed-in user's id, claims and details reach it through a context the model never sees. Every call is logged.

dotnet add package Plugin.Maui.Spine.AI.Functions
// In a project the app and the server both reference.
public static class Functions
{
    public static SpineAIFunction GetMyBookings { get; } = SpineAIFunction.Create(
        "get_my_bookings", "Lists the signed-in user's bookings.", GetMyBookingsAsync, SpineAIFunctionSide.Server);

    static async Task<object> GetMyBookingsAsync(SpineAIFunctionContext context, int? days)
    {
        if (await context.GetUserAsync() is not { } user) return SpineAIFunctionResult.SignInRequired();
        return await Bookings.ForAsync(user.Id, days ?? 30, context.CancellationToken);
    }
}

// The server:  AddSpineAI(..., ai => ai.Functions.Add(Functions.GetMyBookings));  and "Functions": ["get_my_bookings"] on a feature.
// The app:     UseSpineAI(o => o.Functions.Add(Functions.ShowTime));               shared with UseSpineVoice.

Plugin.Maui.Spine.AI, .Voice and .Server.AI reference it. See the AI server and AI client pages.

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 (3)

Showing the top 3 NuGet packages that depend on Plugin.Maui.Spine.AI.Functions:

Package Downloads
Plugin.Maui.Spine.Voice

Voice for Spine apps: a full-duplex audio engine with the platform's echo cancellation, PCM16 in and out at a provider's rate, a playback queue that can be flushed when the user talks over the answer, and levels and 24 bands each way for visuals. The base for realtime voice AI.

Plugin.Maui.Spine.AI

AI in a Spine app without keys in the app: one IChatClient per named feature that streams from the app's Spine.Server.AI backend, can try an on-device model first, answers "off", budget and rate limits in one shape, and counts on-device usage on the device.

Plugin.Maui.Spine.Server.AI

AI on the server for Spine apps: named features with the provider in configuration, every token and image metered and priced, budgets and per-user limits, and endpoints for ASP.NET Core and Azure Functions. Built on Microsoft.Extensions.AI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.26 55 10/24/2026
0.1.25 55 10/24/2026
0.1.24 70 10/23/2026
0.1.23 59 10/23/2026
0.1.22 73 10/23/2026
0.1.21 66 10/23/2026
0.1.20 64 10/23/2026
0.1.19 95 10/22/2026
0.1.18 103 10/21/2026
0.1.17 123 10/20/2026
0.1.16 101 10/20/2026