chromadb 1.10.5-dev.7c96acdd2-13173203777
Install from the command line:
Learn more about npm packages
$ npm install @chroma-core/chromadb@1.10.5-dev.7c96acdd2-13173203777
Install via package.json:
"@chroma-core/chromadb": "1.10.5-dev.7c96acdd2-13173203777"
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
- 6 days ago
- Apache-2.0
- 27 dependencies
Assets
- chromadb-1.10.5-dev.7c96acdd2-13173203777.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.10.5-dev.d3fec7760-13271254932
- 1.10.5-dev.64b1a3d30-13265638226
- 1.10.5-dev.8ca12208a-13256723386
- 1.10.5-dev.7e53444ef-13254200644
- 1.10.5-dev.7523d7b8d-13253575884
- 1.10.5-dev.50c1f36db-13210244419
- 1.10.5-dev.084427f5e-13207923918
- 1.10.5-dev.1803dd5e3-13206146095
- 1.10.5-dev.16c56eba3-13203868606
- 1.10.5-dev.e4790ba0f-13194788872