new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

qwen/models

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Qwen language model creation

Language models are created using a provider instance with the model id as the first argument, e.g., qwen('qwen-plus'). Models call the Qwen chat API and some support tool calls.

Qwen generateText example

The following example demonstrates using Qwen language models to generate text with the generateText function: import { qwen } from 'qwen-ai-provider'; import { generateText } from 'ai'; const { text } = await generateText({ model: qwen('qwen-plus'), prompt: 'Write a vegetarian lasagna recipe for 4 people.', });

Qwen embedding model creation

Embedding models are created using the .embeddingModel() factory method on a provider instance with the model id as the argument, e.g., qwen.embeddingModel('text-embedding-v3'). Embedding models call the Qwen embeddings API.

Give your agent this brain