AIOZ Pin File Vectors: Search Pinned Files by Meaning

AIOZ Pin File Vectors: Search Pinned Files by Meaning

A file can already be pinned on IPFS, but finding it still depends on knowing its CID, filename, or metadata.

AIOZ Pin File Vectors adds another path: search by meaning.

Enable vectorization for supported text files, then search pinned content with natural-language queries across more than 100 languages. AIOZ Pin handles the embeddings and vector index while the original file and CID remain unchanged.

From Pinned Content to Semantic Discovery

AIOZ Pin File Vectors makes pinned text files discoverable by what they contain, not only by how they are identified.

A query such as how do refunds work can surface a file about return policies even when the document uses different wording.

The workflow is managed by AIOZ Pin:

  1. Pin and vectorize. Add "vectorize": true when pinning a supported text file, or vectorize an existing pin separately.
  2. Prepare the file for search. AIOZ Pin divides the text into sections of roughly 2,000 characters and converts each section into a 1,024-dimension embedding using bge-m3.
  3. Search in natural language. The query is embedded with the same model and matched against the indexed content, returning the closest files by relevance.

Keep the IPFS Workflow, Add Search by Meaning

File Vectors adds semantic discovery without changing the underlying IPFS workflow:

  • Files stay on IPFS. Vectorization does not modify pinned content.
  • CIDs stay unchanged. Existing links and retrieval flows continue to work.
  • Search becomes meaning-aware. Queries can match relevant files even when the wording differs.
  • Embeddings and indexing are managed. AIOZ Pin runs the multilingual embedding model and vector index.
  • Search remains account-scoped. Queries cover only vectorized files associated with the requesting account.

Supported Content

File Vectors supports UTF-8 text, including: plain text and Markdown, CSV and JSON, HTML and XML, YAML, and source code.

The bge-m3 model supports more than 100 languages, allowing multilingual files and queries to use the same workflow.

Binary and non-text formats are not currently supported, including PDF, DOCX, images, audio, video, CAR files, and folders.

Files uploaded in chunks must first be pinned, then vectorized separately.

Get Started

  1. Create an AIOZ Pin API key with the admin or pin_file_to_ipfs scope. Pinning an existing CID also requires pin_by_hash.
  2. Pin a supported text file with "vectorize": true, or vectorize an existing pin.
  3. Wait until vectorize_status changes from queued or processing to completed.
  4. Send a natural-language query to POST /api/v2/vectorize/query.

For API fields, statuses, and errors, see the AIOZ Pin File Vectors documentation.

What to Know Before You Build

File Vectors returns the closest matching files, not individual passages.

Results do not include similarity scores, and a query can still return the closest available files when the collection does not contain a strong match. Applications should therefore treat search results as candidates for further processing.

Vector lifecycle and pin lifecycle are also managed separately.

Unpinning a file does not remove it from semantic search. To remove its vectors, use:

DELETE /api/v2/vectorize/files/{cid}

Because changing a file creates a new CID, a revised file should be vectorized under its new CID, with earlier vectors removed when they are no longer needed.

Semantic search depends on the AIOZ Pin API, while the underlying IPFS content remains independently retrievable by CID.

Add File Vectors to Pinned Content

AIOZ Pin File Vectors connects IPFS pinning with managed semantic retrieval.

Keep the original file and CID. Add multilingual, meaning-aware discovery on top.

Pin the content. Enable File Vectors. Search by meaning.