Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model list and search to AI binding #3318

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

G4brym
Copy link
Member

@G4brym G4brym commented Jan 10, 2025

usage:

env.AI.models()
env.AI.models({search: 'llama'})
env.AI.models({page:3, per_page: 5})
env.AI.models({task: 'Text Generation'})

@G4brym G4brym force-pushed the add-ai-models-method branch from 4a4d1bd to 6bfb3a2 Compare January 10, 2025 13:20
@G4brym G4brym marked this pull request as ready for review January 10, 2025 13:22
@G4brym G4brym requested review from a team as code owners January 10, 2025 13:22
@G4brym G4brym requested review from jasnell and tewaro January 10, 2025 13:22
@G4brym G4brym force-pushed the add-ai-models-method branch from 6bfb3a2 to 9057a81 Compare January 13, 2025 11:16
Copy link
Contributor

@tewaro tewaro left a comment

Choose a reason for hiding this comment

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

LGTM

@G4brym
Copy link
Member Author

G4brym commented Jan 14, 2025

@tewaro can you merge the pr, i don't have permissions

@jasnell jasnell merged commit 7053d6c into cloudflare:main Jan 14, 2025
12 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.

3 participants