# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: swarndb/v1/vector_math.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
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,
    6,
    31,
    1,
    '',
    'swarndb/v1/vector_math.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import common_pb2 as swarndb_dot_v1_dot_common__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cswarndb/v1/vector_math.proto\x12\nswarndb.v1\x1a\x17swarndb/v1/common.proto\"\x83\x01\n\x13\x44\x65tectGhostsRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x11\n\tthreshold\x18\x02 \x01(\x02\x12%\n\tcentroids\x18\x03 \x03(\x0b\x32\x12.swarndb.v1.Vector\x12\x0e\n\x06\x61uto_k\x18\x04 \x01(\r\x12\x0e\n\x06metric\x18\x05 \x01(\t\"2\n\x0bGhostVector\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x17\n\x0fisolation_score\x18\x02 \x01(\x02\"X\n\x14\x44\x65tectGhostsResponse\x12\'\n\x06ghosts\x18\x01 \x03(\x0b\x32\x17.swarndb.v1.GhostVector\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\"h\n\x11\x43oneSearchRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12%\n\tdirection\x18\x02 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x18\n\x10\x61perture_radians\x18\x03 \x01(\x02\"P\n\x10\x43oneSearchResult\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x19\n\x11\x63osine_similarity\x18\x02 \x01(\x02\x12\x15\n\rangle_radians\x18\x03 \x01(\x02\"\\\n\x12\x43oneSearchResponse\x12-\n\x07results\x18\x01 \x03(\x0b\x32\x1c.swarndb.v1.ConeSearchResult\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\"Q\n\x16\x43omputeCentroidRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x12\n\nvector_ids\x18\x02 \x03(\x04\x12\x0f\n\x07weights\x18\x03 \x03(\x02\"X\n\x17\x43omputeCentroidResponse\x12$\n\x08\x63\x65ntroid\x18\x01 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\"\x85\x01\n\x12InterpolateRequest\x12\x1d\n\x01\x61\x18\x01 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x1d\n\x01\x62\x18\x02 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\t\n\x01t\x18\x03 \x01(\x02\x12\x0e\n\x06method\x18\x04 \x01(\t\x12\x16\n\x0esequence_count\x18\x05 \x01(\r\"S\n\x13InterpolateResponse\x12#\n\x07results\x18\x01 \x03(\x0b\x32\x12.swarndb.v1.Vector\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\"u\n\x12\x44\x65tectDriftRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x13\n\x0bwindow1_ids\x18\x02 \x03(\x04\x12\x13\n\x0bwindow2_ids\x18\x03 \x03(\x04\x12\x0e\n\x06metric\x18\x04 \x01(\t\x12\x11\n\tthreshold\x18\x05 \x01(\x02\"\xb0\x01\n\x13\x44\x65tectDriftResponse\x12\x16\n\x0e\x63\x65ntroid_shift\x18\x01 \x01(\x02\x12\x1d\n\x15mean_distance_window1\x18\x02 \x01(\x02\x12\x1d\n\x15mean_distance_window2\x18\x03 \x01(\x02\x12\x15\n\rspread_change\x18\x04 \x01(\x02\x12\x13\n\x0bhas_drifted\x18\x05 \x01(\x08\x12\x17\n\x0f\x63ompute_time_us\x18\x06 \x01(\x04\"j\n\x0e\x43lusterRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\t\n\x01k\x18\x02 \x01(\r\x12\x16\n\x0emax_iterations\x18\x03 \x01(\r\x12\x11\n\ttolerance\x18\x04 \x01(\x02\x12\x0e\n\x06metric\x18\x05 \x01(\t\"S\n\x16\x43lusterAssignmentProto\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07\x63luster\x18\x02 \x01(\r\x12\x1c\n\x14\x64istance_to_centroid\x18\x03 \x01(\x02\"\xb1\x01\n\x0f\x43lusterResponse\x12%\n\tcentroids\x18\x01 \x03(\x0b\x32\x12.swarndb.v1.Vector\x12\x37\n\x0b\x61ssignments\x18\x02 \x03(\x0b\x32\".swarndb.v1.ClusterAssignmentProto\x12\x12\n\niterations\x18\x03 \x01(\r\x12\x11\n\tconverged\x18\x04 \x01(\x08\x12\x17\n\x0f\x63ompute_time_us\x18\x05 \x01(\x04\"W\n\x17ReduceDimensionsRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x14\n\x0cn_components\x18\x02 \x01(\r\x12\x12\n\nvector_ids\x18\x03 \x03(\x04\"\xc0\x01\n\x18ReduceDimensionsResponse\x12&\n\ncomponents\x18\x01 \x03(\x0b\x32\x12.swarndb.v1.Vector\x12\x1a\n\x12\x65xplained_variance\x18\x02 \x03(\x02\x12 \n\x04mean\x18\x03 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12%\n\tprojected\x18\x04 \x03(\x0b\x32\x12.swarndb.v1.Vector\x12\x17\n\x0f\x63ompute_time_us\x18\x05 \x01(\x04\"\xb2\x01\n\x15\x43omputeAnalogyRequest\x12\x1d\n\x01\x61\x18\x01 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x1d\n\x01\x62\x18\x02 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x1d\n\x01\x63\x18\x03 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x11\n\tnormalize\x18\x04 \x01(\x08\x12)\n\x05terms\x18\x05 \x03(\x0b\x32\x1a.swarndb.v1.ArithmeticTerm\"D\n\x0e\x41rithmeticTerm\x12\"\n\x06vector\x18\x01 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x0e\n\x06weight\x18\x02 \x01(\x02\"U\n\x16\x43omputeAnalogyResponse\x12\"\n\x06result\x18\x01 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\"\x81\x01\n\x16\x44iversitySampleRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12!\n\x05query\x18\x02 \x01(\x0b\x32\x12.swarndb.v1.Vector\x12\t\n\x01k\x18\x03 \x01(\r\x12\x0e\n\x06lambda\x18\x04 \x01(\x02\x12\x15\n\rcandidate_ids\x18\x05 \x03(\x04\"O\n\x15\x44iversitySampleResult\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x17\n\x0frelevance_score\x18\x02 \x01(\x02\x12\x11\n\tmmr_score\x18\x03 \x01(\x02\"f\n\x17\x44iversitySampleResponse\x12\x32\n\x07results\x18\x01 \x03(\x0b\x32!.swarndb.v1.DiversitySampleResult\x12\x17\n\x0f\x63ompute_time_us\x18\x02 \x01(\x04\x32\x87\x06\n\x11VectorMathService\x12Q\n\x0c\x44\x65tectGhosts\x12\x1f.swarndb.v1.DetectGhostsRequest\x1a .swarndb.v1.DetectGhostsResponse\x12K\n\nConeSearch\x12\x1d.swarndb.v1.ConeSearchRequest\x1a\x1e.swarndb.v1.ConeSearchResponse\x12Z\n\x0f\x43omputeCentroid\x12\".swarndb.v1.ComputeCentroidRequest\x1a#.swarndb.v1.ComputeCentroidResponse\x12N\n\x0bInterpolate\x12\x1e.swarndb.v1.InterpolateRequest\x1a\x1f.swarndb.v1.InterpolateResponse\x12N\n\x0b\x44\x65tectDrift\x12\x1e.swarndb.v1.DetectDriftRequest\x1a\x1f.swarndb.v1.DetectDriftResponse\x12\x42\n\x07\x43luster\x12\x1a.swarndb.v1.ClusterRequest\x1a\x1b.swarndb.v1.ClusterResponse\x12]\n\x10ReduceDimensions\x12#.swarndb.v1.ReduceDimensionsRequest\x1a$.swarndb.v1.ReduceDimensionsResponse\x12W\n\x0e\x43omputeAnalogy\x12!.swarndb.v1.ComputeAnalogyRequest\x1a\".swarndb.v1.ComputeAnalogyResponse\x12Z\n\x0f\x44iversitySample\x12\".swarndb.v1.DiversitySampleRequest\x1a#.swarndb.v1.DiversitySampleResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'swarndb.v1.vector_math_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_DETECTGHOSTSREQUEST']._serialized_start=70
  _globals['_DETECTGHOSTSREQUEST']._serialized_end=201
  _globals['_GHOSTVECTOR']._serialized_start=203
  _globals['_GHOSTVECTOR']._serialized_end=253
  _globals['_DETECTGHOSTSRESPONSE']._serialized_start=255
  _globals['_DETECTGHOSTSRESPONSE']._serialized_end=343
  _globals['_CONESEARCHREQUEST']._serialized_start=345
  _globals['_CONESEARCHREQUEST']._serialized_end=449
  _globals['_CONESEARCHRESULT']._serialized_start=451
  _globals['_CONESEARCHRESULT']._serialized_end=531
  _globals['_CONESEARCHRESPONSE']._serialized_start=533
  _globals['_CONESEARCHRESPONSE']._serialized_end=625
  _globals['_COMPUTECENTROIDREQUEST']._serialized_start=627
  _globals['_COMPUTECENTROIDREQUEST']._serialized_end=708
  _globals['_COMPUTECENTROIDRESPONSE']._serialized_start=710
  _globals['_COMPUTECENTROIDRESPONSE']._serialized_end=798
  _globals['_INTERPOLATEREQUEST']._serialized_start=801
  _globals['_INTERPOLATEREQUEST']._serialized_end=934
  _globals['_INTERPOLATERESPONSE']._serialized_start=936
  _globals['_INTERPOLATERESPONSE']._serialized_end=1019
  _globals['_DETECTDRIFTREQUEST']._serialized_start=1021
  _globals['_DETECTDRIFTREQUEST']._serialized_end=1138
  _globals['_DETECTDRIFTRESPONSE']._serialized_start=1141
  _globals['_DETECTDRIFTRESPONSE']._serialized_end=1317
  _globals['_CLUSTERREQUEST']._serialized_start=1319
  _globals['_CLUSTERREQUEST']._serialized_end=1425
  _globals['_CLUSTERASSIGNMENTPROTO']._serialized_start=1427
  _globals['_CLUSTERASSIGNMENTPROTO']._serialized_end=1510
  _globals['_CLUSTERRESPONSE']._serialized_start=1513
  _globals['_CLUSTERRESPONSE']._serialized_end=1690
  _globals['_REDUCEDIMENSIONSREQUEST']._serialized_start=1692
  _globals['_REDUCEDIMENSIONSREQUEST']._serialized_end=1779
  _globals['_REDUCEDIMENSIONSRESPONSE']._serialized_start=1782
  _globals['_REDUCEDIMENSIONSRESPONSE']._serialized_end=1974
  _globals['_COMPUTEANALOGYREQUEST']._serialized_start=1977
  _globals['_COMPUTEANALOGYREQUEST']._serialized_end=2155
  _globals['_ARITHMETICTERM']._serialized_start=2157
  _globals['_ARITHMETICTERM']._serialized_end=2225
  _globals['_COMPUTEANALOGYRESPONSE']._serialized_start=2227
  _globals['_COMPUTEANALOGYRESPONSE']._serialized_end=2312
  _globals['_DIVERSITYSAMPLEREQUEST']._serialized_start=2315
  _globals['_DIVERSITYSAMPLEREQUEST']._serialized_end=2444
  _globals['_DIVERSITYSAMPLERESULT']._serialized_start=2446
  _globals['_DIVERSITYSAMPLERESULT']._serialized_end=2525
  _globals['_DIVERSITYSAMPLERESPONSE']._serialized_start=2527
  _globals['_DIVERSITYSAMPLERESPONSE']._serialized_end=2629
  _globals['_VECTORMATHSERVICE']._serialized_start=2632
  _globals['_VECTORMATHSERVICE']._serialized_end=3407
# @@protoc_insertion_point(module_scope)
