update readme

This commit is contained in:
timothycarambat
2023-06-22 11:21:01 -07:00
parent 572de5c220
commit 4e84a0f1a1
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -20,6 +20,16 @@ const chroma = new ChromaClient({
}
});
// Now use as you normally would use chromadb
await client.reset()
await client.heartbeat()
await client.getOrCreateCollection({ name: "test" });
await client.listCollections()
const collection = await client.getCollection({ name: 'test' })
await collection.count()
await collection.add({ ids, embeddings, metadatas })
// etc etc
```
## License
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@mintplex-labs/chromadb-extended",
"version": "1.0.1",
"version": "1.0.2",
"description": "A chromadb NodeJS extended client that enables you to pass custom authorization headers and options to your chromaDB instance",
"main": "dist/index.js",
"files": [