chromadb
/
1.9.3-dev.ba06137e-11845301721
chromadb 1.9.3-dev.ba06137e-11845301721
Install from the command line:
Learn more about npm packages
$ npm install @chroma-core/chromadb@1.9.3-dev.ba06137e-11845301721
Install via package.json:
"@chroma-core/chromadb": "1.9.3-dev.ba06137e-11845301721"
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
- 1 day ago
- Apache-2.0
- 24 dependencies
Assets
- chromadb-1.9.3-dev.ba06137e-11845301721.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.9.3-dev.f6439fe2-11865697159
- 1.9.3-dev.ea642a60-11865006110
- 1.9.3-dev.f2d895be-11863682543
- 1.9.3-dev.31f26c2b-11863322936
- 1.9.3-dev.b3316a34-11861865739
- 1.9.3-dev.df48d63e-11849186108
- 1.9.3-dev.f7f014b5-11846402729
- 1.9.3-dev.ba06137e-11845301721
- 1.9.3-dev.f9b793bd-11844043664
- 1.9.3-dev.75ea391f-11841541543