chromadb 1.10.5-dev.495b557e8-13022582409
Install from the command line:
Learn more about npm packages
$ npm install @chroma-core/chromadb@1.10.5-dev.495b557e8-13022582409
Install via package.json:
"@chroma-core/chromadb": "1.10.5-dev.495b557e8-13022582409"
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
- 27 dependencies
Assets
- chromadb-1.10.5-dev.495b557e8-13022582409.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.10.5-dev.ddffa5e66-13045561272
- 1.10.5-dev.1260c4a3d-13045289582
- 1.10.5-dev.94bfaffa8-13045223814
- 1.10.5-dev.6c8af6d9f-13044097059
- 1.10.5-dev.6a3c59104-13043805125
- 1.10.5-dev.2f7ca09ba-13043223842
- 1.10.5-dev.8e7bf75a2-13042154961
- 1.10.5-dev.8cf5ff316-13041590484
- 1.10.5-dev.cbc0ebbfc-13041547115
- 1.10.5-dev.4d8178dd0-13039383100