1.8.1 โ€ข Published 3 days ago

chromadb v1.8.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 days ago

chromadb

Chroma is the open-source embedding database. Chroma makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs.

This package gives you a JS/TS interface to talk to a backend Chroma DB over REST.

Learn more about Chroma

Getting started

Chroma needs to be running in order for this client to talk to it. Please see the ๐Ÿงช Usage Guide to learn how to quickly stand this up.

Small example

import { ChromaClient } from "chromadb";
const chroma = new ChromaClient({ path: "http://localhost:8000" });
const collection = await chroma.createCollection({ name: "test-from-js" });
for (let i = 0; i < 20; i++) {
  await collection.add({
    ids: ["test-id-" + i.toString()],
    embeddings, [1, 2, 3, 4, 5],
    documents: ["test"],
  });
}
const queryData = await collection.query({
  queryEmbeddings: [1, 2, 3, 4, 5],
  queryTexts: ["test"],
});

Local development

View the Development Readme

License

Apache 2.0

1.9.1

3 days ago

1.8.1

4 months ago

1.7.3-beta1

4 months ago

1.7.3-beta3

4 months ago

1.7.3-beta2

4 months ago

1.7.3-beta5

4 months ago

1.7.3-beta4

4 months ago

1.7.3

5 months ago

1.7.2

5 months ago

1.7.1

5 months ago

1.7.1-beta2

5 months ago

1.7.1-beta1

5 months ago

1.5.5

10 months ago

1.5.4

10 months ago

1.6.1

6 months ago

1.5.12-beta.0

6 months ago

1.5.10

8 months ago

1.5.11

8 months ago

1.5.9

8 months ago

1.5.8

8 months ago

1.5.7

8 months ago

1.5.6

9 months ago

1.5.3

11 months ago

1.5.2

11 months ago

1.5.1

12 months ago

1.4.2

12 months ago

1.5.0

12 months ago

1.4.1

1 year ago

1.4.0

1 year ago

1.2.0

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago