Indiko.Blocks.AI.ChatGPT 2.7.8

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

Indiko.Blocks.AI.ChatGPT

OpenAI ChatGPT provider implementation for the Indiko AI abstraction layer.

Overview

This package provides OpenAI-backed implementations for chat, vision, and file analysis interfaces from Indiko.Blocks.AI.Abstractions.

Key Components

  • ChatGPTAiBlock (block entry point).
  • ChatGptChatService (IAiChatService).
  • ChatGptVisionService (IAiVisionService).
  • ChatGptFileService (IAiFileService).
  • Additional classes:
    • ChatGptOcrProcessor
    • ChatGptResponseStream
    • ChatGptImageBatchProcessor
  • Options:
    • ChatGPTOptions

DI Registration Entry Point

ChatGPTAiBlock.ConfigureServices(...) registers:

  • IAiChatServiceChatGptChatService
  • IAiVisionServiceChatGptVisionService
  • IAiFileServiceChatGptFileService

Configuration

Configuration section: ChatGPTOptions

  • Enabled
  • Platform
  • Model
  • ApiKey
  • OrganizationId

Runtime Behavior and Caveats

  • The block currently registers chat/vision/file services.
  • OCR/response-stream/image-batch classes exist but are not registered by default in the block.
  • Model-specific behavior is delegated to the OpenAI client and selected implementation paths.

Minimal Usage

var chat = serviceProvider.GetRequiredService<IAiChatService>();
var response = await chat.ChatAsync(
    new AiChatCompletionRequest
    {
        Messages = new[]
        {
            new AiChatMessage { Role = "user", Content = "Summarize this text." }
        }
    },
    cancellationToken);

Target Framework

  • .NET 10
  • Indiko.Blocks.AI.Abstractions
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
2.7.8 34 5/7/2026
2.7.7 41 5/7/2026
2.7.6 90 4/23/2026
2.7.5 109 4/23/2026
2.7.4 105 4/23/2026
2.7.3 100 4/23/2026
2.7.2 88 4/23/2026
2.7.1 91 4/23/2026
2.7.0 97 4/23/2026
2.6.4 90 4/21/2026
2.6.3 85 4/21/2026
2.6.2 90 4/21/2026
2.6.1 99 4/18/2026
2.6.0 91 4/17/2026
2.5.1 106 4/14/2026
2.5.0 120 3/30/2026
2.2.18 123 3/8/2026
2.2.17 93 3/8/2026
2.2.16 103 3/8/2026
2.2.15 100 3/7/2026
Loading failed