Socket
Book a DemoInstallSign in
Socket

@sprucelabs/chroma-data-store

Package Overview
Dependencies
Maintainers
3
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprucelabs/chroma-data-store

A data store adapter for Chroma (vectordb)

2.0.25
latest
npmnpm
Version published
Maintainers
3
Created
Source

Chroma Data Store

Give your skill the ability to store and retrieve data from a Chroma database.

Running the Chroma Database

  • Clone this rep
  • Run yarn start.chroma.docker

Setting an embedding model

By default, the ChromaDabatase class will use llama3.2 hosted through Ollama to generate embeddings

Installing Ollama

  • Visit https://ollama.com
  • Click "Download"
  • Select your OS

Installing Llama3.2

Llama 3.2 is the newest version of Llama (as of this writing) that supports embeddings.

  • Inside of terminal, run ollama run llama3.2
  • You should be able to visit http://localhost:11434/api/embeddings and get a 405 response (this is because the route only accepts POST requests)

Improving embeddings with nomic-embed-text

We have seen significantly better search performance when using nomic-embed-text to generate embeddings.

Run ollama pull nomic-embed-text

Using in your skill

Add the following to your env:

DB_CONNECTION_STRING="chromadb://localhost:8000"
DB_ADAPTER="@sprucelabs/chroma-data-store"

Keywords

node

FAQs

Package last updated on 15 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.