chromadb 1.10.5-dev.f4f0871fe-12999130303
Install from the command line:
Learn more about npm packages
$ npm install @chroma-core/chromadb@1.10.5-dev.f4f0871fe-12999130303
Install via package.json:
"@chroma-core/chromadb": "1.10.5-dev.f4f0871fe-12999130303"
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
- 9 days ago
- Apache-2.0
- 27 dependencies
Assets
- chromadb-1.10.5-dev.f4f0871fe-12999130303.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.10.5-dev.dee0226bf-13168285927
- 1.10.5-dev.0869d0d16-13167843704
- 1.10.5-dev.5d722d2a9-13167501623
- 1.10.5-dev.560792628-13165226159
- 1.10.5-dev.48717118e-13165198088
- 1.10.5-dev.1375f4987-13163343746
- 1.10.5-dev.bc31a022c-13151236394
- 1.10.5-dev.ed5f9083d-13150283995
- 1.10.5-dev.fb1a740fe-13149841052
- 1.10.5-dev.1c6826482-13147948607