cloudflare / cloudflare/workerd
🐛 BUG: model @cf/baai/bge-m3 is not available
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
### Which Cloudflare product(s) does this pertain to?
Workers AI
### What versions are you using?
4.5.1 [wrangler]
### What operating system and version are you using?
Mac Sequoia 15.3.1
### Please provide a link to a minimal reproduction
_No response_
### Describe the Bug
When trying to use the model @cf/baai/bge-m3 (https://developers.cloudflare.com/workers-ai/models/bge-m3/), typescript gives an error as the model is not present in the generated types. If i deploy and test the code, I get this error:
`{"error":"5006: Error: required properties at '/' are 'contexts'"}`
Code:
```ts
const modelResp = await env.AI.run(
"@cf/baai/bge-m3",
{
text: batch,
},
) as AiTextEmbeddingsOutput;
```
### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.