We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44488c commit 754f34cCopy full SHA for 754f34c
examples/ai/demo.ts
@@ -6,7 +6,7 @@ import Cloudflare from 'cloudflare';
6
const client = new Cloudflare();
7
8
async function main() {
9
- const response = await client.workers.ai.run('@cf/meta/llama-2-7b-chat-int8', {
+ const response = await client.ai.run('@cf/meta/llama-2-7b-chat-int8', {
10
account_id: process.env['CLOUDFLARE_ACCOUNT_ID']!,
11
prompt: 'Tell me about Workers AI',
12
});
0 commit comments