CSharpEssentials.LoggerHelper.AI
4.0.7
dotnet add package CSharpEssentials.LoggerHelper.AI --version 4.0.7
NuGet\Install-Package CSharpEssentials.LoggerHelper.AI -Version 4.0.7
<PackageReference Include="CSharpEssentials.LoggerHelper.AI" Version="4.0.7" />
<PackageVersion Include="CSharpEssentials.LoggerHelper.AI" Version="4.0.7" />
<PackageReference Include="CSharpEssentials.LoggerHelper.AI" />
paket add CSharpEssentials.LoggerHelper.AI --version 4.0.7
#r "nuget: CSharpEssentials.LoggerHelper.AI, 4.0.7"
#:package CSharpEssentials.LoggerHelper.AI@4.0.7
#addin nuget:?package=CSharpEssentials.LoggerHelper.AI&version=4.0.7
#tool nuget:?package=CSharpEssentials.LoggerHelper.AI&version=4.0.7
CSharpEssentials.LoggerHelper.AI: AI-Powered Observability & Root Cause Analysis
🚀 Stop Sifting, Start Solving.
Are you tired of manually sifting through mountains of logs and scattered traces? CSharpEssentials.LoggerHelper.AI is an advanced toolkit that integrates Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) directly into your C# logging pipeline. It transforms raw operational data into actionable, real-time insights, dramatically reducing Mean Time To Resolution (MTTR).
Key AI Actions (Four Modes)
This powerful package offers specialized macro actions designed to handle complex observability challenges:
- 🕵️ CorrelateTrace: Automatically analyze distributed traces to pinpoint the most suspicious span or root cause of timeouts and complex failures in microservice architectures.
- ❓ RagAnswerQuery: Use RAG over your database logs/metrics (via dynamic SQL queries) to get precise answers to natural language questions instantly.
- 🚨 DetectAnomaly: Analyze time-series metrics (e.g., latency, error rates) to detect statistical anomalies (Z-score analysis) and provide an AI-driven explanation of the root cause and mitigation steps.
- 📚 SummarizeIncident: Generate concise summaries of an entire incident, detailing the root cause, impact, and remediation based on a full chronological timeline of associated logs.
Hybrid Contextual Data Sourcing (Unique Feature)
The package securely enriches LLM prompts by dynamically executing pre-saved SQL queries (.sql
files) against your existing database, supporting both MS SQL and PostgreSQL. This flexibility allows you to seamlessly bridge the gap between your operational data and advanced AI analysis.
Get Started
Resource | Description |
---|---|
Documentation | View the detailed setup guide and technical deep-dive here: doc.md |
Web Demo | Test the API endpoints and core functionality immediately using the web demo project: CSharp.Essentials.Extensions |
LLM Dashboard | Manage and test all four LLM modes dynamically with a user-friendly UI using the companion package: CSharpEssentials.LoggerHelper.Dashboard |
Start transforming your observability with AI today!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- CSharpEssentials.HttpHelper (>= 4.0.3)
- CSharpEssentials.LoggerHelper (>= 4.0.5)
- Dapper (>= 2.1.66)
- Microsoft.AspNetCore (>= 2.3.0)
- Microsoft.AspNetCore.Mvc (>= 2.3.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.3.0)
- Microsoft.AspNetCore.Routing (>= 2.3.0)
- Microsoft.Data.SqlClient (>= 6.1.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.1)
- Npgsql (>= 9.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Stop manually sifting through logs. CSharpEssentials.LoggerHelper.AI integrates advanced LLMs and RAG directly into your C# observability pipeline to provide real-time, actionable insights.
It performs AI-powered Root Cause Analysis (CorrelateTrace), Anomaly Detection, and RAG over your MS SQL/PostgreSQL logs via dynamic SQL queries. Dramatically reduce MTTR and transform your diagnostic process with AI.