A Chroma vector store for moonbitstack/moonrag, over its REST API.
moon add moonbitstack/moonchromalet store = @moonchroma.ChromaStore::new("http://127.0.0.1:8000", embedder, dimension=256)pub struct ChromaStore {
base : String
tenant : String
database : String
collection : String
embedder : &Embedder
dimension : Int
id : String
counter : Int
}impl VectorStore for ChromaStorefn ChromaStore::new(base : String, embedder : &Embedder, dimension~ : Int, collection? : String, tenant? : String, database? : String) -> ChromaStore raiseasync fn ChromaStore::search(self : ChromaStore, vector : ArrayView[Double], limit~ : Int, filter? : Filter) -> Array[Scored]Install
Download zipA Chroma vector store for moonbitstack/moonrag, over its REST API.