the example code here doesn't work https://developers.cloudflare.com/workers-ai/models/llama-2-7b-c

the example code here doesn't work

https://developers.cloudflare.com/workers-ai/models/llama-2-7b-chat-fp16/

where does Response come from??? response doesn't have .json() it's a ReadableStream<any> | AiTextGenerationOutput
Cloudflare Docs
Run AI models in Workers, Pages, or via API.
Was this page helpful?