0.1.0 • Published 5 months ago

@chroma-core/all v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

@chroma-core/all

All AI embedding providers for Chroma in one package.

Installation

npm install @chroma-core/all

Usage

This package re-exports all available embedding functions:

import {
  OpenAIEmbeddingFunction,
  CohereEmbeddingFunction,
  JinaEmbeddingFunction,
  GoogleGeminiEmbeddingFunction,
  // ... and all other providers
} from '@chroma-core/all';

// Use any embedding function
const openAIEF = new OpenAIEmbeddingFunction({
  apiKey: 'your-api-key',
  modelName: 'text-embedding-3-small'
});

Included Providers

  • OpenAI
  • Cohere
  • Jina
  • Google Gemini
  • Hugging Face Server
  • Ollama
  • Together AI
  • Voyage AI
  • Cloudflare Worker AI
  • Default Embedding

For specific provider documentation, see the individual package READMEs.