New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sprucelabs/chroma-data-store

Package Overview
Dependencies
Maintainers
0
Versions
74
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)

0.3.39
npm
Version published
Weekly downloads
31
-84.88%
Maintainers
0
Weekly downloads
 
Created
Source

Chroma Data Store

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

Running Chroma

  • 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 404 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.

Connecting to Chroma

Use the connection string: chromadb://localhost:8000 is your skill.

Keywords

node

FAQs

Package last updated on 28 Feb 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