Optional
collection Config collection Config ?: { hnsw_config ?: null | Record < string , unknown > | { ef_construct ?: null | number ; full_scan_threshold ?: null | number ; m ?: null | number ; max_indexing_threads ?: null | number ; on_disk ?: null | boolean ; payload_m ?: null | number ; } ; init_from ?: null | Record < string , unknown > | { collection : string ; } ; on_disk_payload ?: null | boolean ; optimizers_config ?: null | Record < string , unknown > | { default_segment_number ?: null | number ; deleted_threshold ?: null | number ; flush_interval_sec ?: null | number ; indexing_threshold ?: null | number ; max_optimization_threads ?: | null | number | Record < string , unknown > | "auto" ; max_segment_size ?: null | number ; memmap_threshold ?: null | number ; vacuum_min_vector_number ?: null | number ; } ; quantization_config ?: | null | Record < string , unknown > | { scalar : { always_ram ?: null | boolean ; quantile ?: null | number ; type : "int8" ; } ; } | { product : { always_ram ?: null | boolean ; compression : | "x4" | "x8" | "x16" | "x32" | "x64" ; } ; } | { binary : { always_ram ?: null | boolean ; encoding ?: | null | Record < string , unknown > | "one_bit" | "two_bits" | "one_and_half_bits" ; query_encoding ?: | null | "default" | Record < string , unknown > | "binary" | "scalar4bits" | "scalar8bits" ; } ; } ; replication_factor ?: null | number ; shard_number ?: null | number ; sharding_method ?: | null | Record < string , unknown > | "auto" | "custom" ; sparse_vectors ?: null | { [key : string ]: components [ "schemas" ] [ "SparseVectorParams" ] | undefined ; } ; strict_mode_config ?: null | Record < string , unknown > | { condition_max_size ?: null | number ; enabled ?: null | boolean ; filter_max_conditions ?: null | number ; max_collection_payload_size_bytes ?: null | number ; max_collection_vector_size_bytes ?: null | number ; max_points_count ?: null | number ; max_query_limit ?: null | number ; max_timeout ?: null | number ; multivector_config ?: null | Record < string , unknown > | { [key : string ]: components [ "schemas" ] [ "StrictModeMultivector" ] | undefined ; } ; read_rate_limit ?: null | number ; search_allow_exact ?: null | boolean ; search_max_hnsw_ef ?: null | number ; search_max_oversampling ?: null | number ; sparse_config ?: null | Record < string , unknown > | { [key : string ]: components [ "schemas" ] [ "StrictModeSparse" ] | undefined ; } ; unindexed_filtering_retrieve ?: null | boolean ; unindexed_filtering_update ?: null | boolean ; upsert_max_batchsize ?: null | number ; write_rate_limit ?: null | number ; } ; vectors ?: { datatype ?: | null | Record < string , unknown > | "float32" | "uint8" | "float16" ; distance : | "Cosine" | "Euclid" | "Dot" | "Manhattan" ; hnsw_config ?: null | Record < string , unknown > | { ef_construct ?: null | number ; full_scan_threshold ?: null | number ; m ?: null | number ; max_indexing_threads ?: null | number ; on_disk ?: null | boolean ; payload_m ?: null | number ; } ; multivector_config ?: null | Record < string , unknown > | { comparator : "max_sim" ; } ; on_disk ?: null | boolean ; quantization_config ?: | null | Record < string , unknown > | { scalar : { always_ram ?: null | boolean ; quantile ?: null | number ; type : "int8" ; } ; } | { product : { always_ram ?: null | boolean ; compression : | "x4" | "x8" | "x16" | "x32" | "x64" ; } ; } | { binary : { always_ram ?: null | boolean ; encoding ?: | null | Record < string , unknown > | "one_bit" | "two_bits" | "one_and_half_bits" ; query_encoding ?: | null | "default" | Record < string , unknown > | "binary" | "scalar4bits" | "scalar8bits" ; } ; } ; size : number ; } | { [key : string ]: components [ "schemas" ] [ "VectorParams" ] | undefined ; } ; wal_config ?: null | Record < string , unknown > | { wal_capacity_mb ?: null | number ; wal_segments_ahead ?: null | number ; } ; write_consistency_factor ?: null | number ; }
Type declaration Optional
hnsw_ config ?: null | Record < string , unknown > | { ef_construct ?: null | number ; full_scan_threshold ?: null | number ; m ?: null | number ; max_indexing_threads ?: null | number ; on_disk ?: null | boolean ; payload_m ?: null | number ; } Optional
init_ from ?: null | Record < string , unknown > | { collection : string ; } Optional
on_ disk_ payload ?: null | boolean Optional
optimizers_ config ?: null | Record < string , unknown > | { default_segment_number ?: null | number ; deleted_threshold ?: null | number ; flush_interval_sec ?: null | number ; indexing_threshold ?: null | number ; max_optimization_threads ?: | null | number | Record < string , unknown > | "auto" ; max_segment_size ?: null | number ; memmap_threshold ?: null | number ; vacuum_min_vector_number ?: null | number ; } Optional
quantization_ config ?: | null | Record < string , unknown > | { scalar : { always_ram ?: null | boolean ; quantile ?: null | number ; type : "int8" ; } ; } | { product : { always_ram ?: null | boolean ; compression : | "x4" | "x8" | "x16" | "x32" | "x64" ; } ; } | { binary : { always_ram ?: null | boolean ; encoding ?: | null | Record < string , unknown > | "one_bit" | "two_bits" | "one_and_half_bits" ; query_encoding ?: | null | "default" | Record < string , unknown > | "binary" | "scalar4bits" | "scalar8bits" ; } ; } Optional
replication_ factor ?: null | number Optional
shard_ number ?: null | number Optional
sharding_ method ?: | null | Record < string , unknown > | "auto" | "custom" Optional
sparse_ vectors ?: null | { [key : string ]: components [ "schemas" ] [ "SparseVectorParams" ] | undefined ; } Optional
strict_ mode_ config ?: null | Record < string , unknown > | { condition_max_size ?: null | number ; enabled ?: null | boolean ; filter_max_conditions ?: null | number ; max_collection_payload_size_bytes ?: null | number ; max_collection_vector_size_bytes ?: null | number ; max_points_count ?: null | number ; max_query_limit ?: null | number ; max_timeout ?: null | number ; multivector_config ?: null | Record < string , unknown > | { [key : string ]: components [ "schemas" ] [ "StrictModeMultivector" ] | undefined ; } ; read_rate_limit ?: null | number ; search_allow_exact ?: null | boolean ; search_max_hnsw_ef ?: null | number ; search_max_oversampling ?: null | number ; sparse_config ?: null | Record < string , unknown > | { [key : string ]: components [ "schemas" ] [ "StrictModeSparse" ] | undefined ; } ; unindexed_filtering_retrieve ?: null | boolean ; unindexed_filtering_update ?: null | boolean ; upsert_max_batchsize ?: null | number ; write_rate_limit ?: null | number ; } Optional
vectors ?: { datatype ?: | null | Record < string , unknown > | "float32" | "uint8" | "float16" ; distance : | "Cosine" | "Euclid" | "Dot" | "Manhattan" ; hnsw_config ?: null | Record < string , unknown > | { ef_construct ?: null | number ; full_scan_threshold ?: null | number ; m ?: null | number ; max_indexing_threads ?: null | number ; on_disk ?: null | boolean ; payload_m ?: null | number ; } ; multivector_config ?: null | Record < string , unknown > | { comparator : "max_sim" ; } ; on_disk ?: null | boolean ; quantization_config ?: | null | Record < string , unknown > | { scalar : { always_ram ?: null | boolean ; quantile ?: null | number ; type : "int8" ; } ; } | { product : { always_ram ?: null | boolean ; compression : | "x4" | "x8" | "x16" | "x32" | "x64" ; } ; } | { binary : { always_ram ?: null | boolean ; encoding ?: | null | Record < string , unknown > | "one_bit" | "two_bits" | "one_and_half_bits" ; query_encoding ?: | null | "default" | Record < string , unknown > | "binary" | "scalar4bits" | "scalar8bits" ; } ; } ; size : number ; } | { [key : string ]: components [ "schemas" ] [ "VectorParams" ] | undefined ; } Optional
wal_ config ?: null | Record < string , unknown > | { wal_capacity_mb ?: null | number ; wal_segments_ahead ?: null | number ; } Optional
write_ consistency_ factor ?: null | number
Deprecated
Install and import from @langchain/qdrant instead.
Interface for the arguments that can be passed to the
QdrantVectorStore
constructor. It includes options for specifying aQdrantClient
instance, the URL and API key for a Qdrant database, and the name and configuration for a collection.