![]() |
VOOZH | about |
dotnet add package Devlooped.Extensions.AI.Console --version 2.0.3
NuGet\Install-Package Devlooped.Extensions.AI.Console -Version 2.0.3
<PackageReference Include="Devlooped.Extensions.AI.Console" Version="2.0.3" />
<PackageVersion Include="Devlooped.Extensions.AI.Console" Version="2.0.3" />Directory.Packages.props
<PackageReference Include="Devlooped.Extensions.AI.Console" />Project file
paket add Devlooped.Extensions.AI.Console --version 2.0.3
#r "nuget: Devlooped.Extensions.AI.Console, 2.0.3"
#:package Devlooped.Extensions.AI.Console@2.0.3
#addin nuget:?package=Devlooped.Extensions.AI.Console&version=2.0.3Install as a Cake Addin
#tool nuget:?package=Devlooped.Extensions.AI.Console&version=2.0.3Install as a Cake Tool
Additional UseJsonConsoleLogging extension for rich JSON-formatted console logging
of IChatClient requests and responses are provided at two levels:
UseLogging.ClientPipelineOptions.Rich JSON formatting is provided by Spectre.Console
The HTTP pipeline logging can be enabled by calling UseJsonConsoleLogging on the
client options passed to the client constructor:
var openai = new OpenAIClient(
Environment.GetEnvironmentVariable("OPENAI_API_KEY")!,
new OpenAIClientOptions().UseJsonConsoleLogging());
Both alternatives receive an optional JsonConsoleOptions instance to configure
the output, including truncating or wrapping long messages, setting panel style,
and more.
The chat pipeline logging is added similar to other pipeline extensions:
IChatClient chat = new OpenAIChatClient(Environment.GetEnvironmentVariable("OPENAI_API_KEY")!, "gpt-5.2");
.AsBuilder()
.UseOpenTelemetry()
// other extensions...
.UseJsonConsoleLogging(new JsonConsoleOptions()
{
// Formatting options...
Border = BoxBorder.None,
WrapLength = 80,
})
.Build();
By default, the logging will only be performed if the console is interactive.
To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an Open Source Maintenance Fee. While the source code is freely available under the terms of the License, this package and other aspects of the project require adherence to the Maintenance Fee.
To pay the Maintenance Fee, become a Sponsor at the proper OSMF tier. A single fee covers all of Devlooped packages.
👁 Clarius Org
👁 MFB Technologies, Inc.
👁 SandRock
👁 DRIVE.NET, Inc.
👁 Keith Pickford
👁 Thomas Bolon
👁 Kori Francis
👁 Uno Platform
👁 Reuben Swartz
👁 Jacob Foshee
👁 alternate text is missing from this package README image
👁 Eric Johnson
👁 Jonathan
👁 Ken Bonny
👁 Simon Cropp
👁 agileworks-eu
👁 Zheyu Shen
👁 Vezel
👁 ChilliCream
👁 4OTC
👁 domischell
👁 Adrian Alonso
👁 Michael Hagedorn
👁 torutek
👁 mccaffers
👁 Seika Logiciel
👁 Andrew Grant
👁 Lars
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.