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
3
Versions
42
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.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

Chroma Data Store

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

Running Chroma

  1. Clone this rep
  2. 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

  1. Visit https://ollama.com
  2. Click "Download"
  3. Select your OS

Installing Llama3.2

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

  1. Inside of terminal, run ollama run llama3.2
  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

FAQs

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc