npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sisu-ai/vector-vectra

v1.0.0

Published

Vectra vector-store adapter for Sisu RAG composition.

Readme

@sisu-ai/vector-vectra

Vectra vector-store adapter for Sisu RAG composition.

Tests CodeQL License Downloads PRs Welcome

Exports

  • createVectraVectorStore

The created adapter exposes upsert, query, and delete, and is intended to be injected into backend-agnostic RAG tools such as @sisu-ai/tool-rag.

For reusable chunking, record preparation, and app-side seeding flows, pair this adapter with @sisu-ai/rag-core.

Philosophy

@sisu-ai/vector-vectra owns only Vectra-specific translation.

  • It implements the shared VectorStore contract from @sisu-ai/vector-core.
  • It does not own chunking, prompt shaping, or tool schemas.
  • It uses Vectra LocalIndex, which fits Sisu's existing split where @sisu-ai/rag-core already owns chunking and embeddings orchestration.

Setup

npm i @sisu-ai/vector-vectra vectra

Usage

import { openAIEmbeddings } from '@sisu-ai/adapter-openai';
import { storeRagContent } from '@sisu-ai/rag-core';
import { createVectraVectorStore } from '@sisu-ai/vector-vectra';

const embeddings = openAIEmbeddings({ model: 'text-embedding-3-small' });
const vectorStore = createVectraVectorStore({
  folderPath: '.vectra',
  namespace: 'travel',
  indexedMetadataFields: ['docId', 'source'],
});

await storeRagContent({
  content: 'Malmö fika notes go here.',
  source: 'seed',
  metadata: { docId: 'malmo-guide' },
  embeddings,
  vectorStore,
  namespace: 'travel',
});

Namespaces

Vectra has no built-in namespace primitive, so this adapter maps each namespace to its own local folder under folderPath.

  • base folderPath: .vectra
  • namespace travel: .vectra/travel
  • namespace docs: .vectra/docs

Queries against a namespace that has not been written yet return an empty match set.

Metadata

  • Scalar metadata values are stored directly.
  • Non-scalar metadata values are JSON-stringified before persistence.
  • Filterable fields should be listed in indexedMetadataFields when creating the adapter.

This keeps Vectra-specific metadata constraints inside the adapter package instead of leaking into rag-core or tool-rag.

How It Fits With The RAG Stack

  • @sisu-ai/vector-core defines the shared storage contract
  • @sisu-ai/vector-vectra implements that contract with file-backed local indexes
  • @sisu-ai/rag-core handles chunking and direct store/retrieve flows
  • @sisu-ai/tool-rag exposes model-facing retrieval/storage tools
  • @sisu-ai/mw-rag composes deterministic middleware-driven retrieval over any VectorStore

Contributing

We build Sisu in the open. Contributions welcome.

Contributing Guide · Report a Bug · Request a Feature · Code of Conduct


Star on GitHub if Sisu helps you build better agents.

Quiet, determined, relentlessly useful.

Apache 2.0 License