feat(workers-ai-provider): Add support for Clef evaluation in Vercel AI SDK by OskarLebuda · Pull Request #670 · cloudflare/ai · GitHub
Skip to content

feat(workers-ai-provider): Add support for Clef evaluation in Vercel AI SDK - #670

Closed
OskarLebuda wants to merge 1 commit into
cloudflare:mainfrom
OskarLebuda:feat/workers-ai-clef-evaluation
Closed

OskarLebuda wants to merge 1 commit into
cloudflare:mainfrom
OskarLebuda:feat/workers-ai-clef-evaluation

Conversation

@OskarLebuda

Copy link
Copy Markdown
Contributor

Add support for Clef evaluation in Vercel AI SDK https://developers.cloudflare.com/ai/models/@cf/cloudflare/clef/

Example

import { experimental_evaluate as evaluate } from "ai";

const { answers } = await evaluate({
	model: workersai.evaluation("@cf/cloudflare/clef"),
	state: "Checkout has been failing for every customer for the last hour.",
	questions: {
		urgent: { type: "boolean", instructions: "Is this support request urgent?" },
	},
});

Requires ai@7.0.103 or later.

@changeset-bot

changeset-bot Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

@OskarLebuda
OskarLebuda force-pushed the feat/workers-ai-clef-evaluation branch from 27b060a to 350a0fa Compare October 5, 2026 10:59
@OskarLebuda OskarLebuda changed the title Add support for Clef evaluation in Vercel AI SDK feat: Add support for Clef evaluation in Vercel AI SDK Oct 5, 2026
@OskarLebuda OskarLebuda changed the title feat: Add support for Clef evaluation in Vercel AI SDK feat(workers-ai-provider): Add support for Clef evaluation in Vercel AI SDK Oct 5, 2026
@mattzcarey

mattzcarey commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

@mattzcarey mattzcarey closed this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants