QdrantVectorSpace class

Inheritance

Constructors

QdrantVectorSpace({required ConnectedEmbeddingModel embedder, required String host, double quantizedSuperSampleFactor = 2, double prefetchSuperSampleFactor = 2, required int chunkSize, required String organization, required String apiKey, required int dimension, required int port})

Properties

apiKey String
final
channel → ClientChannel
final
chunkSize int
final
collections → CollectionsClient
no setter
dimension int
final
embedder → ConnectedEmbeddingModel
finalinherited
hashCode int
The hash code for this object.
no setterinherited
host String
final
namespace String
no setter
organization String
final
points → PointsClient
no setter
port int
final
prefetchSuperSampleFactor double
final
quantizedSuperSampleFactor double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addIndex(String tag) Future<void>
buildQuery({int maxResults = 10, required DenseVector openAiVector}) → QueryPoints
buildQueryBatch({int maxResultsEach = 10, required List<DenseVector> openAiVectors}) → QueryBatchPoints
deleteAll(List<String> ids, {int batchSize = 999}) Future<void>
override
deleteAllPrefixed(String prefix, {int deleteBatchSize = 999, int listBatchSize = 100}) Future<void>
inherited
deleteEntry(String entry) Future<void>
deleteRecord(String record) Future<void>
destroyCollection() Future<void>
ensureCollection() Future<CollectionInfo>
getCollection() Future<CollectionInfo?>
list({int batchSize = 100, String? prefix, String matchKey = "entry", PointId? offset}) Stream<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEmbed(List<String> queries) Future<List<DenseVector>>
purgeAll() Future<void>
override
query(String query, {int maxResults = 10, List<String> records = const []}) Future<VectorSpaceResult>
override
queryAll(List<String> queries, {int maxResults = 100, int compactQueriesTo = 10, int maxTokens = 50000}) Future<VectorSpaceResult>
override
toString() String
A string representation of this object.
inherited
upsertAll(List<VectorUpsert> upserts) Future<void>
override

Operators

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

Static Methods

mergeQueries(List<String> queries, int compactQueriesTo) List<String>