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

dify/setup

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

Dify provider npm package

The Dify provider is available in the `dify-ai-provider` npm module. Install it with: npm install dify-ai-provider, pnpm add dify-ai-provider, or yarn add dify-ai-provider.

Dify provider import

The Dify provider is imported from `dify-ai-provider` using: import { difyProvider } from 'dify-ai-provider';

Dify provider initialization example

The difyProvider function is called with an application ID and configuration object: const dify = difyProvider('dify-application-id', { responseMode: 'blocking', apiKey: 'dify-api-key' });

Dify self-hosted setup

For self-hosted Dify instances, use createDifyProvider function with a baseURL configuration: const difyProvider = createDifyProvider({ baseURL: 'your-base-url' });

Give your agent this brain