Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Just a heads up, but **@cf/google/gemma-

Just a heads up, but @cf/google/gemma-7b-it-lora is returning mostly blank responses for me regardless of prompt.

Hey guys, we're using the Workers AI

Hey guys, we're using the Workers AI REST API (llama-3.1-70b-instruct) and, for some reason, I'm currently unable to see in Cloudflare dashboard how much we've been consuming. Any ideas?

Hey guys, I'm trying to upload images to

Hey guys, I'm trying to upload images to Workers AI REST API with Python, but I'm getting error messages. Any tips?

I'm trying to get started with workers

I'm trying to get started with workers ai function calling, for the life of me I can't get it it to call the function I've provided or get it to return in the schema shape that I've specified. I always need the response to be in the json schema that I've given. With open AI you could enforce this with tool_choice. is there an equivalent for workers ai / hermes 2?

I believe pricing shoud be reviewed as

I believe pricing shoud be reviewed as it's order of magnitude more expensive than any compettipl

Right now your option is pretty much to

Right now your option is pretty much to use "traditional" function calling. When you call runWithTools it's the LLM that generates the response, i.e. you can't make it return the result of your user-defined function(s).

Hello, I am trying to upload `adapter_

Hello, I am trying to upload adapter_model.safetensors to a created finetune and got error, see thread

Hi, I have a problem with Cloudflare

Hi, I have a problem with Cloudflare Workers + Hono + Cloudflare AI, I have a route defined (i.e. /v1/chat/completions) and when the user triggers that route I try to run env.AI.run([model], [etc]), but I get this error: TypeError: Cannot read properties of undefined (reading 'AI'). This is my Env interface: ```typescript interface Env { AI: any;...

The docs seem out of date, there is no "

The docs seem out of date, there is no "Account details section contains your Account ID" section on workers and pages ->overview https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/#find-account-id-workers-and-pages And the only way I found to find it is by creating a domain (even though I did not intend to register any w/ CF) but then finally noticed the account_id is after the dash.cloudflare.com/{ACCOUNT_ID}/ on the site 🤦‍♂️ This could be much clearer for first-time users....

@element14 , did you ever figure this

@element14 , did you ever figure this out? I'm getting this same FILE_PARSE_ERROR with my autotrained finetune

not yet but team said params are on the

not yet but team said params are on the way for some models

Found the solution thanks to @pshek

Found the solution thanks to @pshek Be sure to use only --target_modules q_proj,v_proj as target modules with autotrain...
No description

Error while executing this audio file

Error while executing this audio file with whisper model: https://cdn.openai.com/whisper/draft-20220913a/micro-machines.wav [wrangler:err] InferenceUpstreamError: InferenceUpstreamError: ERROR 3010: Invalid or incomplete input for the model: failed to decode JSON: Request is too large...

CPU time limit exceeded, any way to check sdk version?

Is there any way to check the sdk version? I redeployed, but am still experiencing the same timeout issues today

Is there a reason that the API

Is there a reason that the API permission name for Workers AI changed from Cloudflare AI Read to Workers AI Read? It caused my terraform to break

Thread on Workers AI onboarding for a

Thread on Workers AI onboarding for a new user 🧵

M2M100 Supported languages

Just tried using the M2M100 model, it works well but why are some languages not supported even though they are included in the M2M100 supported languages. succeed: target_lang fr { "translated_text": "Votre employé a accès aux liens suivants : AI" }...

Have others been able to run text-to-

Have others been able to run text-to-image models in NextJS apps that run on Pages? I have a nextJS app set up via C3 and a server action performing the following: ``` "use server"; ...

I'm a bit confused rn.

I'm a bit confused rn. Why am I getting this error? Did I forget to bind something? 16:45:04.582 Executing user command: npx wrangler tail AI 16:45:07.041 ...
Next