tidevec 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,123 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: tidevec.proto
5
+ # Protobuf Python Version: 6.33.5
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 5,
17
+ '',
18
+ 'tidevec.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x63ortexdb.proto\x12\x0b\x63ortexdb.v1\"t\n\x0eTemporalConfig\x12\x14\n\x0chalf_life_ms\x18\x01 \x01(\x03\x12\x16\n\x0etemporal_blend\x18\x02 \x01(\x02\x12\x1b\n\x13staleness_threshold\x18\x03 \x01(\x02\x12\x17\n\x0ftemporal_cutoff\x18\x04 \x01(\x02\"\x84\x01\n\x0c\x41gentContext\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x1a\n\x12memory_ttl_seconds\x18\x02 \x01(\x03\x12\x17\n\x0f\x64\x65\x64up_threshold\x18\x03 \x01(\x02\x12\x1c\n\x14\x63ross_agent_readable\x18\x04 \x03(\t\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\"\xb8\x01\n\x0e\x43ollectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tn_vectors\x18\x02 \x01(\x04\x12\x10\n\x08n_shards\x18\x03 \x01(\r\x12\x0b\n\x03\x64im\x18\x04 \x01(\r\x12\x12\n\nindex_type\x18\x05 \x01(\t\x12#\n\x06metric\x18\x06 \x01(\x0e\x32\x13.tidevec.v1.Metric\x12-\n\x08temporal\x18\x07 \x01(\x0b\x32\x1b.tidevec.v1.TemporalConfig\"\x82\x02\n\x17\x43reateCollectionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64im\x18\x02 \x01(\r\x12\x12\n\nindex_type\x18\x03 \x01(\t\x12#\n\x06metric\x18\x04 \x01(\x0e\x32\x13.tidevec.v1.Metric\x12\x10\n\x08n_shards\x18\x05 \x01(\r\x12\x12\n\nn_replicas\x18\x06 \x01(\r\x12\x14\n\x0cwrite_quorum\x18\x07 \x01(\r\x12-\n\x08temporal\x18\x08 \x01(\x0b\x32\x1b.tidevec.v1.TemporalConfig\x12(\n\x05\x61gent\x18\t \x01(\x0b\x32\x19.tidevec.v1.AgentContext\"8\n\x18\x43reateCollectionResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\"%\n\x15\x44ropCollectionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"(\n\x16\x44ropCollectionResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"$\n\x14GetCollectionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"B\n\x15GetCollectionResponse\x12)\n\x04info\x18\x01 \x01(\x0b\x32\x1b.tidevec.v1.CollectionInfo\"\x18\n\x16ListCollectionsRequest\"K\n\x17ListCollectionsResponse\x12\x30\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x1b.tidevec.v1.CollectionInfo\"R\n\x15UpdateTemporalRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12+\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1b.tidevec.v1.TemporalConfig\"(\n\x16UpdateTemporalResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"T\n\nCausalEdge\x12\x11\n\ttarget_id\x18\x01 \x01(\t\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.tidevec.v1.EdgeType\x12\x0e\n\x06weight\x18\x03 \x01(\x02\"\x88\x02\n\x06Vector\x12\n\n\x02id\x18\x01 \x01(\t\x12\x15\n\tembedding\x18\x02 \x03(\x02\x42\x02\x10\x01\x12\x31\n\x07payload\x18\x03 \x03(\x0b\x32 .tidevec.v1.Vector.PayloadEntry\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x12\n\nvalid_from\x18\x05 \x01(\x03\x12\x13\n\x0bvalid_until\x18\x06 \x01(\x03\x12\x13\n\x0bttl_seconds\x18\x07 \x01(\x03\x12&\n\x05\x65\x64ges\x18\x08 \x03(\x0b\x32\x17.tidevec.v1.CausalEdge\x1a.\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\rUpsertRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12$\n\x07vectors\x18\x02 \x03(\x0b\x32\x13.tidevec.v1.Vector\"/\n\x0eUpsertResponse\x12\x10\n\x08inserted\x18\x01 \x01(\x04\x12\x0b\n\x03ids\x18\x02 \x03(\t\"0\n\rDeleteRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x0b\n\x03ids\x18\x02 \x03(\t\"!\n\x0e\x44\x65leteResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x04\"\x9e\x02\n\rSearchOptions\x12\r\n\x05top_k\x18\x01 \x01(\r\x12\x16\n\x0etemporal_blend\x18\x02 \x01(\x02\x12$\n\x04mode\x18\x03 \x01(\x0e\x32\x16.tidevec.v1.QueryMode\x12\x13\n\x0b\x63\x61usal_hops\x18\x04 \x01(\r\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12#\n\x06metric\x18\x06 \x01(\x0e\x32\x13.tidevec.v1.Metric\x12\x15\n\rinclude_trace\x18\x07 \x01(\x08\x12\"\n\x1ainclude_staleness_warnings\x18\x08 \x01(\x08\x12\x11\n\tef_search\x18\t \x01(\r\x12(\n\x0b\x64\x65vice_hint\x18\n \x01(\x0e\x32\x13.tidevec.v1.Device\"X\n\x10StalenessWarning\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x61ge_days\x18\x02 \x01(\x03\x12\x16\n\x0etemporal_score\x18\x03 \x01(\x02\x12\x0e\n\x06reason\x18\x04 \x01(\t\"U\n\x12\x43ontradictionAlert\x12\x11\n\tresult_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63ontradicted_by\x18\x02 \x01(\t\x12\x13\n\x0b\x65\x64ge_weight\x18\x03 \x01(\x02\"\xda\x02\n\x0eRetrievalTrace\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x10\n\x08strategy\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x11\n\tef_search\x18\x04 \x01(\r\x12\x1d\n\x15\x64istance_computations\x18\x05 \x01(\x04\x12\x18\n\x10\x65stimated_recall\x18\x06 \x01(\x02\x12\x1a\n\x12\x61vg_temporal_score\x18\x07 \x01(\x02\x12\x12\n\nlatency_ms\x18\x08 \x01(\x01\x12\x39\n\x12staleness_warnings\x18\t \x03(\x0b\x32\x1d.tidevec.v1.StalenessWarning\x12=\n\x14\x63ontradiction_alerts\x18\n \x03(\x0b\x32\x1f.tidevec.v1.ContradictionAlert\x12\x15\n\rotel_trace_id\x18\x0b \x01(\t\"\xbc\x02\n\x0cSearchResult\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05score\x18\x02 \x01(\x02\x12\x14\n\x0cvector_score\x18\x03 \x01(\x02\x12\x16\n\x0etemporal_score\x18\x04 \x01(\x02\x12\x37\n\x07payload\x18\x05 \x03(\x0b\x32&.tidevec.v1.SearchResult.PayloadEntry\x12\x12\n\ncreated_at\x18\x06 \x01(\x03\x12\x19\n\x11staleness_warning\x18\x07 \x01(\x08\x12\x18\n\x10staleness_reason\x18\x08 \x01(\t\x12\x18\n\x10\x63\x61usal_neighbors\x18\t \x03(\t\x12\x17\n\x0f\x63ontradicted_by\x18\n \x03(\t\x1a.\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"d\n\rSearchRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x12\n\x06vector\x18\x02 \x03(\x02\x42\x02\x10\x01\x12+\n\x07options\x18\x03 \x01(\x0b\x32\x1a.tidevec.v1.SearchOptions\"w\n\x0eSearchResponse\x12*\n\x07results\x18\x01 \x03(\x0b\x32\x19.tidevec.v1.SearchResult\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\x12*\n\x05trace\x18\x03 \x01(\x0b\x32\x1b.tidevec.v1.RetrievalTrace\"U\n\x12\x42\x61tchSearchRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12+\n\x07queries\x18\x02 \x03(\x0b\x32\x1a.tidevec.v1.SearchRequest\"E\n\x13\x42\x61tchSearchResponse\x12.\n\tresponses\x18\x01 \x03(\x0b\x32\x1b.tidevec.v1.SearchResponse\"U\n\x04\x45\x64ge\x12\x0b\n\x03src\x18\x01 \x01(\t\x12\x0b\n\x03tgt\x18\x02 \x01(\t\x12#\n\x04type\x18\x03 \x01(\x0e\x32\x15.tidevec.v1.EdgeType\x12\x0e\n\x06weight\x18\x04 \x01(\x02\"G\n\x0f\x41\x64\x64\x45\x64gesRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12 \n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x11.tidevec.v1.Edge\"!\n\x10\x41\x64\x64\x45\x64gesResponse\x12\r\n\x05\x61\x64\x64\x65\x64\x18\x01 \x01(\x04\"\x0f\n\rHealthRequest\"\x8a\x01\n\x0eHealthResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x63ollections\x18\x03 \x01(\x04\x12\x14\n\x0ctimestamp_ms\x18\x04 \x01(\x04\x12\x15\n\rgpu_available\x18\x05 \x01(\x08\x12\x15\n\rtpu_available\x18\x06 \x01(\x08*%\n\x06Metric\x12\n\n\x06\x43OSINE\x10\x00\x12\x06\n\x02L2\x10\x01\x12\x07\n\x03\x44OT\x10\x02*\\\n\tQueryMode\x12\x0f\n\x0bVECTOR_ONLY\x10\x00\x12\x11\n\rCAUSAL_EXPAND\x10\x01\x12\x17\n\x13\x43ONTRADICTION_CHECK\x10\x02\x12\x12\n\x0e\x45NTITY_RESOLVE\x10\x03*a\n\x08\x45\x64geType\x12\n\n\x06\x43\x41USES\x10\x00\x12\x0f\n\x0b\x43ONTRADICTS\x10\x01\x12\x0b\n\x07UPDATES\x10\x02\x12\x0e\n\nRELATED_TO\x10\x03\x12\r\n\tENTITY_OF\x10\x04\x12\x0c\n\x08SUPPORTS\x10\x05*-\n\x06\x44\x65vice\x12\x08\n\x04\x41UTO\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x12\x07\n\x03TPU\x10\x03\x32\x91\x08\n\x08\x43ortexDB\x12_\n\x10\x43reateCollection\x12$.tidevec.v1.CreateCollectionRequest\x1a%.tidevec.v1.CreateCollectionResponse\x12Y\n\x0e\x44ropCollection\x12\".tidevec.v1.DropCollectionRequest\x1a#.tidevec.v1.DropCollectionResponse\x12V\n\rGetCollection\x12!.tidevec.v1.GetCollectionRequest\x1a\".tidevec.v1.GetCollectionResponse\x12\\\n\x0fListCollections\x12#.tidevec.v1.ListCollectionsRequest\x1a$.tidevec.v1.ListCollectionsResponse\x12Y\n\x0eUpdateTemporal\x12\".tidevec.v1.UpdateTemporalRequest\x1a#.tidevec.v1.UpdateTemporalResponse\x12\x41\n\x06Upsert\x12\x1a.tidevec.v1.UpsertRequest\x1a\x1b.tidevec.v1.UpsertResponse\x12\x41\n\x06\x44\x65lete\x12\x1a.tidevec.v1.DeleteRequest\x1a\x1b.tidevec.v1.DeleteResponse\x12H\n\x0b\x42\x61tchUpsert\x12\x1a.tidevec.v1.UpsertRequest\x1a\x1b.tidevec.v1.UpsertResponse(\x01\x12\x41\n\x06Search\x12\x1a.tidevec.v1.SearchRequest\x1a\x1b.tidevec.v1.SearchResponse\x12P\n\x0b\x42\x61tchSearch\x12\x1f.tidevec.v1.BatchSearchRequest\x1a .tidevec.v1.BatchSearchResponse\x12G\n\x0cSearchStream\x12\x1a.tidevec.v1.SearchRequest\x1a\x19.tidevec.v1.SearchResult0\x01\x12G\n\x08\x41\x64\x64\x45\x64ges\x12\x1c.tidevec.v1.AddEdgesRequest\x1a\x1d.tidevec.v1.AddEdgesResponse\x12\x41\n\x06Health\x12\x1a.tidevec.v1.HealthRequest\x1a\x1b.tidevec.v1.HealthResponseBZ\n\x0bio.tidevecB\rTideVecProtoP\x01Z:github.com/ashishodu2023/TideVec/sdk/go/tidevec;tidevecb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tidevec_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013io.tidevecB\rTideVecProtoP\001Z:github.com/ashishodu2023/TideVec/sdk/go/tidevec;tidevec'
35
+ _globals['_VECTOR_PAYLOADENTRY']._loaded_options = None
36
+ _globals['_VECTOR_PAYLOADENTRY']._serialized_options = b'8\001'
37
+ _globals['_VECTOR'].fields_by_name['embedding']._loaded_options = None
38
+ _globals['_VECTOR'].fields_by_name['embedding']._serialized_options = b'\020\001'
39
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._loaded_options = None
40
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._serialized_options = b'8\001'
41
+ _globals['_SEARCHREQUEST'].fields_by_name['vector']._loaded_options = None
42
+ _globals['_SEARCHREQUEST'].fields_by_name['vector']._serialized_options = b'\020\001'
43
+ _globals['_METRIC']._serialized_start=3636
44
+ _globals['_METRIC']._serialized_end=3673
45
+ _globals['_QUERYMODE']._serialized_start=3675
46
+ _globals['_QUERYMODE']._serialized_end=3767
47
+ _globals['_EDGETYPE']._serialized_start=3769
48
+ _globals['_EDGETYPE']._serialized_end=3866
49
+ _globals['_DEVICE']._serialized_start=3868
50
+ _globals['_DEVICE']._serialized_end=3913
51
+ _globals['_TEMPORALCONFIG']._serialized_start=31
52
+ _globals['_TEMPORALCONFIG']._serialized_end=147
53
+ _globals['_AGENTCONTEXT']._serialized_start=150
54
+ _globals['_AGENTCONTEXT']._serialized_end=282
55
+ _globals['_COLLECTIONINFO']._serialized_start=285
56
+ _globals['_COLLECTIONINFO']._serialized_end=469
57
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_start=472
58
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_end=730
59
+ _globals['_CREATECOLLECTIONRESPONSE']._serialized_start=732
60
+ _globals['_CREATECOLLECTIONRESPONSE']._serialized_end=788
61
+ _globals['_DROPCOLLECTIONREQUEST']._serialized_start=790
62
+ _globals['_DROPCOLLECTIONREQUEST']._serialized_end=827
63
+ _globals['_DROPCOLLECTIONRESPONSE']._serialized_start=829
64
+ _globals['_DROPCOLLECTIONRESPONSE']._serialized_end=869
65
+ _globals['_GETCOLLECTIONREQUEST']._serialized_start=871
66
+ _globals['_GETCOLLECTIONREQUEST']._serialized_end=907
67
+ _globals['_GETCOLLECTIONRESPONSE']._serialized_start=909
68
+ _globals['_GETCOLLECTIONRESPONSE']._serialized_end=975
69
+ _globals['_LISTCOLLECTIONSREQUEST']._serialized_start=977
70
+ _globals['_LISTCOLLECTIONSREQUEST']._serialized_end=1001
71
+ _globals['_LISTCOLLECTIONSRESPONSE']._serialized_start=1003
72
+ _globals['_LISTCOLLECTIONSRESPONSE']._serialized_end=1078
73
+ _globals['_UPDATETEMPORALREQUEST']._serialized_start=1080
74
+ _globals['_UPDATETEMPORALREQUEST']._serialized_end=1162
75
+ _globals['_UPDATETEMPORALRESPONSE']._serialized_start=1164
76
+ _globals['_UPDATETEMPORALRESPONSE']._serialized_end=1204
77
+ _globals['_CAUSALEDGE']._serialized_start=1206
78
+ _globals['_CAUSALEDGE']._serialized_end=1290
79
+ _globals['_VECTOR']._serialized_start=1293
80
+ _globals['_VECTOR']._serialized_end=1557
81
+ _globals['_VECTOR_PAYLOADENTRY']._serialized_start=1511
82
+ _globals['_VECTOR_PAYLOADENTRY']._serialized_end=1557
83
+ _globals['_UPSERTREQUEST']._serialized_start=1559
84
+ _globals['_UPSERTREQUEST']._serialized_end=1632
85
+ _globals['_UPSERTRESPONSE']._serialized_start=1634
86
+ _globals['_UPSERTRESPONSE']._serialized_end=1681
87
+ _globals['_DELETEREQUEST']._serialized_start=1683
88
+ _globals['_DELETEREQUEST']._serialized_end=1731
89
+ _globals['_DELETERESPONSE']._serialized_start=1733
90
+ _globals['_DELETERESPONSE']._serialized_end=1766
91
+ _globals['_SEARCHOPTIONS']._serialized_start=1769
92
+ _globals['_SEARCHOPTIONS']._serialized_end=2055
93
+ _globals['_STALENESSWARNING']._serialized_start=2057
94
+ _globals['_STALENESSWARNING']._serialized_end=2145
95
+ _globals['_CONTRADICTIONALERT']._serialized_start=2147
96
+ _globals['_CONTRADICTIONALERT']._serialized_end=2232
97
+ _globals['_RETRIEVALTRACE']._serialized_start=2235
98
+ _globals['_RETRIEVALTRACE']._serialized_end=2581
99
+ _globals['_SEARCHRESULT']._serialized_start=2584
100
+ _globals['_SEARCHRESULT']._serialized_end=2900
101
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._serialized_start=1511
102
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._serialized_end=1557
103
+ _globals['_SEARCHREQUEST']._serialized_start=2902
104
+ _globals['_SEARCHREQUEST']._serialized_end=3002
105
+ _globals['_SEARCHRESPONSE']._serialized_start=3004
106
+ _globals['_SEARCHRESPONSE']._serialized_end=3123
107
+ _globals['_BATCHSEARCHREQUEST']._serialized_start=3125
108
+ _globals['_BATCHSEARCHREQUEST']._serialized_end=3210
109
+ _globals['_BATCHSEARCHRESPONSE']._serialized_start=3212
110
+ _globals['_BATCHSEARCHRESPONSE']._serialized_end=3281
111
+ _globals['_EDGE']._serialized_start=3283
112
+ _globals['_EDGE']._serialized_end=3368
113
+ _globals['_ADDEDGESREQUEST']._serialized_start=3370
114
+ _globals['_ADDEDGESREQUEST']._serialized_end=3441
115
+ _globals['_ADDEDGESRESPONSE']._serialized_start=3443
116
+ _globals['_ADDEDGESRESPONSE']._serialized_end=3476
117
+ _globals['_HEALTHREQUEST']._serialized_start=3478
118
+ _globals['_HEALTHREQUEST']._serialized_end=3493
119
+ _globals['_HEALTHRESPONSE']._serialized_start=3496
120
+ _globals['_HEALTHRESPONSE']._serialized_end=3634
121
+ _globals['_TIDEVEC']._serialized_start=3916
122
+ _globals['_TIDEVEC']._serialized_end=4957
123
+ # @@protoc_insertion_point(module_scope)