Skip to content

Conversation

@mchenco
Copy link
Contributor

@mchenco mchenco commented Nov 13, 2025

Summary

  • edited the api fetch script to be more resilient
  • new qwen3 model and qwen embeddings!!

@mchenco mchenco changed the title Wai/qwen New Qwen models + API script fix Nov 13, 2025
@github-actions github-actions bot added the product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ label Nov 13, 2025
@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
*.js @cloudflare/pcx-content-engineering, @kodster28
/src/content/docs/workers-ai/ @rita3ko, @craigsdennis, @markdembo, @mchenco, @kodster28, @cloudflare/pcx-technical-writing
/src/content/release-notes/workers-ai.yaml @kathayl, @mchenco, @kodster28, @cloudflare/pcx-technical-writing
/src/content/workers-ai-models/ @craigsdennis, @cloudflare/pcx-content-engineering, @cloudflare/pcx-technical-writing, @kodster28

@mchenco mchenco marked this pull request as draft November 13, 2025 18:08
@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

@mchenco mchenco marked this pull request as ready for review November 13, 2025 18:41
@mchenco mchenco changed the title New Qwen models + API script fix [WAI] New Qwen models + API script fix Nov 13, 2025
Copy link
Contributor

@craigsdennis craigsdennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a little more info on what this is solving. The changes to the script, shouldn't be necessary. I think the API should be doing what you are attempting here probably.

Documentation on at least why would be required.


// Check which models are still missing valid schemas
const modelsWithoutSchema = Array.from(accumulatedModels.values()).filter(
(model) => !hasValidSchema(model),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because the API isn't returning the same model twice?

/**
* Check if a model has a valid schema
*/
function hasValidSchema(model) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would the API return an invalid schema @thatsKevinJain

if (accumulatedModels.has(model.name)) {
// Merge with existing model data
const existing = accumulatedModels.get(model.name);
const merged = deepMerge(existing, model);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is order based overrides?

"description": "Feature extraction models transform raw data into numerical features that can be processed while preserving the information in the original dataset. These models are ideal as part of building vector search applications or Retrieval Augmented Generation workflows with Large Language Models (LLM)."
},
"created_at": "2025-09-03 20:48:38.784",
"created_at": "2025-09-04 16:38:44.980",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note there are two of these models?

"type": "number",
"description": "Confidence that this word was transcribed correctly"
"end_of_turn_confidence": {
"type": "number",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hand coded?

@@ -0,0 +1,111 @@
{
"id": "cb254e3b-372b-4d4e-8526-ada79940427a",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest doing this in a separate commit.

@kodster28 kodster28 closed this Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants