chromadb 3.0.0 โ†’ 3.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ ## chromadb
2
+
3
+ Chroma is the open-source embedding database. Chroma makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs.
4
+
5
+ This package gives you a JS/TS interface to talk to a backend Chroma DB over REST.
6
+
7
+ [Learn more about Chroma](https://github.com/chroma-core/chroma)
8
+
9
+ - [๐Ÿ’ฌ Community Discord](https://discord.gg/MMeYNTmh3x)
10
+ - [๐Ÿ“– Documentation](https://docs.trychroma.com/)
11
+ - [๐Ÿ’ก Colab Example](https://colab.research.google.com/drive/1QEzFyqnoFxq7LUGyP1vzR4iLt9PpCDXv?usp=sharing)
12
+ - [๐Ÿ  Homepage](https://www.trychroma.com/)
13
+
14
+ ## Getting started
15
+
16
+ Chroma needs to be running in order for this client to talk to it. Please see the [๐Ÿงช Usage Guide](https://docs.trychroma.com/guides) to learn how to quickly stand this up.
17
+
18
+ ## Small example
19
+
20
+ ```js
21
+ import { ChromaClient } from "chromadb";
22
+ const chroma = new ChromaClient({ path: "http://localhost:8000" });
23
+ const collection = await chroma.createCollection({ name: "test-from-js" });
24
+ for (let i = 0; i < 20; i++) {
25
+ await collection.add({
26
+ ids: ["test-id-" + i.toString()],
27
+ embeddings: [[1, 2, 3, 4, 5]],
28
+ documents: ["test"],
29
+ });
30
+ }
31
+ const queryData = await collection.query({
32
+ queryEmbeddings: [[1, 2, 3, 4, 5]],
33
+ queryTexts: ["test"],
34
+ });
35
+ ```
36
+
37
+ ## Local development
38
+
39
+ [View the Development Readme](./DEVELOP.md)
40
+
41
+ ## License
42
+
43
+ Apache 2.0