Getting error "required properties at '/' are 'contexts'" when using AI

What is the name of the modal you’re running?

@cf/baai/bge-m3

What is the error number?

5006

What is the error message?

required properties at ‘/’ are ‘contexts’

What is the issue or error you’re encountering

Calling AI not working

What steps have you taken to resolve the issue?

Search the web

What are the steps to reproduce the issue?

Run AI:
const modelResp = await env.AI.run(
@cf/baai/bge-m3”,
{
text: batch,
},
);

This topic was automatically closed after 15 days. New replies are no longer allowed.