Default Data Loader

Makes chunks with metadata from items or files, for a vector store.

v0.4.0Source

Install

An AI agent with ports for a chat model, memory, and tools. Chat models of OpenAI, Anthropic, Google Gemini, Mistral, Groq, xAI, DeepSeek, OpenRouter, Ollama, Azure OpenAI, Amazon Bedrock, Google Vertex AI, or any OpenAI-compatible endpoint, memory in zerodot or in a data table, and other workflows, MCP servers, and vector stores as tools. Embedding models, text splitters, a data loader, and a Cohere reranker for vector stores.

AI Agent@zerodot/ai-agentInstall
  1. Open System, then Nodes.
  2. Find AI Agent and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

Default Data Loader (agent.document.default) is an action node in the AI Agent package (@zerodot/ai-agent): Makes chunks with metadata from items or files, for a vector store.

Makes the chunks for a vector store (kind ai.document). Type of Data is JSON or Binary. JSON: Load All Input Data (one line for each value of the item) or Load Specific Data (a text with expressions, such as {{ $json.body }}). Binary: PDF, Text, Markdown, HTML, or JSON, or found from the MIME type. Metadata Fields and Extra Metadata go with each chunk. With no text splitter, it uses the recursive splitter with 1000 characters and 200 overlap.

Logins it can use

The chat models and the embedding models use the same credential types as @zerodot/ai: ai.openai, ai.anthropic, ai.gemini, and ai.compatible. A key saved for one package works in the other.

Cohere API key (cohere): apiKey, and an optional baseUrl. The key is secret.

Guides and related hubs