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

jina-ai/setup

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

Jina AI provider module name

The Jina AI provider is available in the 'jina-ai-provider' module.

Install Jina AI provider

Install the Jina provider with the package 'jina-ai-provider'.

Import default Jina provider instance

Import the default provider instance 'jina' from 'jina-ai-provider' using: import { jina } from 'jina-ai-provider';

Create customized Jina provider instance

To create a customized Jina provider instance, import 'createJina' from 'jina-ai-provider' and call it with custom settings: import { createJina } from 'jina-ai-provider'; const customJina = createJina({ // custom settings });

Jina provider configuration options

The Jina provider accepts the following optional configuration settings: (1) baseURL (string) - The base URL of the Jina API, defaults to 'https://api.jina.ai/v1'. (2) apiKey (string) - API key sent using the Authorization header, defaults to the JINA_API_KEY environment variable. (3) headers (Record<string,string>) - Custom headers to include in requests. (4) fetch (function) - Custom fetch implementation that accepts (input: RequestInfo, init?: RequestInit) and returns Promise<Response>, defaults to the global fetch function.

Give your agent this brain