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

neon/capabilities

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.

Neon AI Gateway supported capabilities

Neon AI Gateway supports text generation, streaming, tool calls, structured output, and image input. Image generation works through a tool rather than an AI SDK image model; the provider does not support generateImage(), embed(), or embedMany().

Neon generateText example

import { neon } from '@neon/ai-sdk-provider'; import { generateText } from 'ai'; const { text } = await generateText({ model: neon('gpt-5-mini'), prompt: 'What is serverless Postgres?', }); console.log(text);

Neon streamText example

import { neon } from '@neon/ai-sdk-provider'; import { streamText } from 'ai'; const result = streamText({ model: neon('gemini-3-5-flash'), prompt: 'Write a short story about a database branch.', }); for await (const textPart of result.textStream) { process.stdout.write(textPart); }

Neon image generation example

import { neon } from '@neon/ai-sdk-provider'; import { streamText } from 'ai'; const result = streamText({ model: neon('gpt-5-mini'), prompt: 'Generate an image of a neon elephant in a server room.', tools: { image: neon.tools.imageGeneration({ outputFormat: 'png' }), }, }); for await (const part of result.stream) { if (part.type === 'tool-result' && 'result' in part.output) { const image = Buffer.from(part.output.result as string, 'base64'); // Save or return the generated image. } }

Give your agent this brain