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

@@ -5,22 +5,50 @@ Your task is to map extracted economic entities to VSM concepts.
## Extracted Entities
--- ENTITY: Division of Labour ---
--- ENTITY: division-of-labour ---
# Division of Labour
## Definition
Division of Labour refers to the process of splitting up a task into a series of smaller tasks, each of which is performed by a specialist worker. This allows for an increase in productivity and efficiency as workers can focus on one or a few tasks where they can apply their skills, rather than having to learn and perform all tasks required to produce a good or service.
The separation of a work process into a number of distinct tasks, each performed
by a specialised worker, resulting in a significant increase in the productive
powers of labour. Smith identifies it as the principal cause of improvement in
the productive capacity of any trade, art, or manufacture. The effect arises
from three circumstances: increased dexterity, saved time in transition between
tasks, and the invention of labour-saving machinery.
## Source Chapter
Book 1, Chapter 4
Book I, Chapter 1: "Of the Division of Labour"
## Context
According to Adam Smith, the division of labour has been a fundamental aspect of economic progress. His discussion of the division of labour in this chapter is focused on the difficulties that arise when individuals specializing in different tasks need to exchange goods and services.
The division of labour is the central argument of the chapter. Smith opens by
asserting that it is the greatest source of improvement in productive powers,
then illustrates it through the pin-factory example, explains its three causal
mechanisms, and concludes by showing how it generates universal opulence through
exchange.
## Economic Domain
Labour Economics, Microeconomics
--- ENTITY: Commercial Society ---
Production
## Smith's Original Wording
"The greatest improvements in the productive powers of labour, and the greater
part of the skill, dexterity, and judgment, with which it is anywhere directed,
or applied, seem to have been the effects of the division of labour."
## Modern Interpretation
The division of labour remains a foundational concept in economics and
organisational theory. Modern extensions include specialisation theory,
comparative advantage (Ricardo), and the study of transaction costs that
determine the boundaries between internal division and market exchange (Coase).
--- ENTITY: commercial-society ---
# Commercial Society
## Definition
@@ -35,7 +63,8 @@ Smith uses the concept of a commercial society to explain the development of com
## Economic Domain
Economic Sociology, Economic History, Microeconomics
--- ENTITY: Money ---
--- ENTITY: money ---
# Money
## Definition
@@ -50,7 +79,8 @@ Smith discusses the origin and use of money. He argues that the emergence of mon
## Economic Domain
Monetary Economics, Macroeconomics
--- ENTITY: Commodity ---
--- ENTITY: commodity ---
# Commodity
## Definition
@@ -65,7 +95,8 @@ Smith discusses commodities in the context of exchange and barter, where one com
## Economic Domain
Microeconomics, Commodities Market
--- ENTITY: Barter ---
--- ENTITY: barter ---
# Barter
## Definition
@@ -80,6 +111,7 @@ Smith explains the limitations of the barter system, especially in a society whe
## Economic Domain
Economic Anthropology, Economic History, Microeconomics
## VSM Framework Reference
---