The Architecture of Agency: What My Dog and an AI Taught Me About Being Ourselves
说明与用途
EthoPipe 使用 Gemini 2.5 Pro 进行结构化提取,Pydantic v2 进行验证,并映射到 Darwin Core,将非结构化犬类行为观察转换为机器可读记录,提升研究可重复性和互操作性。
问题
Field animal‑behavior researchers lack a standardized, machine‑readable way to transform narrative observations into structured data, leading to inter‑rater variability and limited reusability.
结果
EthoPipe provides a reproducible, auditable pipeline that converts narrative dog‑behavior logs into structured, Darwin Core‑compatible records, enabling quantitative analysis and peer review.
工作流
- 1. Capture raw narrative text from field logs.
- 2. Send text to FastAPI ingestion gateway with PII anonymization.
- 3. Use Gemini 2.5 Pro (temperature 0.0) to produce structured JSON following a Pydantic schema.
- 4. Validate payload with Pydantic v2 strict configuration and canine heart‑rate bounds.
- 5. Map validated data to Darwin Core terms and export to Firestore, Parquet, or an analytical warehouse.
- 6. Run automated tests via GitHub Actions and Docker containers.
证据
EthoPipe uses the language model as a structured extraction component rather than a creative writer. A temperature setting of 0.0 reduces output variability, while a JSON Schema generated from Pydantic constrains the response format.
Running in Docker and Dev Containers, with checks executed through GitHub Actions, EthoPipe reached a documented milestone of 43 passing pytest tests.
The project also received the DOI 10.5281/zenodo.21211371, is associated with my ORCID record (0009-0003-0048-8982).
- 记录日期: 2026-10-07T19:40:52.920Z