Files
justin a97107de46
Image rebuild (skip scrape) / build (push) Failing after 1h37m12s
docker: production image + Gitea Actions for monthly refresh
Dockerfile: self-contained image with corpus + Chroma + BM25 baked
in. Drawbar's compose pulls + runs without volume mounts. Built from
sources.json (labels schema), PRODUCT_NAME=crop_chem by default,
HYBRID_SEARCH=true (always-on for production quality). RERANK_URL +
OLLAMA_URL get set at compose time.

.gitea/workflows/refresh.yml: monthly cron (1st @ 06:00 UTC) does
full scrape → reindex → image push. Scrapes Bayer (~30 min) +
EPA PPLS row-crop filtered (~7h). Skips reindex+push if no corpus
diff. Tags pushed: :latest, :<sha12>, :corpus-<YYYY.MM.DD>.

.gitea/workflows/image-only.yml: on-demand or auto on code-only
pushes to main (paths: docs_mcp/, rag/, scrape/, requirements.txt,
Dockerfile, sources.json). Reindexes from committed corpus, builds
image, pushes. ~10 min vs ~9h full refresh.

.gitignore: corpus/ now COMMITTED (4,159 labels, 265 MB of .md +
sidecars). Lets image-only.yml rebuild indexes without re-scraping.
chroma/ + bm25/ still gitignored (regenerable binary indexes).

.dockerignore: drops venv, eval results, PLAN/README/CLAUDE.md,
deploy/, .git/ — keeps the image lean. corpus + chroma + bm25
explicitly NOT in dockerignore (those go INTO the image).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 12:32:41 -04:00

41 lines
1.2 KiB
JSON

{
"source": "epa_ppls",
"source_key": "100-1749",
"epa_reg_no": "100-1749",
"product_name": "A24561 Herbicide",
"product_class": null,
"registrant": "SYNGENTA CROP PROTECTION, LLC",
"active_ingredients": [
{
"name": "S-Metolachlor",
"cas": "87392-12-9",
"percent": 68.3,
"pc_code": "108800"
},
{
"name": "Sulfentrazone",
"cas": "122836-35-5",
"percent": 7.55,
"pc_code": "129081"
}
],
"signal_word": "Danger",
"label": {
"url": "https://www3.epa.gov/pesticides/chem_search/ppls/000100-01749-20251219.pdf",
"filename": "000100-01749-20251219.pdf",
"accepted_date": "2025-12-19",
"last_modified": "2026-01-15T18:45:02+00:00",
"page_count": 37,
"text_layer": true
},
"supplemental_documents": [],
"source_urls": {
"product_page": null,
"label_api": "https://ordspub.epa.gov/ords/pesticides/cswu/ppls/100-1749",
"label_index": "https://ordspub.epa.gov/ords/pesticides/f?p=PPLS:102:::NO::P102_REG_NUM:100-1749"
},
"registration_status": "Active",
"registrant_company_number": "100",
"fetched_at": "2026-05-24T04:35:56.195850+00:00",
"scraper_version": "0.1.0"
}