LocalVectorStore class
Web stub for LocalVectorStore.
On web, sqlite3 and sqlite_vector are unavailable. This no-op stub is resolved via conditional import so that the native implementation is never compiled into the JS bundle.
Constructors
Properties
Methods
-
clearAll(
) → void -
clearTopic(
String topicId) → void -
dispose(
) → void -
hasTopicCached(
String topicId) → bool -
hasTopicEmbeddings(
String topicId) → bool -
initialize(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchSimilar(
List< double> queryEmbedding, {String? topicId, int limit = 8, double threshold = 0.3}) → List<ContentChunkModel> -
toString(
) → String -
A string representation of this object.
inherited
-
upsertChunks(
List< ContentChunkModel> chunks, List<List< embeddings) → voiddouble> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited