diff --git a/qdrant_client/grpc/collections_pb2.py b/qdrant_client/grpc/collections_pb2.py index 11fe4d86..23656fcf 100644 --- a/qdrant_client/grpc/collections_pb2.py +++ b/qdrant_client/grpc/collections_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: collections.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'collections.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,202 +24,204 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x63ollections.proto\x12\x06qdrant\"\x83\x03\n\x0cVectorParams\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\"\n\x08\x64istance\x18\x02 \x01(\x0e\x32\x10.qdrant.Distance\x12\x30\n\x0bhnsw_config\x18\x03 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12<\n\x13quantization_config\x18\x04 \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\x01\x88\x01\x01\x12\x14\n\x07on_disk\x18\x05 \x01(\x08H\x02\x88\x01\x01\x12\'\n\x08\x64\x61tatype\x18\x06 \x01(\x0e\x32\x10.qdrant.DatatypeH\x03\x88\x01\x01\x12:\n\x12multivector_config\x18\x07 \x01(\x0b\x32\x19.qdrant.MultiVectorConfigH\x04\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\x16\n\x14_quantization_configB\n\n\x08_on_diskB\x0b\n\t_datatypeB\x15\n\x13_multivector_config\"\xd0\x01\n\x10VectorParamsDiff\x12\x30\n\x0bhnsw_config\x18\x01 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12@\n\x13quantization_config\x18\x02 \x01(\x0b\x32\x1e.qdrant.QuantizationConfigDiffH\x01\x88\x01\x01\x12\x14\n\x07on_disk\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\x16\n\x14_quantization_configB\n\n\x08_on_disk\"\x82\x01\n\x0fVectorParamsMap\x12-\n\x03map\x18\x01 \x03(\x0b\x32 .qdrant.VectorParamsMap.MapEntry\x1a@\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.qdrant.VectorParams:\x02\x38\x01\"\x8e\x01\n\x13VectorParamsDiffMap\x12\x31\n\x03map\x18\x01 \x03(\x0b\x32$.qdrant.VectorParamsDiffMap.MapEntry\x1a\x44\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.qdrant.VectorParamsDiff:\x02\x38\x01\"p\n\rVectorsConfig\x12&\n\x06params\x18\x01 \x01(\x0b\x32\x14.qdrant.VectorParamsH\x00\x12-\n\nparams_map\x18\x02 \x01(\x0b\x32\x17.qdrant.VectorParamsMapH\x00\x42\x08\n\x06\x63onfig\"|\n\x11VectorsConfigDiff\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x18.qdrant.VectorParamsDiffH\x00\x12\x31\n\nparams_map\x18\x02 \x01(\x0b\x32\x1b.qdrant.VectorParamsDiffMapH\x00\x42\x08\n\x06\x63onfig\"\x83\x01\n\x12SparseVectorParams\x12-\n\x05index\x18\x01 \x01(\x0b\x32\x19.qdrant.SparseIndexConfigH\x00\x88\x01\x01\x12\'\n\x08modifier\x18\x02 \x01(\x0e\x32\x10.qdrant.ModifierH\x01\x88\x01\x01\x42\x08\n\x06_indexB\x0b\n\t_modifier\"\x8e\x01\n\x12SparseVectorConfig\x12\x30\n\x03map\x18\x01 \x03(\x0b\x32#.qdrant.SparseVectorConfig.MapEntry\x1a\x46\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.qdrant.SparseVectorParams:\x02\x38\x01\"F\n\x11MultiVectorConfig\x12\x31\n\ncomparator\x18\x01 \x01(\x0e\x32\x1d.qdrant.MultiVectorComparator\"3\n\x18GetCollectionInfoRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"2\n\x17\x43ollectionExistsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"\"\n\x10\x43ollectionExists\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"R\n\x18\x43ollectionExistsResponse\x12(\n\x06result\x18\x01 \x01(\x0b\x32\x18.qdrant.CollectionExists\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\x18\n\x16ListCollectionsRequest\"%\n\x15\x43ollectionDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\"Q\n\x19GetCollectionInfoResponse\x12&\n\x06result\x18\x01 \x01(\x0b\x32\x16.qdrant.CollectionInfo\x12\x0c\n\x04time\x18\x02 \x01(\x01\"[\n\x17ListCollectionsResponse\x12\x32\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x1d.qdrant.CollectionDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\",\n\x0fOptimizerStatus\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x90\x02\n\x0eHnswConfigDiff\x12\x0e\n\x01m\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x19\n\x0c\x65\x66_construct\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12 \n\x13\x66ull_scan_threshold\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12!\n\x14max_indexing_threads\x18\x04 \x01(\x04H\x03\x88\x01\x01\x12\x14\n\x07on_disk\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x16\n\tpayload_m\x18\x06 \x01(\x04H\x05\x88\x01\x01\x42\x04\n\x02_mB\x0f\n\r_ef_constructB\x16\n\x14_full_scan_thresholdB\x17\n\x15_max_indexing_threadsB\n\n\x08_on_diskB\x0c\n\n_payload_m\"\xa5\x01\n\x11SparseIndexConfig\x12 \n\x13\x66ull_scan_threshold\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x08\x64\x61tatype\x18\x03 \x01(\x0e\x32\x10.qdrant.DatatypeH\x02\x88\x01\x01\x42\x16\n\x14_full_scan_thresholdB\n\n\x08_on_diskB\x0b\n\t_datatype\"y\n\rWalConfigDiff\x12\x1c\n\x0fwal_capacity_mb\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1f\n\x12wal_segments_ahead\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x12\n\x10_wal_capacity_mbB\x15\n\x13_wal_segments_ahead\"\xec\x03\n\x14OptimizersConfigDiff\x12\x1e\n\x11\x64\x65leted_threshold\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12%\n\x18vacuum_min_vector_number\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12#\n\x16\x64\x65\x66\x61ult_segment_number\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12\x1d\n\x10max_segment_size\x18\x04 \x01(\x04H\x03\x88\x01\x01\x12\x1d\n\x10memmap_threshold\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x1f\n\x12indexing_threshold\x18\x06 \x01(\x04H\x05\x88\x01\x01\x12\x1f\n\x12\x66lush_interval_sec\x18\x07 \x01(\x04H\x06\x88\x01\x01\x12%\n\x18max_optimization_threads\x18\x08 \x01(\x04H\x07\x88\x01\x01\x42\x14\n\x12_deleted_thresholdB\x1b\n\x19_vacuum_min_vector_numberB\x19\n\x17_default_segment_numberB\x13\n\x11_max_segment_sizeB\x13\n\x11_memmap_thresholdB\x15\n\x13_indexing_thresholdB\x15\n\x13_flush_interval_secB\x1b\n\x19_max_optimization_threads\"\x88\x01\n\x12ScalarQuantization\x12&\n\x04type\x18\x01 \x01(\x0e\x32\x18.qdrant.QuantizationType\x12\x15\n\x08quantile\x18\x02 \x01(\x02H\x00\x88\x01\x01\x12\x17\n\nalways_ram\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x0b\n\t_quantileB\r\n\x0b_always_ram\"l\n\x13ProductQuantization\x12-\n\x0b\x63ompression\x18\x01 \x01(\x0e\x32\x18.qdrant.CompressionRatio\x12\x17\n\nalways_ram\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\r\n\x0b_always_ram\"<\n\x12\x42inaryQuantization\x12\x17\n\nalways_ram\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\r\n\x0b_always_ram\"\xb0\x01\n\x12QuantizationConfig\x12,\n\x06scalar\x18\x01 \x01(\x0b\x32\x1a.qdrant.ScalarQuantizationH\x00\x12.\n\x07product\x18\x02 \x01(\x0b\x32\x1b.qdrant.ProductQuantizationH\x00\x12,\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x1a.qdrant.BinaryQuantizationH\x00\x42\x0e\n\x0cquantization\"\n\n\x08\x44isabled\"\xda\x01\n\x16QuantizationConfigDiff\x12,\n\x06scalar\x18\x01 \x01(\x0b\x32\x1a.qdrant.ScalarQuantizationH\x00\x12.\n\x07product\x18\x02 \x01(\x0b\x32\x1b.qdrant.ProductQuantizationH\x00\x12$\n\x08\x64isabled\x18\x03 \x01(\x0b\x32\x10.qdrant.DisabledH\x00\x12,\n\x06\x62inary\x18\x04 \x01(\x0b\x32\x1a.qdrant.BinaryQuantizationH\x00\x42\x0e\n\x0cquantization\"\x85\x07\n\x10\x43reateCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x30\n\x0bhnsw_config\x18\x04 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12.\n\nwal_config\x18\x05 \x01(\x0b\x32\x15.qdrant.WalConfigDiffH\x01\x88\x01\x01\x12<\n\x11optimizers_config\x18\x06 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiffH\x02\x88\x01\x01\x12\x19\n\x0cshard_number\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fon_disk_payload\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12\x14\n\x07timeout\x18\t \x01(\x04H\x05\x88\x01\x01\x12\x32\n\x0evectors_config\x18\n \x01(\x0b\x32\x15.qdrant.VectorsConfigH\x06\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x0b \x01(\rH\x07\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x0c \x01(\rH\x08\x88\x01\x01\x12!\n\x14init_from_collection\x18\r \x01(\tH\t\x88\x01\x01\x12<\n\x13quantization_config\x18\x0e \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\n\x88\x01\x01\x12\x34\n\x0fsharding_method\x18\x0f \x01(\x0e\x32\x16.qdrant.ShardingMethodH\x0b\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\x10 \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x0c\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\r\n\x0b_wal_configB\x14\n\x12_optimizers_configB\x0f\n\r_shard_numberB\x12\n\x10_on_disk_payloadB\n\n\x08_timeoutB\x11\n\x0f_vectors_configB\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x17\n\x15_init_from_collectionB\x16\n\x14_quantization_configB\x12\n\x10_sharding_methodB\x18\n\x16_sparse_vectors_configJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"\xa0\x04\n\x10UpdateCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12<\n\x11optimizers_config\x18\x02 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiffH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x31\n\x06params\x18\x04 \x01(\x0b\x32\x1c.qdrant.CollectionParamsDiffH\x02\x88\x01\x01\x12\x30\n\x0bhnsw_config\x18\x05 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x03\x88\x01\x01\x12\x36\n\x0evectors_config\x18\x06 \x01(\x0b\x32\x19.qdrant.VectorsConfigDiffH\x04\x88\x01\x01\x12@\n\x13quantization_config\x18\x07 \x01(\x0b\x32\x1e.qdrant.QuantizationConfigDiffH\x05\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\x08 \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x06\x88\x01\x01\x42\x14\n\x12_optimizers_configB\n\n\x08_timeoutB\t\n\x07_paramsB\x0e\n\x0c_hnsw_configB\x11\n\x0f_vectors_configB\x16\n\x14_quantization_configB\x18\n\x16_sparse_vectors_config\"M\n\x10\x44\x65leteCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\";\n\x1b\x43ollectionOperationResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\xee\x03\n\x10\x43ollectionParams\x12\x14\n\x0cshard_number\x18\x03 \x01(\r\x12\x17\n\x0fon_disk_payload\x18\x04 \x01(\x08\x12\x32\n\x0evectors_config\x18\x05 \x01(\x0b\x32\x15.qdrant.VectorsConfigH\x00\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x06 \x01(\rH\x01\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x07 \x01(\rH\x02\x88\x01\x01\x12 \n\x13read_fan_out_factor\x18\x08 \x01(\rH\x03\x88\x01\x01\x12\x34\n\x0fsharding_method\x18\t \x01(\x0e\x32\x16.qdrant.ShardingMethodH\x04\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\n \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x05\x88\x01\x01\x42\x11\n\x0f_vectors_configB\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x16\n\x14_read_fan_out_factorB\x12\n\x10_sharding_methodB\x18\n\x16_sparse_vectors_configJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\xfe\x01\n\x14\x43ollectionParamsDiff\x12\x1f\n\x12replication_factor\x18\x01 \x01(\rH\x00\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x0fon_disk_payload\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12 \n\x13read_fan_out_factor\x18\x04 \x01(\rH\x03\x88\x01\x01\x42\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x12\n\x10_on_disk_payloadB\x16\n\x14_read_fan_out_factor\"\xa2\x02\n\x10\x43ollectionConfig\x12(\n\x06params\x18\x01 \x01(\x0b\x32\x18.qdrant.CollectionParams\x12+\n\x0bhnsw_config\x18\x02 \x01(\x0b\x32\x16.qdrant.HnswConfigDiff\x12\x36\n\x10optimizer_config\x18\x03 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiff\x12)\n\nwal_config\x18\x04 \x01(\x0b\x32\x15.qdrant.WalConfigDiff\x12<\n\x13quantization_config\x18\x05 \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\x00\x88\x01\x01\x42\x16\n\x14_quantization_config\"\\\n\x12KeywordIndexParams\x12\x16\n\tis_tenant\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0c\n\n_is_tenantB\n\n\x08_on_disk\"\xa0\x01\n\x12IntegerIndexParams\x12\x13\n\x06lookup\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x12\n\x05range\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12\x14\n\x07on_disk\x18\x04 \x01(\x08H\x03\x88\x01\x01\x42\t\n\x07_lookupB\x08\n\x06_rangeB\x0f\n\r_is_principalB\n\n\x08_on_disk\"`\n\x10\x46loatIndexParams\x12\x14\n\x07on_disk\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\n\n\x08_on_diskB\x0f\n\r_is_principal\"\x10\n\x0eGeoIndexParams\"\xbd\x01\n\x0fTextIndexParams\x12(\n\ttokenizer\x18\x01 \x01(\x0e\x32\x15.qdrant.TokenizerType\x12\x16\n\tlowercase\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1a\n\rmin_token_len\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x1a\n\rmax_token_len\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\x0c\n\n_lowercaseB\x10\n\x0e_min_token_lenB\x10\n\x0e_max_token_len\"\x11\n\x0f\x42oolIndexParams\"c\n\x13\x44\x61tetimeIndexParams\x12\x14\n\x07on_disk\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\n\n\x08_on_diskB\x0f\n\r_is_principal\"Y\n\x0fUuidIndexParams\x12\x16\n\tis_tenant\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0c\n\n_is_tenantB\n\n\x08_on_disk\"\xe8\x03\n\x12PayloadIndexParams\x12:\n\x14keyword_index_params\x18\x03 \x01(\x0b\x32\x1a.qdrant.KeywordIndexParamsH\x00\x12:\n\x14integer_index_params\x18\x02 \x01(\x0b\x32\x1a.qdrant.IntegerIndexParamsH\x00\x12\x36\n\x12\x66loat_index_params\x18\x04 \x01(\x0b\x32\x18.qdrant.FloatIndexParamsH\x00\x12\x32\n\x10geo_index_params\x18\x05 \x01(\x0b\x32\x16.qdrant.GeoIndexParamsH\x00\x12\x34\n\x11text_index_params\x18\x01 \x01(\x0b\x32\x17.qdrant.TextIndexParamsH\x00\x12\x34\n\x11\x62ool_index_params\x18\x06 \x01(\x0b\x32\x17.qdrant.BoolIndexParamsH\x00\x12<\n\x15\x64\x61tetime_index_params\x18\x07 \x01(\x0b\x32\x1b.qdrant.DatetimeIndexParamsH\x00\x12\x34\n\x11uuid_index_params\x18\x08 \x01(\x0b\x32\x17.qdrant.UuidIndexParamsH\x00\x42\x0e\n\x0cindex_params\"\x9d\x01\n\x11PayloadSchemaInfo\x12,\n\tdata_type\x18\x01 \x01(\x0e\x32\x19.qdrant.PayloadSchemaType\x12/\n\x06params\x18\x02 \x01(\x0b\x32\x1a.qdrant.PayloadIndexParamsH\x00\x88\x01\x01\x12\x13\n\x06points\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\t\n\x07_paramsB\t\n\x07_points\"\xe7\x03\n\x0e\x43ollectionInfo\x12(\n\x06status\x18\x01 \x01(\x0e\x32\x18.qdrant.CollectionStatus\x12\x31\n\x10optimizer_status\x18\x02 \x01(\x0b\x32\x17.qdrant.OptimizerStatus\x12\x1a\n\rvectors_count\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x16\n\x0esegments_count\x18\x04 \x01(\x04\x12(\n\x06\x63onfig\x18\x07 \x01(\x0b\x32\x18.qdrant.CollectionConfig\x12\x41\n\x0epayload_schema\x18\x08 \x03(\x0b\x32).qdrant.CollectionInfo.PayloadSchemaEntry\x12\x19\n\x0cpoints_count\x18\t \x01(\x04H\x01\x88\x01\x01\x12\"\n\x15indexed_vectors_count\x18\n \x01(\x04H\x02\x88\x01\x01\x1aO\n\x12PayloadSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.qdrant.PayloadSchemaInfo:\x02\x38\x01\x42\x10\n\x0e_vectors_countB\x0f\n\r_points_countB\x18\n\x16_indexed_vectors_countJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"[\n\rChangeAliases\x12(\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.qdrant.AliasOperations\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"\xa2\x01\n\x0f\x41liasOperations\x12+\n\x0c\x63reate_alias\x18\x01 \x01(\x0b\x32\x13.qdrant.CreateAliasH\x00\x12+\n\x0crename_alias\x18\x02 \x01(\x0b\x32\x13.qdrant.RenameAliasH\x00\x12+\n\x0c\x64\x65lete_alias\x18\x03 \x01(\x0b\x32\x13.qdrant.DeleteAliasH\x00\x42\x08\n\x06\x61\x63tion\":\n\x0b\x43reateAlias\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x12\n\nalias_name\x18\x02 \x01(\t\"=\n\x0bRenameAlias\x12\x16\n\x0eold_alias_name\x18\x01 \x01(\t\x12\x16\n\x0enew_alias_name\x18\x02 \x01(\t\"!\n\x0b\x44\x65leteAlias\x12\x12\n\nalias_name\x18\x01 \x01(\t\"\x14\n\x12ListAliasesRequest\"7\n\x1cListCollectionAliasesRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"?\n\x10\x41liasDescription\x12\x12\n\nalias_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\"N\n\x13ListAliasesResponse\x12)\n\x07\x61liases\x18\x01 \x03(\x0b\x32\x18.qdrant.AliasDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\"7\n\x1c\x43ollectionClusterInfoRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"6\n\x08ShardKey\x12\x11\n\x07keyword\x18\x01 \x01(\tH\x00\x12\x10\n\x06number\x18\x02 \x01(\x04H\x00\x42\x05\n\x03key\"\x95\x01\n\x0eLocalShardInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x14\n\x0cpoints_count\x18\x02 \x01(\x04\x12#\n\x05state\x18\x03 \x01(\x0e\x32\x14.qdrant.ReplicaState\x12(\n\tshard_key\x18\x04 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"\x91\x01\n\x0fRemoteShardInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\x12#\n\x05state\x18\x03 \x01(\x0e\x32\x14.qdrant.ReplicaState\x12(\n\tshard_key\x18\x04 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"w\n\x11ShardTransferInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x04\x12\n\n\x02to\x18\x03 \x01(\x04\x12\x0c\n\x04sync\x18\x04 \x01(\x08\x42\x0e\n\x0c_to_shard_id\"k\n\x0eReshardingInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\x12(\n\tshard_key\x18\x03 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"\xd7\x01\n\x1d\x43ollectionClusterInfoResponse\x12\x0f\n\x07peer_id\x18\x01 \x01(\x04\x12\x13\n\x0bshard_count\x18\x02 \x01(\x04\x12,\n\x0clocal_shards\x18\x03 \x03(\x0b\x32\x16.qdrant.LocalShardInfo\x12.\n\rremote_shards\x18\x04 \x03(\x0b\x32\x17.qdrant.RemoteShardInfo\x12\x32\n\x0fshard_transfers\x18\x05 \x03(\x0b\x32\x19.qdrant.ShardTransferInfo\"\xae\x01\n\tMoveShard\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12\x30\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodH\x01\x88\x01\x01\x42\x0e\n\x0c_to_shard_idB\t\n\x07_method\"\xb3\x01\n\x0eReplicateShard\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12\x30\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodH\x01\x88\x01\x01\x42\x0e\n\x0c_to_shard_idB\t\n\x07_method\"z\n\x12\x41\x62ortShardTransfer\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x42\x0e\n\x0c_to_shard_id\"\xa4\x01\n\x0fRestartTransfer\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12+\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodB\x0e\n\x0c_to_shard_id\",\n\x07Replica\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\"\xae\x01\n\x0e\x43reateShardKey\x12#\n\tshard_key\x18\x01 \x01(\x0b\x32\x10.qdrant.ShardKey\x12\x1a\n\rshards_number\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x11\n\tplacement\x18\x04 \x03(\x04\x42\x10\n\x0e_shards_numberB\x15\n\x13_replication_factor\"5\n\x0e\x44\x65leteShardKey\x12#\n\tshard_key\x18\x01 \x01(\x0b\x32\x10.qdrant.ShardKey\"\xc5\x03\n#UpdateCollectionClusterSetupRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\nmove_shard\x18\x02 \x01(\x0b\x32\x11.qdrant.MoveShardH\x00\x12\x31\n\x0freplicate_shard\x18\x03 \x01(\x0b\x32\x16.qdrant.ReplicateShardH\x00\x12\x34\n\x0e\x61\x62ort_transfer\x18\x04 \x01(\x0b\x32\x1a.qdrant.AbortShardTransferH\x00\x12\'\n\x0c\x64rop_replica\x18\x05 \x01(\x0b\x32\x0f.qdrant.ReplicaH\x00\x12\x32\n\x10\x63reate_shard_key\x18\x07 \x01(\x0b\x32\x16.qdrant.CreateShardKeyH\x00\x12\x32\n\x10\x64\x65lete_shard_key\x18\x08 \x01(\x0b\x32\x16.qdrant.DeleteShardKeyH\x00\x12\x33\n\x10restart_transfer\x18\t \x01(\x0b\x32\x17.qdrant.RestartTransferH\x00\x12\x14\n\x07timeout\x18\x06 \x01(\x04H\x01\x88\x01\x01\x42\x0b\n\toperationB\n\n\x08_timeout\"6\n$UpdateCollectionClusterSetupResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\"{\n\x15\x43reateShardKeyRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x07request\x18\x02 \x01(\x0b\x32\x16.qdrant.CreateShardKey\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"{\n\x15\x44\x65leteShardKeyRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x07request\x18\x02 \x01(\x0b\x32\x16.qdrant.DeleteShardKey\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"(\n\x16\x43reateShardKeyResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\"(\n\x16\x44\x65leteShardKeyResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08*<\n\x08\x44\x61tatype\x12\x0b\n\x07\x44\x65\x66\x61ult\x10\x00\x12\x0b\n\x07\x46loat32\x10\x01\x12\t\n\x05Uint8\x10\x02\x12\x0b\n\x07\x46loat16\x10\x03*\x1d\n\x08Modifier\x12\x08\n\x04None\x10\x00\x12\x07\n\x03Idf\x10\x01*#\n\x15MultiVectorComparator\x12\n\n\x06MaxSim\x10\x00*O\n\x08\x44istance\x12\x13\n\x0fUnknownDistance\x10\x00\x12\n\n\x06\x43osine\x10\x01\x12\n\n\x06\x45uclid\x10\x02\x12\x07\n\x03\x44ot\x10\x03\x12\r\n\tManhattan\x10\x04*Y\n\x10\x43ollectionStatus\x12\x1b\n\x17UnknownCollectionStatus\x10\x00\x12\t\n\x05Green\x10\x01\x12\n\n\x06Yellow\x10\x02\x12\x07\n\x03Red\x10\x03\x12\x08\n\x04Grey\x10\x04*~\n\x11PayloadSchemaType\x12\x0f\n\x0bUnknownType\x10\x00\x12\x0b\n\x07Keyword\x10\x01\x12\x0b\n\x07Integer\x10\x02\x12\t\n\x05\x46loat\x10\x03\x12\x07\n\x03Geo\x10\x04\x12\x08\n\x04Text\x10\x05\x12\x08\n\x04\x42ool\x10\x06\x12\x0c\n\x08\x44\x61tetime\x10\x07\x12\x08\n\x04Uuid\x10\x08*5\n\x10QuantizationType\x12\x17\n\x13UnknownQuantization\x10\x00\x12\x08\n\x04Int8\x10\x01*=\n\x10\x43ompressionRatio\x12\x06\n\x02x4\x10\x00\x12\x06\n\x02x8\x10\x01\x12\x07\n\x03x16\x10\x02\x12\x07\n\x03x32\x10\x03\x12\x07\n\x03x64\x10\x04*&\n\x0eShardingMethod\x12\x08\n\x04\x41uto\x10\x00\x12\n\n\x06\x43ustom\x10\x01*T\n\rTokenizerType\x12\x0b\n\x07Unknown\x10\x00\x12\n\n\x06Prefix\x10\x01\x12\x0e\n\nWhitespace\x10\x02\x12\x08\n\x04Word\x10\x03\x12\x10\n\x0cMultilingual\x10\x04*\x84\x01\n\x0cReplicaState\x12\n\n\x06\x41\x63tive\x10\x00\x12\x08\n\x04\x44\x65\x61\x64\x10\x01\x12\x0b\n\x07Partial\x10\x02\x12\x10\n\x0cInitializing\x10\x03\x12\x0c\n\x08Listener\x10\x04\x12\x13\n\x0fPartialSnapshot\x10\x05\x12\x0c\n\x08Recovery\x10\x06\x12\x0e\n\nResharding\x10\x07*a\n\x13ShardTransferMethod\x12\x11\n\rStreamRecords\x10\x00\x12\x0c\n\x08Snapshot\x10\x01\x12\x0c\n\x08WalDelta\x10\x02\x12\x1b\n\x17ReshardingStreamRecords\x10\x03\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'collections_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x63ollections.proto\x12\x06qdrant\"\x83\x03\n\x0cVectorParams\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\"\n\x08\x64istance\x18\x02 \x01(\x0e\x32\x10.qdrant.Distance\x12\x30\n\x0bhnsw_config\x18\x03 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12<\n\x13quantization_config\x18\x04 \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\x01\x88\x01\x01\x12\x14\n\x07on_disk\x18\x05 \x01(\x08H\x02\x88\x01\x01\x12\'\n\x08\x64\x61tatype\x18\x06 \x01(\x0e\x32\x10.qdrant.DatatypeH\x03\x88\x01\x01\x12:\n\x12multivector_config\x18\x07 \x01(\x0b\x32\x19.qdrant.MultiVectorConfigH\x04\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\x16\n\x14_quantization_configB\n\n\x08_on_diskB\x0b\n\t_datatypeB\x15\n\x13_multivector_config\"\xd0\x01\n\x10VectorParamsDiff\x12\x30\n\x0bhnsw_config\x18\x01 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12@\n\x13quantization_config\x18\x02 \x01(\x0b\x32\x1e.qdrant.QuantizationConfigDiffH\x01\x88\x01\x01\x12\x14\n\x07on_disk\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\x16\n\x14_quantization_configB\n\n\x08_on_disk\"\x82\x01\n\x0fVectorParamsMap\x12-\n\x03map\x18\x01 \x03(\x0b\x32 .qdrant.VectorParamsMap.MapEntry\x1a@\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.qdrant.VectorParams:\x02\x38\x01\"\x8e\x01\n\x13VectorParamsDiffMap\x12\x31\n\x03map\x18\x01 \x03(\x0b\x32$.qdrant.VectorParamsDiffMap.MapEntry\x1a\x44\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.qdrant.VectorParamsDiff:\x02\x38\x01\"p\n\rVectorsConfig\x12&\n\x06params\x18\x01 \x01(\x0b\x32\x14.qdrant.VectorParamsH\x00\x12-\n\nparams_map\x18\x02 \x01(\x0b\x32\x17.qdrant.VectorParamsMapH\x00\x42\x08\n\x06\x63onfig\"|\n\x11VectorsConfigDiff\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x18.qdrant.VectorParamsDiffH\x00\x12\x31\n\nparams_map\x18\x02 \x01(\x0b\x32\x1b.qdrant.VectorParamsDiffMapH\x00\x42\x08\n\x06\x63onfig\"\x83\x01\n\x12SparseVectorParams\x12-\n\x05index\x18\x01 \x01(\x0b\x32\x19.qdrant.SparseIndexConfigH\x00\x88\x01\x01\x12\'\n\x08modifier\x18\x02 \x01(\x0e\x32\x10.qdrant.ModifierH\x01\x88\x01\x01\x42\x08\n\x06_indexB\x0b\n\t_modifier\"\x8e\x01\n\x12SparseVectorConfig\x12\x30\n\x03map\x18\x01 \x03(\x0b\x32#.qdrant.SparseVectorConfig.MapEntry\x1a\x46\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.qdrant.SparseVectorParams:\x02\x38\x01\"F\n\x11MultiVectorConfig\x12\x31\n\ncomparator\x18\x01 \x01(\x0e\x32\x1d.qdrant.MultiVectorComparator\"3\n\x18GetCollectionInfoRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"2\n\x17\x43ollectionExistsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"\"\n\x10\x43ollectionExists\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"R\n\x18\x43ollectionExistsResponse\x12(\n\x06result\x18\x01 \x01(\x0b\x32\x18.qdrant.CollectionExists\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\x18\n\x16ListCollectionsRequest\"%\n\x15\x43ollectionDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\"Q\n\x19GetCollectionInfoResponse\x12&\n\x06result\x18\x01 \x01(\x0b\x32\x16.qdrant.CollectionInfo\x12\x0c\n\x04time\x18\x02 \x01(\x01\"[\n\x17ListCollectionsResponse\x12\x32\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x1d.qdrant.CollectionDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\",\n\x0fOptimizerStatus\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x90\x02\n\x0eHnswConfigDiff\x12\x0e\n\x01m\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x19\n\x0c\x65\x66_construct\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12 \n\x13\x66ull_scan_threshold\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12!\n\x14max_indexing_threads\x18\x04 \x01(\x04H\x03\x88\x01\x01\x12\x14\n\x07on_disk\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x16\n\tpayload_m\x18\x06 \x01(\x04H\x05\x88\x01\x01\x42\x04\n\x02_mB\x0f\n\r_ef_constructB\x16\n\x14_full_scan_thresholdB\x17\n\x15_max_indexing_threadsB\n\n\x08_on_diskB\x0c\n\n_payload_m\"\xa5\x01\n\x11SparseIndexConfig\x12 \n\x13\x66ull_scan_threshold\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x08\x64\x61tatype\x18\x03 \x01(\x0e\x32\x10.qdrant.DatatypeH\x02\x88\x01\x01\x42\x16\n\x14_full_scan_thresholdB\n\n\x08_on_diskB\x0b\n\t_datatype\"y\n\rWalConfigDiff\x12\x1c\n\x0fwal_capacity_mb\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1f\n\x12wal_segments_ahead\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x12\n\x10_wal_capacity_mbB\x15\n\x13_wal_segments_ahead\"\xec\x03\n\x14OptimizersConfigDiff\x12\x1e\n\x11\x64\x65leted_threshold\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12%\n\x18vacuum_min_vector_number\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12#\n\x16\x64\x65\x66\x61ult_segment_number\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12\x1d\n\x10max_segment_size\x18\x04 \x01(\x04H\x03\x88\x01\x01\x12\x1d\n\x10memmap_threshold\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x1f\n\x12indexing_threshold\x18\x06 \x01(\x04H\x05\x88\x01\x01\x12\x1f\n\x12\x66lush_interval_sec\x18\x07 \x01(\x04H\x06\x88\x01\x01\x12%\n\x18max_optimization_threads\x18\x08 \x01(\x04H\x07\x88\x01\x01\x42\x14\n\x12_deleted_thresholdB\x1b\n\x19_vacuum_min_vector_numberB\x19\n\x17_default_segment_numberB\x13\n\x11_max_segment_sizeB\x13\n\x11_memmap_thresholdB\x15\n\x13_indexing_thresholdB\x15\n\x13_flush_interval_secB\x1b\n\x19_max_optimization_threads\"\x88\x01\n\x12ScalarQuantization\x12&\n\x04type\x18\x01 \x01(\x0e\x32\x18.qdrant.QuantizationType\x12\x15\n\x08quantile\x18\x02 \x01(\x02H\x00\x88\x01\x01\x12\x17\n\nalways_ram\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x0b\n\t_quantileB\r\n\x0b_always_ram\"l\n\x13ProductQuantization\x12-\n\x0b\x63ompression\x18\x01 \x01(\x0e\x32\x18.qdrant.CompressionRatio\x12\x17\n\nalways_ram\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\r\n\x0b_always_ram\"<\n\x12\x42inaryQuantization\x12\x17\n\nalways_ram\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\r\n\x0b_always_ram\"\xb0\x01\n\x12QuantizationConfig\x12,\n\x06scalar\x18\x01 \x01(\x0b\x32\x1a.qdrant.ScalarQuantizationH\x00\x12.\n\x07product\x18\x02 \x01(\x0b\x32\x1b.qdrant.ProductQuantizationH\x00\x12,\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x1a.qdrant.BinaryQuantizationH\x00\x42\x0e\n\x0cquantization\"\n\n\x08\x44isabled\"\xda\x01\n\x16QuantizationConfigDiff\x12,\n\x06scalar\x18\x01 \x01(\x0b\x32\x1a.qdrant.ScalarQuantizationH\x00\x12.\n\x07product\x18\x02 \x01(\x0b\x32\x1b.qdrant.ProductQuantizationH\x00\x12$\n\x08\x64isabled\x18\x03 \x01(\x0b\x32\x10.qdrant.DisabledH\x00\x12,\n\x06\x62inary\x18\x04 \x01(\x0b\x32\x1a.qdrant.BinaryQuantizationH\x00\x42\x0e\n\x0cquantization\"\xd6\x03\n\x10StrictModeConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x0fmax_query_limit\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x18\n\x0bmax_timeout\x18\x03 \x01(\rH\x02\x88\x01\x01\x12)\n\x1cunindexed_filtering_retrieve\x18\x04 \x01(\x08H\x03\x88\x01\x01\x12\'\n\x1aunindexed_filtering_update\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x1f\n\x12search_max_hnsw_ef\x18\x06 \x01(\rH\x05\x88\x01\x01\x12\x1f\n\x12search_allow_exact\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12$\n\x17search_max_oversampling\x18\x08 \x01(\x02H\x07\x88\x01\x01\x42\n\n\x08_enabledB\x12\n\x10_max_query_limitB\x0e\n\x0c_max_timeoutB\x1f\n\x1d_unindexed_filtering_retrieveB\x1d\n\x1b_unindexed_filtering_updateB\x15\n\x13_search_max_hnsw_efB\x15\n\x13_search_allow_exactB\x1a\n\x18_search_max_oversampling\"\xd7\x07\n\x10\x43reateCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x30\n\x0bhnsw_config\x18\x04 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x00\x88\x01\x01\x12.\n\nwal_config\x18\x05 \x01(\x0b\x32\x15.qdrant.WalConfigDiffH\x01\x88\x01\x01\x12<\n\x11optimizers_config\x18\x06 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiffH\x02\x88\x01\x01\x12\x19\n\x0cshard_number\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fon_disk_payload\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12\x14\n\x07timeout\x18\t \x01(\x04H\x05\x88\x01\x01\x12\x32\n\x0evectors_config\x18\n \x01(\x0b\x32\x15.qdrant.VectorsConfigH\x06\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x0b \x01(\rH\x07\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x0c \x01(\rH\x08\x88\x01\x01\x12!\n\x14init_from_collection\x18\r \x01(\tH\t\x88\x01\x01\x12<\n\x13quantization_config\x18\x0e \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\n\x88\x01\x01\x12\x34\n\x0fsharding_method\x18\x0f \x01(\x0e\x32\x16.qdrant.ShardingMethodH\x0b\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\x10 \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x0c\x88\x01\x01\x12\x39\n\x12strict_mode_config\x18\x11 \x01(\x0b\x32\x18.qdrant.StrictModeConfigH\r\x88\x01\x01\x42\x0e\n\x0c_hnsw_configB\r\n\x0b_wal_configB\x14\n\x12_optimizers_configB\x0f\n\r_shard_numberB\x12\n\x10_on_disk_payloadB\n\n\x08_timeoutB\x11\n\x0f_vectors_configB\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x17\n\x15_init_from_collectionB\x16\n\x14_quantization_configB\x12\n\x10_sharding_methodB\x18\n\x16_sparse_vectors_configB\x15\n\x13_strict_mode_configJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"\xa0\x04\n\x10UpdateCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12<\n\x11optimizers_config\x18\x02 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiffH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x31\n\x06params\x18\x04 \x01(\x0b\x32\x1c.qdrant.CollectionParamsDiffH\x02\x88\x01\x01\x12\x30\n\x0bhnsw_config\x18\x05 \x01(\x0b\x32\x16.qdrant.HnswConfigDiffH\x03\x88\x01\x01\x12\x36\n\x0evectors_config\x18\x06 \x01(\x0b\x32\x19.qdrant.VectorsConfigDiffH\x04\x88\x01\x01\x12@\n\x13quantization_config\x18\x07 \x01(\x0b\x32\x1e.qdrant.QuantizationConfigDiffH\x05\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\x08 \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x06\x88\x01\x01\x42\x14\n\x12_optimizers_configB\n\n\x08_timeoutB\t\n\x07_paramsB\x0e\n\x0c_hnsw_configB\x11\n\x0f_vectors_configB\x16\n\x14_quantization_configB\x18\n\x16_sparse_vectors_config\"M\n\x10\x44\x65leteCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\";\n\x1b\x43ollectionOperationResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\xee\x03\n\x10\x43ollectionParams\x12\x14\n\x0cshard_number\x18\x03 \x01(\r\x12\x17\n\x0fon_disk_payload\x18\x04 \x01(\x08\x12\x32\n\x0evectors_config\x18\x05 \x01(\x0b\x32\x15.qdrant.VectorsConfigH\x00\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x06 \x01(\rH\x01\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x07 \x01(\rH\x02\x88\x01\x01\x12 \n\x13read_fan_out_factor\x18\x08 \x01(\rH\x03\x88\x01\x01\x12\x34\n\x0fsharding_method\x18\t \x01(\x0e\x32\x16.qdrant.ShardingMethodH\x04\x88\x01\x01\x12>\n\x15sparse_vectors_config\x18\n \x01(\x0b\x32\x1a.qdrant.SparseVectorConfigH\x05\x88\x01\x01\x42\x11\n\x0f_vectors_configB\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x16\n\x14_read_fan_out_factorB\x12\n\x10_sharding_methodB\x18\n\x16_sparse_vectors_configJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\xfe\x01\n\x14\x43ollectionParamsDiff\x12\x1f\n\x12replication_factor\x18\x01 \x01(\rH\x00\x88\x01\x01\x12%\n\x18write_consistency_factor\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x0fon_disk_payload\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12 \n\x13read_fan_out_factor\x18\x04 \x01(\rH\x03\x88\x01\x01\x42\x15\n\x13_replication_factorB\x1b\n\x19_write_consistency_factorB\x12\n\x10_on_disk_payloadB\x16\n\x14_read_fan_out_factor\"\xf4\x02\n\x10\x43ollectionConfig\x12(\n\x06params\x18\x01 \x01(\x0b\x32\x18.qdrant.CollectionParams\x12+\n\x0bhnsw_config\x18\x02 \x01(\x0b\x32\x16.qdrant.HnswConfigDiff\x12\x36\n\x10optimizer_config\x18\x03 \x01(\x0b\x32\x1c.qdrant.OptimizersConfigDiff\x12)\n\nwal_config\x18\x04 \x01(\x0b\x32\x15.qdrant.WalConfigDiff\x12<\n\x13quantization_config\x18\x05 \x01(\x0b\x32\x1a.qdrant.QuantizationConfigH\x00\x88\x01\x01\x12\x39\n\x12strict_mode_config\x18\x06 \x01(\x0b\x32\x18.qdrant.StrictModeConfigH\x01\x88\x01\x01\x42\x16\n\x14_quantization_configB\x15\n\x13_strict_mode_config\"\\\n\x12KeywordIndexParams\x12\x16\n\tis_tenant\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0c\n\n_is_tenantB\n\n\x08_on_disk\"\xa0\x01\n\x12IntegerIndexParams\x12\x13\n\x06lookup\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x12\n\x05range\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12\x14\n\x07on_disk\x18\x04 \x01(\x08H\x03\x88\x01\x01\x42\t\n\x07_lookupB\x08\n\x06_rangeB\x0f\n\r_is_principalB\n\n\x08_on_disk\"`\n\x10\x46loatIndexParams\x12\x14\n\x07on_disk\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\n\n\x08_on_diskB\x0f\n\r_is_principal\"\x10\n\x0eGeoIndexParams\"\xbd\x01\n\x0fTextIndexParams\x12(\n\ttokenizer\x18\x01 \x01(\x0e\x32\x15.qdrant.TokenizerType\x12\x16\n\tlowercase\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1a\n\rmin_token_len\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x1a\n\rmax_token_len\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\x0c\n\n_lowercaseB\x10\n\x0e_min_token_lenB\x10\n\x0e_max_token_len\"\x11\n\x0f\x42oolIndexParams\"c\n\x13\x44\x61tetimeIndexParams\x12\x14\n\x07on_disk\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0cis_principal\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\n\n\x08_on_diskB\x0f\n\r_is_principal\"Y\n\x0fUuidIndexParams\x12\x16\n\tis_tenant\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x14\n\x07on_disk\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0c\n\n_is_tenantB\n\n\x08_on_disk\"\xe8\x03\n\x12PayloadIndexParams\x12:\n\x14keyword_index_params\x18\x03 \x01(\x0b\x32\x1a.qdrant.KeywordIndexParamsH\x00\x12:\n\x14integer_index_params\x18\x02 \x01(\x0b\x32\x1a.qdrant.IntegerIndexParamsH\x00\x12\x36\n\x12\x66loat_index_params\x18\x04 \x01(\x0b\x32\x18.qdrant.FloatIndexParamsH\x00\x12\x32\n\x10geo_index_params\x18\x05 \x01(\x0b\x32\x16.qdrant.GeoIndexParamsH\x00\x12\x34\n\x11text_index_params\x18\x01 \x01(\x0b\x32\x17.qdrant.TextIndexParamsH\x00\x12\x34\n\x11\x62ool_index_params\x18\x06 \x01(\x0b\x32\x17.qdrant.BoolIndexParamsH\x00\x12<\n\x15\x64\x61tetime_index_params\x18\x07 \x01(\x0b\x32\x1b.qdrant.DatetimeIndexParamsH\x00\x12\x34\n\x11uuid_index_params\x18\x08 \x01(\x0b\x32\x17.qdrant.UuidIndexParamsH\x00\x42\x0e\n\x0cindex_params\"\x9d\x01\n\x11PayloadSchemaInfo\x12,\n\tdata_type\x18\x01 \x01(\x0e\x32\x19.qdrant.PayloadSchemaType\x12/\n\x06params\x18\x02 \x01(\x0b\x32\x1a.qdrant.PayloadIndexParamsH\x00\x88\x01\x01\x12\x13\n\x06points\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\t\n\x07_paramsB\t\n\x07_points\"\xe7\x03\n\x0e\x43ollectionInfo\x12(\n\x06status\x18\x01 \x01(\x0e\x32\x18.qdrant.CollectionStatus\x12\x31\n\x10optimizer_status\x18\x02 \x01(\x0b\x32\x17.qdrant.OptimizerStatus\x12\x1a\n\rvectors_count\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x16\n\x0esegments_count\x18\x04 \x01(\x04\x12(\n\x06\x63onfig\x18\x07 \x01(\x0b\x32\x18.qdrant.CollectionConfig\x12\x41\n\x0epayload_schema\x18\x08 \x03(\x0b\x32).qdrant.CollectionInfo.PayloadSchemaEntry\x12\x19\n\x0cpoints_count\x18\t \x01(\x04H\x01\x88\x01\x01\x12\"\n\x15indexed_vectors_count\x18\n \x01(\x04H\x02\x88\x01\x01\x1aO\n\x12PayloadSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.qdrant.PayloadSchemaInfo:\x02\x38\x01\x42\x10\n\x0e_vectors_countB\x0f\n\r_points_countB\x18\n\x16_indexed_vectors_countJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"[\n\rChangeAliases\x12(\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.qdrant.AliasOperations\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"\xa2\x01\n\x0f\x41liasOperations\x12+\n\x0c\x63reate_alias\x18\x01 \x01(\x0b\x32\x13.qdrant.CreateAliasH\x00\x12+\n\x0crename_alias\x18\x02 \x01(\x0b\x32\x13.qdrant.RenameAliasH\x00\x12+\n\x0c\x64\x65lete_alias\x18\x03 \x01(\x0b\x32\x13.qdrant.DeleteAliasH\x00\x42\x08\n\x06\x61\x63tion\":\n\x0b\x43reateAlias\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x12\n\nalias_name\x18\x02 \x01(\t\"=\n\x0bRenameAlias\x12\x16\n\x0eold_alias_name\x18\x01 \x01(\t\x12\x16\n\x0enew_alias_name\x18\x02 \x01(\t\"!\n\x0b\x44\x65leteAlias\x12\x12\n\nalias_name\x18\x01 \x01(\t\"\x14\n\x12ListAliasesRequest\"7\n\x1cListCollectionAliasesRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"?\n\x10\x41liasDescription\x12\x12\n\nalias_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\"N\n\x13ListAliasesResponse\x12)\n\x07\x61liases\x18\x01 \x03(\x0b\x32\x18.qdrant.AliasDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\"7\n\x1c\x43ollectionClusterInfoRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"6\n\x08ShardKey\x12\x11\n\x07keyword\x18\x01 \x01(\tH\x00\x12\x10\n\x06number\x18\x02 \x01(\x04H\x00\x42\x05\n\x03key\"\x95\x01\n\x0eLocalShardInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x14\n\x0cpoints_count\x18\x02 \x01(\x04\x12#\n\x05state\x18\x03 \x01(\x0e\x32\x14.qdrant.ReplicaState\x12(\n\tshard_key\x18\x04 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"\x91\x01\n\x0fRemoteShardInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\x12#\n\x05state\x18\x03 \x01(\x0e\x32\x14.qdrant.ReplicaState\x12(\n\tshard_key\x18\x04 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"w\n\x11ShardTransferInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x04\x12\n\n\x02to\x18\x03 \x01(\x04\x12\x0c\n\x04sync\x18\x04 \x01(\x08\x42\x0e\n\x0c_to_shard_id\"k\n\x0eReshardingInfo\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\x12(\n\tshard_key\x18\x03 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x00\x88\x01\x01\x42\x0c\n\n_shard_key\"\xd7\x01\n\x1d\x43ollectionClusterInfoResponse\x12\x0f\n\x07peer_id\x18\x01 \x01(\x04\x12\x13\n\x0bshard_count\x18\x02 \x01(\x04\x12,\n\x0clocal_shards\x18\x03 \x03(\x0b\x32\x16.qdrant.LocalShardInfo\x12.\n\rremote_shards\x18\x04 \x03(\x0b\x32\x17.qdrant.RemoteShardInfo\x12\x32\n\x0fshard_transfers\x18\x05 \x03(\x0b\x32\x19.qdrant.ShardTransferInfo\"\xae\x01\n\tMoveShard\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12\x30\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodH\x01\x88\x01\x01\x42\x0e\n\x0c_to_shard_idB\t\n\x07_method\"\xb3\x01\n\x0eReplicateShard\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12\x30\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodH\x01\x88\x01\x01\x42\x0e\n\x0c_to_shard_idB\t\n\x07_method\"z\n\x12\x41\x62ortShardTransfer\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x42\x0e\n\x0c_to_shard_id\"\xa4\x01\n\x0fRestartTransfer\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x18\n\x0bto_shard_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0c\x66rom_peer_id\x18\x02 \x01(\x04\x12\x12\n\nto_peer_id\x18\x03 \x01(\x04\x12+\n\x06method\x18\x04 \x01(\x0e\x32\x1b.qdrant.ShardTransferMethodB\x0e\n\x0c_to_shard_id\",\n\x07Replica\x12\x10\n\x08shard_id\x18\x01 \x01(\r\x12\x0f\n\x07peer_id\x18\x02 \x01(\x04\"\xae\x01\n\x0e\x43reateShardKey\x12#\n\tshard_key\x18\x01 \x01(\x0b\x32\x10.qdrant.ShardKey\x12\x1a\n\rshards_number\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1f\n\x12replication_factor\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x11\n\tplacement\x18\x04 \x03(\x04\x42\x10\n\x0e_shards_numberB\x15\n\x13_replication_factor\"5\n\x0e\x44\x65leteShardKey\x12#\n\tshard_key\x18\x01 \x01(\x0b\x32\x10.qdrant.ShardKey\"\xc5\x03\n#UpdateCollectionClusterSetupRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\nmove_shard\x18\x02 \x01(\x0b\x32\x11.qdrant.MoveShardH\x00\x12\x31\n\x0freplicate_shard\x18\x03 \x01(\x0b\x32\x16.qdrant.ReplicateShardH\x00\x12\x34\n\x0e\x61\x62ort_transfer\x18\x04 \x01(\x0b\x32\x1a.qdrant.AbortShardTransferH\x00\x12\'\n\x0c\x64rop_replica\x18\x05 \x01(\x0b\x32\x0f.qdrant.ReplicaH\x00\x12\x32\n\x10\x63reate_shard_key\x18\x07 \x01(\x0b\x32\x16.qdrant.CreateShardKeyH\x00\x12\x32\n\x10\x64\x65lete_shard_key\x18\x08 \x01(\x0b\x32\x16.qdrant.DeleteShardKeyH\x00\x12\x33\n\x10restart_transfer\x18\t \x01(\x0b\x32\x17.qdrant.RestartTransferH\x00\x12\x14\n\x07timeout\x18\x06 \x01(\x04H\x01\x88\x01\x01\x42\x0b\n\toperationB\n\n\x08_timeout\"6\n$UpdateCollectionClusterSetupResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\"{\n\x15\x43reateShardKeyRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x07request\x18\x02 \x01(\x0b\x32\x16.qdrant.CreateShardKey\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"{\n\x15\x44\x65leteShardKeyRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x07request\x18\x02 \x01(\x0b\x32\x16.qdrant.DeleteShardKey\x12\x14\n\x07timeout\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_timeout\"(\n\x16\x43reateShardKeyResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\"(\n\x16\x44\x65leteShardKeyResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08*<\n\x08\x44\x61tatype\x12\x0b\n\x07\x44\x65\x66\x61ult\x10\x00\x12\x0b\n\x07\x46loat32\x10\x01\x12\t\n\x05Uint8\x10\x02\x12\x0b\n\x07\x46loat16\x10\x03*\x1d\n\x08Modifier\x12\x08\n\x04None\x10\x00\x12\x07\n\x03Idf\x10\x01*#\n\x15MultiVectorComparator\x12\n\n\x06MaxSim\x10\x00*O\n\x08\x44istance\x12\x13\n\x0fUnknownDistance\x10\x00\x12\n\n\x06\x43osine\x10\x01\x12\n\n\x06\x45uclid\x10\x02\x12\x07\n\x03\x44ot\x10\x03\x12\r\n\tManhattan\x10\x04*Y\n\x10\x43ollectionStatus\x12\x1b\n\x17UnknownCollectionStatus\x10\x00\x12\t\n\x05Green\x10\x01\x12\n\n\x06Yellow\x10\x02\x12\x07\n\x03Red\x10\x03\x12\x08\n\x04Grey\x10\x04*~\n\x11PayloadSchemaType\x12\x0f\n\x0bUnknownType\x10\x00\x12\x0b\n\x07Keyword\x10\x01\x12\x0b\n\x07Integer\x10\x02\x12\t\n\x05\x46loat\x10\x03\x12\x07\n\x03Geo\x10\x04\x12\x08\n\x04Text\x10\x05\x12\x08\n\x04\x42ool\x10\x06\x12\x0c\n\x08\x44\x61tetime\x10\x07\x12\x08\n\x04Uuid\x10\x08*5\n\x10QuantizationType\x12\x17\n\x13UnknownQuantization\x10\x00\x12\x08\n\x04Int8\x10\x01*=\n\x10\x43ompressionRatio\x12\x06\n\x02x4\x10\x00\x12\x06\n\x02x8\x10\x01\x12\x07\n\x03x16\x10\x02\x12\x07\n\x03x32\x10\x03\x12\x07\n\x03x64\x10\x04*&\n\x0eShardingMethod\x12\x08\n\x04\x41uto\x10\x00\x12\n\n\x06\x43ustom\x10\x01*T\n\rTokenizerType\x12\x0b\n\x07Unknown\x10\x00\x12\n\n\x06Prefix\x10\x01\x12\x0e\n\nWhitespace\x10\x02\x12\x08\n\x04Word\x10\x03\x12\x10\n\x0cMultilingual\x10\x04*\x84\x01\n\x0cReplicaState\x12\n\n\x06\x41\x63tive\x10\x00\x12\x08\n\x04\x44\x65\x61\x64\x10\x01\x12\x0b\n\x07Partial\x10\x02\x12\x10\n\x0cInitializing\x10\x03\x12\x0c\n\x08Listener\x10\x04\x12\x13\n\x0fPartialSnapshot\x10\x05\x12\x0c\n\x08Recovery\x10\x06\x12\x0e\n\nResharding\x10\x07*a\n\x13ShardTransferMethod\x12\x11\n\rStreamRecords\x10\x00\x12\x0c\n\x08Snapshot\x10\x01\x12\x0c\n\x08WalDelta\x10\x02\x12\x1b\n\x17ReshardingStreamRecords\x10\x03\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _VECTORPARAMSMAP_MAPENTRY._options = None - _VECTORPARAMSMAP_MAPENTRY._serialized_options = b'8\001' - _VECTORPARAMSDIFFMAP_MAPENTRY._options = None - _VECTORPARAMSDIFFMAP_MAPENTRY._serialized_options = b'8\001' - _SPARSEVECTORCONFIG_MAPENTRY._options = None - _SPARSEVECTORCONFIG_MAPENTRY._serialized_options = b'8\001' - _COLLECTIONINFO_PAYLOADSCHEMAENTRY._options = None - _COLLECTIONINFO_PAYLOADSCHEMAENTRY._serialized_options = b'8\001' - _DATATYPE._serialized_start=11625 - _DATATYPE._serialized_end=11685 - _MODIFIER._serialized_start=11687 - _MODIFIER._serialized_end=11716 - _MULTIVECTORCOMPARATOR._serialized_start=11718 - _MULTIVECTORCOMPARATOR._serialized_end=11753 - _DISTANCE._serialized_start=11755 - _DISTANCE._serialized_end=11834 - _COLLECTIONSTATUS._serialized_start=11836 - _COLLECTIONSTATUS._serialized_end=11925 - _PAYLOADSCHEMATYPE._serialized_start=11927 - _PAYLOADSCHEMATYPE._serialized_end=12053 - _QUANTIZATIONTYPE._serialized_start=12055 - _QUANTIZATIONTYPE._serialized_end=12108 - _COMPRESSIONRATIO._serialized_start=12110 - _COMPRESSIONRATIO._serialized_end=12171 - _SHARDINGMETHOD._serialized_start=12173 - _SHARDINGMETHOD._serialized_end=12211 - _TOKENIZERTYPE._serialized_start=12213 - _TOKENIZERTYPE._serialized_end=12297 - _REPLICASTATE._serialized_start=12300 - _REPLICASTATE._serialized_end=12432 - _SHARDTRANSFERMETHOD._serialized_start=12434 - _SHARDTRANSFERMETHOD._serialized_end=12531 - _VECTORPARAMS._serialized_start=30 - _VECTORPARAMS._serialized_end=417 - _VECTORPARAMSDIFF._serialized_start=420 - _VECTORPARAMSDIFF._serialized_end=628 - _VECTORPARAMSMAP._serialized_start=631 - _VECTORPARAMSMAP._serialized_end=761 - _VECTORPARAMSMAP_MAPENTRY._serialized_start=697 - _VECTORPARAMSMAP_MAPENTRY._serialized_end=761 - _VECTORPARAMSDIFFMAP._serialized_start=764 - _VECTORPARAMSDIFFMAP._serialized_end=906 - _VECTORPARAMSDIFFMAP_MAPENTRY._serialized_start=838 - _VECTORPARAMSDIFFMAP_MAPENTRY._serialized_end=906 - _VECTORSCONFIG._serialized_start=908 - _VECTORSCONFIG._serialized_end=1020 - _VECTORSCONFIGDIFF._serialized_start=1022 - _VECTORSCONFIGDIFF._serialized_end=1146 - _SPARSEVECTORPARAMS._serialized_start=1149 - _SPARSEVECTORPARAMS._serialized_end=1280 - _SPARSEVECTORCONFIG._serialized_start=1283 - _SPARSEVECTORCONFIG._serialized_end=1425 - _SPARSEVECTORCONFIG_MAPENTRY._serialized_start=1355 - _SPARSEVECTORCONFIG_MAPENTRY._serialized_end=1425 - _MULTIVECTORCONFIG._serialized_start=1427 - _MULTIVECTORCONFIG._serialized_end=1497 - _GETCOLLECTIONINFOREQUEST._serialized_start=1499 - _GETCOLLECTIONINFOREQUEST._serialized_end=1550 - _COLLECTIONEXISTSREQUEST._serialized_start=1552 - _COLLECTIONEXISTSREQUEST._serialized_end=1602 - _COLLECTIONEXISTS._serialized_start=1604 - _COLLECTIONEXISTS._serialized_end=1638 - _COLLECTIONEXISTSRESPONSE._serialized_start=1640 - _COLLECTIONEXISTSRESPONSE._serialized_end=1722 - _LISTCOLLECTIONSREQUEST._serialized_start=1724 - _LISTCOLLECTIONSREQUEST._serialized_end=1748 - _COLLECTIONDESCRIPTION._serialized_start=1750 - _COLLECTIONDESCRIPTION._serialized_end=1787 - _GETCOLLECTIONINFORESPONSE._serialized_start=1789 - _GETCOLLECTIONINFORESPONSE._serialized_end=1870 - _LISTCOLLECTIONSRESPONSE._serialized_start=1872 - _LISTCOLLECTIONSRESPONSE._serialized_end=1963 - _OPTIMIZERSTATUS._serialized_start=1965 - _OPTIMIZERSTATUS._serialized_end=2009 - _HNSWCONFIGDIFF._serialized_start=2012 - _HNSWCONFIGDIFF._serialized_end=2284 - _SPARSEINDEXCONFIG._serialized_start=2287 - _SPARSEINDEXCONFIG._serialized_end=2452 - _WALCONFIGDIFF._serialized_start=2454 - _WALCONFIGDIFF._serialized_end=2575 - _OPTIMIZERSCONFIGDIFF._serialized_start=2578 - _OPTIMIZERSCONFIGDIFF._serialized_end=3070 - _SCALARQUANTIZATION._serialized_start=3073 - _SCALARQUANTIZATION._serialized_end=3209 - _PRODUCTQUANTIZATION._serialized_start=3211 - _PRODUCTQUANTIZATION._serialized_end=3319 - _BINARYQUANTIZATION._serialized_start=3321 - _BINARYQUANTIZATION._serialized_end=3381 - _QUANTIZATIONCONFIG._serialized_start=3384 - _QUANTIZATIONCONFIG._serialized_end=3560 - _DISABLED._serialized_start=3562 - _DISABLED._serialized_end=3572 - _QUANTIZATIONCONFIGDIFF._serialized_start=3575 - _QUANTIZATIONCONFIGDIFF._serialized_end=3793 - _CREATECOLLECTION._serialized_start=3796 - _CREATECOLLECTION._serialized_end=4697 - _UPDATECOLLECTION._serialized_start=4700 - _UPDATECOLLECTION._serialized_end=5244 - _DELETECOLLECTION._serialized_start=5246 - _DELETECOLLECTION._serialized_end=5323 - _COLLECTIONOPERATIONRESPONSE._serialized_start=5325 - _COLLECTIONOPERATIONRESPONSE._serialized_end=5384 - _COLLECTIONPARAMS._serialized_start=5387 - _COLLECTIONPARAMS._serialized_end=5881 - _COLLECTIONPARAMSDIFF._serialized_start=5884 - _COLLECTIONPARAMSDIFF._serialized_end=6138 - _COLLECTIONCONFIG._serialized_start=6141 - _COLLECTIONCONFIG._serialized_end=6431 - _KEYWORDINDEXPARAMS._serialized_start=6433 - _KEYWORDINDEXPARAMS._serialized_end=6525 - _INTEGERINDEXPARAMS._serialized_start=6528 - _INTEGERINDEXPARAMS._serialized_end=6688 - _FLOATINDEXPARAMS._serialized_start=6690 - _FLOATINDEXPARAMS._serialized_end=6786 - _GEOINDEXPARAMS._serialized_start=6788 - _GEOINDEXPARAMS._serialized_end=6804 - _TEXTINDEXPARAMS._serialized_start=6807 - _TEXTINDEXPARAMS._serialized_end=6996 - _BOOLINDEXPARAMS._serialized_start=6998 - _BOOLINDEXPARAMS._serialized_end=7015 - _DATETIMEINDEXPARAMS._serialized_start=7017 - _DATETIMEINDEXPARAMS._serialized_end=7116 - _UUIDINDEXPARAMS._serialized_start=7118 - _UUIDINDEXPARAMS._serialized_end=7207 - _PAYLOADINDEXPARAMS._serialized_start=7210 - _PAYLOADINDEXPARAMS._serialized_end=7698 - _PAYLOADSCHEMAINFO._serialized_start=7701 - _PAYLOADSCHEMAINFO._serialized_end=7858 - _COLLECTIONINFO._serialized_start=7861 - _COLLECTIONINFO._serialized_end=8348 - _COLLECTIONINFO_PAYLOADSCHEMAENTRY._serialized_start=8196 - _COLLECTIONINFO_PAYLOADSCHEMAENTRY._serialized_end=8275 - _CHANGEALIASES._serialized_start=8350 - _CHANGEALIASES._serialized_end=8441 - _ALIASOPERATIONS._serialized_start=8444 - _ALIASOPERATIONS._serialized_end=8606 - _CREATEALIAS._serialized_start=8608 - _CREATEALIAS._serialized_end=8666 - _RENAMEALIAS._serialized_start=8668 - _RENAMEALIAS._serialized_end=8729 - _DELETEALIAS._serialized_start=8731 - _DELETEALIAS._serialized_end=8764 - _LISTALIASESREQUEST._serialized_start=8766 - _LISTALIASESREQUEST._serialized_end=8786 - _LISTCOLLECTIONALIASESREQUEST._serialized_start=8788 - _LISTCOLLECTIONALIASESREQUEST._serialized_end=8843 - _ALIASDESCRIPTION._serialized_start=8845 - _ALIASDESCRIPTION._serialized_end=8908 - _LISTALIASESRESPONSE._serialized_start=8910 - _LISTALIASESRESPONSE._serialized_end=8988 - _COLLECTIONCLUSTERINFOREQUEST._serialized_start=8990 - _COLLECTIONCLUSTERINFOREQUEST._serialized_end=9045 - _SHARDKEY._serialized_start=9047 - _SHARDKEY._serialized_end=9101 - _LOCALSHARDINFO._serialized_start=9104 - _LOCALSHARDINFO._serialized_end=9253 - _REMOTESHARDINFO._serialized_start=9256 - _REMOTESHARDINFO._serialized_end=9401 - _SHARDTRANSFERINFO._serialized_start=9403 - _SHARDTRANSFERINFO._serialized_end=9522 - _RESHARDINGINFO._serialized_start=9524 - _RESHARDINGINFO._serialized_end=9631 - _COLLECTIONCLUSTERINFORESPONSE._serialized_start=9634 - _COLLECTIONCLUSTERINFORESPONSE._serialized_end=9849 - _MOVESHARD._serialized_start=9852 - _MOVESHARD._serialized_end=10026 - _REPLICATESHARD._serialized_start=10029 - _REPLICATESHARD._serialized_end=10208 - _ABORTSHARDTRANSFER._serialized_start=10210 - _ABORTSHARDTRANSFER._serialized_end=10332 - _RESTARTTRANSFER._serialized_start=10335 - _RESTARTTRANSFER._serialized_end=10499 - _REPLICA._serialized_start=10501 - _REPLICA._serialized_end=10545 - _CREATESHARDKEY._serialized_start=10548 - _CREATESHARDKEY._serialized_end=10722 - _DELETESHARDKEY._serialized_start=10724 - _DELETESHARDKEY._serialized_end=10777 - _UPDATECOLLECTIONCLUSTERSETUPREQUEST._serialized_start=10780 - _UPDATECOLLECTIONCLUSTERSETUPREQUEST._serialized_end=11233 - _UPDATECOLLECTIONCLUSTERSETUPRESPONSE._serialized_start=11235 - _UPDATECOLLECTIONCLUSTERSETUPRESPONSE._serialized_end=11289 - _CREATESHARDKEYREQUEST._serialized_start=11291 - _CREATESHARDKEYREQUEST._serialized_end=11414 - _DELETESHARDKEYREQUEST._serialized_start=11416 - _DELETESHARDKEYREQUEST._serialized_end=11539 - _CREATESHARDKEYRESPONSE._serialized_start=11541 - _CREATESHARDKEYRESPONSE._serialized_end=11581 - _DELETESHARDKEYRESPONSE._serialized_start=11583 - _DELETESHARDKEYRESPONSE._serialized_end=11623 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'collections_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_VECTORPARAMSMAP_MAPENTRY']._loaded_options = None + _globals['_VECTORPARAMSMAP_MAPENTRY']._serialized_options = b'8\001' + _globals['_VECTORPARAMSDIFFMAP_MAPENTRY']._loaded_options = None + _globals['_VECTORPARAMSDIFFMAP_MAPENTRY']._serialized_options = b'8\001' + _globals['_SPARSEVECTORCONFIG_MAPENTRY']._loaded_options = None + _globals['_SPARSEVECTORCONFIG_MAPENTRY']._serialized_options = b'8\001' + _globals['_COLLECTIONINFO_PAYLOADSCHEMAENTRY']._loaded_options = None + _globals['_COLLECTIONINFO_PAYLOADSCHEMAENTRY']._serialized_options = b'8\001' + _globals['_DATATYPE']._serialized_start=12262 + _globals['_DATATYPE']._serialized_end=12322 + _globals['_MODIFIER']._serialized_start=12324 + _globals['_MODIFIER']._serialized_end=12353 + _globals['_MULTIVECTORCOMPARATOR']._serialized_start=12355 + _globals['_MULTIVECTORCOMPARATOR']._serialized_end=12390 + _globals['_DISTANCE']._serialized_start=12392 + _globals['_DISTANCE']._serialized_end=12471 + _globals['_COLLECTIONSTATUS']._serialized_start=12473 + _globals['_COLLECTIONSTATUS']._serialized_end=12562 + _globals['_PAYLOADSCHEMATYPE']._serialized_start=12564 + _globals['_PAYLOADSCHEMATYPE']._serialized_end=12690 + _globals['_QUANTIZATIONTYPE']._serialized_start=12692 + _globals['_QUANTIZATIONTYPE']._serialized_end=12745 + _globals['_COMPRESSIONRATIO']._serialized_start=12747 + _globals['_COMPRESSIONRATIO']._serialized_end=12808 + _globals['_SHARDINGMETHOD']._serialized_start=12810 + _globals['_SHARDINGMETHOD']._serialized_end=12848 + _globals['_TOKENIZERTYPE']._serialized_start=12850 + _globals['_TOKENIZERTYPE']._serialized_end=12934 + _globals['_REPLICASTATE']._serialized_start=12937 + _globals['_REPLICASTATE']._serialized_end=13069 + _globals['_SHARDTRANSFERMETHOD']._serialized_start=13071 + _globals['_SHARDTRANSFERMETHOD']._serialized_end=13168 + _globals['_VECTORPARAMS']._serialized_start=30 + _globals['_VECTORPARAMS']._serialized_end=417 + _globals['_VECTORPARAMSDIFF']._serialized_start=420 + _globals['_VECTORPARAMSDIFF']._serialized_end=628 + _globals['_VECTORPARAMSMAP']._serialized_start=631 + _globals['_VECTORPARAMSMAP']._serialized_end=761 + _globals['_VECTORPARAMSMAP_MAPENTRY']._serialized_start=697 + _globals['_VECTORPARAMSMAP_MAPENTRY']._serialized_end=761 + _globals['_VECTORPARAMSDIFFMAP']._serialized_start=764 + _globals['_VECTORPARAMSDIFFMAP']._serialized_end=906 + _globals['_VECTORPARAMSDIFFMAP_MAPENTRY']._serialized_start=838 + _globals['_VECTORPARAMSDIFFMAP_MAPENTRY']._serialized_end=906 + _globals['_VECTORSCONFIG']._serialized_start=908 + _globals['_VECTORSCONFIG']._serialized_end=1020 + _globals['_VECTORSCONFIGDIFF']._serialized_start=1022 + _globals['_VECTORSCONFIGDIFF']._serialized_end=1146 + _globals['_SPARSEVECTORPARAMS']._serialized_start=1149 + _globals['_SPARSEVECTORPARAMS']._serialized_end=1280 + _globals['_SPARSEVECTORCONFIG']._serialized_start=1283 + _globals['_SPARSEVECTORCONFIG']._serialized_end=1425 + _globals['_SPARSEVECTORCONFIG_MAPENTRY']._serialized_start=1355 + _globals['_SPARSEVECTORCONFIG_MAPENTRY']._serialized_end=1425 + _globals['_MULTIVECTORCONFIG']._serialized_start=1427 + _globals['_MULTIVECTORCONFIG']._serialized_end=1497 + _globals['_GETCOLLECTIONINFOREQUEST']._serialized_start=1499 + _globals['_GETCOLLECTIONINFOREQUEST']._serialized_end=1550 + _globals['_COLLECTIONEXISTSREQUEST']._serialized_start=1552 + _globals['_COLLECTIONEXISTSREQUEST']._serialized_end=1602 + _globals['_COLLECTIONEXISTS']._serialized_start=1604 + _globals['_COLLECTIONEXISTS']._serialized_end=1638 + _globals['_COLLECTIONEXISTSRESPONSE']._serialized_start=1640 + _globals['_COLLECTIONEXISTSRESPONSE']._serialized_end=1722 + _globals['_LISTCOLLECTIONSREQUEST']._serialized_start=1724 + _globals['_LISTCOLLECTIONSREQUEST']._serialized_end=1748 + _globals['_COLLECTIONDESCRIPTION']._serialized_start=1750 + _globals['_COLLECTIONDESCRIPTION']._serialized_end=1787 + _globals['_GETCOLLECTIONINFORESPONSE']._serialized_start=1789 + _globals['_GETCOLLECTIONINFORESPONSE']._serialized_end=1870 + _globals['_LISTCOLLECTIONSRESPONSE']._serialized_start=1872 + _globals['_LISTCOLLECTIONSRESPONSE']._serialized_end=1963 + _globals['_OPTIMIZERSTATUS']._serialized_start=1965 + _globals['_OPTIMIZERSTATUS']._serialized_end=2009 + _globals['_HNSWCONFIGDIFF']._serialized_start=2012 + _globals['_HNSWCONFIGDIFF']._serialized_end=2284 + _globals['_SPARSEINDEXCONFIG']._serialized_start=2287 + _globals['_SPARSEINDEXCONFIG']._serialized_end=2452 + _globals['_WALCONFIGDIFF']._serialized_start=2454 + _globals['_WALCONFIGDIFF']._serialized_end=2575 + _globals['_OPTIMIZERSCONFIGDIFF']._serialized_start=2578 + _globals['_OPTIMIZERSCONFIGDIFF']._serialized_end=3070 + _globals['_SCALARQUANTIZATION']._serialized_start=3073 + _globals['_SCALARQUANTIZATION']._serialized_end=3209 + _globals['_PRODUCTQUANTIZATION']._serialized_start=3211 + _globals['_PRODUCTQUANTIZATION']._serialized_end=3319 + _globals['_BINARYQUANTIZATION']._serialized_start=3321 + _globals['_BINARYQUANTIZATION']._serialized_end=3381 + _globals['_QUANTIZATIONCONFIG']._serialized_start=3384 + _globals['_QUANTIZATIONCONFIG']._serialized_end=3560 + _globals['_DISABLED']._serialized_start=3562 + _globals['_DISABLED']._serialized_end=3572 + _globals['_QUANTIZATIONCONFIGDIFF']._serialized_start=3575 + _globals['_QUANTIZATIONCONFIGDIFF']._serialized_end=3793 + _globals['_STRICTMODECONFIG']._serialized_start=3796 + _globals['_STRICTMODECONFIG']._serialized_end=4266 + _globals['_CREATECOLLECTION']._serialized_start=4269 + _globals['_CREATECOLLECTION']._serialized_end=5252 + _globals['_UPDATECOLLECTION']._serialized_start=5255 + _globals['_UPDATECOLLECTION']._serialized_end=5799 + _globals['_DELETECOLLECTION']._serialized_start=5801 + _globals['_DELETECOLLECTION']._serialized_end=5878 + _globals['_COLLECTIONOPERATIONRESPONSE']._serialized_start=5880 + _globals['_COLLECTIONOPERATIONRESPONSE']._serialized_end=5939 + _globals['_COLLECTIONPARAMS']._serialized_start=5942 + _globals['_COLLECTIONPARAMS']._serialized_end=6436 + _globals['_COLLECTIONPARAMSDIFF']._serialized_start=6439 + _globals['_COLLECTIONPARAMSDIFF']._serialized_end=6693 + _globals['_COLLECTIONCONFIG']._serialized_start=6696 + _globals['_COLLECTIONCONFIG']._serialized_end=7068 + _globals['_KEYWORDINDEXPARAMS']._serialized_start=7070 + _globals['_KEYWORDINDEXPARAMS']._serialized_end=7162 + _globals['_INTEGERINDEXPARAMS']._serialized_start=7165 + _globals['_INTEGERINDEXPARAMS']._serialized_end=7325 + _globals['_FLOATINDEXPARAMS']._serialized_start=7327 + _globals['_FLOATINDEXPARAMS']._serialized_end=7423 + _globals['_GEOINDEXPARAMS']._serialized_start=7425 + _globals['_GEOINDEXPARAMS']._serialized_end=7441 + _globals['_TEXTINDEXPARAMS']._serialized_start=7444 + _globals['_TEXTINDEXPARAMS']._serialized_end=7633 + _globals['_BOOLINDEXPARAMS']._serialized_start=7635 + _globals['_BOOLINDEXPARAMS']._serialized_end=7652 + _globals['_DATETIMEINDEXPARAMS']._serialized_start=7654 + _globals['_DATETIMEINDEXPARAMS']._serialized_end=7753 + _globals['_UUIDINDEXPARAMS']._serialized_start=7755 + _globals['_UUIDINDEXPARAMS']._serialized_end=7844 + _globals['_PAYLOADINDEXPARAMS']._serialized_start=7847 + _globals['_PAYLOADINDEXPARAMS']._serialized_end=8335 + _globals['_PAYLOADSCHEMAINFO']._serialized_start=8338 + _globals['_PAYLOADSCHEMAINFO']._serialized_end=8495 + _globals['_COLLECTIONINFO']._serialized_start=8498 + _globals['_COLLECTIONINFO']._serialized_end=8985 + _globals['_COLLECTIONINFO_PAYLOADSCHEMAENTRY']._serialized_start=8833 + _globals['_COLLECTIONINFO_PAYLOADSCHEMAENTRY']._serialized_end=8912 + _globals['_CHANGEALIASES']._serialized_start=8987 + _globals['_CHANGEALIASES']._serialized_end=9078 + _globals['_ALIASOPERATIONS']._serialized_start=9081 + _globals['_ALIASOPERATIONS']._serialized_end=9243 + _globals['_CREATEALIAS']._serialized_start=9245 + _globals['_CREATEALIAS']._serialized_end=9303 + _globals['_RENAMEALIAS']._serialized_start=9305 + _globals['_RENAMEALIAS']._serialized_end=9366 + _globals['_DELETEALIAS']._serialized_start=9368 + _globals['_DELETEALIAS']._serialized_end=9401 + _globals['_LISTALIASESREQUEST']._serialized_start=9403 + _globals['_LISTALIASESREQUEST']._serialized_end=9423 + _globals['_LISTCOLLECTIONALIASESREQUEST']._serialized_start=9425 + _globals['_LISTCOLLECTIONALIASESREQUEST']._serialized_end=9480 + _globals['_ALIASDESCRIPTION']._serialized_start=9482 + _globals['_ALIASDESCRIPTION']._serialized_end=9545 + _globals['_LISTALIASESRESPONSE']._serialized_start=9547 + _globals['_LISTALIASESRESPONSE']._serialized_end=9625 + _globals['_COLLECTIONCLUSTERINFOREQUEST']._serialized_start=9627 + _globals['_COLLECTIONCLUSTERINFOREQUEST']._serialized_end=9682 + _globals['_SHARDKEY']._serialized_start=9684 + _globals['_SHARDKEY']._serialized_end=9738 + _globals['_LOCALSHARDINFO']._serialized_start=9741 + _globals['_LOCALSHARDINFO']._serialized_end=9890 + _globals['_REMOTESHARDINFO']._serialized_start=9893 + _globals['_REMOTESHARDINFO']._serialized_end=10038 + _globals['_SHARDTRANSFERINFO']._serialized_start=10040 + _globals['_SHARDTRANSFERINFO']._serialized_end=10159 + _globals['_RESHARDINGINFO']._serialized_start=10161 + _globals['_RESHARDINGINFO']._serialized_end=10268 + _globals['_COLLECTIONCLUSTERINFORESPONSE']._serialized_start=10271 + _globals['_COLLECTIONCLUSTERINFORESPONSE']._serialized_end=10486 + _globals['_MOVESHARD']._serialized_start=10489 + _globals['_MOVESHARD']._serialized_end=10663 + _globals['_REPLICATESHARD']._serialized_start=10666 + _globals['_REPLICATESHARD']._serialized_end=10845 + _globals['_ABORTSHARDTRANSFER']._serialized_start=10847 + _globals['_ABORTSHARDTRANSFER']._serialized_end=10969 + _globals['_RESTARTTRANSFER']._serialized_start=10972 + _globals['_RESTARTTRANSFER']._serialized_end=11136 + _globals['_REPLICA']._serialized_start=11138 + _globals['_REPLICA']._serialized_end=11182 + _globals['_CREATESHARDKEY']._serialized_start=11185 + _globals['_CREATESHARDKEY']._serialized_end=11359 + _globals['_DELETESHARDKEY']._serialized_start=11361 + _globals['_DELETESHARDKEY']._serialized_end=11414 + _globals['_UPDATECOLLECTIONCLUSTERSETUPREQUEST']._serialized_start=11417 + _globals['_UPDATECOLLECTIONCLUSTERSETUPREQUEST']._serialized_end=11870 + _globals['_UPDATECOLLECTIONCLUSTERSETUPRESPONSE']._serialized_start=11872 + _globals['_UPDATECOLLECTIONCLUSTERSETUPRESPONSE']._serialized_end=11926 + _globals['_CREATESHARDKEYREQUEST']._serialized_start=11928 + _globals['_CREATESHARDKEYREQUEST']._serialized_end=12051 + _globals['_DELETESHARDKEYREQUEST']._serialized_start=12053 + _globals['_DELETESHARDKEYREQUEST']._serialized_end=12176 + _globals['_CREATESHARDKEYRESPONSE']._serialized_start=12178 + _globals['_CREATESHARDKEYRESPONSE']._serialized_end=12218 + _globals['_DELETESHARDKEYRESPONSE']._serialized_start=12220 + _globals['_DELETESHARDKEYRESPONSE']._serialized_end=12260 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/collections_pb2_grpc.py b/qdrant_client/grpc/collections_pb2_grpc.py index 2daafffe..a506b00c 100644 --- a/qdrant_client/grpc/collections_pb2_grpc.py +++ b/qdrant_client/grpc/collections_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in collections_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/qdrant_client/grpc/collections_service_pb2.py b/qdrant_client/grpc/collections_service_pb2.py index 7ee276c7..4b3d524f 100644 --- a/qdrant_client/grpc/collections_service_pb2.py +++ b/qdrant_client/grpc/collections_service_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: collections_service.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'collections_service.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,12 +27,12 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63ollections_service.proto\x12\x06qdrant\x1a\x11\x63ollections.proto2\xe2\x08\n\x0b\x43ollections\x12L\n\x03Get\x12 .qdrant.GetCollectionInfoRequest\x1a!.qdrant.GetCollectionInfoResponse\"\x00\x12I\n\x04List\x12\x1e.qdrant.ListCollectionsRequest\x1a\x1f.qdrant.ListCollectionsResponse\"\x00\x12I\n\x06\x43reate\x12\x18.qdrant.CreateCollection\x1a#.qdrant.CollectionOperationResponse\"\x00\x12I\n\x06Update\x12\x18.qdrant.UpdateCollection\x1a#.qdrant.CollectionOperationResponse\"\x00\x12I\n\x06\x44\x65lete\x12\x18.qdrant.DeleteCollection\x1a#.qdrant.CollectionOperationResponse\"\x00\x12M\n\rUpdateAliases\x12\x15.qdrant.ChangeAliases\x1a#.qdrant.CollectionOperationResponse\"\x00\x12\\\n\x15ListCollectionAliases\x12$.qdrant.ListCollectionAliasesRequest\x1a\x1b.qdrant.ListAliasesResponse\"\x00\x12H\n\x0bListAliases\x12\x1a.qdrant.ListAliasesRequest\x1a\x1b.qdrant.ListAliasesResponse\"\x00\x12\x66\n\x15\x43ollectionClusterInfo\x12$.qdrant.CollectionClusterInfoRequest\x1a%.qdrant.CollectionClusterInfoResponse\"\x00\x12W\n\x10\x43ollectionExists\x12\x1f.qdrant.CollectionExistsRequest\x1a .qdrant.CollectionExistsResponse\"\x00\x12{\n\x1cUpdateCollectionClusterSetup\x12+.qdrant.UpdateCollectionClusterSetupRequest\x1a,.qdrant.UpdateCollectionClusterSetupResponse\"\x00\x12Q\n\x0e\x43reateShardKey\x12\x1d.qdrant.CreateShardKeyRequest\x1a\x1e.qdrant.CreateShardKeyResponse\"\x00\x12Q\n\x0e\x44\x65leteShardKey\x12\x1d.qdrant.DeleteShardKeyRequest\x1a\x1e.qdrant.DeleteShardKeyResponse\"\x00\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'collections_service_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _COLLECTIONS._serialized_start=57 - _COLLECTIONS._serialized_end=1179 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'collections_service_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_COLLECTIONS']._serialized_start=57 + _globals['_COLLECTIONS']._serialized_end=1179 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/collections_service_pb2_grpc.py b/qdrant_client/grpc/collections_service_pb2_grpc.py index 7f546d41..2ec77489 100644 --- a/qdrant_client/grpc/collections_service_pb2_grpc.py +++ b/qdrant_client/grpc/collections_service_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import collections_pb2 as collections__pb2 +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in collections_service_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class CollectionsStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,67 +38,67 @@ def __init__(self, channel): '/qdrant.Collections/Get', request_serializer=collections__pb2.GetCollectionInfoRequest.SerializeToString, response_deserializer=collections__pb2.GetCollectionInfoResponse.FromString, - ) + _registered_method=True) self.List = channel.unary_unary( '/qdrant.Collections/List', request_serializer=collections__pb2.ListCollectionsRequest.SerializeToString, response_deserializer=collections__pb2.ListCollectionsResponse.FromString, - ) + _registered_method=True) self.Create = channel.unary_unary( '/qdrant.Collections/Create', request_serializer=collections__pb2.CreateCollection.SerializeToString, response_deserializer=collections__pb2.CollectionOperationResponse.FromString, - ) + _registered_method=True) self.Update = channel.unary_unary( '/qdrant.Collections/Update', request_serializer=collections__pb2.UpdateCollection.SerializeToString, response_deserializer=collections__pb2.CollectionOperationResponse.FromString, - ) + _registered_method=True) self.Delete = channel.unary_unary( '/qdrant.Collections/Delete', request_serializer=collections__pb2.DeleteCollection.SerializeToString, response_deserializer=collections__pb2.CollectionOperationResponse.FromString, - ) + _registered_method=True) self.UpdateAliases = channel.unary_unary( '/qdrant.Collections/UpdateAliases', request_serializer=collections__pb2.ChangeAliases.SerializeToString, response_deserializer=collections__pb2.CollectionOperationResponse.FromString, - ) + _registered_method=True) self.ListCollectionAliases = channel.unary_unary( '/qdrant.Collections/ListCollectionAliases', request_serializer=collections__pb2.ListCollectionAliasesRequest.SerializeToString, response_deserializer=collections__pb2.ListAliasesResponse.FromString, - ) + _registered_method=True) self.ListAliases = channel.unary_unary( '/qdrant.Collections/ListAliases', request_serializer=collections__pb2.ListAliasesRequest.SerializeToString, response_deserializer=collections__pb2.ListAliasesResponse.FromString, - ) + _registered_method=True) self.CollectionClusterInfo = channel.unary_unary( '/qdrant.Collections/CollectionClusterInfo', request_serializer=collections__pb2.CollectionClusterInfoRequest.SerializeToString, response_deserializer=collections__pb2.CollectionClusterInfoResponse.FromString, - ) + _registered_method=True) self.CollectionExists = channel.unary_unary( '/qdrant.Collections/CollectionExists', request_serializer=collections__pb2.CollectionExistsRequest.SerializeToString, response_deserializer=collections__pb2.CollectionExistsResponse.FromString, - ) + _registered_method=True) self.UpdateCollectionClusterSetup = channel.unary_unary( '/qdrant.Collections/UpdateCollectionClusterSetup', request_serializer=collections__pb2.UpdateCollectionClusterSetupRequest.SerializeToString, response_deserializer=collections__pb2.UpdateCollectionClusterSetupResponse.FromString, - ) + _registered_method=True) self.CreateShardKey = channel.unary_unary( '/qdrant.Collections/CreateShardKey', request_serializer=collections__pb2.CreateShardKeyRequest.SerializeToString, response_deserializer=collections__pb2.CreateShardKeyResponse.FromString, - ) + _registered_method=True) self.DeleteShardKey = channel.unary_unary( '/qdrant.Collections/DeleteShardKey', request_serializer=collections__pb2.DeleteShardKeyRequest.SerializeToString, response_deserializer=collections__pb2.DeleteShardKeyResponse.FromString, - ) + _registered_method=True) class CollectionsServicer(object): @@ -260,6 +280,7 @@ def add_CollectionsServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'qdrant.Collections', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('qdrant.Collections', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -277,11 +298,21 @@ def Get(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/Get', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/Get', collections__pb2.GetCollectionInfoRequest.SerializeToString, collections__pb2.GetCollectionInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def List(request, @@ -294,11 +325,21 @@ def List(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/List', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/List', collections__pb2.ListCollectionsRequest.SerializeToString, collections__pb2.ListCollectionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Create(request, @@ -311,11 +352,21 @@ def Create(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/Create', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/Create', collections__pb2.CreateCollection.SerializeToString, collections__pb2.CollectionOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Update(request, @@ -328,11 +379,21 @@ def Update(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/Update', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/Update', collections__pb2.UpdateCollection.SerializeToString, collections__pb2.CollectionOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Delete(request, @@ -345,11 +406,21 @@ def Delete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/Delete', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/Delete', collections__pb2.DeleteCollection.SerializeToString, collections__pb2.CollectionOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateAliases(request, @@ -362,11 +433,21 @@ def UpdateAliases(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/UpdateAliases', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/UpdateAliases', collections__pb2.ChangeAliases.SerializeToString, collections__pb2.CollectionOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListCollectionAliases(request, @@ -379,11 +460,21 @@ def ListCollectionAliases(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/ListCollectionAliases', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/ListCollectionAliases', collections__pb2.ListCollectionAliasesRequest.SerializeToString, collections__pb2.ListAliasesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListAliases(request, @@ -396,11 +487,21 @@ def ListAliases(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/ListAliases', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/ListAliases', collections__pb2.ListAliasesRequest.SerializeToString, collections__pb2.ListAliasesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CollectionClusterInfo(request, @@ -413,11 +514,21 @@ def CollectionClusterInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/CollectionClusterInfo', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/CollectionClusterInfo', collections__pb2.CollectionClusterInfoRequest.SerializeToString, collections__pb2.CollectionClusterInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CollectionExists(request, @@ -430,11 +541,21 @@ def CollectionExists(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/CollectionExists', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/CollectionExists', collections__pb2.CollectionExistsRequest.SerializeToString, collections__pb2.CollectionExistsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateCollectionClusterSetup(request, @@ -447,11 +568,21 @@ def UpdateCollectionClusterSetup(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/UpdateCollectionClusterSetup', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/UpdateCollectionClusterSetup', collections__pb2.UpdateCollectionClusterSetupRequest.SerializeToString, collections__pb2.UpdateCollectionClusterSetupResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateShardKey(request, @@ -464,11 +595,21 @@ def CreateShardKey(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/CreateShardKey', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/CreateShardKey', collections__pb2.CreateShardKeyRequest.SerializeToString, collections__pb2.CreateShardKeyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteShardKey(request, @@ -481,8 +622,18 @@ def DeleteShardKey(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Collections/DeleteShardKey', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Collections/DeleteShardKey', collections__pb2.DeleteShardKeyRequest.SerializeToString, collections__pb2.DeleteShardKeyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/qdrant_client/grpc/json_with_int_pb2.py b/qdrant_client/grpc/json_with_int_pb2.py index d6d19b36..fd9c114d 100644 --- a/qdrant_client/grpc/json_with_int_pb2.py +++ b/qdrant_client/grpc/json_with_int_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: json_with_int.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'json_with_int.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,22 +26,22 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13json_with_int.proto\x12\x06qdrant\"r\n\x06Struct\x12*\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1a.qdrant.Struct.FieldsEntry\x1a<\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\"\xe8\x01\n\x05Value\x12\'\n\nnull_value\x18\x01 \x01(\x0e\x32\x11.qdrant.NullValueH\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x12\x17\n\rinteger_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x05 \x01(\x08H\x00\x12&\n\x0cstruct_value\x18\x06 \x01(\x0b\x32\x0e.qdrant.StructH\x00\x12\'\n\nlist_value\x18\x07 \x01(\x0b\x32\x11.qdrant.ListValueH\x00\x42\x06\n\x04kind\"*\n\tListValue\x12\x1d\n\x06values\x18\x01 \x03(\x0b\x32\r.qdrant.Value*\x1b\n\tNullValue\x12\x0e\n\nNULL_VALUE\x10\x00\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'json_with_int_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _STRUCT_FIELDSENTRY._options = None - _STRUCT_FIELDSENTRY._serialized_options = b'8\001' - _NULLVALUE._serialized_start=426 - _NULLVALUE._serialized_end=453 - _STRUCT._serialized_start=31 - _STRUCT._serialized_end=145 - _STRUCT_FIELDSENTRY._serialized_start=85 - _STRUCT_FIELDSENTRY._serialized_end=145 - _VALUE._serialized_start=148 - _VALUE._serialized_end=380 - _LISTVALUE._serialized_start=382 - _LISTVALUE._serialized_end=424 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'json_with_int_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_STRUCT_FIELDSENTRY']._loaded_options = None + _globals['_STRUCT_FIELDSENTRY']._serialized_options = b'8\001' + _globals['_NULLVALUE']._serialized_start=426 + _globals['_NULLVALUE']._serialized_end=453 + _globals['_STRUCT']._serialized_start=31 + _globals['_STRUCT']._serialized_end=145 + _globals['_STRUCT_FIELDSENTRY']._serialized_start=85 + _globals['_STRUCT_FIELDSENTRY']._serialized_end=145 + _globals['_VALUE']._serialized_start=148 + _globals['_VALUE']._serialized_end=380 + _globals['_LISTVALUE']._serialized_start=382 + _globals['_LISTVALUE']._serialized_end=424 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/json_with_int_pb2_grpc.py b/qdrant_client/grpc/json_with_int_pb2_grpc.py index 2daafffe..b03320ef 100644 --- a/qdrant_client/grpc/json_with_int_pb2_grpc.py +++ b/qdrant_client/grpc/json_with_int_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in json_with_int_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/qdrant_client/grpc/points_pb2.py b/qdrant_client/grpc/points_pb2.py index c6774a12..c5d8602d 100644 --- a/qdrant_client/grpc/points_pb2.py +++ b/qdrant_client/grpc/points_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: points.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'points.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,292 +29,292 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cpoints.proto\x12\x06qdrant\x1a\x11\x63ollections.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13json_with_int.proto\"8\n\rWriteOrdering\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x19.qdrant.WriteOrderingType\"Y\n\x0fReadConsistency\x12+\n\x04type\x18\x01 \x01(\x0e\x32\x1b.qdrant.ReadConsistencyTypeH\x00\x12\x10\n\x06\x66\x61\x63tor\x18\x02 \x01(\x04H\x00\x42\x07\n\x05value\"<\n\x07PointId\x12\r\n\x03num\x18\x01 \x01(\x04H\x00\x12\x0e\n\x04uuid\x18\x02 \x01(\tH\x00\x42\x12\n\x10point_id_options\"\x1d\n\rSparseIndices\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\r\"}\n\x06Vector\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x02\x12+\n\x07indices\x18\x02 \x01(\x0b\x32\x15.qdrant.SparseIndicesH\x00\x88\x01\x01\x12\x1a\n\rvectors_count\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\n\n\x08_indicesB\x10\n\x0e_vectors_count\"\x1b\n\x0b\x44\x65nseVector\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x02\"/\n\x0cSparseVector\x12\x0e\n\x06values\x18\x01 \x03(\x02\x12\x0f\n\x07indices\x18\x02 \x03(\r\"8\n\x10MultiDenseVector\x12$\n\x07vectors\x18\x01 \x03(\x0b\x32\x13.qdrant.DenseVector\"\xb6\x01\n\x0bVectorInput\x12\x1d\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointIdH\x00\x12$\n\x05\x64\x65nse\x18\x02 \x01(\x0b\x32\x13.qdrant.DenseVectorH\x00\x12&\n\x06sparse\x18\x03 \x01(\x0b\x32\x14.qdrant.SparseVectorH\x00\x12/\n\x0bmulti_dense\x18\x04 \x01(\x0b\x32\x18.qdrant.MultiDenseVectorH\x00\x42\t\n\x07variant\"8\n\x10ShardKeySelector\x12$\n\nshard_keys\x18\x01 \x03(\x0b\x32\x10.qdrant.ShardKey\"\xf5\x01\n\x0cUpsertPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12#\n\x06points\x18\x03 \x03(\x0b\x32\x13.qdrant.PointStruct\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x05 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_orderingB\x15\n\x13_shard_key_selector\"\xf8\x01\n\x0c\x44\x65letePoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12&\n\x06points\x18\x03 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x05 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_orderingB\x15\n\x13_shard_key_selector\"\x85\x03\n\tGetPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x1c\n\x03ids\x18\x02 \x03(\x0b\x32\x0f.qdrant.PointId\x12\x31\n\x0cwith_payload\x18\x04 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12\x36\n\x0cwith_vectors\x18\x05 \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x00\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x06 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x07 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x12\x14\n\x07timeout\x18\x08 \x01(\x04H\x03\x88\x01\x01\x42\x0f\n\r_with_vectorsB\x13\n\x11_read_consistencyB\x15\n\x13_shard_key_selectorB\n\n\x08_timeoutJ\x04\x08\x03\x10\x04\"\xfc\x01\n\x12UpdatePointVectors\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12$\n\x06points\x18\x03 \x03(\x0b\x32\x14.qdrant.PointVectors\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x05 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_orderingB\x15\n\x13_shard_key_selector\"M\n\x0cPointVectors\x12\x1b\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointId\x12 \n\x07vectors\x18\x02 \x01(\x0b\x32\x0f.qdrant.Vectors\"\xb1\x02\n\x12\x44\x65letePointVectors\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12/\n\x0fpoints_selector\x18\x03 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12(\n\x07vectors\x18\x04 \x01(\x0b\x32\x17.qdrant.VectorsSelector\x12,\n\x08ordering\x18\x05 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x06 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_orderingB\x15\n\x13_shard_key_selector\"\xb5\x03\n\x10SetPayloadPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x36\n\x07payload\x18\x03 \x03(\x0b\x32%.qdrant.SetPayloadPoints.PayloadEntry\x12\x34\n\x0fpoints_selector\x18\x05 \x01(\x0b\x32\x16.qdrant.PointsSelectorH\x01\x88\x01\x01\x12,\n\x08ordering\x18\x06 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x02\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x07 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x03\x88\x01\x01\x12\x10\n\x03key\x18\x08 \x01(\tH\x04\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\x07\n\x05_waitB\x12\n\x10_points_selectorB\x0b\n\t_orderingB\x15\n\x13_shard_key_selectorB\x06\n\x04_keyJ\x04\x08\x04\x10\x05\"\xb5\x02\n\x13\x44\x65letePayloadPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04keys\x18\x03 \x03(\t\x12\x34\n\x0fpoints_selector\x18\x05 \x01(\x0b\x32\x16.qdrant.PointsSelectorH\x01\x88\x01\x01\x12,\n\x08ordering\x18\x06 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x02\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x07 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x03\x88\x01\x01\x42\x07\n\x05_waitB\x12\n\x10_points_selectorB\x0b\n\t_orderingB\x15\n\x13_shard_key_selectorJ\x04\x08\x04\x10\x05\"\xfe\x01\n\x12\x43learPayloadPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12&\n\x06points\x18\x03 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x05 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_orderingB\x15\n\x13_shard_key_selector\"\xaf\x02\n\x1a\x43reateFieldIndexCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x12\n\nfield_name\x18\x03 \x01(\t\x12*\n\nfield_type\x18\x04 \x01(\x0e\x32\x11.qdrant.FieldTypeH\x01\x88\x01\x01\x12;\n\x12\x66ield_index_params\x18\x05 \x01(\x0b\x32\x1a.qdrant.PayloadIndexParamsH\x02\x88\x01\x01\x12,\n\x08ordering\x18\x06 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x03\x88\x01\x01\x42\x07\n\x05_waitB\r\n\x0b_field_typeB\x15\n\x13_field_index_paramsB\x0b\n\t_ordering\"\xa0\x01\n\x1a\x44\x65leteFieldIndexCollection\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x12\n\nfield_name\x18\x03 \x01(\t\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_ordering\"(\n\x16PayloadIncludeSelector\x12\x0e\n\x06\x66ields\x18\x01 \x03(\t\"(\n\x16PayloadExcludeSelector\x12\x0e\n\x06\x66ields\x18\x01 \x03(\t\"\xa1\x01\n\x13WithPayloadSelector\x12\x10\n\x06\x65nable\x18\x01 \x01(\x08H\x00\x12\x31\n\x07include\x18\x02 \x01(\x0b\x32\x1e.qdrant.PayloadIncludeSelectorH\x00\x12\x31\n\x07\x65xclude\x18\x03 \x01(\x0b\x32\x1e.qdrant.PayloadExcludeSelectorH\x00\x42\x12\n\x10selector_options\"\x82\x01\n\x0cNamedVectors\x12\x32\n\x07vectors\x18\x01 \x03(\x0b\x32!.qdrant.NamedVectors.VectorsEntry\x1a>\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.qdrant.Vector:\x02\x38\x01\"g\n\x07Vectors\x12 \n\x06vector\x18\x01 \x01(\x0b\x32\x0e.qdrant.VectorH\x00\x12\'\n\x07vectors\x18\x02 \x01(\x0b\x32\x14.qdrant.NamedVectorsH\x00\x42\x11\n\x0fvectors_options\" \n\x0fVectorsSelector\x12\r\n\x05names\x18\x01 \x03(\t\"g\n\x13WithVectorsSelector\x12\x10\n\x06\x65nable\x18\x01 \x01(\x08H\x00\x12*\n\x07include\x18\x02 \x01(\x0b\x32\x17.qdrant.VectorsSelectorH\x00\x42\x12\n\x10selector_options\"\x88\x01\n\x18QuantizationSearchParams\x12\x13\n\x06ignore\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x14\n\x07rescore\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x19\n\x0coversampling\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\t\n\x07_ignoreB\n\n\x08_rescoreB\x0f\n\r_oversampling\"\xc8\x01\n\x0cSearchParams\x12\x14\n\x07hnsw_ef\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x12\n\x05\x65xact\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12;\n\x0cquantization\x18\x03 \x01(\x0b\x32 .qdrant.QuantizationSearchParamsH\x02\x88\x01\x01\x12\x19\n\x0cindexed_only\x18\x04 \x01(\x08H\x03\x88\x01\x01\x42\n\n\x08_hnsw_efB\x08\n\x06_exactB\x0f\n\r_quantizationB\x0f\n\r_indexed_only\"\x92\x05\n\x0cSearchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x02 \x03(\x02\x12\x1e\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x0e.qdrant.Filter\x12\r\n\x05limit\x18\x04 \x01(\x04\x12\x31\n\x0cwith_payload\x18\x06 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12$\n\x06params\x18\x07 \x01(\x0b\x32\x14.qdrant.SearchParams\x12\x1c\n\x0fscore_threshold\x18\x08 \x01(\x02H\x00\x88\x01\x01\x12\x13\n\x06offset\x18\t \x01(\x04H\x01\x88\x01\x01\x12\x18\n\x0bvector_name\x18\n \x01(\tH\x02\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\x0b \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x03\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x0c \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x04\x88\x01\x01\x12\x14\n\x07timeout\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x0e \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x06\x88\x01\x01\x12\x32\n\x0esparse_indices\x18\x0f \x01(\x0b\x32\x15.qdrant.SparseIndicesH\x07\x88\x01\x01\x42\x12\n\x10_score_thresholdB\t\n\x07_offsetB\x0e\n\x0c_vector_nameB\x0f\n\r_with_vectorsB\x13\n\x11_read_consistencyB\n\n\x08_timeoutB\x15\n\x13_shard_key_selectorB\x11\n\x0f_sparse_indicesJ\x04\x08\x05\x10\x06\"\xc8\x01\n\x11SearchBatchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12+\n\rsearch_points\x18\x02 \x03(\x0b\x32\x14.qdrant.SearchPoints\x12\x36\n\x10read_consistency\x18\x03 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x04 \x01(\x04H\x01\x88\x01\x01\x42\x13\n\x11_read_consistencyB\n\n\x08_timeout\"\xb2\x01\n\nWithLookup\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x36\n\x0cwith_payload\x18\x02 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelectorH\x00\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\x03 \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x01\x88\x01\x01\x42\x0f\n\r_with_payloadB\x0f\n\r_with_vectors\"\xd5\x05\n\x11SearchPointGroups\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x02 \x03(\x02\x12\x1e\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x0e.qdrant.Filter\x12\r\n\x05limit\x18\x04 \x01(\r\x12\x31\n\x0cwith_payload\x18\x05 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12$\n\x06params\x18\x06 \x01(\x0b\x32\x14.qdrant.SearchParams\x12\x1c\n\x0fscore_threshold\x18\x07 \x01(\x02H\x00\x88\x01\x01\x12\x18\n\x0bvector_name\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\t \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x02\x88\x01\x01\x12\x10\n\x08group_by\x18\n \x01(\t\x12\x12\n\ngroup_size\x18\x0b \x01(\r\x12\x36\n\x10read_consistency\x18\x0c \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x03\x88\x01\x01\x12,\n\x0bwith_lookup\x18\r \x01(\x0b\x32\x12.qdrant.WithLookupH\x04\x88\x01\x01\x12\x14\n\x07timeout\x18\x0e \x01(\x04H\x05\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x0f \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x06\x88\x01\x01\x12\x32\n\x0esparse_indices\x18\x10 \x01(\x0b\x32\x15.qdrant.SparseIndicesH\x07\x88\x01\x01\x42\x12\n\x10_score_thresholdB\x0e\n\x0c_vector_nameB\x0f\n\r_with_vectorsB\x13\n\x11_read_consistencyB\x0e\n\x0c_with_lookupB\n\n\x08_timeoutB\x15\n\x13_shard_key_selectorB\x11\n\x0f_sparse_indices\"}\n\tStartFrom\x12\x0f\n\x05\x66loat\x18\x01 \x01(\x01H\x00\x12\x11\n\x07integer\x18\x02 \x01(\x03H\x00\x12/\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x12\n\x08\x64\x61tetime\x18\x04 \x01(\tH\x00\x42\x07\n\x05value\"\x8a\x01\n\x07OrderBy\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\tdirection\x18\x02 \x01(\x0e\x32\x11.qdrant.DirectionH\x00\x88\x01\x01\x12*\n\nstart_from\x18\x03 \x01(\x0b\x32\x11.qdrant.StartFromH\x01\x88\x01\x01\x42\x0c\n\n_directionB\r\n\x0b_start_from\"\x8e\x04\n\x0cScrollPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x1e\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0e.qdrant.Filter\x12$\n\x06offset\x18\x03 \x01(\x0b\x32\x0f.qdrant.PointIdH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x31\n\x0cwith_payload\x18\x06 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12\x36\n\x0cwith_vectors\x18\x07 \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x02\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x08 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x03\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\t \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x04\x88\x01\x01\x12&\n\x08order_by\x18\n \x01(\x0b\x32\x0f.qdrant.OrderByH\x05\x88\x01\x01\x12\x14\n\x07timeout\x18\x0b \x01(\x04H\x06\x88\x01\x01\x42\t\n\x07_offsetB\x08\n\x06_limitB\x0f\n\r_with_vectorsB\x13\n\x11_read_consistencyB\x15\n\x13_shard_key_selectorB\x0b\n\t_order_byB\n\n\x08_timeoutJ\x04\x08\x05\x10\x06\"\xa5\x01\n\x0eLookupLocation\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x18\n\x0bvector_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x03 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x01\x88\x01\x01\x42\x0e\n\x0c_vector_nameB\x15\n\x13_shard_key_selector\"\xcd\x06\n\x0fRecommendPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12!\n\x08positive\x18\x02 \x03(\x0b\x32\x0f.qdrant.PointId\x12!\n\x08negative\x18\x03 \x03(\x0b\x32\x0f.qdrant.PointId\x12\x1e\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x0e.qdrant.Filter\x12\r\n\x05limit\x18\x05 \x01(\x04\x12\x31\n\x0cwith_payload\x18\x07 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12$\n\x06params\x18\x08 \x01(\x0b\x32\x14.qdrant.SearchParams\x12\x1c\n\x0fscore_threshold\x18\t \x01(\x02H\x00\x88\x01\x01\x12\x13\n\x06offset\x18\n \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05using\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\x0c \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x03\x88\x01\x01\x12\x30\n\x0blookup_from\x18\r \x01(\x0b\x32\x16.qdrant.LookupLocationH\x04\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x0e \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x05\x88\x01\x01\x12\x30\n\x08strategy\x18\x10 \x01(\x0e\x32\x19.qdrant.RecommendStrategyH\x06\x88\x01\x01\x12(\n\x10positive_vectors\x18\x11 \x03(\x0b\x32\x0e.qdrant.Vector\x12(\n\x10negative_vectors\x18\x12 \x03(\x0b\x32\x0e.qdrant.Vector\x12\x14\n\x07timeout\x18\x13 \x01(\x04H\x07\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x14 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x08\x88\x01\x01\x42\x12\n\x10_score_thresholdB\t\n\x07_offsetB\x08\n\x06_usingB\x0f\n\r_with_vectorsB\x0e\n\x0c_lookup_fromB\x13\n\x11_read_consistencyB\x0b\n\t_strategyB\n\n\x08_timeoutB\x15\n\x13_shard_key_selectorJ\x04\x08\x06\x10\x07\"\xd1\x01\n\x14RecommendBatchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x31\n\x10recommend_points\x18\x02 \x03(\x0b\x32\x17.qdrant.RecommendPoints\x12\x36\n\x10read_consistency\x18\x03 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x04 \x01(\x04H\x01\x88\x01\x01\x42\x13\n\x11_read_consistencyB\n\n\x08_timeout\"\x90\x07\n\x14RecommendPointGroups\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12!\n\x08positive\x18\x02 \x03(\x0b\x32\x0f.qdrant.PointId\x12!\n\x08negative\x18\x03 \x03(\x0b\x32\x0f.qdrant.PointId\x12\x1e\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x0e.qdrant.Filter\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x31\n\x0cwith_payload\x18\x06 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12$\n\x06params\x18\x07 \x01(\x0b\x32\x14.qdrant.SearchParams\x12\x1c\n\x0fscore_threshold\x18\x08 \x01(\x02H\x00\x88\x01\x01\x12\x12\n\x05using\x18\t \x01(\tH\x01\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\n \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x02\x88\x01\x01\x12\x30\n\x0blookup_from\x18\x0b \x01(\x0b\x32\x16.qdrant.LookupLocationH\x03\x88\x01\x01\x12\x10\n\x08group_by\x18\x0c \x01(\t\x12\x12\n\ngroup_size\x18\r \x01(\r\x12\x36\n\x10read_consistency\x18\x0e \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x04\x88\x01\x01\x12,\n\x0bwith_lookup\x18\x0f \x01(\x0b\x32\x12.qdrant.WithLookupH\x05\x88\x01\x01\x12\x30\n\x08strategy\x18\x11 \x01(\x0e\x32\x19.qdrant.RecommendStrategyH\x06\x88\x01\x01\x12(\n\x10positive_vectors\x18\x12 \x03(\x0b\x32\x0e.qdrant.Vector\x12(\n\x10negative_vectors\x18\x13 \x03(\x0b\x32\x0e.qdrant.Vector\x12\x14\n\x07timeout\x18\x14 \x01(\x04H\x07\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x15 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x08\x88\x01\x01\x42\x12\n\x10_score_thresholdB\x08\n\x06_usingB\x0f\n\r_with_vectorsB\x0e\n\x0c_lookup_fromB\x13\n\x11_read_consistencyB\x0e\n\x0c_with_lookupB\x0b\n\t_strategyB\n\n\x08_timeoutB\x15\n\x13_shard_key_selector\"A\n\x0cTargetVector\x12\'\n\x06single\x18\x01 \x01(\x0b\x32\x15.qdrant.VectorExampleH\x00\x42\x08\n\x06target\"[\n\rVectorExample\x12\x1d\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointIdH\x00\x12 \n\x06vector\x18\x02 \x01(\x0b\x32\x0e.qdrant.VectorH\x00\x42\t\n\x07\x65xample\"f\n\x12\x43ontextExamplePair\x12\'\n\x08positive\x18\x01 \x01(\x0b\x32\x15.qdrant.VectorExample\x12\'\n\x08negative\x18\x02 \x01(\x0b\x32\x15.qdrant.VectorExample\"\x8e\x05\n\x0e\x44iscoverPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12$\n\x06target\x18\x02 \x01(\x0b\x32\x14.qdrant.TargetVector\x12+\n\x07\x63ontext\x18\x03 \x03(\x0b\x32\x1a.qdrant.ContextExamplePair\x12\x1e\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x0e.qdrant.Filter\x12\r\n\x05limit\x18\x05 \x01(\x04\x12\x31\n\x0cwith_payload\x18\x06 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12$\n\x06params\x18\x07 \x01(\x0b\x32\x14.qdrant.SearchParams\x12\x13\n\x06offset\x18\x08 \x01(\x04H\x00\x88\x01\x01\x12\x12\n\x05using\x18\t \x01(\tH\x01\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\n \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x02\x88\x01\x01\x12\x30\n\x0blookup_from\x18\x0b \x01(\x0b\x32\x16.qdrant.LookupLocationH\x03\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x0c \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x04\x88\x01\x01\x12\x14\n\x07timeout\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x0e \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x06\x88\x01\x01\x42\t\n\x07_offsetB\x08\n\x06_usingB\x0f\n\r_with_vectorsB\x0e\n\x0c_lookup_fromB\x13\n\x11_read_consistencyB\n\n\x08_timeoutB\x15\n\x13_shard_key_selector\"\xce\x01\n\x13\x44iscoverBatchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12/\n\x0f\x64iscover_points\x18\x02 \x03(\x0b\x32\x16.qdrant.DiscoverPoints\x12\x36\n\x10read_consistency\x18\x03 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x04 \x01(\x04H\x01\x88\x01\x01\x42\x13\n\x11_read_consistencyB\n\n\x08_timeout\"\xa5\x02\n\x0b\x43ountPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x1e\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0e.qdrant.Filter\x12\x12\n\x05\x65xact\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x04 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x01\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x05 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x02\x88\x01\x01\x12\x14\n\x07timeout\x18\x06 \x01(\x04H\x03\x88\x01\x01\x42\x08\n\x06_exactB\x13\n\x11_read_consistencyB\x15\n\x13_shard_key_selectorB\n\n\x08_timeout\"\x9d\x01\n\x0eRecommendInput\x12%\n\x08positive\x18\x01 \x03(\x0b\x32\x13.qdrant.VectorInput\x12%\n\x08negative\x18\x02 \x03(\x0b\x32\x13.qdrant.VectorInput\x12\x30\n\x08strategy\x18\x03 \x01(\x0e\x32\x19.qdrant.RecommendStrategyH\x00\x88\x01\x01\x42\x0b\n\t_strategy\"`\n\x10\x43ontextInputPair\x12%\n\x08positive\x18\x01 \x01(\x0b\x32\x13.qdrant.VectorInput\x12%\n\x08negative\x18\x02 \x01(\x0b\x32\x13.qdrant.VectorInput\"[\n\rDiscoverInput\x12#\n\x06target\x18\x01 \x01(\x0b\x32\x13.qdrant.VectorInput\x12%\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x14.qdrant.ContextInput\"7\n\x0c\x43ontextInput\x12\'\n\x05pairs\x18\x01 \x03(\x0b\x32\x18.qdrant.ContextInputPair\"\xa4\x02\n\x05Query\x12&\n\x07nearest\x18\x01 \x01(\x0b\x32\x13.qdrant.VectorInputH\x00\x12+\n\trecommend\x18\x02 \x01(\x0b\x32\x16.qdrant.RecommendInputH\x00\x12)\n\x08\x64iscover\x18\x03 \x01(\x0b\x32\x15.qdrant.DiscoverInputH\x00\x12\'\n\x07\x63ontext\x18\x04 \x01(\x0b\x32\x14.qdrant.ContextInputH\x00\x12#\n\x08order_by\x18\x05 \x01(\x0b\x32\x0f.qdrant.OrderByH\x00\x12 \n\x06\x66usion\x18\x06 \x01(\x0e\x32\x0e.qdrant.FusionH\x00\x12 \n\x06sample\x18\x07 \x01(\x0e\x32\x0e.qdrant.SampleH\x00\x42\t\n\x07variant\"\xfb\x02\n\rPrefetchQuery\x12\'\n\x08prefetch\x18\x01 \x03(\x0b\x32\x15.qdrant.PrefetchQuery\x12!\n\x05query\x18\x02 \x01(\x0b\x32\r.qdrant.QueryH\x00\x88\x01\x01\x12\x12\n\x05using\x18\x03 \x01(\tH\x01\x88\x01\x01\x12#\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x0e.qdrant.FilterH\x02\x88\x01\x01\x12)\n\x06params\x18\x05 \x01(\x0b\x32\x14.qdrant.SearchParamsH\x03\x88\x01\x01\x12\x1c\n\x0fscore_threshold\x18\x06 \x01(\x02H\x04\x88\x01\x01\x12\x12\n\x05limit\x18\x07 \x01(\x04H\x05\x88\x01\x01\x12\x30\n\x0blookup_from\x18\x08 \x01(\x0b\x32\x16.qdrant.LookupLocationH\x06\x88\x01\x01\x42\x08\n\x06_queryB\x08\n\x06_usingB\t\n\x07_filterB\t\n\x07_paramsB\x12\n\x10_score_thresholdB\x08\n\x06_limitB\x0e\n\x0c_lookup_from\"\x85\x06\n\x0bQueryPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x08prefetch\x18\x02 \x03(\x0b\x32\x15.qdrant.PrefetchQuery\x12!\n\x05query\x18\x03 \x01(\x0b\x32\r.qdrant.QueryH\x00\x88\x01\x01\x12\x12\n\x05using\x18\x04 \x01(\tH\x01\x88\x01\x01\x12#\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x0e.qdrant.FilterH\x02\x88\x01\x01\x12)\n\x06params\x18\x06 \x01(\x0b\x32\x14.qdrant.SearchParamsH\x03\x88\x01\x01\x12\x1c\n\x0fscore_threshold\x18\x07 \x01(\x02H\x04\x88\x01\x01\x12\x12\n\x05limit\x18\x08 \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06offset\x18\t \x01(\x04H\x06\x88\x01\x01\x12\x36\n\x0cwith_vectors\x18\n \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x07\x88\x01\x01\x12\x36\n\x0cwith_payload\x18\x0b \x01(\x0b\x32\x1b.qdrant.WithPayloadSelectorH\x08\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x0c \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\t\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\r \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\n\x88\x01\x01\x12\x30\n\x0blookup_from\x18\x0e \x01(\x0b\x32\x16.qdrant.LookupLocationH\x0b\x88\x01\x01\x12\x14\n\x07timeout\x18\x0f \x01(\x04H\x0c\x88\x01\x01\x42\x08\n\x06_queryB\x08\n\x06_usingB\t\n\x07_filterB\t\n\x07_paramsB\x12\n\x10_score_thresholdB\x08\n\x06_limitB\t\n\x07_offsetB\x0f\n\r_with_vectorsB\x0f\n\r_with_payloadB\x13\n\x11_read_consistencyB\x15\n\x13_shard_key_selectorB\x0e\n\x0c_lookup_fromB\n\n\x08_timeout\"\xc5\x01\n\x10QueryBatchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12)\n\x0cquery_points\x18\x02 \x03(\x0b\x32\x13.qdrant.QueryPoints\x12\x36\n\x10read_consistency\x18\x03 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x04 \x01(\x04H\x01\x88\x01\x01\x42\x13\n\x11_read_consistencyB\n\n\x08_timeout\"\xcc\x06\n\x10QueryPointGroups\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\'\n\x08prefetch\x18\x02 \x03(\x0b\x32\x15.qdrant.PrefetchQuery\x12!\n\x05query\x18\x03 \x01(\x0b\x32\r.qdrant.QueryH\x00\x88\x01\x01\x12\x12\n\x05using\x18\x04 \x01(\tH\x01\x88\x01\x01\x12#\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x0e.qdrant.FilterH\x02\x88\x01\x01\x12)\n\x06params\x18\x06 \x01(\x0b\x32\x14.qdrant.SearchParamsH\x03\x88\x01\x01\x12\x1c\n\x0fscore_threshold\x18\x07 \x01(\x02H\x04\x88\x01\x01\x12\x31\n\x0cwith_payload\x18\x08 \x01(\x0b\x32\x1b.qdrant.WithPayloadSelector\x12\x36\n\x0cwith_vectors\x18\t \x01(\x0b\x32\x1b.qdrant.WithVectorsSelectorH\x05\x88\x01\x01\x12\x30\n\x0blookup_from\x18\n \x01(\x0b\x32\x16.qdrant.LookupLocationH\x06\x88\x01\x01\x12\x12\n\x05limit\x18\x0b \x01(\x04H\x07\x88\x01\x01\x12\x17\n\ngroup_size\x18\x0c \x01(\x04H\x08\x88\x01\x01\x12\x10\n\x08group_by\x18\r \x01(\t\x12\x36\n\x10read_consistency\x18\x0e \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\t\x88\x01\x01\x12,\n\x0bwith_lookup\x18\x0f \x01(\x0b\x32\x12.qdrant.WithLookupH\n\x88\x01\x01\x12\x14\n\x07timeout\x18\x10 \x01(\x04H\x0b\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x11 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x0c\x88\x01\x01\x42\x08\n\x06_queryB\x08\n\x06_usingB\t\n\x07_filterB\t\n\x07_paramsB\x12\n\x10_score_thresholdB\x0f\n\r_with_vectorsB\x0e\n\x0c_lookup_fromB\x08\n\x06_limitB\r\n\x0b_group_sizeB\x13\n\x11_read_consistencyB\x0e\n\x0c_with_lookupB\n\n\x08_timeoutB\x15\n\x13_shard_key_selector\"\xe0\x02\n\x0b\x46\x61\x63\x65tCounts\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12#\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x0e.qdrant.FilterH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05\x65xact\x18\x05 \x01(\x08H\x02\x88\x01\x01\x12\x14\n\x07timeout\x18\x06 \x01(\x04H\x03\x88\x01\x01\x12\x36\n\x10read_consistency\x18\x07 \x01(\x0b\x32\x17.qdrant.ReadConsistencyH\x04\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x08 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x05\x88\x01\x01\x42\t\n\x07_filterB\x08\n\x06_limitB\x08\n\x06_exactB\n\n\x08_timeoutB\x13\n\x11_read_consistencyB\x15\n\x13_shard_key_selector\"H\n\nFacetValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x17\n\rinteger_value\x18\x02 \x01(\x03H\x00\x42\t\n\x07variant\"<\n\x08\x46\x61\x63\x65tHit\x12!\n\x05value\x18\x01 \x01(\x0b\x32\x12.qdrant.FacetValue\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\"\x95\x12\n\x15PointsUpdateOperation\x12?\n\x06upsert\x18\x01 \x01(\x0b\x32-.qdrant.PointsUpdateOperation.PointStructListH\x00\x12\x37\n\x11\x64\x65lete_deprecated\x18\x02 \x01(\x0b\x32\x16.qdrant.PointsSelectorB\x02\x18\x01H\x00\x12?\n\x0bset_payload\x18\x03 \x01(\x0b\x32(.qdrant.PointsUpdateOperation.SetPayloadH\x00\x12K\n\x11overwrite_payload\x18\x04 \x01(\x0b\x32..qdrant.PointsUpdateOperation.OverwritePayloadH\x00\x12\x45\n\x0e\x64\x65lete_payload\x18\x05 \x01(\x0b\x32+.qdrant.PointsUpdateOperation.DeletePayloadH\x00\x12>\n\x18\x63lear_payload_deprecated\x18\x06 \x01(\x0b\x32\x16.qdrant.PointsSelectorB\x02\x18\x01H\x00\x12\x45\n\x0eupdate_vectors\x18\x07 \x01(\x0b\x32+.qdrant.PointsUpdateOperation.UpdateVectorsH\x00\x12\x45\n\x0e\x64\x65lete_vectors\x18\x08 \x01(\x0b\x32+.qdrant.PointsUpdateOperation.DeleteVectorsH\x00\x12\x43\n\rdelete_points\x18\t \x01(\x0b\x32*.qdrant.PointsUpdateOperation.DeletePointsH\x00\x12\x43\n\rclear_payload\x18\n \x01(\x0b\x32*.qdrant.PointsUpdateOperation.ClearPayloadH\x00\x1a\x88\x01\n\x0fPointStructList\x12#\n\x06points\x18\x01 \x03(\x0b\x32\x13.qdrant.PointStruct\x12\x39\n\x12shard_key_selector\x18\x02 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x00\x88\x01\x01\x42\x15\n\x13_shard_key_selector\x1a\xc9\x02\n\nSetPayload\x12\x46\n\x07payload\x18\x01 \x03(\x0b\x32\x35.qdrant.PointsUpdateOperation.SetPayload.PayloadEntry\x12\x34\n\x0fpoints_selector\x18\x02 \x01(\x0b\x32\x16.qdrant.PointsSelectorH\x00\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x03 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x01\x88\x01\x01\x12\x10\n\x03key\x18\x04 \x01(\tH\x02\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\x12\n\x10_points_selectorB\x15\n\x13_shard_key_selectorB\x06\n\x04_key\x1a\xd5\x02\n\x10OverwritePayload\x12L\n\x07payload\x18\x01 \x03(\x0b\x32;.qdrant.PointsUpdateOperation.OverwritePayload.PayloadEntry\x12\x34\n\x0fpoints_selector\x18\x02 \x01(\x0b\x32\x16.qdrant.PointsSelectorH\x00\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x03 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x01\x88\x01\x01\x12\x10\n\x03key\x18\x04 \x01(\tH\x02\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\x12\n\x10_points_selectorB\x15\n\x13_shard_key_selectorB\x06\n\x04_key\x1a\xb9\x01\n\rDeletePayload\x12\x0c\n\x04keys\x18\x01 \x03(\t\x12\x34\n\x0fpoints_selector\x18\x02 \x01(\x0b\x32\x16.qdrant.PointsSelectorH\x00\x88\x01\x01\x12\x39\n\x12shard_key_selector\x18\x03 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x01\x88\x01\x01\x42\x12\n\x10_points_selectorB\x15\n\x13_shard_key_selector\x1a\x87\x01\n\rUpdateVectors\x12$\n\x06points\x18\x01 \x03(\x0b\x32\x14.qdrant.PointVectors\x12\x39\n\x12shard_key_selector\x18\x02 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x00\x88\x01\x01\x42\x15\n\x13_shard_key_selector\x1a\xbc\x01\n\rDeleteVectors\x12/\n\x0fpoints_selector\x18\x01 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12(\n\x07vectors\x18\x02 \x01(\x0b\x32\x17.qdrant.VectorsSelector\x12\x39\n\x12shard_key_selector\x18\x03 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x00\x88\x01\x01\x42\x15\n\x13_shard_key_selector\x1a\x88\x01\n\x0c\x44\x65letePoints\x12&\n\x06points\x18\x01 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12\x39\n\x12shard_key_selector\x18\x02 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x00\x88\x01\x01\x42\x15\n\x13_shard_key_selector\x1a\x88\x01\n\x0c\x43learPayload\x12&\n\x06points\x18\x01 \x01(\x0b\x32\x16.qdrant.PointsSelector\x12\x39\n\x12shard_key_selector\x18\x02 \x01(\x0b\x32\x18.qdrant.ShardKeySelectorH\x00\x88\x01\x01\x42\x15\n\x13_shard_key_selectorB\x0b\n\toperation\"\xb6\x01\n\x11UpdateBatchPoints\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x11\n\x04wait\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x31\n\noperations\x18\x03 \x03(\x0b\x32\x1d.qdrant.PointsUpdateOperation\x12,\n\x08ordering\x18\x04 \x01(\x0b\x32\x15.qdrant.WriteOrderingH\x01\x88\x01\x01\x42\x07\n\x05_waitB\x0b\n\t_ordering\"M\n\x17PointsOperationResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.qdrant.UpdateResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"`\n\x0cUpdateResult\x12\x19\n\x0coperation_id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12$\n\x06status\x18\x02 \x01(\x0e\x32\x14.qdrant.UpdateStatusB\x0f\n\r_operation_id\"7\n\nOrderValue\x12\r\n\x03int\x18\x01 \x01(\x03H\x00\x12\x0f\n\x05\x66loat\x18\x02 \x01(\x01H\x00\x42\t\n\x07variant\"\xeb\x02\n\x0bScoredPoint\x12\x1b\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointId\x12\x31\n\x07payload\x18\x02 \x03(\x0b\x32 .qdrant.ScoredPoint.PayloadEntry\x12\r\n\x05score\x18\x03 \x01(\x02\x12\x0f\n\x07version\x18\x05 \x01(\x04\x12%\n\x07vectors\x18\x06 \x01(\x0b\x32\x0f.qdrant.VectorsH\x00\x88\x01\x01\x12(\n\tshard_key\x18\x07 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x01\x88\x01\x01\x12,\n\x0border_value\x18\x08 \x01(\x0b\x32\x12.qdrant.OrderValueH\x02\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\n\n\x08_vectorsB\x0c\n\n_shard_keyB\x0e\n\x0c_order_valueJ\x04\x08\x04\x10\x05\"\\\n\x07GroupId\x12\x18\n\x0eunsigned_value\x18\x01 \x01(\x04H\x00\x12\x17\n\rinteger_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x42\x06\n\x04kind\"t\n\nPointGroup\x12\x1b\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.GroupId\x12!\n\x04hits\x18\x02 \x03(\x0b\x32\x13.qdrant.ScoredPoint\x12&\n\x06lookup\x18\x03 \x01(\x0b\x32\x16.qdrant.RetrievedPoint\"2\n\x0cGroupsResult\x12\"\n\x06groups\x18\x01 \x03(\x0b\x32\x12.qdrant.PointGroup\"C\n\x0eSearchResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.ScoredPoint\x12\x0c\n\x04time\x18\x02 \x01(\x01\"B\n\rQueryResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.ScoredPoint\x12\x0c\n\x04time\x18\x02 \x01(\x01\"G\n\x12QueryBatchResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.BatchResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"I\n\x13QueryGroupsResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.qdrant.GroupsResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"2\n\x0b\x42\x61tchResult\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.ScoredPoint\"H\n\x13SearchBatchResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.BatchResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"J\n\x14SearchGroupsResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.qdrant.GroupsResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"B\n\rCountResponse\x12#\n\x06result\x18\x01 \x01(\x0b\x32\x13.qdrant.CountResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\x8b\x01\n\x0eScrollResponse\x12.\n\x10next_page_offset\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointIdH\x00\x88\x01\x01\x12&\n\x06result\x18\x02 \x03(\x0b\x32\x16.qdrant.RetrievedPoint\x12\x0c\n\x04time\x18\x03 \x01(\x01\x42\x13\n\x11_next_page_offset\"\x1c\n\x0b\x43ountResult\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\"\xd1\x02\n\x0eRetrievedPoint\x12\x1b\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointId\x12\x34\n\x07payload\x18\x02 \x03(\x0b\x32#.qdrant.RetrievedPoint.PayloadEntry\x12%\n\x07vectors\x18\x04 \x01(\x0b\x32\x0f.qdrant.VectorsH\x00\x88\x01\x01\x12(\n\tshard_key\x18\x05 \x01(\x0b\x32\x10.qdrant.ShardKeyH\x01\x88\x01\x01\x12,\n\x0border_value\x18\x06 \x01(\x0b\x32\x12.qdrant.OrderValueH\x02\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\n\n\x08_vectorsB\x0c\n\n_shard_keyB\x0e\n\x0c_order_valueJ\x04\x08\x03\x10\x04\"C\n\x0bGetResponse\x12&\n\x06result\x18\x01 \x03(\x0b\x32\x16.qdrant.RetrievedPoint\x12\x0c\n\x04time\x18\x02 \x01(\x01\"F\n\x11RecommendResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.ScoredPoint\x12\x0c\n\x04time\x18\x02 \x01(\x01\"K\n\x16RecommendBatchResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.BatchResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"E\n\x10\x44iscoverResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.ScoredPoint\x12\x0c\n\x04time\x18\x02 \x01(\x01\"J\n\x15\x44iscoverBatchResponse\x12#\n\x06result\x18\x01 \x03(\x0b\x32\x13.qdrant.BatchResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"M\n\x17RecommendGroupsResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.qdrant.GroupsResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"I\n\x13UpdateBatchResponse\x12$\n\x06result\x18\x01 \x03(\x0b\x32\x14.qdrant.UpdateResult\x12\x0c\n\x04time\x18\x02 \x01(\x01\"=\n\rFacetResponse\x12\x1e\n\x04hits\x18\x01 \x03(\x0b\x32\x10.qdrant.FacetHit\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\xac\x01\n\x06\x46ilter\x12!\n\x06should\x18\x01 \x03(\x0b\x32\x11.qdrant.Condition\x12\x1f\n\x04must\x18\x02 \x03(\x0b\x32\x11.qdrant.Condition\x12#\n\x08must_not\x18\x03 \x03(\x0b\x32\x11.qdrant.Condition\x12*\n\nmin_should\x18\x04 \x01(\x0b\x32\x11.qdrant.MinShouldH\x00\x88\x01\x01\x42\r\n\x0b_min_should\"E\n\tMinShould\x12%\n\nconditions\x18\x01 \x03(\x0b\x32\x11.qdrant.Condition\x12\x11\n\tmin_count\x18\x02 \x01(\x04\"\x99\x02\n\tCondition\x12\'\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x16.qdrant.FieldConditionH\x00\x12,\n\x08is_empty\x18\x02 \x01(\x0b\x32\x18.qdrant.IsEmptyConditionH\x00\x12(\n\x06has_id\x18\x03 \x01(\x0b\x32\x16.qdrant.HasIdConditionH\x00\x12 \n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x0e.qdrant.FilterH\x00\x12*\n\x07is_null\x18\x05 \x01(\x0b\x32\x17.qdrant.IsNullConditionH\x00\x12)\n\x06nested\x18\x06 \x01(\x0b\x32\x17.qdrant.NestedConditionH\x00\x42\x12\n\x10\x63ondition_one_of\"\x1f\n\x10IsEmptyCondition\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x1e\n\x0fIsNullCondition\x12\x0b\n\x03key\x18\x01 \x01(\t\"1\n\x0eHasIdCondition\x12\x1f\n\x06has_id\x18\x01 \x03(\x0b\x32\x0f.qdrant.PointId\">\n\x0fNestedCondition\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0e.qdrant.Filter\"\xb5\x02\n\x0e\x46ieldCondition\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05match\x18\x02 \x01(\x0b\x32\r.qdrant.Match\x12\x1c\n\x05range\x18\x03 \x01(\x0b\x32\r.qdrant.Range\x12\x30\n\x10geo_bounding_box\x18\x04 \x01(\x0b\x32\x16.qdrant.GeoBoundingBox\x12%\n\ngeo_radius\x18\x05 \x01(\x0b\x32\x11.qdrant.GeoRadius\x12)\n\x0cvalues_count\x18\x06 \x01(\x0b\x32\x13.qdrant.ValuesCount\x12\'\n\x0bgeo_polygon\x18\x07 \x01(\x0b\x32\x12.qdrant.GeoPolygon\x12-\n\x0e\x64\x61tetime_range\x18\x08 \x01(\x0b\x32\x15.qdrant.DatetimeRange\"\xa3\x02\n\x05Match\x12\x11\n\x07keyword\x18\x01 \x01(\tH\x00\x12\x11\n\x07integer\x18\x02 \x01(\x03H\x00\x12\x11\n\x07\x62oolean\x18\x03 \x01(\x08H\x00\x12\x0e\n\x04text\x18\x04 \x01(\tH\x00\x12+\n\x08keywords\x18\x05 \x01(\x0b\x32\x17.qdrant.RepeatedStringsH\x00\x12,\n\x08integers\x18\x06 \x01(\x0b\x32\x18.qdrant.RepeatedIntegersH\x00\x12\x33\n\x0f\x65xcept_integers\x18\x07 \x01(\x0b\x32\x18.qdrant.RepeatedIntegersH\x00\x12\x32\n\x0f\x65xcept_keywords\x18\x08 \x01(\x0b\x32\x17.qdrant.RepeatedStringsH\x00\x42\r\n\x0bmatch_value\"\"\n\x0fRepeatedStrings\x12\x0f\n\x07strings\x18\x01 \x03(\t\"$\n\x10RepeatedIntegers\x12\x10\n\x08integers\x18\x01 \x03(\x03\"k\n\x05Range\x12\x0f\n\x02lt\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x0f\n\x02gt\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x10\n\x03gte\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x10\n\x03lte\x18\x04 \x01(\x01H\x03\x88\x01\x01\x42\x05\n\x03_ltB\x05\n\x03_gtB\x06\n\x04_gteB\x06\n\x04_lte\"\xe3\x01\n\rDatetimeRange\x12+\n\x02lt\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12+\n\x02gt\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12,\n\x03gte\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12,\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x05\n\x03_ltB\x05\n\x03_gtB\x06\n\x04_gteB\x06\n\x04_lte\"\\\n\x0eGeoBoundingBox\x12\"\n\x08top_left\x18\x01 \x01(\x0b\x32\x10.qdrant.GeoPoint\x12&\n\x0c\x62ottom_right\x18\x02 \x01(\x0b\x32\x10.qdrant.GeoPoint\"=\n\tGeoRadius\x12 \n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x10.qdrant.GeoPoint\x12\x0e\n\x06radius\x18\x02 \x01(\x02\"1\n\rGeoLineString\x12 \n\x06points\x18\x01 \x03(\x0b\x32\x10.qdrant.GeoPoint\"_\n\nGeoPolygon\x12\'\n\x08\x65xterior\x18\x01 \x01(\x0b\x32\x15.qdrant.GeoLineString\x12(\n\tinteriors\x18\x02 \x03(\x0b\x32\x15.qdrant.GeoLineString\"q\n\x0bValuesCount\x12\x0f\n\x02lt\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x0f\n\x02gt\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x10\n\x03gte\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12\x10\n\x03lte\x18\x04 \x01(\x04H\x03\x88\x01\x01\x42\x05\n\x03_ltB\x05\n\x03_gtB\x06\n\x04_gteB\x06\n\x04_lte\"u\n\x0ePointsSelector\x12\'\n\x06points\x18\x01 \x01(\x0b\x32\x15.qdrant.PointsIdsListH\x00\x12 \n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0e.qdrant.FilterH\x00\x42\x18\n\x16points_selector_one_of\"-\n\rPointsIdsList\x12\x1c\n\x03ids\x18\x01 \x03(\x0b\x32\x0f.qdrant.PointId\"\xd5\x01\n\x0bPointStruct\x12\x1b\n\x02id\x18\x01 \x01(\x0b\x32\x0f.qdrant.PointId\x12\x31\n\x07payload\x18\x03 \x03(\x0b\x32 .qdrant.PointStruct.PayloadEntry\x12%\n\x07vectors\x18\x04 \x01(\x0b\x32\x0f.qdrant.VectorsH\x00\x88\x01\x01\x1a=\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.qdrant.Value:\x02\x38\x01\x42\n\n\x08_vectorsJ\x04\x08\x02\x10\x03\"$\n\x08GeoPoint\x12\x0b\n\x03lon\x18\x01 \x01(\x01\x12\x0b\n\x03lat\x18\x02 \x01(\x01*5\n\x11WriteOrderingType\x12\x08\n\x04Weak\x10\x00\x12\n\n\x06Medium\x10\x01\x12\n\n\x06Strong\x10\x02*8\n\x13ReadConsistencyType\x12\x07\n\x03\x41ll\x10\x00\x12\x0c\n\x08Majority\x10\x01\x12\n\n\x06Quorum\x10\x02*\xad\x01\n\tFieldType\x12\x14\n\x10\x46ieldTypeKeyword\x10\x00\x12\x14\n\x10\x46ieldTypeInteger\x10\x01\x12\x12\n\x0e\x46ieldTypeFloat\x10\x02\x12\x10\n\x0c\x46ieldTypeGeo\x10\x03\x12\x11\n\rFieldTypeText\x10\x04\x12\x11\n\rFieldTypeBool\x10\x05\x12\x15\n\x11\x46ieldTypeDatetime\x10\x06\x12\x11\n\rFieldTypeUuid\x10\x07*\x1e\n\tDirection\x12\x07\n\x03\x41sc\x10\x00\x12\x08\n\x04\x44\x65sc\x10\x01*5\n\x11RecommendStrategy\x12\x11\n\rAverageVector\x10\x00\x12\r\n\tBestScore\x10\x01*\x1b\n\x06\x46usion\x12\x07\n\x03RRF\x10\x00\x12\x08\n\x04\x44\x42SF\x10\x01*\x14\n\x06Sample\x12\n\n\x06Random\x10\x00*[\n\x0cUpdateStatus\x12\x17\n\x13UnknownUpdateStatus\x10\x00\x12\x10\n\x0c\x41\x63knowledged\x10\x01\x12\r\n\tCompleted\x10\x02\x12\x11\n\rClockRejected\x10\x03\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'points_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _SETPAYLOADPOINTS_PAYLOADENTRY._options = None - _SETPAYLOADPOINTS_PAYLOADENTRY._serialized_options = b'8\001' - _NAMEDVECTORS_VECTORSENTRY._options = None - _NAMEDVECTORS_VECTORSENTRY._serialized_options = b'8\001' - _POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY._options = None - _POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY._serialized_options = b'8\001' - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY._options = None - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY._serialized_options = b'8\001' - _POINTSUPDATEOPERATION.fields_by_name['delete_deprecated']._options = None - _POINTSUPDATEOPERATION.fields_by_name['delete_deprecated']._serialized_options = b'\030\001' - _POINTSUPDATEOPERATION.fields_by_name['clear_payload_deprecated']._options = None - _POINTSUPDATEOPERATION.fields_by_name['clear_payload_deprecated']._serialized_options = b'\030\001' - _SCOREDPOINT_PAYLOADENTRY._options = None - _SCOREDPOINT_PAYLOADENTRY._serialized_options = b'8\001' - _RETRIEVEDPOINT_PAYLOADENTRY._options = None - _RETRIEVEDPOINT_PAYLOADENTRY._serialized_options = b'8\001' - _POINTSTRUCT_PAYLOADENTRY._options = None - _POINTSTRUCT_PAYLOADENTRY._serialized_options = b'8\001' - _WRITEORDERINGTYPE._serialized_start=21956 - _WRITEORDERINGTYPE._serialized_end=22009 - _READCONSISTENCYTYPE._serialized_start=22011 - _READCONSISTENCYTYPE._serialized_end=22067 - _FIELDTYPE._serialized_start=22070 - _FIELDTYPE._serialized_end=22243 - _DIRECTION._serialized_start=22245 - _DIRECTION._serialized_end=22275 - _RECOMMENDSTRATEGY._serialized_start=22277 - _RECOMMENDSTRATEGY._serialized_end=22330 - _FUSION._serialized_start=22332 - _FUSION._serialized_end=22359 - _SAMPLE._serialized_start=22361 - _SAMPLE._serialized_end=22381 - _UPDATESTATUS._serialized_start=22383 - _UPDATESTATUS._serialized_end=22474 - _WRITEORDERING._serialized_start=97 - _WRITEORDERING._serialized_end=153 - _READCONSISTENCY._serialized_start=155 - _READCONSISTENCY._serialized_end=244 - _POINTID._serialized_start=246 - _POINTID._serialized_end=306 - _SPARSEINDICES._serialized_start=308 - _SPARSEINDICES._serialized_end=337 - _VECTOR._serialized_start=339 - _VECTOR._serialized_end=464 - _DENSEVECTOR._serialized_start=466 - _DENSEVECTOR._serialized_end=493 - _SPARSEVECTOR._serialized_start=495 - _SPARSEVECTOR._serialized_end=542 - _MULTIDENSEVECTOR._serialized_start=544 - _MULTIDENSEVECTOR._serialized_end=600 - _VECTORINPUT._serialized_start=603 - _VECTORINPUT._serialized_end=785 - _SHARDKEYSELECTOR._serialized_start=787 - _SHARDKEYSELECTOR._serialized_end=843 - _UPSERTPOINTS._serialized_start=846 - _UPSERTPOINTS._serialized_end=1091 - _DELETEPOINTS._serialized_start=1094 - _DELETEPOINTS._serialized_end=1342 - _GETPOINTS._serialized_start=1345 - _GETPOINTS._serialized_end=1734 - _UPDATEPOINTVECTORS._serialized_start=1737 - _UPDATEPOINTVECTORS._serialized_end=1989 - _POINTVECTORS._serialized_start=1991 - _POINTVECTORS._serialized_end=2068 - _DELETEPOINTVECTORS._serialized_start=2071 - _DELETEPOINTVECTORS._serialized_end=2376 - _SETPAYLOADPOINTS._serialized_start=2379 - _SETPAYLOADPOINTS._serialized_end=2816 - _SETPAYLOADPOINTS_PAYLOADENTRY._serialized_start=2676 - _SETPAYLOADPOINTS_PAYLOADENTRY._serialized_end=2737 - _DELETEPAYLOADPOINTS._serialized_start=2819 - _DELETEPAYLOADPOINTS._serialized_end=3128 - _CLEARPAYLOADPOINTS._serialized_start=3131 - _CLEARPAYLOADPOINTS._serialized_end=3385 - _CREATEFIELDINDEXCOLLECTION._serialized_start=3388 - _CREATEFIELDINDEXCOLLECTION._serialized_end=3691 - _DELETEFIELDINDEXCOLLECTION._serialized_start=3694 - _DELETEFIELDINDEXCOLLECTION._serialized_end=3854 - _PAYLOADINCLUDESELECTOR._serialized_start=3856 - _PAYLOADINCLUDESELECTOR._serialized_end=3896 - _PAYLOADEXCLUDESELECTOR._serialized_start=3898 - _PAYLOADEXCLUDESELECTOR._serialized_end=3938 - _WITHPAYLOADSELECTOR._serialized_start=3941 - _WITHPAYLOADSELECTOR._serialized_end=4102 - _NAMEDVECTORS._serialized_start=4105 - _NAMEDVECTORS._serialized_end=4235 - _NAMEDVECTORS_VECTORSENTRY._serialized_start=4173 - _NAMEDVECTORS_VECTORSENTRY._serialized_end=4235 - _VECTORS._serialized_start=4237 - _VECTORS._serialized_end=4340 - _VECTORSSELECTOR._serialized_start=4342 - _VECTORSSELECTOR._serialized_end=4374 - _WITHVECTORSSELECTOR._serialized_start=4376 - _WITHVECTORSSELECTOR._serialized_end=4479 - _QUANTIZATIONSEARCHPARAMS._serialized_start=4482 - _QUANTIZATIONSEARCHPARAMS._serialized_end=4618 - _SEARCHPARAMS._serialized_start=4621 - _SEARCHPARAMS._serialized_end=4821 - _SEARCHPOINTS._serialized_start=4824 - _SEARCHPOINTS._serialized_end=5482 - _SEARCHBATCHPOINTS._serialized_start=5485 - _SEARCHBATCHPOINTS._serialized_end=5685 - _WITHLOOKUP._serialized_start=5688 - _WITHLOOKUP._serialized_end=5866 - _SEARCHPOINTGROUPS._serialized_start=5869 - _SEARCHPOINTGROUPS._serialized_end=6594 - _STARTFROM._serialized_start=6596 - _STARTFROM._serialized_end=6721 - _ORDERBY._serialized_start=6724 - _ORDERBY._serialized_end=6862 - _SCROLLPOINTS._serialized_start=6865 - _SCROLLPOINTS._serialized_end=7391 - _LOOKUPLOCATION._serialized_start=7394 - _LOOKUPLOCATION._serialized_end=7559 - _RECOMMENDPOINTS._serialized_start=7562 - _RECOMMENDPOINTS._serialized_end=8407 - _RECOMMENDBATCHPOINTS._serialized_start=8410 - _RECOMMENDBATCHPOINTS._serialized_end=8619 - _RECOMMENDPOINTGROUPS._serialized_start=8622 - _RECOMMENDPOINTGROUPS._serialized_end=9534 - _TARGETVECTOR._serialized_start=9536 - _TARGETVECTOR._serialized_end=9601 - _VECTOREXAMPLE._serialized_start=9603 - _VECTOREXAMPLE._serialized_end=9694 - _CONTEXTEXAMPLEPAIR._serialized_start=9696 - _CONTEXTEXAMPLEPAIR._serialized_end=9798 - _DISCOVERPOINTS._serialized_start=9801 - _DISCOVERPOINTS._serialized_end=10455 - _DISCOVERBATCHPOINTS._serialized_start=10458 - _DISCOVERBATCHPOINTS._serialized_end=10664 - _COUNTPOINTS._serialized_start=10667 - _COUNTPOINTS._serialized_end=10960 - _RECOMMENDINPUT._serialized_start=10963 - _RECOMMENDINPUT._serialized_end=11120 - _CONTEXTINPUTPAIR._serialized_start=11122 - _CONTEXTINPUTPAIR._serialized_end=11218 - _DISCOVERINPUT._serialized_start=11220 - _DISCOVERINPUT._serialized_end=11311 - _CONTEXTINPUT._serialized_start=11313 - _CONTEXTINPUT._serialized_end=11368 - _QUERY._serialized_start=11371 - _QUERY._serialized_end=11663 - _PREFETCHQUERY._serialized_start=11666 - _PREFETCHQUERY._serialized_end=12045 - _QUERYPOINTS._serialized_start=12048 - _QUERYPOINTS._serialized_end=12821 - _QUERYBATCHPOINTS._serialized_start=12824 - _QUERYBATCHPOINTS._serialized_end=13021 - _QUERYPOINTGROUPS._serialized_start=13024 - _QUERYPOINTGROUPS._serialized_end=13868 - _FACETCOUNTS._serialized_start=13871 - _FACETCOUNTS._serialized_end=14223 - _FACETVALUE._serialized_start=14225 - _FACETVALUE._serialized_end=14297 - _FACETHIT._serialized_start=14299 - _FACETHIT._serialized_end=14359 - _POINTSUPDATEOPERATION._serialized_start=14362 - _POINTSUPDATEOPERATION._serialized_end=16687 - _POINTSUPDATEOPERATION_POINTSTRUCTLIST._serialized_start=15067 - _POINTSUPDATEOPERATION_POINTSTRUCTLIST._serialized_end=15203 - _POINTSUPDATEOPERATION_SETPAYLOAD._serialized_start=15206 - _POINTSUPDATEOPERATION_SETPAYLOAD._serialized_end=15535 - _POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY._serialized_start=2676 - _POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY._serialized_end=2737 - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD._serialized_start=15538 - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD._serialized_end=15879 - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY._serialized_start=2676 - _POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY._serialized_end=2737 - _POINTSUPDATEOPERATION_DELETEPAYLOAD._serialized_start=15882 - _POINTSUPDATEOPERATION_DELETEPAYLOAD._serialized_end=16067 - _POINTSUPDATEOPERATION_UPDATEVECTORS._serialized_start=16070 - _POINTSUPDATEOPERATION_UPDATEVECTORS._serialized_end=16205 - _POINTSUPDATEOPERATION_DELETEVECTORS._serialized_start=16208 - _POINTSUPDATEOPERATION_DELETEVECTORS._serialized_end=16396 - _POINTSUPDATEOPERATION_DELETEPOINTS._serialized_start=16399 - _POINTSUPDATEOPERATION_DELETEPOINTS._serialized_end=16535 - _POINTSUPDATEOPERATION_CLEARPAYLOAD._serialized_start=16538 - _POINTSUPDATEOPERATION_CLEARPAYLOAD._serialized_end=16674 - _UPDATEBATCHPOINTS._serialized_start=16690 - _UPDATEBATCHPOINTS._serialized_end=16872 - _POINTSOPERATIONRESPONSE._serialized_start=16874 - _POINTSOPERATIONRESPONSE._serialized_end=16951 - _UPDATERESULT._serialized_start=16953 - _UPDATERESULT._serialized_end=17049 - _ORDERVALUE._serialized_start=17051 - _ORDERVALUE._serialized_end=17106 - _SCOREDPOINT._serialized_start=17109 - _SCOREDPOINT._serialized_end=17472 - _SCOREDPOINT_PAYLOADENTRY._serialized_start=2676 - _SCOREDPOINT_PAYLOADENTRY._serialized_end=2737 - _GROUPID._serialized_start=17474 - _GROUPID._serialized_end=17566 - _POINTGROUP._serialized_start=17568 - _POINTGROUP._serialized_end=17684 - _GROUPSRESULT._serialized_start=17686 - _GROUPSRESULT._serialized_end=17736 - _SEARCHRESPONSE._serialized_start=17738 - _SEARCHRESPONSE._serialized_end=17805 - _QUERYRESPONSE._serialized_start=17807 - _QUERYRESPONSE._serialized_end=17873 - _QUERYBATCHRESPONSE._serialized_start=17875 - _QUERYBATCHRESPONSE._serialized_end=17946 - _QUERYGROUPSRESPONSE._serialized_start=17948 - _QUERYGROUPSRESPONSE._serialized_end=18021 - _BATCHRESULT._serialized_start=18023 - _BATCHRESULT._serialized_end=18073 - _SEARCHBATCHRESPONSE._serialized_start=18075 - _SEARCHBATCHRESPONSE._serialized_end=18147 - _SEARCHGROUPSRESPONSE._serialized_start=18149 - _SEARCHGROUPSRESPONSE._serialized_end=18223 - _COUNTRESPONSE._serialized_start=18225 - _COUNTRESPONSE._serialized_end=18291 - _SCROLLRESPONSE._serialized_start=18294 - _SCROLLRESPONSE._serialized_end=18433 - _COUNTRESULT._serialized_start=18435 - _COUNTRESULT._serialized_end=18463 - _RETRIEVEDPOINT._serialized_start=18466 - _RETRIEVEDPOINT._serialized_end=18803 - _RETRIEVEDPOINT_PAYLOADENTRY._serialized_start=2676 - _RETRIEVEDPOINT_PAYLOADENTRY._serialized_end=2737 - _GETRESPONSE._serialized_start=18805 - _GETRESPONSE._serialized_end=18872 - _RECOMMENDRESPONSE._serialized_start=18874 - _RECOMMENDRESPONSE._serialized_end=18944 - _RECOMMENDBATCHRESPONSE._serialized_start=18946 - _RECOMMENDBATCHRESPONSE._serialized_end=19021 - _DISCOVERRESPONSE._serialized_start=19023 - _DISCOVERRESPONSE._serialized_end=19092 - _DISCOVERBATCHRESPONSE._serialized_start=19094 - _DISCOVERBATCHRESPONSE._serialized_end=19168 - _RECOMMENDGROUPSRESPONSE._serialized_start=19170 - _RECOMMENDGROUPSRESPONSE._serialized_end=19247 - _UPDATEBATCHRESPONSE._serialized_start=19249 - _UPDATEBATCHRESPONSE._serialized_end=19322 - _FACETRESPONSE._serialized_start=19324 - _FACETRESPONSE._serialized_end=19385 - _FILTER._serialized_start=19388 - _FILTER._serialized_end=19560 - _MINSHOULD._serialized_start=19562 - _MINSHOULD._serialized_end=19631 - _CONDITION._serialized_start=19634 - _CONDITION._serialized_end=19915 - _ISEMPTYCONDITION._serialized_start=19917 - _ISEMPTYCONDITION._serialized_end=19948 - _ISNULLCONDITION._serialized_start=19950 - _ISNULLCONDITION._serialized_end=19980 - _HASIDCONDITION._serialized_start=19982 - _HASIDCONDITION._serialized_end=20031 - _NESTEDCONDITION._serialized_start=20033 - _NESTEDCONDITION._serialized_end=20095 - _FIELDCONDITION._serialized_start=20098 - _FIELDCONDITION._serialized_end=20407 - _MATCH._serialized_start=20410 - _MATCH._serialized_end=20701 - _REPEATEDSTRINGS._serialized_start=20703 - _REPEATEDSTRINGS._serialized_end=20737 - _REPEATEDINTEGERS._serialized_start=20739 - _REPEATEDINTEGERS._serialized_end=20775 - _RANGE._serialized_start=20777 - _RANGE._serialized_end=20884 - _DATETIMERANGE._serialized_start=20887 - _DATETIMERANGE._serialized_end=21114 - _GEOBOUNDINGBOX._serialized_start=21116 - _GEOBOUNDINGBOX._serialized_end=21208 - _GEORADIUS._serialized_start=21210 - _GEORADIUS._serialized_end=21271 - _GEOLINESTRING._serialized_start=21273 - _GEOLINESTRING._serialized_end=21322 - _GEOPOLYGON._serialized_start=21324 - _GEOPOLYGON._serialized_end=21419 - _VALUESCOUNT._serialized_start=21421 - _VALUESCOUNT._serialized_end=21534 - _POINTSSELECTOR._serialized_start=21536 - _POINTSSELECTOR._serialized_end=21653 - _POINTSIDSLIST._serialized_start=21655 - _POINTSIDSLIST._serialized_end=21700 - _POINTSTRUCT._serialized_start=21703 - _POINTSTRUCT._serialized_end=21916 - _POINTSTRUCT_PAYLOADENTRY._serialized_start=2676 - _POINTSTRUCT_PAYLOADENTRY._serialized_end=2737 - _GEOPOINT._serialized_start=21918 - _GEOPOINT._serialized_end=21954 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'points_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_SETPAYLOADPOINTS_PAYLOADENTRY']._loaded_options = None + _globals['_SETPAYLOADPOINTS_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_NAMEDVECTORS_VECTORSENTRY']._loaded_options = None + _globals['_NAMEDVECTORS_VECTORSENTRY']._serialized_options = b'8\001' + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY']._loaded_options = None + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY']._loaded_options = None + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_POINTSUPDATEOPERATION'].fields_by_name['delete_deprecated']._loaded_options = None + _globals['_POINTSUPDATEOPERATION'].fields_by_name['delete_deprecated']._serialized_options = b'\030\001' + _globals['_POINTSUPDATEOPERATION'].fields_by_name['clear_payload_deprecated']._loaded_options = None + _globals['_POINTSUPDATEOPERATION'].fields_by_name['clear_payload_deprecated']._serialized_options = b'\030\001' + _globals['_SCOREDPOINT_PAYLOADENTRY']._loaded_options = None + _globals['_SCOREDPOINT_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_RETRIEVEDPOINT_PAYLOADENTRY']._loaded_options = None + _globals['_RETRIEVEDPOINT_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_POINTSTRUCT_PAYLOADENTRY']._loaded_options = None + _globals['_POINTSTRUCT_PAYLOADENTRY']._serialized_options = b'8\001' + _globals['_WRITEORDERINGTYPE']._serialized_start=21956 + _globals['_WRITEORDERINGTYPE']._serialized_end=22009 + _globals['_READCONSISTENCYTYPE']._serialized_start=22011 + _globals['_READCONSISTENCYTYPE']._serialized_end=22067 + _globals['_FIELDTYPE']._serialized_start=22070 + _globals['_FIELDTYPE']._serialized_end=22243 + _globals['_DIRECTION']._serialized_start=22245 + _globals['_DIRECTION']._serialized_end=22275 + _globals['_RECOMMENDSTRATEGY']._serialized_start=22277 + _globals['_RECOMMENDSTRATEGY']._serialized_end=22330 + _globals['_FUSION']._serialized_start=22332 + _globals['_FUSION']._serialized_end=22359 + _globals['_SAMPLE']._serialized_start=22361 + _globals['_SAMPLE']._serialized_end=22381 + _globals['_UPDATESTATUS']._serialized_start=22383 + _globals['_UPDATESTATUS']._serialized_end=22474 + _globals['_WRITEORDERING']._serialized_start=97 + _globals['_WRITEORDERING']._serialized_end=153 + _globals['_READCONSISTENCY']._serialized_start=155 + _globals['_READCONSISTENCY']._serialized_end=244 + _globals['_POINTID']._serialized_start=246 + _globals['_POINTID']._serialized_end=306 + _globals['_SPARSEINDICES']._serialized_start=308 + _globals['_SPARSEINDICES']._serialized_end=337 + _globals['_VECTOR']._serialized_start=339 + _globals['_VECTOR']._serialized_end=464 + _globals['_DENSEVECTOR']._serialized_start=466 + _globals['_DENSEVECTOR']._serialized_end=493 + _globals['_SPARSEVECTOR']._serialized_start=495 + _globals['_SPARSEVECTOR']._serialized_end=542 + _globals['_MULTIDENSEVECTOR']._serialized_start=544 + _globals['_MULTIDENSEVECTOR']._serialized_end=600 + _globals['_VECTORINPUT']._serialized_start=603 + _globals['_VECTORINPUT']._serialized_end=785 + _globals['_SHARDKEYSELECTOR']._serialized_start=787 + _globals['_SHARDKEYSELECTOR']._serialized_end=843 + _globals['_UPSERTPOINTS']._serialized_start=846 + _globals['_UPSERTPOINTS']._serialized_end=1091 + _globals['_DELETEPOINTS']._serialized_start=1094 + _globals['_DELETEPOINTS']._serialized_end=1342 + _globals['_GETPOINTS']._serialized_start=1345 + _globals['_GETPOINTS']._serialized_end=1734 + _globals['_UPDATEPOINTVECTORS']._serialized_start=1737 + _globals['_UPDATEPOINTVECTORS']._serialized_end=1989 + _globals['_POINTVECTORS']._serialized_start=1991 + _globals['_POINTVECTORS']._serialized_end=2068 + _globals['_DELETEPOINTVECTORS']._serialized_start=2071 + _globals['_DELETEPOINTVECTORS']._serialized_end=2376 + _globals['_SETPAYLOADPOINTS']._serialized_start=2379 + _globals['_SETPAYLOADPOINTS']._serialized_end=2816 + _globals['_SETPAYLOADPOINTS_PAYLOADENTRY']._serialized_start=2676 + _globals['_SETPAYLOADPOINTS_PAYLOADENTRY']._serialized_end=2737 + _globals['_DELETEPAYLOADPOINTS']._serialized_start=2819 + _globals['_DELETEPAYLOADPOINTS']._serialized_end=3128 + _globals['_CLEARPAYLOADPOINTS']._serialized_start=3131 + _globals['_CLEARPAYLOADPOINTS']._serialized_end=3385 + _globals['_CREATEFIELDINDEXCOLLECTION']._serialized_start=3388 + _globals['_CREATEFIELDINDEXCOLLECTION']._serialized_end=3691 + _globals['_DELETEFIELDINDEXCOLLECTION']._serialized_start=3694 + _globals['_DELETEFIELDINDEXCOLLECTION']._serialized_end=3854 + _globals['_PAYLOADINCLUDESELECTOR']._serialized_start=3856 + _globals['_PAYLOADINCLUDESELECTOR']._serialized_end=3896 + _globals['_PAYLOADEXCLUDESELECTOR']._serialized_start=3898 + _globals['_PAYLOADEXCLUDESELECTOR']._serialized_end=3938 + _globals['_WITHPAYLOADSELECTOR']._serialized_start=3941 + _globals['_WITHPAYLOADSELECTOR']._serialized_end=4102 + _globals['_NAMEDVECTORS']._serialized_start=4105 + _globals['_NAMEDVECTORS']._serialized_end=4235 + _globals['_NAMEDVECTORS_VECTORSENTRY']._serialized_start=4173 + _globals['_NAMEDVECTORS_VECTORSENTRY']._serialized_end=4235 + _globals['_VECTORS']._serialized_start=4237 + _globals['_VECTORS']._serialized_end=4340 + _globals['_VECTORSSELECTOR']._serialized_start=4342 + _globals['_VECTORSSELECTOR']._serialized_end=4374 + _globals['_WITHVECTORSSELECTOR']._serialized_start=4376 + _globals['_WITHVECTORSSELECTOR']._serialized_end=4479 + _globals['_QUANTIZATIONSEARCHPARAMS']._serialized_start=4482 + _globals['_QUANTIZATIONSEARCHPARAMS']._serialized_end=4618 + _globals['_SEARCHPARAMS']._serialized_start=4621 + _globals['_SEARCHPARAMS']._serialized_end=4821 + _globals['_SEARCHPOINTS']._serialized_start=4824 + _globals['_SEARCHPOINTS']._serialized_end=5482 + _globals['_SEARCHBATCHPOINTS']._serialized_start=5485 + _globals['_SEARCHBATCHPOINTS']._serialized_end=5685 + _globals['_WITHLOOKUP']._serialized_start=5688 + _globals['_WITHLOOKUP']._serialized_end=5866 + _globals['_SEARCHPOINTGROUPS']._serialized_start=5869 + _globals['_SEARCHPOINTGROUPS']._serialized_end=6594 + _globals['_STARTFROM']._serialized_start=6596 + _globals['_STARTFROM']._serialized_end=6721 + _globals['_ORDERBY']._serialized_start=6724 + _globals['_ORDERBY']._serialized_end=6862 + _globals['_SCROLLPOINTS']._serialized_start=6865 + _globals['_SCROLLPOINTS']._serialized_end=7391 + _globals['_LOOKUPLOCATION']._serialized_start=7394 + _globals['_LOOKUPLOCATION']._serialized_end=7559 + _globals['_RECOMMENDPOINTS']._serialized_start=7562 + _globals['_RECOMMENDPOINTS']._serialized_end=8407 + _globals['_RECOMMENDBATCHPOINTS']._serialized_start=8410 + _globals['_RECOMMENDBATCHPOINTS']._serialized_end=8619 + _globals['_RECOMMENDPOINTGROUPS']._serialized_start=8622 + _globals['_RECOMMENDPOINTGROUPS']._serialized_end=9534 + _globals['_TARGETVECTOR']._serialized_start=9536 + _globals['_TARGETVECTOR']._serialized_end=9601 + _globals['_VECTOREXAMPLE']._serialized_start=9603 + _globals['_VECTOREXAMPLE']._serialized_end=9694 + _globals['_CONTEXTEXAMPLEPAIR']._serialized_start=9696 + _globals['_CONTEXTEXAMPLEPAIR']._serialized_end=9798 + _globals['_DISCOVERPOINTS']._serialized_start=9801 + _globals['_DISCOVERPOINTS']._serialized_end=10455 + _globals['_DISCOVERBATCHPOINTS']._serialized_start=10458 + _globals['_DISCOVERBATCHPOINTS']._serialized_end=10664 + _globals['_COUNTPOINTS']._serialized_start=10667 + _globals['_COUNTPOINTS']._serialized_end=10960 + _globals['_RECOMMENDINPUT']._serialized_start=10963 + _globals['_RECOMMENDINPUT']._serialized_end=11120 + _globals['_CONTEXTINPUTPAIR']._serialized_start=11122 + _globals['_CONTEXTINPUTPAIR']._serialized_end=11218 + _globals['_DISCOVERINPUT']._serialized_start=11220 + _globals['_DISCOVERINPUT']._serialized_end=11311 + _globals['_CONTEXTINPUT']._serialized_start=11313 + _globals['_CONTEXTINPUT']._serialized_end=11368 + _globals['_QUERY']._serialized_start=11371 + _globals['_QUERY']._serialized_end=11663 + _globals['_PREFETCHQUERY']._serialized_start=11666 + _globals['_PREFETCHQUERY']._serialized_end=12045 + _globals['_QUERYPOINTS']._serialized_start=12048 + _globals['_QUERYPOINTS']._serialized_end=12821 + _globals['_QUERYBATCHPOINTS']._serialized_start=12824 + _globals['_QUERYBATCHPOINTS']._serialized_end=13021 + _globals['_QUERYPOINTGROUPS']._serialized_start=13024 + _globals['_QUERYPOINTGROUPS']._serialized_end=13868 + _globals['_FACETCOUNTS']._serialized_start=13871 + _globals['_FACETCOUNTS']._serialized_end=14223 + _globals['_FACETVALUE']._serialized_start=14225 + _globals['_FACETVALUE']._serialized_end=14297 + _globals['_FACETHIT']._serialized_start=14299 + _globals['_FACETHIT']._serialized_end=14359 + _globals['_POINTSUPDATEOPERATION']._serialized_start=14362 + _globals['_POINTSUPDATEOPERATION']._serialized_end=16687 + _globals['_POINTSUPDATEOPERATION_POINTSTRUCTLIST']._serialized_start=15067 + _globals['_POINTSUPDATEOPERATION_POINTSTRUCTLIST']._serialized_end=15203 + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD']._serialized_start=15206 + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD']._serialized_end=15535 + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY']._serialized_start=2676 + _globals['_POINTSUPDATEOPERATION_SETPAYLOAD_PAYLOADENTRY']._serialized_end=2737 + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD']._serialized_start=15538 + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD']._serialized_end=15879 + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY']._serialized_start=2676 + _globals['_POINTSUPDATEOPERATION_OVERWRITEPAYLOAD_PAYLOADENTRY']._serialized_end=2737 + _globals['_POINTSUPDATEOPERATION_DELETEPAYLOAD']._serialized_start=15882 + _globals['_POINTSUPDATEOPERATION_DELETEPAYLOAD']._serialized_end=16067 + _globals['_POINTSUPDATEOPERATION_UPDATEVECTORS']._serialized_start=16070 + _globals['_POINTSUPDATEOPERATION_UPDATEVECTORS']._serialized_end=16205 + _globals['_POINTSUPDATEOPERATION_DELETEVECTORS']._serialized_start=16208 + _globals['_POINTSUPDATEOPERATION_DELETEVECTORS']._serialized_end=16396 + _globals['_POINTSUPDATEOPERATION_DELETEPOINTS']._serialized_start=16399 + _globals['_POINTSUPDATEOPERATION_DELETEPOINTS']._serialized_end=16535 + _globals['_POINTSUPDATEOPERATION_CLEARPAYLOAD']._serialized_start=16538 + _globals['_POINTSUPDATEOPERATION_CLEARPAYLOAD']._serialized_end=16674 + _globals['_UPDATEBATCHPOINTS']._serialized_start=16690 + _globals['_UPDATEBATCHPOINTS']._serialized_end=16872 + _globals['_POINTSOPERATIONRESPONSE']._serialized_start=16874 + _globals['_POINTSOPERATIONRESPONSE']._serialized_end=16951 + _globals['_UPDATERESULT']._serialized_start=16953 + _globals['_UPDATERESULT']._serialized_end=17049 + _globals['_ORDERVALUE']._serialized_start=17051 + _globals['_ORDERVALUE']._serialized_end=17106 + _globals['_SCOREDPOINT']._serialized_start=17109 + _globals['_SCOREDPOINT']._serialized_end=17472 + _globals['_SCOREDPOINT_PAYLOADENTRY']._serialized_start=2676 + _globals['_SCOREDPOINT_PAYLOADENTRY']._serialized_end=2737 + _globals['_GROUPID']._serialized_start=17474 + _globals['_GROUPID']._serialized_end=17566 + _globals['_POINTGROUP']._serialized_start=17568 + _globals['_POINTGROUP']._serialized_end=17684 + _globals['_GROUPSRESULT']._serialized_start=17686 + _globals['_GROUPSRESULT']._serialized_end=17736 + _globals['_SEARCHRESPONSE']._serialized_start=17738 + _globals['_SEARCHRESPONSE']._serialized_end=17805 + _globals['_QUERYRESPONSE']._serialized_start=17807 + _globals['_QUERYRESPONSE']._serialized_end=17873 + _globals['_QUERYBATCHRESPONSE']._serialized_start=17875 + _globals['_QUERYBATCHRESPONSE']._serialized_end=17946 + _globals['_QUERYGROUPSRESPONSE']._serialized_start=17948 + _globals['_QUERYGROUPSRESPONSE']._serialized_end=18021 + _globals['_BATCHRESULT']._serialized_start=18023 + _globals['_BATCHRESULT']._serialized_end=18073 + _globals['_SEARCHBATCHRESPONSE']._serialized_start=18075 + _globals['_SEARCHBATCHRESPONSE']._serialized_end=18147 + _globals['_SEARCHGROUPSRESPONSE']._serialized_start=18149 + _globals['_SEARCHGROUPSRESPONSE']._serialized_end=18223 + _globals['_COUNTRESPONSE']._serialized_start=18225 + _globals['_COUNTRESPONSE']._serialized_end=18291 + _globals['_SCROLLRESPONSE']._serialized_start=18294 + _globals['_SCROLLRESPONSE']._serialized_end=18433 + _globals['_COUNTRESULT']._serialized_start=18435 + _globals['_COUNTRESULT']._serialized_end=18463 + _globals['_RETRIEVEDPOINT']._serialized_start=18466 + _globals['_RETRIEVEDPOINT']._serialized_end=18803 + _globals['_RETRIEVEDPOINT_PAYLOADENTRY']._serialized_start=2676 + _globals['_RETRIEVEDPOINT_PAYLOADENTRY']._serialized_end=2737 + _globals['_GETRESPONSE']._serialized_start=18805 + _globals['_GETRESPONSE']._serialized_end=18872 + _globals['_RECOMMENDRESPONSE']._serialized_start=18874 + _globals['_RECOMMENDRESPONSE']._serialized_end=18944 + _globals['_RECOMMENDBATCHRESPONSE']._serialized_start=18946 + _globals['_RECOMMENDBATCHRESPONSE']._serialized_end=19021 + _globals['_DISCOVERRESPONSE']._serialized_start=19023 + _globals['_DISCOVERRESPONSE']._serialized_end=19092 + _globals['_DISCOVERBATCHRESPONSE']._serialized_start=19094 + _globals['_DISCOVERBATCHRESPONSE']._serialized_end=19168 + _globals['_RECOMMENDGROUPSRESPONSE']._serialized_start=19170 + _globals['_RECOMMENDGROUPSRESPONSE']._serialized_end=19247 + _globals['_UPDATEBATCHRESPONSE']._serialized_start=19249 + _globals['_UPDATEBATCHRESPONSE']._serialized_end=19322 + _globals['_FACETRESPONSE']._serialized_start=19324 + _globals['_FACETRESPONSE']._serialized_end=19385 + _globals['_FILTER']._serialized_start=19388 + _globals['_FILTER']._serialized_end=19560 + _globals['_MINSHOULD']._serialized_start=19562 + _globals['_MINSHOULD']._serialized_end=19631 + _globals['_CONDITION']._serialized_start=19634 + _globals['_CONDITION']._serialized_end=19915 + _globals['_ISEMPTYCONDITION']._serialized_start=19917 + _globals['_ISEMPTYCONDITION']._serialized_end=19948 + _globals['_ISNULLCONDITION']._serialized_start=19950 + _globals['_ISNULLCONDITION']._serialized_end=19980 + _globals['_HASIDCONDITION']._serialized_start=19982 + _globals['_HASIDCONDITION']._serialized_end=20031 + _globals['_NESTEDCONDITION']._serialized_start=20033 + _globals['_NESTEDCONDITION']._serialized_end=20095 + _globals['_FIELDCONDITION']._serialized_start=20098 + _globals['_FIELDCONDITION']._serialized_end=20407 + _globals['_MATCH']._serialized_start=20410 + _globals['_MATCH']._serialized_end=20701 + _globals['_REPEATEDSTRINGS']._serialized_start=20703 + _globals['_REPEATEDSTRINGS']._serialized_end=20737 + _globals['_REPEATEDINTEGERS']._serialized_start=20739 + _globals['_REPEATEDINTEGERS']._serialized_end=20775 + _globals['_RANGE']._serialized_start=20777 + _globals['_RANGE']._serialized_end=20884 + _globals['_DATETIMERANGE']._serialized_start=20887 + _globals['_DATETIMERANGE']._serialized_end=21114 + _globals['_GEOBOUNDINGBOX']._serialized_start=21116 + _globals['_GEOBOUNDINGBOX']._serialized_end=21208 + _globals['_GEORADIUS']._serialized_start=21210 + _globals['_GEORADIUS']._serialized_end=21271 + _globals['_GEOLINESTRING']._serialized_start=21273 + _globals['_GEOLINESTRING']._serialized_end=21322 + _globals['_GEOPOLYGON']._serialized_start=21324 + _globals['_GEOPOLYGON']._serialized_end=21419 + _globals['_VALUESCOUNT']._serialized_start=21421 + _globals['_VALUESCOUNT']._serialized_end=21534 + _globals['_POINTSSELECTOR']._serialized_start=21536 + _globals['_POINTSSELECTOR']._serialized_end=21653 + _globals['_POINTSIDSLIST']._serialized_start=21655 + _globals['_POINTSIDSLIST']._serialized_end=21700 + _globals['_POINTSTRUCT']._serialized_start=21703 + _globals['_POINTSTRUCT']._serialized_end=21916 + _globals['_POINTSTRUCT_PAYLOADENTRY']._serialized_start=2676 + _globals['_POINTSTRUCT_PAYLOADENTRY']._serialized_end=2737 + _globals['_GEOPOINT']._serialized_start=21918 + _globals['_GEOPOINT']._serialized_end=21954 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/points_pb2_grpc.py b/qdrant_client/grpc/points_pb2_grpc.py index 2daafffe..5108dde9 100644 --- a/qdrant_client/grpc/points_pb2_grpc.py +++ b/qdrant_client/grpc/points_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in points_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/qdrant_client/grpc/points_service_pb2.py b/qdrant_client/grpc/points_service_pb2.py index 9bc9f100..f7dd531c 100644 --- a/qdrant_client/grpc/points_service_pb2.py +++ b/qdrant_client/grpc/points_service_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: points_service.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'points_service.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,12 +27,12 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14points_service.proto\x12\x06qdrant\x1a\x0cpoints.proto2\xcd\x0e\n\x06Points\x12\x41\n\x06Upsert\x12\x14.qdrant.UpsertPoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12\x41\n\x06\x44\x65lete\x12\x14.qdrant.DeletePoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12/\n\x03Get\x12\x11.qdrant.GetPoints\x1a\x13.qdrant.GetResponse\"\x00\x12N\n\rUpdateVectors\x12\x1a.qdrant.UpdatePointVectors\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12N\n\rDeleteVectors\x12\x1a.qdrant.DeletePointVectors\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12I\n\nSetPayload\x12\x18.qdrant.SetPayloadPoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12O\n\x10OverwritePayload\x12\x18.qdrant.SetPayloadPoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12O\n\rDeletePayload\x12\x1b.qdrant.DeletePayloadPoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12M\n\x0c\x43learPayload\x12\x1a.qdrant.ClearPayloadPoints\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12Y\n\x10\x43reateFieldIndex\x12\".qdrant.CreateFieldIndexCollection\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12Y\n\x10\x44\x65leteFieldIndex\x12\".qdrant.DeleteFieldIndexCollection\x1a\x1f.qdrant.PointsOperationResponse\"\x00\x12\x38\n\x06Search\x12\x14.qdrant.SearchPoints\x1a\x16.qdrant.SearchResponse\"\x00\x12G\n\x0bSearchBatch\x12\x19.qdrant.SearchBatchPoints\x1a\x1b.qdrant.SearchBatchResponse\"\x00\x12I\n\x0cSearchGroups\x12\x19.qdrant.SearchPointGroups\x1a\x1c.qdrant.SearchGroupsResponse\"\x00\x12\x38\n\x06Scroll\x12\x14.qdrant.ScrollPoints\x1a\x16.qdrant.ScrollResponse\"\x00\x12\x41\n\tRecommend\x12\x17.qdrant.RecommendPoints\x1a\x19.qdrant.RecommendResponse\"\x00\x12P\n\x0eRecommendBatch\x12\x1c.qdrant.RecommendBatchPoints\x1a\x1e.qdrant.RecommendBatchResponse\"\x00\x12R\n\x0fRecommendGroups\x12\x1c.qdrant.RecommendPointGroups\x1a\x1f.qdrant.RecommendGroupsResponse\"\x00\x12>\n\x08\x44iscover\x12\x16.qdrant.DiscoverPoints\x1a\x18.qdrant.DiscoverResponse\"\x00\x12M\n\rDiscoverBatch\x12\x1b.qdrant.DiscoverBatchPoints\x1a\x1d.qdrant.DiscoverBatchResponse\"\x00\x12\x35\n\x05\x43ount\x12\x13.qdrant.CountPoints\x1a\x15.qdrant.CountResponse\"\x00\x12G\n\x0bUpdateBatch\x12\x19.qdrant.UpdateBatchPoints\x1a\x1b.qdrant.UpdateBatchResponse\"\x00\x12\x35\n\x05Query\x12\x13.qdrant.QueryPoints\x1a\x15.qdrant.QueryResponse\"\x00\x12\x44\n\nQueryBatch\x12\x18.qdrant.QueryBatchPoints\x1a\x1a.qdrant.QueryBatchResponse\"\x00\x12\x46\n\x0bQueryGroups\x12\x18.qdrant.QueryPointGroups\x1a\x1b.qdrant.QueryGroupsResponse\"\x00\x12\x35\n\x05\x46\x61\x63\x65t\x12\x13.qdrant.FacetCounts\x1a\x15.qdrant.FacetResponse\"\x00\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'points_service_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _POINTS._serialized_start=47 - _POINTS._serialized_end=1916 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'points_service_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_POINTS']._serialized_start=47 + _globals['_POINTS']._serialized_end=1916 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/points_service_pb2_grpc.py b/qdrant_client/grpc/points_service_pb2_grpc.py index 0cb53f83..004c6f39 100644 --- a/qdrant_client/grpc/points_service_pb2_grpc.py +++ b/qdrant_client/grpc/points_service_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import points_pb2 as points__pb2 +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in points_service_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class PointsStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,132 +38,132 @@ def __init__(self, channel): '/qdrant.Points/Upsert', request_serializer=points__pb2.UpsertPoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.Delete = channel.unary_unary( '/qdrant.Points/Delete', request_serializer=points__pb2.DeletePoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.Get = channel.unary_unary( '/qdrant.Points/Get', request_serializer=points__pb2.GetPoints.SerializeToString, response_deserializer=points__pb2.GetResponse.FromString, - ) + _registered_method=True) self.UpdateVectors = channel.unary_unary( '/qdrant.Points/UpdateVectors', request_serializer=points__pb2.UpdatePointVectors.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.DeleteVectors = channel.unary_unary( '/qdrant.Points/DeleteVectors', request_serializer=points__pb2.DeletePointVectors.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.SetPayload = channel.unary_unary( '/qdrant.Points/SetPayload', request_serializer=points__pb2.SetPayloadPoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.OverwritePayload = channel.unary_unary( '/qdrant.Points/OverwritePayload', request_serializer=points__pb2.SetPayloadPoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.DeletePayload = channel.unary_unary( '/qdrant.Points/DeletePayload', request_serializer=points__pb2.DeletePayloadPoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.ClearPayload = channel.unary_unary( '/qdrant.Points/ClearPayload', request_serializer=points__pb2.ClearPayloadPoints.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.CreateFieldIndex = channel.unary_unary( '/qdrant.Points/CreateFieldIndex', request_serializer=points__pb2.CreateFieldIndexCollection.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.DeleteFieldIndex = channel.unary_unary( '/qdrant.Points/DeleteFieldIndex', request_serializer=points__pb2.DeleteFieldIndexCollection.SerializeToString, response_deserializer=points__pb2.PointsOperationResponse.FromString, - ) + _registered_method=True) self.Search = channel.unary_unary( '/qdrant.Points/Search', request_serializer=points__pb2.SearchPoints.SerializeToString, response_deserializer=points__pb2.SearchResponse.FromString, - ) + _registered_method=True) self.SearchBatch = channel.unary_unary( '/qdrant.Points/SearchBatch', request_serializer=points__pb2.SearchBatchPoints.SerializeToString, response_deserializer=points__pb2.SearchBatchResponse.FromString, - ) + _registered_method=True) self.SearchGroups = channel.unary_unary( '/qdrant.Points/SearchGroups', request_serializer=points__pb2.SearchPointGroups.SerializeToString, response_deserializer=points__pb2.SearchGroupsResponse.FromString, - ) + _registered_method=True) self.Scroll = channel.unary_unary( '/qdrant.Points/Scroll', request_serializer=points__pb2.ScrollPoints.SerializeToString, response_deserializer=points__pb2.ScrollResponse.FromString, - ) + _registered_method=True) self.Recommend = channel.unary_unary( '/qdrant.Points/Recommend', request_serializer=points__pb2.RecommendPoints.SerializeToString, response_deserializer=points__pb2.RecommendResponse.FromString, - ) + _registered_method=True) self.RecommendBatch = channel.unary_unary( '/qdrant.Points/RecommendBatch', request_serializer=points__pb2.RecommendBatchPoints.SerializeToString, response_deserializer=points__pb2.RecommendBatchResponse.FromString, - ) + _registered_method=True) self.RecommendGroups = channel.unary_unary( '/qdrant.Points/RecommendGroups', request_serializer=points__pb2.RecommendPointGroups.SerializeToString, response_deserializer=points__pb2.RecommendGroupsResponse.FromString, - ) + _registered_method=True) self.Discover = channel.unary_unary( '/qdrant.Points/Discover', request_serializer=points__pb2.DiscoverPoints.SerializeToString, response_deserializer=points__pb2.DiscoverResponse.FromString, - ) + _registered_method=True) self.DiscoverBatch = channel.unary_unary( '/qdrant.Points/DiscoverBatch', request_serializer=points__pb2.DiscoverBatchPoints.SerializeToString, response_deserializer=points__pb2.DiscoverBatchResponse.FromString, - ) + _registered_method=True) self.Count = channel.unary_unary( '/qdrant.Points/Count', request_serializer=points__pb2.CountPoints.SerializeToString, response_deserializer=points__pb2.CountResponse.FromString, - ) + _registered_method=True) self.UpdateBatch = channel.unary_unary( '/qdrant.Points/UpdateBatch', request_serializer=points__pb2.UpdateBatchPoints.SerializeToString, response_deserializer=points__pb2.UpdateBatchResponse.FromString, - ) + _registered_method=True) self.Query = channel.unary_unary( '/qdrant.Points/Query', request_serializer=points__pb2.QueryPoints.SerializeToString, response_deserializer=points__pb2.QueryResponse.FromString, - ) + _registered_method=True) self.QueryBatch = channel.unary_unary( '/qdrant.Points/QueryBatch', request_serializer=points__pb2.QueryBatchPoints.SerializeToString, response_deserializer=points__pb2.QueryBatchResponse.FromString, - ) + _registered_method=True) self.QueryGroups = channel.unary_unary( '/qdrant.Points/QueryGroups', request_serializer=points__pb2.QueryPointGroups.SerializeToString, response_deserializer=points__pb2.QueryGroupsResponse.FromString, - ) + _registered_method=True) self.Facet = channel.unary_unary( '/qdrant.Points/Facet', request_serializer=points__pb2.FacetCounts.SerializeToString, response_deserializer=points__pb2.FacetResponse.FromString, - ) + _registered_method=True) class PointsServicer(object): @@ -508,6 +528,7 @@ def add_PointsServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'qdrant.Points', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('qdrant.Points', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -525,11 +546,21 @@ def Upsert(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Upsert', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Upsert', points__pb2.UpsertPoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Delete(request, @@ -542,11 +573,21 @@ def Delete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Delete', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Delete', points__pb2.DeletePoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Get(request, @@ -559,11 +600,21 @@ def Get(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Get', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Get', points__pb2.GetPoints.SerializeToString, points__pb2.GetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateVectors(request, @@ -576,11 +627,21 @@ def UpdateVectors(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/UpdateVectors', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/UpdateVectors', points__pb2.UpdatePointVectors.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteVectors(request, @@ -593,11 +654,21 @@ def DeleteVectors(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/DeleteVectors', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/DeleteVectors', points__pb2.DeletePointVectors.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetPayload(request, @@ -610,11 +681,21 @@ def SetPayload(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/SetPayload', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/SetPayload', points__pb2.SetPayloadPoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def OverwritePayload(request, @@ -627,11 +708,21 @@ def OverwritePayload(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/OverwritePayload', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/OverwritePayload', points__pb2.SetPayloadPoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeletePayload(request, @@ -644,11 +735,21 @@ def DeletePayload(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/DeletePayload', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/DeletePayload', points__pb2.DeletePayloadPoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearPayload(request, @@ -661,11 +762,21 @@ def ClearPayload(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/ClearPayload', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/ClearPayload', points__pb2.ClearPayloadPoints.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateFieldIndex(request, @@ -678,11 +789,21 @@ def CreateFieldIndex(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/CreateFieldIndex', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/CreateFieldIndex', points__pb2.CreateFieldIndexCollection.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteFieldIndex(request, @@ -695,11 +816,21 @@ def DeleteFieldIndex(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/DeleteFieldIndex', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/DeleteFieldIndex', points__pb2.DeleteFieldIndexCollection.SerializeToString, points__pb2.PointsOperationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Search(request, @@ -712,11 +843,21 @@ def Search(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Search', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Search', points__pb2.SearchPoints.SerializeToString, points__pb2.SearchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SearchBatch(request, @@ -729,11 +870,21 @@ def SearchBatch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/SearchBatch', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/SearchBatch', points__pb2.SearchBatchPoints.SerializeToString, points__pb2.SearchBatchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SearchGroups(request, @@ -746,11 +897,21 @@ def SearchGroups(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/SearchGroups', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/SearchGroups', points__pb2.SearchPointGroups.SerializeToString, points__pb2.SearchGroupsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Scroll(request, @@ -763,11 +924,21 @@ def Scroll(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Scroll', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Scroll', points__pb2.ScrollPoints.SerializeToString, points__pb2.ScrollResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Recommend(request, @@ -780,11 +951,21 @@ def Recommend(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Recommend', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Recommend', points__pb2.RecommendPoints.SerializeToString, points__pb2.RecommendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RecommendBatch(request, @@ -797,11 +978,21 @@ def RecommendBatch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/RecommendBatch', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/RecommendBatch', points__pb2.RecommendBatchPoints.SerializeToString, points__pb2.RecommendBatchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RecommendGroups(request, @@ -814,11 +1005,21 @@ def RecommendGroups(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/RecommendGroups', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/RecommendGroups', points__pb2.RecommendPointGroups.SerializeToString, points__pb2.RecommendGroupsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Discover(request, @@ -831,11 +1032,21 @@ def Discover(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Discover', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Discover', points__pb2.DiscoverPoints.SerializeToString, points__pb2.DiscoverResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DiscoverBatch(request, @@ -848,11 +1059,21 @@ def DiscoverBatch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/DiscoverBatch', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/DiscoverBatch', points__pb2.DiscoverBatchPoints.SerializeToString, points__pb2.DiscoverBatchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Count(request, @@ -865,11 +1086,21 @@ def Count(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Count', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Count', points__pb2.CountPoints.SerializeToString, points__pb2.CountResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateBatch(request, @@ -882,11 +1113,21 @@ def UpdateBatch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/UpdateBatch', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/UpdateBatch', points__pb2.UpdateBatchPoints.SerializeToString, points__pb2.UpdateBatchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Query(request, @@ -899,11 +1140,21 @@ def Query(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Query', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Query', points__pb2.QueryPoints.SerializeToString, points__pb2.QueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryBatch(request, @@ -916,11 +1167,21 @@ def QueryBatch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/QueryBatch', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/QueryBatch', points__pb2.QueryBatchPoints.SerializeToString, points__pb2.QueryBatchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryGroups(request, @@ -933,11 +1194,21 @@ def QueryGroups(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/QueryGroups', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/QueryGroups', points__pb2.QueryPointGroups.SerializeToString, points__pb2.QueryGroupsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Facet(request, @@ -950,8 +1221,18 @@ def Facet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Points/Facet', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Points/Facet', points__pb2.FacetCounts.SerializeToString, points__pb2.FacetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/qdrant_client/grpc/qdrant_pb2.py b/qdrant_client/grpc/qdrant_pb2.py index a66a2427..c8e1c4e2 100644 --- a/qdrant_client/grpc/qdrant_pb2.py +++ b/qdrant_client/grpc/qdrant_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: qdrant.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'qdrant.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,16 +29,16 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cqdrant.proto\x12\x06qdrant\x1a\x19\x63ollections_service.proto\x1a\x14points_service.proto\x1a\x17snapshots_service.proto\"\x14\n\x12HealthCheckRequest\"R\n\x10HealthCheckReply\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x06\x63ommit\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_commit2O\n\x06Qdrant\x12\x45\n\x0bHealthCheck\x12\x1a.qdrant.HealthCheckRequest\x1a\x18.qdrant.HealthCheckReply\"\x00\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qdrant_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _HEALTHCHECKREQUEST._serialized_start=98 - _HEALTHCHECKREQUEST._serialized_end=118 - _HEALTHCHECKREPLY._serialized_start=120 - _HEALTHCHECKREPLY._serialized_end=202 - _QDRANT._serialized_start=204 - _QDRANT._serialized_end=283 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qdrant_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_HEALTHCHECKREQUEST']._serialized_start=98 + _globals['_HEALTHCHECKREQUEST']._serialized_end=118 + _globals['_HEALTHCHECKREPLY']._serialized_start=120 + _globals['_HEALTHCHECKREPLY']._serialized_end=202 + _globals['_QDRANT']._serialized_start=204 + _globals['_QDRANT']._serialized_end=283 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/qdrant_pb2_grpc.py b/qdrant_client/grpc/qdrant_pb2_grpc.py index d979410d..1fa1ceab 100644 --- a/qdrant_client/grpc/qdrant_pb2_grpc.py +++ b/qdrant_client/grpc/qdrant_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import qdrant_pb2 as qdrant__pb2 +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in qdrant_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class QdrantStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,7 +38,7 @@ def __init__(self, channel): '/qdrant.Qdrant/HealthCheck', request_serializer=qdrant__pb2.HealthCheckRequest.SerializeToString, response_deserializer=qdrant__pb2.HealthCheckReply.FromString, - ) + _registered_method=True) class QdrantServicer(object): @@ -42,6 +62,7 @@ def add_QdrantServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'qdrant.Qdrant', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('qdrant.Qdrant', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -59,8 +80,18 @@ def HealthCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Qdrant/HealthCheck', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Qdrant/HealthCheck', qdrant__pb2.HealthCheckRequest.SerializeToString, qdrant__pb2.HealthCheckReply.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/qdrant_client/grpc/snapshots_service_pb2.py b/qdrant_client/grpc/snapshots_service_pb2.py index ffca19d3..3863d582 100644 --- a/qdrant_client/grpc/snapshots_service_pb2.py +++ b/qdrant_client/grpc/snapshots_service_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: snapshots_service.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'snapshots_service.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,32 +27,32 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17snapshots_service.proto\x12\x06qdrant\x1a\x1fgoogle/protobuf/timestamp.proto\"\x1b\n\x19\x43reateFullSnapshotRequest\"\x1a\n\x18ListFullSnapshotsRequest\"2\n\x19\x44\x65leteFullSnapshotRequest\x12\x15\n\rsnapshot_name\x18\x01 \x01(\t\"0\n\x15\x43reateSnapshotRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"/\n\x14ListSnapshotsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\"G\n\x15\x44\x65leteSnapshotRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x15\n\rsnapshot_name\x18\x02 \x01(\t\"\x88\x01\n\x13SnapshotDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\rcreation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04size\x18\x03 \x01(\x03\x12\x15\n\x08\x63hecksum\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_checksum\"a\n\x16\x43reateSnapshotResponse\x12\x39\n\x14snapshot_description\x18\x01 \x01(\x0b\x32\x1b.qdrant.SnapshotDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\"a\n\x15ListSnapshotsResponse\x12:\n\x15snapshot_descriptions\x18\x01 \x03(\x0b\x32\x1b.qdrant.SnapshotDescription\x12\x0c\n\x04time\x18\x02 \x01(\x01\"&\n\x16\x44\x65leteSnapshotResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\x32\xdd\x03\n\tSnapshots\x12I\n\x06\x43reate\x12\x1d.qdrant.CreateSnapshotRequest\x1a\x1e.qdrant.CreateSnapshotResponse\"\x00\x12\x45\n\x04List\x12\x1c.qdrant.ListSnapshotsRequest\x1a\x1d.qdrant.ListSnapshotsResponse\"\x00\x12I\n\x06\x44\x65lete\x12\x1d.qdrant.DeleteSnapshotRequest\x1a\x1e.qdrant.DeleteSnapshotResponse\"\x00\x12Q\n\nCreateFull\x12!.qdrant.CreateFullSnapshotRequest\x1a\x1e.qdrant.CreateSnapshotResponse\"\x00\x12M\n\x08ListFull\x12 .qdrant.ListFullSnapshotsRequest\x1a\x1d.qdrant.ListSnapshotsResponse\"\x00\x12Q\n\nDeleteFull\x12!.qdrant.DeleteFullSnapshotRequest\x1a\x1e.qdrant.DeleteSnapshotResponse\"\x00\x42\x15\xaa\x02\x12Qdrant.Client.Grpcb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'snapshots_service_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\252\002\022Qdrant.Client.Grpc' - _CREATEFULLSNAPSHOTREQUEST._serialized_start=68 - _CREATEFULLSNAPSHOTREQUEST._serialized_end=95 - _LISTFULLSNAPSHOTSREQUEST._serialized_start=97 - _LISTFULLSNAPSHOTSREQUEST._serialized_end=123 - _DELETEFULLSNAPSHOTREQUEST._serialized_start=125 - _DELETEFULLSNAPSHOTREQUEST._serialized_end=175 - _CREATESNAPSHOTREQUEST._serialized_start=177 - _CREATESNAPSHOTREQUEST._serialized_end=225 - _LISTSNAPSHOTSREQUEST._serialized_start=227 - _LISTSNAPSHOTSREQUEST._serialized_end=274 - _DELETESNAPSHOTREQUEST._serialized_start=276 - _DELETESNAPSHOTREQUEST._serialized_end=347 - _SNAPSHOTDESCRIPTION._serialized_start=350 - _SNAPSHOTDESCRIPTION._serialized_end=486 - _CREATESNAPSHOTRESPONSE._serialized_start=488 - _CREATESNAPSHOTRESPONSE._serialized_end=585 - _LISTSNAPSHOTSRESPONSE._serialized_start=587 - _LISTSNAPSHOTSRESPONSE._serialized_end=684 - _DELETESNAPSHOTRESPONSE._serialized_start=686 - _DELETESNAPSHOTRESPONSE._serialized_end=724 - _SNAPSHOTS._serialized_start=727 - _SNAPSHOTS._serialized_end=1204 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'snapshots_service_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002\022Qdrant.Client.Grpc' + _globals['_CREATEFULLSNAPSHOTREQUEST']._serialized_start=68 + _globals['_CREATEFULLSNAPSHOTREQUEST']._serialized_end=95 + _globals['_LISTFULLSNAPSHOTSREQUEST']._serialized_start=97 + _globals['_LISTFULLSNAPSHOTSREQUEST']._serialized_end=123 + _globals['_DELETEFULLSNAPSHOTREQUEST']._serialized_start=125 + _globals['_DELETEFULLSNAPSHOTREQUEST']._serialized_end=175 + _globals['_CREATESNAPSHOTREQUEST']._serialized_start=177 + _globals['_CREATESNAPSHOTREQUEST']._serialized_end=225 + _globals['_LISTSNAPSHOTSREQUEST']._serialized_start=227 + _globals['_LISTSNAPSHOTSREQUEST']._serialized_end=274 + _globals['_DELETESNAPSHOTREQUEST']._serialized_start=276 + _globals['_DELETESNAPSHOTREQUEST']._serialized_end=347 + _globals['_SNAPSHOTDESCRIPTION']._serialized_start=350 + _globals['_SNAPSHOTDESCRIPTION']._serialized_end=486 + _globals['_CREATESNAPSHOTRESPONSE']._serialized_start=488 + _globals['_CREATESNAPSHOTRESPONSE']._serialized_end=585 + _globals['_LISTSNAPSHOTSRESPONSE']._serialized_start=587 + _globals['_LISTSNAPSHOTSRESPONSE']._serialized_end=684 + _globals['_DELETESNAPSHOTRESPONSE']._serialized_start=686 + _globals['_DELETESNAPSHOTRESPONSE']._serialized_end=724 + _globals['_SNAPSHOTS']._serialized_start=727 + _globals['_SNAPSHOTS']._serialized_end=1204 # @@protoc_insertion_point(module_scope) diff --git a/qdrant_client/grpc/snapshots_service_pb2_grpc.py b/qdrant_client/grpc/snapshots_service_pb2_grpc.py index 76c0f20e..c97c08f8 100644 --- a/qdrant_client/grpc/snapshots_service_pb2_grpc.py +++ b/qdrant_client/grpc/snapshots_service_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import snapshots_service_pb2 as snapshots__service__pb2 +GRPC_GENERATED_VERSION = '1.66.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in snapshots_service_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SnapshotsStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,32 +38,32 @@ def __init__(self, channel): '/qdrant.Snapshots/Create', request_serializer=snapshots__service__pb2.CreateSnapshotRequest.SerializeToString, response_deserializer=snapshots__service__pb2.CreateSnapshotResponse.FromString, - ) + _registered_method=True) self.List = channel.unary_unary( '/qdrant.Snapshots/List', request_serializer=snapshots__service__pb2.ListSnapshotsRequest.SerializeToString, response_deserializer=snapshots__service__pb2.ListSnapshotsResponse.FromString, - ) + _registered_method=True) self.Delete = channel.unary_unary( '/qdrant.Snapshots/Delete', request_serializer=snapshots__service__pb2.DeleteSnapshotRequest.SerializeToString, response_deserializer=snapshots__service__pb2.DeleteSnapshotResponse.FromString, - ) + _registered_method=True) self.CreateFull = channel.unary_unary( '/qdrant.Snapshots/CreateFull', request_serializer=snapshots__service__pb2.CreateFullSnapshotRequest.SerializeToString, response_deserializer=snapshots__service__pb2.CreateSnapshotResponse.FromString, - ) + _registered_method=True) self.ListFull = channel.unary_unary( '/qdrant.Snapshots/ListFull', request_serializer=snapshots__service__pb2.ListFullSnapshotsRequest.SerializeToString, response_deserializer=snapshots__service__pb2.ListSnapshotsResponse.FromString, - ) + _registered_method=True) self.DeleteFull = channel.unary_unary( '/qdrant.Snapshots/DeleteFull', request_serializer=snapshots__service__pb2.DeleteFullSnapshotRequest.SerializeToString, response_deserializer=snapshots__service__pb2.DeleteSnapshotResponse.FromString, - ) + _registered_method=True) class SnapshotsServicer(object): @@ -134,6 +154,7 @@ def add_SnapshotsServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'qdrant.Snapshots', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('qdrant.Snapshots', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -151,11 +172,21 @@ def Create(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/Create', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/Create', snapshots__service__pb2.CreateSnapshotRequest.SerializeToString, snapshots__service__pb2.CreateSnapshotResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def List(request, @@ -168,11 +199,21 @@ def List(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/List', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/List', snapshots__service__pb2.ListSnapshotsRequest.SerializeToString, snapshots__service__pb2.ListSnapshotsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Delete(request, @@ -185,11 +226,21 @@ def Delete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/Delete', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/Delete', snapshots__service__pb2.DeleteSnapshotRequest.SerializeToString, snapshots__service__pb2.DeleteSnapshotResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateFull(request, @@ -202,11 +253,21 @@ def CreateFull(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/CreateFull', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/CreateFull', snapshots__service__pb2.CreateFullSnapshotRequest.SerializeToString, snapshots__service__pb2.CreateSnapshotResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListFull(request, @@ -219,11 +280,21 @@ def ListFull(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/ListFull', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/ListFull', snapshots__service__pb2.ListFullSnapshotsRequest.SerializeToString, snapshots__service__pb2.ListSnapshotsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteFull(request, @@ -236,8 +307,18 @@ def DeleteFull(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/qdrant.Snapshots/DeleteFull', + return grpc.experimental.unary_unary( + request, + target, + '/qdrant.Snapshots/DeleteFull', snapshots__service__pb2.DeleteFullSnapshotRequest.SerializeToString, snapshots__service__pb2.DeleteSnapshotResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/qdrant_client/proto/collections.proto b/qdrant_client/proto/collections.proto index ced2e2de..d5a95616 100644 --- a/qdrant_client/proto/collections.proto +++ b/qdrant_client/proto/collections.proto @@ -310,6 +310,18 @@ enum ShardingMethod { Custom = 1; // Shard by user-defined key } +message StrictModeConfig { + optional bool enabled = 1; + optional uint32 max_query_limit = 2; + optional uint32 max_timeout = 3; + optional bool unindexed_filtering_retrieve = 4; + optional bool unindexed_filtering_update = 5; + + optional uint32 search_max_hnsw_ef = 6; + optional bool search_allow_exact = 7; + optional float search_max_oversampling = 8; +} + message CreateCollection { string collection_name = 1; // Name of the collection reserved 2; // Deprecated @@ -327,6 +339,7 @@ message CreateCollection { optional QuantizationConfig quantization_config = 14; // Quantization configuration of vector optional ShardingMethod sharding_method = 15; // Sharding method optional SparseVectorConfig sparse_vectors_config = 16; // Configuration for sparse vectors + optional StrictModeConfig strict_mode_config = 17; // Configuration for strict mode } message UpdateCollection { @@ -376,6 +389,7 @@ message CollectionConfig { OptimizersConfigDiff optimizer_config = 3; // Configuration of the optimizers WalConfigDiff wal_config = 4; // Configuration of the Write-Ahead-Log optional QuantizationConfig quantization_config = 5; // Configuration of the vector quantization + optional StrictModeConfig strict_mode_config = 6; // Configuration of strict mode. } enum TokenizerType { diff --git a/tools/generate_grpc_client.sh b/tools/generate_grpc_client.sh index d6562b78..beb9744a 100755 --- a/tools/generate_grpc_client.sh +++ b/tools/generate_grpc_client.sh @@ -4,8 +4,8 @@ set -e PROJECT_ROOT="$(pwd)/$(dirname "$0")/../" -#pip install grpcio==1.48.2 -#pip install grpcio-tools==1.48.2 +pip install grpcio==1.48.2 +pip install grpcio-tools==1.48.2 cd $(mktemp -d)