chromadb 1.10.5-dev.b7e132a5c-12967183850
Install from the command line:
Learn more about npm packages
$ npm install @chroma-core/chromadb@1.10.5-dev.b7e132a5c-12967183850
Install via package.json:
"@chroma-core/chromadb": "1.10.5-dev.b7e132a5c-12967183850"
About this version
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.
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.
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"],
});
Apache 2.0
Details
- chromadb
-
chroma-core
- 24 days ago
- Apache-2.0
- 27 dependencies
Assets
- chromadb-1.10.5-dev.b7e132a5c-12967183850.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.10.5-dev.8a9abe1a0-13383308026
- 1.10.5-dev.9d0aa81ba-13382422960
- 1.10.5-dev.f6ad36ac8-13382398277
- 1.10.5-dev.96594e62e-13381359545
- 1.10.5-dev.a03a3c1e0-13380801185
- 1.10.5-dev.930da14c6-13350836016
- 1.10.5-dev.d60418b5c-13338298885
- 1.10.5-dev.1c33a6f85-13338218955
- 1.10.5-dev.48ad73635-13319937531
- 1.10.5-dev.8a5dbb59b-13318762033