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.
tidevec/tidevec_pb2.py ADDED
@@ -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\rtidevec.proto\x12\ntidevec.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\"\xb6\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\x12.tidevec.v1.Metric\x12,\n\x08temporal\x18\x07 \x01(\x0b\x32\x1a.tidevec.v1.TemporalConfig\"\xff\x01\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\x12.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\x1a.tidevec.v1.TemporalConfig\x12\'\n\x05\x61gent\x18\t \x01(\x0b\x32\x18.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\"A\n\x15GetCollectionResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.tidevec.v1.CollectionInfo\"\x18\n\x16ListCollectionsRequest\"J\n\x17ListCollectionsResponse\x12/\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x1a.tidevec.v1.CollectionInfo\"Q\n\x15UpdateTemporalRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12*\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1a.tidevec.v1.TemporalConfig\"(\n\x16UpdateTemporalResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"S\n\nCausalEdge\x12\x11\n\ttarget_id\x18\x01 \x01(\t\x12\"\n\x04type\x18\x02 \x01(\x0e\x32\x14.tidevec.v1.EdgeType\x12\x0e\n\x06weight\x18\x03 \x01(\x02\"\x86\x02\n\x06Vector\x12\n\n\x02id\x18\x01 \x01(\t\x12\x15\n\tembedding\x18\x02 \x03(\x02\x42\x02\x10\x01\x12\x30\n\x07payload\x18\x03 \x03(\x0b\x32\x1f.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\x16.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\"H\n\rUpsertRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12#\n\x07vectors\x18\x02 \x03(\x0b\x32\x12.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\"\x9b\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\x15.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\x12.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\x12.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\"\xd8\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\x38\n\x12staleness_warnings\x18\t \x03(\x0b\x32\x1c.tidevec.v1.StalenessWarning\x12<\n\x14\x63ontradiction_alerts\x18\n \x03(\x0b\x32\x1e.tidevec.v1.ContradictionAlert\x12\x15\n\rotel_trace_id\x18\x0b \x01(\t\"\xbb\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\x36\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\"c\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\x19.tidevec.v1.SearchOptions\"u\n\x0eSearchResponse\x12)\n\x07results\x18\x01 \x03(\x0b\x32\x18.tidevec.v1.SearchResult\x12\r\n\x05\x63ount\x18\x02 \x01(\x04\x12)\n\x05trace\x18\x03 \x01(\x0b\x32\x1a.tidevec.v1.RetrievalTrace\"T\n\x12\x42\x61tchSearchRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12*\n\x07queries\x18\x02 \x03(\x0b\x32\x19.tidevec.v1.SearchRequest\"D\n\x13\x42\x61tchSearchResponse\x12-\n\tresponses\x18\x01 \x03(\x0b\x32\x1a.tidevec.v1.SearchResponse\"T\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\x14.tidevec.v1.EdgeType\x12\x0e\n\x06weight\x18\x04 \x01(\x02\"F\n\x0f\x41\x64\x64\x45\x64gesRequest\x12\x12\n\ncollection\x18\x01 \x01(\t\x12\x1f\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x10.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\xf6\x07\n\x07TideVec\x12]\n\x10\x43reateCollection\x12#.tidevec.v1.CreateCollectionRequest\x1a$.tidevec.v1.CreateCollectionResponse\x12W\n\x0e\x44ropCollection\x12!.tidevec.v1.DropCollectionRequest\x1a\".tidevec.v1.DropCollectionResponse\x12T\n\rGetCollection\x12 .tidevec.v1.GetCollectionRequest\x1a!.tidevec.v1.GetCollectionResponse\x12Z\n\x0fListCollections\x12\".tidevec.v1.ListCollectionsRequest\x1a#.tidevec.v1.ListCollectionsResponse\x12W\n\x0eUpdateTemporal\x12!.tidevec.v1.UpdateTemporalRequest\x1a\".tidevec.v1.UpdateTemporalResponse\x12?\n\x06Upsert\x12\x19.tidevec.v1.UpsertRequest\x1a\x1a.tidevec.v1.UpsertResponse\x12?\n\x06\x44\x65lete\x12\x19.tidevec.v1.DeleteRequest\x1a\x1a.tidevec.v1.DeleteResponse\x12\x46\n\x0b\x42\x61tchUpsert\x12\x19.tidevec.v1.UpsertRequest\x1a\x1a.tidevec.v1.UpsertResponse(\x01\x12?\n\x06Search\x12\x19.tidevec.v1.SearchRequest\x1a\x1a.tidevec.v1.SearchResponse\x12N\n\x0b\x42\x61tchSearch\x12\x1e.tidevec.v1.BatchSearchRequest\x1a\x1f.tidevec.v1.BatchSearchResponse\x12\x45\n\x0cSearchStream\x12\x19.tidevec.v1.SearchRequest\x1a\x18.tidevec.v1.SearchResult0\x01\x12\x45\n\x08\x41\x64\x64\x45\x64ges\x12\x1b.tidevec.v1.AddEdgesRequest\x1a\x1c.tidevec.v1.AddEdgesResponse\x12?\n\x06Health\x12\x19.tidevec.v1.HealthRequest\x1a\x1a.tidevec.v1.HealthResponseBU\n\nio.tidevecB\x0cTideVecProtoP\x01Z7github.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\nio.tidevecB\014TideVecProtoP\001Z7github.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=3609
44
+ _globals['_METRIC']._serialized_end=3646
45
+ _globals['_QUERYMODE']._serialized_start=3648
46
+ _globals['_QUERYMODE']._serialized_end=3740
47
+ _globals['_EDGETYPE']._serialized_start=3742
48
+ _globals['_EDGETYPE']._serialized_end=3839
49
+ _globals['_DEVICE']._serialized_start=3841
50
+ _globals['_DEVICE']._serialized_end=3886
51
+ _globals['_TEMPORALCONFIG']._serialized_start=29
52
+ _globals['_TEMPORALCONFIG']._serialized_end=145
53
+ _globals['_AGENTCONTEXT']._serialized_start=148
54
+ _globals['_AGENTCONTEXT']._serialized_end=280
55
+ _globals['_COLLECTIONINFO']._serialized_start=283
56
+ _globals['_COLLECTIONINFO']._serialized_end=465
57
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_start=468
58
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_end=723
59
+ _globals['_CREATECOLLECTIONRESPONSE']._serialized_start=725
60
+ _globals['_CREATECOLLECTIONRESPONSE']._serialized_end=781
61
+ _globals['_DROPCOLLECTIONREQUEST']._serialized_start=783
62
+ _globals['_DROPCOLLECTIONREQUEST']._serialized_end=820
63
+ _globals['_DROPCOLLECTIONRESPONSE']._serialized_start=822
64
+ _globals['_DROPCOLLECTIONRESPONSE']._serialized_end=862
65
+ _globals['_GETCOLLECTIONREQUEST']._serialized_start=864
66
+ _globals['_GETCOLLECTIONREQUEST']._serialized_end=900
67
+ _globals['_GETCOLLECTIONRESPONSE']._serialized_start=902
68
+ _globals['_GETCOLLECTIONRESPONSE']._serialized_end=967
69
+ _globals['_LISTCOLLECTIONSREQUEST']._serialized_start=969
70
+ _globals['_LISTCOLLECTIONSREQUEST']._serialized_end=993
71
+ _globals['_LISTCOLLECTIONSRESPONSE']._serialized_start=995
72
+ _globals['_LISTCOLLECTIONSRESPONSE']._serialized_end=1069
73
+ _globals['_UPDATETEMPORALREQUEST']._serialized_start=1071
74
+ _globals['_UPDATETEMPORALREQUEST']._serialized_end=1152
75
+ _globals['_UPDATETEMPORALRESPONSE']._serialized_start=1154
76
+ _globals['_UPDATETEMPORALRESPONSE']._serialized_end=1194
77
+ _globals['_CAUSALEDGE']._serialized_start=1196
78
+ _globals['_CAUSALEDGE']._serialized_end=1279
79
+ _globals['_VECTOR']._serialized_start=1282
80
+ _globals['_VECTOR']._serialized_end=1544
81
+ _globals['_VECTOR_PAYLOADENTRY']._serialized_start=1498
82
+ _globals['_VECTOR_PAYLOADENTRY']._serialized_end=1544
83
+ _globals['_UPSERTREQUEST']._serialized_start=1546
84
+ _globals['_UPSERTREQUEST']._serialized_end=1618
85
+ _globals['_UPSERTRESPONSE']._serialized_start=1620
86
+ _globals['_UPSERTRESPONSE']._serialized_end=1667
87
+ _globals['_DELETEREQUEST']._serialized_start=1669
88
+ _globals['_DELETEREQUEST']._serialized_end=1717
89
+ _globals['_DELETERESPONSE']._serialized_start=1719
90
+ _globals['_DELETERESPONSE']._serialized_end=1752
91
+ _globals['_SEARCHOPTIONS']._serialized_start=1755
92
+ _globals['_SEARCHOPTIONS']._serialized_end=2038
93
+ _globals['_STALENESSWARNING']._serialized_start=2040
94
+ _globals['_STALENESSWARNING']._serialized_end=2128
95
+ _globals['_CONTRADICTIONALERT']._serialized_start=2130
96
+ _globals['_CONTRADICTIONALERT']._serialized_end=2215
97
+ _globals['_RETRIEVALTRACE']._serialized_start=2218
98
+ _globals['_RETRIEVALTRACE']._serialized_end=2562
99
+ _globals['_SEARCHRESULT']._serialized_start=2565
100
+ _globals['_SEARCHRESULT']._serialized_end=2880
101
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._serialized_start=1498
102
+ _globals['_SEARCHRESULT_PAYLOADENTRY']._serialized_end=1544
103
+ _globals['_SEARCHREQUEST']._serialized_start=2882
104
+ _globals['_SEARCHREQUEST']._serialized_end=2981
105
+ _globals['_SEARCHRESPONSE']._serialized_start=2983
106
+ _globals['_SEARCHRESPONSE']._serialized_end=3100
107
+ _globals['_BATCHSEARCHREQUEST']._serialized_start=3102
108
+ _globals['_BATCHSEARCHREQUEST']._serialized_end=3186
109
+ _globals['_BATCHSEARCHRESPONSE']._serialized_start=3188
110
+ _globals['_BATCHSEARCHRESPONSE']._serialized_end=3256
111
+ _globals['_EDGE']._serialized_start=3258
112
+ _globals['_EDGE']._serialized_end=3342
113
+ _globals['_ADDEDGESREQUEST']._serialized_start=3344
114
+ _globals['_ADDEDGESREQUEST']._serialized_end=3414
115
+ _globals['_ADDEDGESRESPONSE']._serialized_start=3416
116
+ _globals['_ADDEDGESRESPONSE']._serialized_end=3449
117
+ _globals['_HEALTHREQUEST']._serialized_start=3451
118
+ _globals['_HEALTHREQUEST']._serialized_end=3466
119
+ _globals['_HEALTHRESPONSE']._serialized_start=3469
120
+ _globals['_HEALTHRESPONSE']._serialized_end=3607
121
+ _globals['_TIDEVEC']._serialized_start=3889
122
+ _globals['_TIDEVEC']._serialized_end=4903
123
+ # @@protoc_insertion_point(module_scope)