llm-entropy-filter 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -167,6 +167,23 @@ Example integrations: Next.js / Vercel, Express, Cloudflare Workers
|
|
|
167
167
|
|
|
168
168
|
Extended dataset benches + cost-savings estimates
|
|
169
169
|
|
|
170
|
+
Install:
|
|
171
|
+
|
|
172
|
+
npm i llm-entropy-filter
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
Ejemplo mínimo:
|
|
176
|
+
|
|
177
|
+
import { gate } from "llm-entropy-filter";
|
|
178
|
+
console.log(gate("Congratulations. You won a FREE iPhone. Click here."));
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
Bench results (tu mejor “prueba”):
|
|
182
|
+
|
|
183
|
+
/analyze ~ 5k req/sec
|
|
184
|
+
|
|
185
|
+
/triad ~ 1–2 req/sec (LLM)
|
|
186
|
+
|
|
170
187
|
License
|
|
171
188
|
|
|
172
189
|
Apache-2.0
|
package/package.json
CHANGED