VectorDatabase class abstract

Implementers

Constructors

VectorDatabase()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() → Future<void>
createCollection(String docsName, List<Segment> segmentList, LLMSettings llmSettings) → Future<CollectionInfo>
deleteCollection(String collectionName) → Future<void>
deleteSegment(String collectionName, String segmentId) → Future<void>
disconnect() → Future<void>
insertSegment(String collectionName, Segment segment, int? index, LLMSettings llmSettings) → Future<String>
listCollections() → Future<List<CollectionInfo>>
listSegments(String collectionName) → Future<CollectionResult?>
multiQuery(List<String> collectionNameList, String queryText, LLMSettings llmSettings, {int nResults = 2, bool removeDuplicates = true}) → Future<List<MultiDocsQuerySegment>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String collectionName, List<String> queryTexts, LLMSettings llmSettings, {int nResults = 2}) → Future<List<List<QuerySegmentResult>>>
renameCollection(String collectionName, String docsName) → Future<CollectionInfo>
toString() → String
A string representation of this object.
inherited
updateSegment(String collectionName, SegmentInfo segmentInfo, LLMSettings llmSettings) → Future<void>

Operators

operator ==(Object other) → bool
The equality operator.
inherited