feat(llm): add Gemini adapter and process book-1-chapter-05

Add GeminiAdapter calling Google's Generative Language REST API
(default model: gemini-2.5-flash). Register "gemini" as third
provider in the factory and CLI. Add rate-limit retry with
exponential backoff to the pipeline's _call_llm helper. Increase
default max_tokens from 2000 to 4096.

Process book-1-chapter-05 via Gemini free tier — 1 new entity
extracted (necessaries-conveniencies-and-amusements-of-life),
41 existing entities correctly skipped by dedup. Canonical set
now at 42 unique entities.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 22:54:37 +01:00
parent 2d1282a61e
commit 880c1d1374
22 changed files with 12008 additions and 57 deletions

View File

@@ -0,0 +1,10 @@
# Necessaries, Conveniencies, and Amusements of Life
## Definition
This collective term refers to the various goods and services that individuals desire and consume to sustain and improve their well-being. Adam Smith uses it to describe the ultimate objects of human enjoyment and, by extension, what wealth enables a person to acquire. The ability to command these items, rather than merely possessing money or commodities, is presented as the true measure of a person's richness or poverty.
## Source Chapter
Book 1, Chapter 5
## Context
Introduced in the opening paragraph, this concept establishes the fundamental purpose of economic activity and the ultimate utility derived from wealth. It frames the subsequent discussion on how different