Skip to content

ai: Support new (Workers) AI API endpoint#249

Merged
kennetheversole merged 1 commit intocloudflare:masterfrom
GodTamIt:workers-ai
Feb 13, 2025
Merged

ai: Support new (Workers) AI API endpoint#249
kennetheversole merged 1 commit intocloudflare:masterfrom
GodTamIt:workers-ai

Conversation

@GodTamIt
Copy link
Copy Markdown
Contributor

This adds support for the execute model endpoint, as described here: https://developers.cloudflare.com/api/resources/ai/methods/run/

This also adds an optional feature ndarray that can deserialize embeddings directly into an ndarray::ArrayD.

@GodTamIt GodTamIt force-pushed the workers-ai branch 4 times, most recently from c129d02 to e8a1353 Compare January 24, 2025 05:25
This adds support for the execute model endpoint, as described here:
https://developers.cloudflare.com/api/resources/ai/methods/run/

This also adds an optional feature `ndarray` that can deserialize
embeddings directly into an `ndarray::ArrayD`.
Copy link
Copy Markdown
Contributor

@kennetheversole kennetheversole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and Tests pass

@kennetheversole kennetheversole merged commit f9664e3 into cloudflare:master Feb 13, 2025
4 of 5 checks passed
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