Caveman 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Caveman --version 1.0.0
                    
NuGet\Install-Package Caveman -Version 1.0.0
                    
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="Caveman" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Caveman" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Caveman" />
                    
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 Caveman --version 1.0.0
                    
#r "nuget: Caveman, 1.0.0"
                    
#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 Caveman@1.0.0
                    
#: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=Caveman&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Caveman&version=1.0.0
                    
Install as a Cake Tool

#🦴 Caveman: Prompt Compressor for LLMs

<img width="1197" height="766" alt="caveman_splash" src="https://github.com/user-attachments/assets/4b534140-c519-423f-b918-e705565a039f" /> It is the version that is inspired by the token saving algorithm of Caveman plugin for Claude, but it was conceived without doing any porting from the original, it is a code born from scratch

Caveman è una libreria C# basata su Catalyst che riduce drasticamente il numero di token nei tuoi prompt per LLM (come Gemma 3, Llama o GPT-4). Utilizza tecniche di Natural Language Processing (NLP) per rimuovere il "rumore" grammaticale (articoli, preposizioni, congiunzioni) mantenendo intatto il valore semantico.

"Perché usare molti token quando pochi token fanno lavoro uguale?" — Un uomo delle caverne (e il tuo portafoglio).

🚀 Caratteristiche

  • Riduzione Token fino al 70%: Abbatti i costi delle API e velocizza l'inferenza locale.
  • Multilingua: Supporto per oltre 50 lingue (Italiano, Inglese, Francese, ecc.) tramite i modelli Catalyst.
  • Livelli di Compressione: Scegli tra Light, Semantic o Aggressive (Lemmatizzazione).
  • Integrazione LLM con Semantic Kernel: Ottimizzato per modelli di nuova generazione che comprendono perfettamente il linguaggio contratto.

🛠️ Installazione

1. Pacchetto Base

Installa la libreria core e il gestore dei modelli:

dotnet add package Catalyst
dotnet add package Mosaik.Core
Caveman License Agreement v1.0
Copyright (c) 2026 Francesco Paolo Passaro
Con la presente si concede il permesso di utilizzare, copiare e modificare questo software ("Caveman") esclusivamente per scopi Open Source e NON Commerciali, alle seguenti condizioni:
Attribuzione: Il nome dell'autore originale, Francesco Paolo Passaro, e i riferimenti al progetto "Caveman Compression" devono essere mantenuti in ogni copia o parte sostanziale del software.
Uso Non Commerciale: È severamente vietato l'uso del software, dei suoi derivati o dei risultati da esso prodotti per fini di lucro, vendita, o integrazione in prodotti commerciali a pagamento senza previo accordo scritto.
Divieto di Ridistribuzione Pubblica: Il software non può essere caricato su repository pubblici, specchi (mirror) o distribuito a terzi al di fuori del contesto originale senza l'espresso consenso scritto dell'autore.
Open Source "As-Is": Il software è fornito "così com'è", senza garanzie di alcun tipo. L'autore non è responsabile per eventuali danni derivanti dall'uso del software.
Qualsiasi violazione dei punti sopra indicati comporterà la revoca immediata della licenza d'uso.
Per richieste di autorizzazione alla divulgazione o usi commerciali, contattare: passaroweb@gmail.com
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.

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
1.0.2 51 5/3/2026
1.0.1 61 4/27/2026
1.0.0 70 4/27/2026