Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributing

Thanks for thinking about contributing to `lenz-io`. This SDK is the public
Python client for the Lenz Claim Verification API for AI Product Teams.
Python client for the Lenz Accuracy Verification API.

## Reporting issues

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# lenz-io

Official Python SDK for the [Lenz Fact-Checking API](https://lenz.io/developers) — check the facts, figures, and citations in your work.
Official Python SDK for the [Lenz Accuracy Verification API](https://lenz.io/developers) — check the facts, figures, and citations in your work.

**Six API calls: one research-depth ladder, one call that runs it on a whole draft, and the citation check on its own.**

Expand Down
2 changes: 1 addition & 1 deletion context7.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://context7.com/schema/context7.json",
"projectTitle": "Lenz Python SDK (lenz-io)",
"description": "Official Python SDK and CLI for the Lenz Fact-Checking API (/extract, /assess, /verify, /citecheck, /review, /ask) — verify factual claims and citations in AI- and human-written documents against independent sources.",
"description": "Official Python SDK and CLI for the Lenz Accuracy Verification API (/extract, /assess, /verify, /citecheck, /review, /ask) — check the facts, figures, and citations in your work against primary and authoritative sources.",
"excludeFolders": [
"tests",
".github",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "lenz-io"
dynamic = ["version"]
description = "Official Python SDK for the Lenz Fact-Checking API — check the facts, figures, and citations in your work"
description = "Official Python SDK for the Lenz Accuracy Verification API — check the facts, figures, and citations in your work"
readme = "README.md"
license = "MIT"
authors = [{ name = "Lenz", email = "support@lenz.io" }]
Expand Down
4 changes: 2 additions & 2 deletions skills/lenz-api/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: lenz-api
description: >-
Verify factual claims, quotes, and citations in text, documents, or URLs using the Lenz Fact-Checking API (/extract, /assess, /verify, /citecheck, /review, /ask) and the official lenz-io Python and TypeScript/Node.js SDKs. Use when an agent needs to fact-check statements, evaluate draft accuracy, check source citations (URLs, DOIs, legal citations), or integrate automated verification into research, due-diligence, or document-generation workflows.
Verify factual claims, quotes, and citations in text, documents, or URLs using the Lenz Accuracy Verification API (/extract, /assess, /verify, /citecheck, /review, /ask) and the official lenz-io Python and TypeScript/Node.js SDKs. Use when an agent needs to verify statements, evaluate draft accuracy, check source citations (URLs, DOIs, legal citations), or integrate automated verification into research, due-diligence, or document-generation workflows.
---

# Lenz Fact-Checking API (`lenz-api`)
# Lenz Accuracy Verification API (`lenz-api`)

Lenz checks the facts, figures, and citations in your work so you can sign off or publish with confidence: a quick verdict, or a deep check with sources and reasoning.

Expand Down
2 changes: 1 addition & 1 deletion src/lenz_io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Official Python SDK for the Lenz Fact-Checking API.
"""Official Python SDK for the Lenz Accuracy Verification API.

pip install lenz-io

Expand Down
2 changes: 1 addition & 1 deletion src/lenz_io/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
app = typer.Typer(
name="lenz",
help=(
"Lenz — fact-check AI output from your terminal.\n\n"
"Lenz — check facts and citations from your terminal.\n\n"
"Quick start:\n"
" lenz login\n"
' lenz assess "Einstein won the 1921 Nobel for relativity"'
Expand Down
2 changes: 1 addition & 1 deletion src/lenz_io/cli/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def verify(
help="Supplied source document to verify against. Repeatable.",
),
) -> None:
"""Full fact-check pipeline (~90s). Needs a key; a fresh claim costs 10 credits (5 at --depth low)."""
"""Full verification pipeline (~90s). Needs a key; a fresh claim costs 10 credits (5 at --depth low)."""
state: CLIState = ctx.obj
out = state.output
selection = _parse_claim_selection(pick)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2121,7 +2121,7 @@ def test_cli_renders_non_ascii_under_an_ascii_locale():
env={**os.environ, "PYTHONIOENCODING": "ascii"},
)
assert proc.returncode == 0, proc.stderr.decode("utf-8", "replace")
assert "Lenz — fact-check" in proc.stdout.decode("utf-8")
assert "Lenz — check facts and citations" in proc.stdout.decode("utf-8")
assert b"Traceback" not in proc.stderr


Expand Down
Loading