Add Antfly Cloud templates - #3
Conversation
|
After a first pass it seems these are a bit more like examples/ rather than templates/ Templates should probably be mostly executable without code or via a distributable cli, e.g. the mediaaf requires python scripts to execute the tagging rather than using antfly enrichments (which is fine but probably more of an example than would belong in antfly rather than a user of antfly cloud who may or may not have the ability to run code in production themselves). |
|
|
||
| Antfly Cloud templates are starter packs for building searchable applications on top of hosted Antfly instances. | ||
|
|
||
| DocsAF stores source-document rows. Antfly derives document units, chunks, embeddings, full-text indexes, and hierarchy artifacts from those source rows. |
There was a problem hiding this comment.
The docsaf is closer to a template than mediaaf is here, although it makes me think maybe we make docsaf available as a cli in our homebrew/releases? as an extension or cli extension
| if raw.strip() and not raw.strip().startswith('#') and '=' in raw: | ||
| k, v = raw.split('=', 1); os.environ.setdefault(k.strip(), v.strip().strip('"').strip("'")) | ||
| base = os.environ.get('ANTFLY_URL', '').rstrip('/') | ||
| key = os.environ.get('ANTFLYDB_API_KEY', '') |
There was a problem hiding this comment.
ANTFLY_CLOUD_API_KEY or ANTFLY_API_KEY or ANTFLY_TOKEN probably
Summary
templates/as AGENTS-first Antfly Cloud starter packsValidation
make -C templates/mediaafmake -C templates/docsafpython3 -m py_compile templates/mediaaf/transforms/*.py templates/mediaaf/scripts/local_proxy.py templates/mediaaf/ingest/image-to-text/describe.py templates/mediaaf/ingest/embed-text-descriptions/embed.py templates/docsaf/scripts/*.pycd templates/mediaaf/web && pnpm install --ignore-scripts && pnpm test:run && pnpm buildcd go && GOWORK=off GOCACHE=/tmp/antfly-cloud-go-build-cache go test ./...Notes
codex/session-searcher-gliner2for a separate GLiNER2 enrichment PR.make testmay still hit local pnpm build-script approval policy; targeted checks above pass.