file-drill 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global file-drill --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local file-drill --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=file-drill&version=1.0.1
                    
nuke :add-package file-drill --version 1.0.1
                    

file-drill

NuGet NuGet downloads License

File-drill tool can:

  • read file content using local code and AI
  • classify content using AI
  • extract fields using AI

Installation

dotnet tool install --global file-drill

Commands

  • file-drill config set .\config.json - sets configuration
  • file-drill config set .\config.json - loads samples
  • file-drill read classify extract c:\invoice.pdf - reads, classifies, extact

Sample configuration file

{
  "FallbackAIService": "llama",
  "AIServices": {
    "llama": {
      "Type": "Ollama",
      "Url": "http://localhost:11434",
      "ModelName": "llama3.1:latest"
      }
  },
  "Invoice": {
    "Description": "an invoice, also known as a bill or sales",
    "Fields": {
      "invoice number": {
          "Description": "The number of the invoice",
          "Type": "String"
      },
    }
  }
}

Supported file extensions

Extensions Library
txt, md built-in
pdf PdfPig
docx, dotx, docm, dotm DocumentFormat.OpenXml
png, jpeg OCR using AI service
rtf RtfPipe

Supported AI services

Service Library
Ollama Microsoft.Extensions.AI.Ollama
Azure Microsoft.Extensions.AI.AzureAIInference
OpenAI Microsoft.Extensions.AI.OpenAI
Google Mscc.GenerativeAI.Microsoft
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.1.3 150 7/3/2025
1.1.2 191 3/28/2025
1.1.1 180 3/27/2025
1.1.0 105 3/14/2025
1.0.1 159 3/13/2025
1.0.0 173 3/13/2025