adapter-workers-ai

Classifier over the Cloudflare Workers AI binding. Workers only, no API key.

With cargo

cargo add cratefield-adapter-workers-ai

What it is

adapter-workers-ai.

Classifier port over the Cloudflare Workers AI binding for the Cratefield harness (issue #456). The model is reached through env.AI.run(...) โ€” a platform binding, no API key at all โ€” so this adapter only exists on the Workers runtime, and it bills through the venture's Cloudflare account rather than to a vendor key.

From the crate’s own README.

Ports

Implements Classifier

Read more

History

Changelog.

From the crate’s CHANGELOG.md in the harness, as of 0c5560b. 4 versions recorded, newest first. Every published version is on crates.io.

  1. 0.3.2

    crates.ioReleaseDiff

    Other

    • updated the following local packages: cratefield-core
  2. 0.3.1

    crates.ioReleaseDiff

    Added

    • core Speech port โ€” transcription and streamed synthesis, with Workers AI and OpenAI-compatible adapters (#861) (#868)
    • Speech over the Workers AI binding (issue #861): WorkersAiSpeech transcribes with Deepgram Nova-3 (the default) or Whisper and synthesizes with Deepgram Aura, behind a SpeechRunner seam (SpeechBinding in production). Its default audio ceiling is lowered to WORKERS_AI_MAX_AUDIO_BYTES, because the binding takes the clip as a JSON number array.
2 earlier versions 0.2.1 to 0.3.0
  1. 0.3.0

    crates.ioReleaseDiff

    Changed

    • Breaking: requires cratefield-core 0.8 (was 0.7), and so a minor rather than a patch bump: a venture still on core 0.7 does not pick this release up through a caret requirement and end up with two copies of core (#712).

    Other

    • updated the following local packages: cratefield-core
  2. 0.2.1

    crates.ioRelease

    Other

    • updated the following local packages: cratefield-core

One of 76 crates in the harness, all of them MIT and all of them in one repository.