Metadata-Version: 2.4
Name: fogcutter
Version: 0.1.0
Summary: Cutting through LLM uncertainty with modern metrics
Project-URL: Homepage, https://github.com/Yathish-007/fogcutter
Project-URL: Repository, https://github.com/Yathish-007/fogcutter
Author-email: Yathish Sadashivareddy <Yathishsadashivareddy@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: google-cloud-aiplatform>=1.71.1
Requires-Dist: google-genai>=1.0.0
Requires-Dist: google-generativeai>=0.8.6
Requires-Dist: numpy>=1.24.0
Requires-Dist: openai>=1.0.0
Requires-Dist: pandas>=2.3.3
Requires-Dist: pydantic-settings>=2.11.0
Requires-Dist: python-dotenv>=1.2.1
Requires-Dist: scipy>=1.10.0
Requires-Dist: sentence-transformers>=5.1.2
Requires-Dist: torch>=2.0.0
Requires-Dist: transformers>=4.30.0
Requires-Dist: vertexai>=1.71.1
Provides-Extra: dev
Requires-Dist: build>=1.3.0; extra == 'dev'
Requires-Dist: pytest>=8.4.2; extra == 'dev'
Requires-Dist: ruff>=0.14.10; extra == 'dev'
Description-Content-Type: text/markdown

# Fogcutter 

**Fogcutter** is a Python library for cutting through the uncertainty of Large Language Models (LLMs). It implements state-of-the-art quantification metrics from 2022-2025 research.

## Features
- **White-Box (Logits):** 
  -  Entropy
- **Black-Box (Sampling):** 
  - Self-Consistency (Wang et al., 2022)
  - Semantic Entropy (Kuhn et al., 2023)
- **Verbalized:** 
  - Explicit Scoring & Epistemic Markers

## Installation
bash
pip install fogcutter

## Quick Start
python
import fogcutter.whitebox as white
# Calculate entropy from logits
entropy = white.token_entropy(logits)

