mirror of
https://github.com/Mintplex-Labs/chromadb-extended.git
synced 2026-07-01 20:44:00 -04:00
c2a2b06805ece927fc67ea2bd1cd83f7bc499ac7
chromadb-extended by Mintplex Labs
This is an extension on the original chromadb npm package to enable the ability to use private single-instance Chroma instances to utilize authentication during their requests.
Getting started
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.
Small example
import { ChromaClientExtended } from "chromadb-extended";
const chroma = new ChromaClient({
path: "http://localhost:8000",
fetchOptions: {
headers: {
'X-Api-Token': "sk-live-Hunt3r2", // Works like regular node-fetch headers!
}
}
});
License
Apache 2.0
Description
This functionality was merged into the chroma-core JS library - just use that.
Languages
TypeScript
94.3%
JavaScript
5.7%