llm-token-visualizer 0.2.0

Flag low-confidence spans in LLM output from token logprobs, and render per-token confidence as terminal, HTML or Markdown
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "llm-token-visualizer"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Flag low-confidence spans in LLM output from token logprobs, and render per-token confidence as terminal, HTML or Markdown"
readme = "README.md"
keywords = [
    "llm",
    "hallucination",
    "logprobs",
    "confidence",
    "cli",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/Mattbusel/LLM-Hallucination-Detection-Script"

[features]
default = ["live"]
live = ["dep:ureq"]

[lib]
name = "llm_token_visualizer"
path = "src/lib.rs"

[[bin]]
name = "llm-token-visualizer"
path = "src/main.rs"

[[example]]
name = "detect"
path = "examples/detect.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.colored]
version = "2.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.ureq]
version = "2"
optional = true

[dev-dependencies.tempfile]
version = "3.0"