Collection class
Constructors
- Collection(String name)
Properties
Methods
-
addDocument(
String? id, String text, Float64List embedding, {Map< String, String> ? metadata}) → void -
addDocuments(
List< Document> docs) → void -
clear(
) → void -
load(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeDocument(
String id) → void -
search(
Float64List query, {int numResults = 10, double? threshold}) → List< SearchResult> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited