proximadb 0.2.2__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.
- proximadb/__init__.py +1 -0
- proximadb/v1/__init__.py +2 -0
- proximadb/v1/collection_pb2.py +65 -0
- proximadb/v1/collection_pb2_grpc.py +267 -0
- proximadb/v1/collection_types_pb2.py +117 -0
- proximadb/v1/collection_types_pb2_grpc.py +28 -0
- proximadb/v1/entity_pb2.py +124 -0
- proximadb/v1/entity_pb2_grpc.py +250 -0
- proximadb/v1/graph_collection_pb2.py +109 -0
- proximadb/v1/graph_collection_pb2_grpc.py +28 -0
- proximadb/v1/graph_pb2.py +228 -0
- proximadb/v1/graph_pb2_grpc.py +1478 -0
- proximadb/v1/relations_pb2.py +56 -0
- proximadb/v1/relations_pb2_grpc.py +261 -0
- proximadb/v1/sql_pb2.py +35 -0
- proximadb/v1/sql_pb2_grpc.py +109 -0
- proximadb/v1/types_pb2.py +51 -0
- proximadb/v1/types_pb2_grpc.py +28 -0
- proximadb/v1/vector_pb2.py +55 -0
- proximadb/v1/vector_pb2_grpc.py +265 -0
- proximadb/v1/vector_types_pb2.py +134 -0
- proximadb/v1/vector_types_pb2_grpc.py +28 -0
- proximadb/v2/__init__.py +1 -0
- proximadb/v2/document_pb2.py +107 -0
- proximadb/v2/document_pb2_grpc.py +347 -0
- proximadb/v2/entity_pb2.py +121 -0
- proximadb/v2/entity_pb2_grpc.py +262 -0
- proximadb/v2/fusion_pb2.py +46 -0
- proximadb/v2/fusion_pb2_grpc.py +115 -0
- proximadb/v2/graph_pb2.py +157 -0
- proximadb/v2/graph_pb2_grpc.py +1138 -0
- proximadb/v2/record_pb2.py +215 -0
- proximadb/v2/record_pb2_grpc.py +890 -0
- proximadb-0.2.2.dist-info/METADATA +156 -0
- proximadb-0.2.2.dist-info/RECORD +392 -0
- proximadb-0.2.2.dist-info/WHEEL +5 -0
- proximadb-0.2.2.dist-info/entry_points.txt +3 -0
- proximadb-0.2.2.dist-info/top_level.txt +2 -0
- proximadb_sdk/__init__.py +1257 -0
- proximadb_sdk/_code_oid.py +52 -0
- proximadb_sdk/_generated/rest/__init__.py +14 -0
- proximadb_sdk/_generated/rest/api/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/collections/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/collections/create_collection.py +314 -0
- proximadb_sdk/_generated/rest/api/collections/delete_collection.py +179 -0
- proximadb_sdk/_generated/rest/api/collections/get_collection.py +223 -0
- proximadb_sdk/_generated/rest/api/collections/list_collections.py +258 -0
- proximadb_sdk/_generated/rest/api/documents/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/documents/create_document_collection.py +167 -0
- proximadb_sdk/_generated/rest/api/documents/ingest_documents.py +209 -0
- proximadb_sdk/_generated/rest/api/documents/insert_document.py +185 -0
- proximadb_sdk/_generated/rest/api/documents/list_document_collections.py +134 -0
- proximadb_sdk/_generated/rest/api/documents/query_documents.py +158 -0
- proximadb_sdk/_generated/rest/api/entities/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/entities/delete_entity_v2.py +177 -0
- proximadb_sdk/_generated/rest/api/entities/get_entity_v2.py +177 -0
- proximadb_sdk/_generated/rest/api/entities/search_entities_v2.py +185 -0
- proximadb_sdk/_generated/rest/api/entities/upsert_entity_v2.py +185 -0
- proximadb_sdk/_generated/rest/api/graphs/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/graphs/batch_create_edges.py +197 -0
- proximadb_sdk/_generated/rest/api/graphs/batch_create_nodes.py +201 -0
- proximadb_sdk/_generated/rest/api/graphs/create_edge.py +189 -0
- proximadb_sdk/_generated/rest/api/graphs/create_graph.py +170 -0
- proximadb_sdk/_generated/rest/api/graphs/create_node.py +189 -0
- proximadb_sdk/_generated/rest/api/graphs/delete_graph.py +163 -0
- proximadb_sdk/_generated/rest/api/graphs/delete_node.py +177 -0
- proximadb_sdk/_generated/rest/api/graphs/fusion_search_v2.py +193 -0
- proximadb_sdk/_generated/rest/api/graphs/get_graph.py +163 -0
- proximadb_sdk/_generated/rest/api/graphs/get_graph_stats.py +158 -0
- proximadb_sdk/_generated/rest/api/graphs/get_node.py +177 -0
- proximadb_sdk/_generated/rest/api/graphs/impact_analysis_v2.py +197 -0
- proximadb_sdk/_generated/rest/api/graphs/list_graphs.py +132 -0
- proximadb_sdk/_generated/rest/api/graphs/traverse_graph.py +189 -0
- proximadb_sdk/_generated/rest/api/health/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/health/get_health.py +132 -0
- proximadb_sdk/_generated/rest/api/health/get_liveness.py +132 -0
- proximadb_sdk/_generated/rest/api/health/get_readiness.py +132 -0
- proximadb_sdk/_generated/rest/api/hybrid/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/hybrid/hybrid_index.py +165 -0
- proximadb_sdk/_generated/rest/api/hybrid/hybrid_search.py +170 -0
- proximadb_sdk/_generated/rest/api/meta/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/meta/get_capabilities.py +144 -0
- proximadb_sdk/_generated/rest/api/observability/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/observability/ingest_log.py +180 -0
- proximadb_sdk/_generated/rest/api/observability/query_logs.py +180 -0
- proximadb_sdk/_generated/rest/api/query/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/query/execute_query.py +194 -0
- proximadb_sdk/_generated/rest/api/query/explain_query.py +170 -0
- proximadb_sdk/_generated/rest/api/records/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/records/delete_record.py +180 -0
- proximadb_sdk/_generated/rest/api/records/get_record.py +297 -0
- proximadb_sdk/_generated/rest/api/records/insert_records.py +377 -0
- proximadb_sdk/_generated/rest/api/records/scan_records.py +229 -0
- proximadb_sdk/_generated/rest/api/schema/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/schema/get_collection_schema.py +223 -0
- proximadb_sdk/_generated/rest/api/schema/update_collection_schema.py +373 -0
- proximadb_sdk/_generated/rest/api/search/__init__.py +6 -0
- proximadb_sdk/_generated/rest/api/search/search_records.py +309 -0
- proximadb_sdk/_generated/rest/client.py +291 -0
- proximadb_sdk/_generated/rest/errors.py +21 -0
- proximadb_sdk/_generated/rest/models/__init__.py +246 -0
- proximadb_sdk/_generated/rest/models/batch_create_edges_request.py +83 -0
- proximadb_sdk/_generated/rest/models/batch_create_nodes_request.py +83 -0
- proximadb_sdk/_generated/rest/models/batch_edges_response.py +89 -0
- proximadb_sdk/_generated/rest/models/batch_edges_response_data.py +91 -0
- proximadb_sdk/_generated/rest/models/batch_nodes_response.py +89 -0
- proximadb_sdk/_generated/rest/models/batch_nodes_response_data.py +91 -0
- proximadb_sdk/_generated/rest/models/capabilities_response.py +135 -0
- proximadb_sdk/_generated/rest/models/capabilities_response_error_envelope.py +52 -0
- proximadb_sdk/_generated/rest/models/capabilities_response_limits.py +52 -0
- proximadb_sdk/_generated/rest/models/collection_stats_v2.py +91 -0
- proximadb_sdk/_generated/rest/models/collection_v2_response.py +267 -0
- proximadb_sdk/_generated/rest/models/collection_v2_summary.py +119 -0
- proximadb_sdk/_generated/rest/models/create_collection_v2_request.py +410 -0
- proximadb_sdk/_generated/rest/models/create_collection_v2_response.py +127 -0
- proximadb_sdk/_generated/rest/models/create_document_collection_body.py +52 -0
- proximadb_sdk/_generated/rest/models/create_document_collection_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/create_edge_request.py +76 -0
- proximadb_sdk/_generated/rest/models/create_graph_request.py +106 -0
- proximadb_sdk/_generated/rest/models/create_node_request.py +76 -0
- proximadb_sdk/_generated/rest/models/delete_collection_v2_response.py +75 -0
- proximadb_sdk/_generated/rest/models/delete_graph_response.py +66 -0
- proximadb_sdk/_generated/rest/models/delete_node_response.py +73 -0
- proximadb_sdk/_generated/rest/models/delete_record_v2_response.py +83 -0
- proximadb_sdk/_generated/rest/models/edge_input.py +136 -0
- proximadb_sdk/_generated/rest/models/edge_input_properties.py +52 -0
- proximadb_sdk/_generated/rest/models/edge_response.py +164 -0
- proximadb_sdk/_generated/rest/models/edge_response_properties_type_0.py +52 -0
- proximadb_sdk/_generated/rest/models/embedding_input.py +106 -0
- proximadb_sdk/_generated/rest/models/entity_dto.py +92 -0
- proximadb_sdk/_generated/rest/models/entity_dto_flexible_metadata.py +52 -0
- proximadb_sdk/_generated/rest/models/entity_embedding_input.py +103 -0
- proximadb_sdk/_generated/rest/models/entity_provenance_input.py +119 -0
- proximadb_sdk/_generated/rest/models/entity_provenance_input_metadata.py +52 -0
- proximadb_sdk/_generated/rest/models/entity_relation_input.py +119 -0
- proximadb_sdk/_generated/rest/models/entity_relation_input_properties.py +52 -0
- proximadb_sdk/_generated/rest/models/entity_search_result.py +82 -0
- proximadb_sdk/_generated/rest/models/error_body.py +141 -0
- proximadb_sdk/_generated/rest/models/error_body_details_type_0.py +52 -0
- proximadb_sdk/_generated/rest/models/error_response.py +79 -0
- proximadb_sdk/_generated/rest/models/explain_query_request.py +95 -0
- proximadb_sdk/_generated/rest/models/fusion_hit.py +96 -0
- proximadb_sdk/_generated/rest/models/fusion_search_request.py +313 -0
- proximadb_sdk/_generated/rest/models/fusion_search_response.py +93 -0
- proximadb_sdk/_generated/rest/models/fusion_stats_dto.py +90 -0
- proximadb_sdk/_generated/rest/models/graph_collection_response.py +148 -0
- proximadb_sdk/_generated/rest/models/graph_stats_response.py +94 -0
- proximadb_sdk/_generated/rest/models/health_response.py +82 -0
- proximadb_sdk/_generated/rest/models/hnsw_config_input.py +117 -0
- proximadb_sdk/_generated/rest/models/hnsw_config_output.py +117 -0
- proximadb_sdk/_generated/rest/models/hybrid_index_body.py +52 -0
- proximadb_sdk/_generated/rest/models/hybrid_index_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/hybrid_search_body.py +104 -0
- proximadb_sdk/_generated/rest/models/hybrid_search_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/impact_analysis_request.py +115 -0
- proximadb_sdk/_generated/rest/models/impact_analysis_response.py +82 -0
- proximadb_sdk/_generated/rest/models/index_config_input.py +197 -0
- proximadb_sdk/_generated/rest/models/index_config_input_parameters.py +52 -0
- proximadb_sdk/_generated/rest/models/index_policy_input.py +143 -0
- proximadb_sdk/_generated/rest/models/index_spec_output.py +146 -0
- proximadb_sdk/_generated/rest/models/ingest_document.py +145 -0
- proximadb_sdk/_generated/rest/models/ingest_document_metadata.py +52 -0
- proximadb_sdk/_generated/rest/models/ingest_documents_request.py +82 -0
- proximadb_sdk/_generated/rest/models/ingest_documents_response.py +110 -0
- proximadb_sdk/_generated/rest/models/ingest_log_body.py +52 -0
- proximadb_sdk/_generated/rest/models/ingest_log_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/ingested_record.py +74 -0
- proximadb_sdk/_generated/rest/models/insert_document_body.py +52 -0
- proximadb_sdk/_generated/rest/models/insert_document_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/insert_error.py +95 -0
- proximadb_sdk/_generated/rest/models/insert_records_request.py +159 -0
- proximadb_sdk/_generated/rest/models/insert_records_response.py +107 -0
- proximadb_sdk/_generated/rest/models/ivf_config_input.py +97 -0
- proximadb_sdk/_generated/rest/models/ivf_config_output.py +97 -0
- proximadb_sdk/_generated/rest/models/list_collections_v2_response.py +115 -0
- proximadb_sdk/_generated/rest/models/list_document_collections_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/list_graphs_response.py +93 -0
- proximadb_sdk/_generated/rest/models/node_input.py +122 -0
- proximadb_sdk/_generated/rest/models/node_input_properties.py +52 -0
- proximadb_sdk/_generated/rest/models/node_response.py +137 -0
- proximadb_sdk/_generated/rest/models/node_response_properties_type_0.py +52 -0
- proximadb_sdk/_generated/rest/models/predicate_shortfall_wire.py +97 -0
- proximadb_sdk/_generated/rest/models/probe_response.py +66 -0
- proximadb_sdk/_generated/rest/models/proxima_record_input.py +181 -0
- proximadb_sdk/_generated/rest/models/proxima_record_input_props_type_0.py +52 -0
- proximadb_sdk/_generated/rest/models/quantization_config_input.py +99 -0
- proximadb_sdk/_generated/rest/models/quantization_config_output.py +75 -0
- proximadb_sdk/_generated/rest/models/query_documents_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/query_language.py +15 -0
- proximadb_sdk/_generated/rest/models/query_logs_body.py +52 -0
- proximadb_sdk/_generated/rest/models/query_logs_response_200.py +52 -0
- proximadb_sdk/_generated/rest/models/query_request.py +174 -0
- proximadb_sdk/_generated/rest/models/query_request_parameters_type_0_item.py +52 -0
- proximadb_sdk/_generated/rest/models/query_response.py +56 -0
- proximadb_sdk/_generated/rest/models/record_v2_response.py +200 -0
- proximadb_sdk/_generated/rest/models/record_v2_response_props.py +52 -0
- proximadb_sdk/_generated/rest/models/rest_column_definition.py +244 -0
- proximadb_sdk/_generated/rest/models/scan_records_request.py +150 -0
- proximadb_sdk/_generated/rest/models/scan_records_response.py +125 -0
- proximadb_sdk/_generated/rest/models/schema_change.py +95 -0
- proximadb_sdk/_generated/rest/models/schema_definition.py +134 -0
- proximadb_sdk/_generated/rest/models/schema_response.py +149 -0
- proximadb_sdk/_generated/rest/models/search_entities_request.py +105 -0
- proximadb_sdk/_generated/rest/models/search_entities_request_filters.py +52 -0
- proximadb_sdk/_generated/rest/models/search_entities_response.py +90 -0
- proximadb_sdk/_generated/rest/models/text_field_input.py +103 -0
- proximadb_sdk/_generated/rest/models/text_field_output.py +103 -0
- proximadb_sdk/_generated/rest/models/traverse_request.py +139 -0
- proximadb_sdk/_generated/rest/models/traverse_response.py +124 -0
- proximadb_sdk/_generated/rest/models/typed_filter.py +107 -0
- proximadb_sdk/_generated/rest/models/typed_search_request.py +207 -0
- proximadb_sdk/_generated/rest/models/typed_search_response.py +181 -0
- proximadb_sdk/_generated/rest/models/typed_search_result.py +168 -0
- proximadb_sdk/_generated/rest/models/typed_search_result_props.py +52 -0
- proximadb_sdk/_generated/rest/models/update_schema_request.py +175 -0
- proximadb_sdk/_generated/rest/models/update_schema_response.py +123 -0
- proximadb_sdk/_generated/rest/models/upsert_entity_request.py +175 -0
- proximadb_sdk/_generated/rest/models/upsert_entity_request_flexible_metadata.py +52 -0
- proximadb_sdk/_generated/rest/models/upsert_entity_response.py +82 -0
- proximadb_sdk/_generated/rest/types.py +51 -0
- proximadb_sdk/adapters/__init__.py +104 -0
- proximadb_sdk/adapters/base.py +370 -0
- proximadb_sdk/adapters/embedded_adapter.py +2023 -0
- proximadb_sdk/adapters/grpc_adapter.py +616 -0
- proximadb_sdk/adapters/rest_adapter.py +970 -0
- proximadb_sdk/arrow_export.py +596 -0
- proximadb_sdk/auth.py +672 -0
- proximadb_sdk/automl.py +964 -0
- proximadb_sdk/batching.py +42 -0
- proximadb_sdk/batching_unified.py +551 -0
- proximadb_sdk/builders/__init__.py +15 -0
- proximadb_sdk/builders/collection.py +314 -0
- proximadb_sdk/builders/insert.py +360 -0
- proximadb_sdk/builders/search.py +210 -0
- proximadb_sdk/cache.py +708 -0
- proximadb_sdk/chunking.py +883 -0
- proximadb_sdk/chunking_strategies/__init__.py +227 -0
- proximadb_sdk/chunking_strategies/base.py +225 -0
- proximadb_sdk/chunking_strategies/code.py +4427 -0
- proximadb_sdk/chunking_strategies/document_parsers.py +1111 -0
- proximadb_sdk/chunking_strategies/factory.py +131 -0
- proximadb_sdk/chunking_strategies/fixed_size.py +154 -0
- proximadb_sdk/chunking_strategies/paragraph.py +346 -0
- proximadb_sdk/chunking_strategies/parser_utils.py +434 -0
- proximadb_sdk/chunking_strategies/pipeline.py +1399 -0
- proximadb_sdk/chunking_strategies/recursive.py +186 -0
- proximadb_sdk/chunking_strategies/semantic.py +398 -0
- proximadb_sdk/chunking_strategies/semantic_embedding.py +256 -0
- proximadb_sdk/chunking_strategies/sentence.py +258 -0
- proximadb_sdk/chunking_strategies/sliding_window.py +207 -0
- proximadb_sdk/circuit_breaker.py +494 -0
- proximadb_sdk/cli.py +654 -0
- proximadb_sdk/client_v1.py +1530 -0
- proximadb_sdk/code_knowledge.py +1027 -0
- proximadb_sdk/config.py +438 -0
- proximadb_sdk/document.py +1627 -0
- proximadb_sdk/document_pipeline.py +830 -0
- proximadb_sdk/document_processor.py +1029 -0
- proximadb_sdk/document_v2.py +479 -0
- proximadb_sdk/embedded.py +2500 -0
- proximadb_sdk/embedded_multi.py +871 -0
- proximadb_sdk/embedding_providers/__init__.py +234 -0
- proximadb_sdk/embedding_providers/cohere.py +205 -0
- proximadb_sdk/embedding_providers/core/__init__.py +19 -0
- proximadb_sdk/embedding_providers/core/base.py +263 -0
- proximadb_sdk/embedding_providers/core/cache.py +282 -0
- proximadb_sdk/embedding_providers/core/config.py +123 -0
- proximadb_sdk/embedding_providers/core/device.py +43 -0
- proximadb_sdk/embedding_providers/core/registry.py +254 -0
- proximadb_sdk/embedding_providers/fastembed.py +130 -0
- proximadb_sdk/embedding_providers/finbert_provider.py +321 -0
- proximadb_sdk/embedding_providers/instructor.py +211 -0
- proximadb_sdk/embedding_providers/mixins/__init__.py +17 -0
- proximadb_sdk/embedding_providers/mixins/batching.py +143 -0
- proximadb_sdk/embedding_providers/mixins/instruction.py +163 -0
- proximadb_sdk/embedding_providers/mixins/normalization.py +116 -0
- proximadb_sdk/embedding_providers/mixins/sentence_transformer.py +199 -0
- proximadb_sdk/embedding_providers/multi_bert_provider.py +713 -0
- proximadb_sdk/embedding_providers/openai_compatible.py +215 -0
- proximadb_sdk/embedding_providers/openai_provider.py +222 -0
- proximadb_sdk/embedding_providers/providers/__init__.py +7 -0
- proximadb_sdk/embedding_providers/providers/local/__init__.py +3 -0
- proximadb_sdk/embedding_providers/providers/local/bge.py +111 -0
- proximadb_sdk/embedding_providers/providers/local/e5.py +123 -0
- proximadb_sdk/embedding_providers/providers/local/gte_qwen.py +100 -0
- proximadb_sdk/embedding_providers/providers/local/sentence_transformer.py +106 -0
- proximadb_sdk/embedding_providers/providers/local/sfr.py +82 -0
- proximadb_sdk/embedding_providers/providers/testing/__init__.py +1 -0
- proximadb_sdk/embedding_providers/providers/testing/simulated.py +113 -0
- proximadb_sdk/entity_v2.py +407 -0
- proximadb_sdk/enum_packing.py +545 -0
- proximadb_sdk/exceptions.py +362 -0
- proximadb_sdk/filters.py +420 -0
- proximadb_sdk/fusion_v2.py +157 -0
- proximadb_sdk/graph.py +1182 -0
- proximadb_sdk/graph_analytics.py +912 -0
- proximadb_sdk/hybrid.py +1340 -0
- proximadb_sdk/integrations/__init__.py +26 -0
- proximadb_sdk/integrations/_records.py +34 -0
- proximadb_sdk/integrations/agentic_ddl.py +178 -0
- proximadb_sdk/integrations/agentic_io.py +504 -0
- proximadb_sdk/integrations/agentic_store.py +588 -0
- proximadb_sdk/integrations/autogen.py +472 -0
- proximadb_sdk/integrations/crewai.py +154 -0
- proximadb_sdk/integrations/dspy.py +88 -0
- proximadb_sdk/integrations/dual_use_store.py +215 -0
- proximadb_sdk/integrations/graph_walk_client.py +175 -0
- proximadb_sdk/integrations/haystack.py +614 -0
- proximadb_sdk/integrations/langchain.py +315 -0
- proximadb_sdk/integrations/langgraph.py +85 -0
- proximadb_sdk/integrations/llama_index.py +312 -0
- proximadb_sdk/integrations/mcp_tools.py +199 -0
- proximadb_sdk/integrations/mlops.py +150 -0
- proximadb_sdk/integrations/victor.py +276 -0
- proximadb_sdk/integrations/victor_embedded.py +411 -0
- proximadb_sdk/integrations/victor_graph.py +697 -0
- proximadb_sdk/integrations/victor_multi.py +813 -0
- proximadb_sdk/intelligent_router.py +744 -0
- proximadb_sdk/llm/__init__.py +66 -0
- proximadb_sdk/llm/config.py +165 -0
- proximadb_sdk/llm/embedding.py +289 -0
- proximadb_sdk/llm/rag.py +430 -0
- proximadb_sdk/llm/semantic_cache.py +349 -0
- proximadb_sdk/metadata_utils.py +113 -0
- proximadb_sdk/models.py +1651 -0
- proximadb_sdk/models_v2.py +1902 -0
- proximadb_sdk/multimodal_query.py +2544 -0
- proximadb_sdk/observability.py +870 -0
- proximadb_sdk/operation_router.py +44 -0
- proximadb_sdk/performance/__init__.py +34 -0
- proximadb_sdk/performance/data_models.py +271 -0
- proximadb_sdk/proto_conversion.py +412 -0
- proximadb_sdk/protocol_selector.py +65 -0
- proximadb_sdk/protocols/__init__.py +40 -0
- proximadb_sdk/protocols/_grpc_v2_codec.py +275 -0
- proximadb_sdk/protocols/_rest_codegen.py +314 -0
- proximadb_sdk/protocols/_rest_codegen_async.py +154 -0
- proximadb_sdk/protocols/arrow_flight.py +940 -0
- proximadb_sdk/protocols/connection_pools.py +612 -0
- proximadb_sdk/protocols/grpc_async.py +357 -0
- proximadb_sdk/protocols/grpc_sync.py +2546 -0
- proximadb_sdk/protocols/rest_async.py +106 -0
- proximadb_sdk/protocols/rest_sync.py +3407 -0
- proximadb_sdk/py.typed +0 -0
- proximadb_sdk/repository_indexer.py +755 -0
- proximadb_sdk/repository_manager.py +1367 -0
- proximadb_sdk/resilience.py +117 -0
- proximadb_sdk/resource_pool.py +676 -0
- proximadb_sdk/search_utils.py +330 -0
- proximadb_sdk/security.py +1119 -0
- proximadb_sdk/timeseries.py +1468 -0
- proximadb_sdk/unified_client.py +4830 -0
- proximadb_sdk/unified_client_async.py +773 -0
- proximadb_sdk/unified_client_v2.py +686 -0
- proximadb_sdk/v1/__init__.py +1 -0
- proximadb_sdk/v1/collection_pb2.py +65 -0
- proximadb_sdk/v1/collection_pb2_grpc.py +267 -0
- proximadb_sdk/v1/collection_types_pb2.py +117 -0
- proximadb_sdk/v1/collection_types_pb2_grpc.py +28 -0
- proximadb_sdk/v1/document_pb2.py +128 -0
- proximadb_sdk/v1/document_pb2_grpc.py +485 -0
- proximadb_sdk/v1/entity_pb2.py +124 -0
- proximadb_sdk/v1/entity_pb2_grpc.py +250 -0
- proximadb_sdk/v1/graph_collection_pb2.py +109 -0
- proximadb_sdk/v1/graph_collection_pb2_grpc.py +28 -0
- proximadb_sdk/v1/graph_pb2.py +228 -0
- proximadb_sdk/v1/graph_pb2_grpc.py +1478 -0
- proximadb_sdk/v1/hybrid_pb2.py +67 -0
- proximadb_sdk/v1/hybrid_pb2_grpc.py +176 -0
- proximadb_sdk/v1/proximadb/v1/timeseries_pb2.py +107 -0
- proximadb_sdk/v1/proximadb/v1/timeseries_pb2_grpc.py +391 -0
- proximadb_sdk/v1/relations_pb2.py +56 -0
- proximadb_sdk/v1/relations_pb2_grpc.py +261 -0
- proximadb_sdk/v1/sql_pb2.py +35 -0
- proximadb_sdk/v1/sql_pb2_grpc.py +109 -0
- proximadb_sdk/v1/types_pb2.py +51 -0
- proximadb_sdk/v1/types_pb2_grpc.py +28 -0
- proximadb_sdk/v1/vector_pb2.py +55 -0
- proximadb_sdk/v1/vector_pb2_grpc.py +265 -0
- proximadb_sdk/v1/vector_types_pb2.py +134 -0
- proximadb_sdk/v1/vector_types_pb2_grpc.py +28 -0
- proximadb_sdk/v2/__init__.py +0 -0
- proximadb_sdk/v2/document_pb2.py +107 -0
- proximadb_sdk/v2/document_pb2_grpc.py +347 -0
- proximadb_sdk/v2/entity_pb2.py +121 -0
- proximadb_sdk/v2/entity_pb2_grpc.py +262 -0
- proximadb_sdk/v2/fusion_pb2.py +46 -0
- proximadb_sdk/v2/fusion_pb2_grpc.py +115 -0
- proximadb_sdk/v2/graph_pb2.py +157 -0
- proximadb_sdk/v2/graph_pb2_grpc.py +1138 -0
- proximadb_sdk/v2/record_pb2.py +215 -0
- proximadb_sdk/v2/record_pb2_grpc.py +890 -0
proximadb/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Generated ProximaDB protocol packages."""
|
proximadb/v1/__init__.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: proximadb/v1/collection.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 31, 1, "", "proximadb/v1/collection.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
from proximadb.v1 import (
|
|
23
|
+
collection_types_pb2 as proximadb_dot_v1_dot_collection__types__pb2,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
27
|
+
b'\n\x1dproximadb/v1/collection.proto\x12\x0cproximadb.v1\x1a#proximadb/v1/collection_types.proto2\x8c\x03\n\x11\x43ollectionService\x12Q\n\x10\x43reateCollection\x12\x1e.proximadb.v1.CollectionConfig\x1a\x18.proximadb.v1.Collection"\x03\x88\x02\x01\x12R\n\rGetCollection\x12".proximadb.v1.GetCollectionRequest\x1a\x18.proximadb.v1.Collection"\x03\x88\x02\x01\x12\x63\n\x0fListCollections\x12$.proximadb.v1.ListCollectionsRequest\x1a%.proximadb.v1.ListCollectionsResponse"\x03\x88\x02\x01\x12\x66\n\x10\x44\x65leteCollection\x12%.proximadb.v1.DeleteCollectionRequest\x1a&.proximadb.v1.DeleteCollectionResponse"\x03\x88\x02\x01\x1a\x03\x88\x02\x01\x62\x06proto3'
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
33
|
+
DESCRIPTOR, "proximadb.v1.collection_pb2", _globals
|
|
34
|
+
)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals["_COLLECTIONSERVICE"]._loaded_options = None
|
|
38
|
+
_globals["_COLLECTIONSERVICE"]._serialized_options = b"\210\002\001"
|
|
39
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
40
|
+
"CreateCollection"
|
|
41
|
+
]._loaded_options = None
|
|
42
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
43
|
+
"CreateCollection"
|
|
44
|
+
]._serialized_options = b"\210\002\001"
|
|
45
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
46
|
+
"GetCollection"
|
|
47
|
+
]._loaded_options = None
|
|
48
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
49
|
+
"GetCollection"
|
|
50
|
+
]._serialized_options = b"\210\002\001"
|
|
51
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
52
|
+
"ListCollections"
|
|
53
|
+
]._loaded_options = None
|
|
54
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
55
|
+
"ListCollections"
|
|
56
|
+
]._serialized_options = b"\210\002\001"
|
|
57
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
58
|
+
"DeleteCollection"
|
|
59
|
+
]._loaded_options = None
|
|
60
|
+
_globals["_COLLECTIONSERVICE"].methods_by_name[
|
|
61
|
+
"DeleteCollection"
|
|
62
|
+
]._serialized_options = b"\210\002\001"
|
|
63
|
+
_globals["_COLLECTIONSERVICE"]._serialized_start = 85
|
|
64
|
+
_globals["_COLLECTIONSERVICE"]._serialized_end = 481
|
|
65
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
import grpc
|
|
7
|
+
|
|
8
|
+
from proximadb.v1 import (
|
|
9
|
+
collection_types_pb2 as proximadb_dot_v1_dot_collection__types__pb2,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
GRPC_GENERATED_VERSION = "1.80.0"
|
|
13
|
+
GRPC_VERSION = grpc.__version__
|
|
14
|
+
_version_not_supported = False
|
|
15
|
+
|
|
16
|
+
try:
|
|
17
|
+
from grpc._utilities import first_version_is_lower
|
|
18
|
+
|
|
19
|
+
_version_not_supported = first_version_is_lower(
|
|
20
|
+
GRPC_VERSION, GRPC_GENERATED_VERSION
|
|
21
|
+
)
|
|
22
|
+
except ImportError:
|
|
23
|
+
_version_not_supported = True
|
|
24
|
+
|
|
25
|
+
if _version_not_supported:
|
|
26
|
+
raise RuntimeError(
|
|
27
|
+
f"The grpc package installed is at version {GRPC_VERSION},"
|
|
28
|
+
+ " but the generated code in proximadb/v1/collection_pb2_grpc.py depends on"
|
|
29
|
+
+ f" grpcio>={GRPC_GENERATED_VERSION}."
|
|
30
|
+
+ f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}"
|
|
31
|
+
+ f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}."
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class CollectionServiceStub(object):
|
|
36
|
+
"""Collection management (v1 compatibility shim).
|
|
37
|
+
|
|
38
|
+
DEPRECATED: superseded by the canonical ProximaRecord API in
|
|
39
|
+
`proximadb/v2/record.proto` (and `/api/v2/...` REST). Slated for removal as
|
|
40
|
+
part of the v1/v2 untangle before release; do not build new clients on it.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def __init__(self, channel):
|
|
44
|
+
"""Constructor.
|
|
45
|
+
|
|
46
|
+
Args:
|
|
47
|
+
channel: A grpc.Channel.
|
|
48
|
+
"""
|
|
49
|
+
self.CreateCollection = channel.unary_unary(
|
|
50
|
+
"/proximadb.v1.CollectionService/CreateCollection",
|
|
51
|
+
request_serializer=proximadb_dot_v1_dot_collection__types__pb2.CollectionConfig.SerializeToString,
|
|
52
|
+
response_deserializer=proximadb_dot_v1_dot_collection__types__pb2.Collection.FromString,
|
|
53
|
+
_registered_method=True,
|
|
54
|
+
)
|
|
55
|
+
self.GetCollection = channel.unary_unary(
|
|
56
|
+
"/proximadb.v1.CollectionService/GetCollection",
|
|
57
|
+
request_serializer=proximadb_dot_v1_dot_collection__types__pb2.GetCollectionRequest.SerializeToString,
|
|
58
|
+
response_deserializer=proximadb_dot_v1_dot_collection__types__pb2.Collection.FromString,
|
|
59
|
+
_registered_method=True,
|
|
60
|
+
)
|
|
61
|
+
self.ListCollections = channel.unary_unary(
|
|
62
|
+
"/proximadb.v1.CollectionService/ListCollections",
|
|
63
|
+
request_serializer=proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsRequest.SerializeToString,
|
|
64
|
+
response_deserializer=proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsResponse.FromString,
|
|
65
|
+
_registered_method=True,
|
|
66
|
+
)
|
|
67
|
+
self.DeleteCollection = channel.unary_unary(
|
|
68
|
+
"/proximadb.v1.CollectionService/DeleteCollection",
|
|
69
|
+
request_serializer=proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionRequest.SerializeToString,
|
|
70
|
+
response_deserializer=proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionResponse.FromString,
|
|
71
|
+
_registered_method=True,
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class CollectionServiceServicer(object):
|
|
76
|
+
"""Collection management (v1 compatibility shim).
|
|
77
|
+
|
|
78
|
+
DEPRECATED: superseded by the canonical ProximaRecord API in
|
|
79
|
+
`proximadb/v2/record.proto` (and `/api/v2/...` REST). Slated for removal as
|
|
80
|
+
part of the v1/v2 untangle before release; do not build new clients on it.
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
def CreateCollection(self, request, context):
|
|
84
|
+
"""Missing associated documentation comment in .proto file."""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details("Method not implemented!")
|
|
87
|
+
raise NotImplementedError("Method not implemented!")
|
|
88
|
+
|
|
89
|
+
def GetCollection(self, request, context):
|
|
90
|
+
"""Missing associated documentation comment in .proto file."""
|
|
91
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
92
|
+
context.set_details("Method not implemented!")
|
|
93
|
+
raise NotImplementedError("Method not implemented!")
|
|
94
|
+
|
|
95
|
+
def ListCollections(self, request, context):
|
|
96
|
+
"""Missing associated documentation comment in .proto file."""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details("Method not implemented!")
|
|
99
|
+
raise NotImplementedError("Method not implemented!")
|
|
100
|
+
|
|
101
|
+
def DeleteCollection(self, request, context):
|
|
102
|
+
"""Missing associated documentation comment in .proto file."""
|
|
103
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
104
|
+
context.set_details("Method not implemented!")
|
|
105
|
+
raise NotImplementedError("Method not implemented!")
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def add_CollectionServiceServicer_to_server(servicer, server):
|
|
109
|
+
rpc_method_handlers = {
|
|
110
|
+
"CreateCollection": grpc.unary_unary_rpc_method_handler(
|
|
111
|
+
servicer.CreateCollection,
|
|
112
|
+
request_deserializer=proximadb_dot_v1_dot_collection__types__pb2.CollectionConfig.FromString,
|
|
113
|
+
response_serializer=proximadb_dot_v1_dot_collection__types__pb2.Collection.SerializeToString,
|
|
114
|
+
),
|
|
115
|
+
"GetCollection": grpc.unary_unary_rpc_method_handler(
|
|
116
|
+
servicer.GetCollection,
|
|
117
|
+
request_deserializer=proximadb_dot_v1_dot_collection__types__pb2.GetCollectionRequest.FromString,
|
|
118
|
+
response_serializer=proximadb_dot_v1_dot_collection__types__pb2.Collection.SerializeToString,
|
|
119
|
+
),
|
|
120
|
+
"ListCollections": grpc.unary_unary_rpc_method_handler(
|
|
121
|
+
servicer.ListCollections,
|
|
122
|
+
request_deserializer=proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsRequest.FromString,
|
|
123
|
+
response_serializer=proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsResponse.SerializeToString,
|
|
124
|
+
),
|
|
125
|
+
"DeleteCollection": grpc.unary_unary_rpc_method_handler(
|
|
126
|
+
servicer.DeleteCollection,
|
|
127
|
+
request_deserializer=proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionRequest.FromString,
|
|
128
|
+
response_serializer=proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionResponse.SerializeToString,
|
|
129
|
+
),
|
|
130
|
+
}
|
|
131
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
132
|
+
"proximadb.v1.CollectionService", rpc_method_handlers
|
|
133
|
+
)
|
|
134
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
135
|
+
server.add_registered_method_handlers(
|
|
136
|
+
"proximadb.v1.CollectionService", rpc_method_handlers
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# This class is part of an EXPERIMENTAL API.
|
|
141
|
+
class CollectionService(object):
|
|
142
|
+
"""Collection management (v1 compatibility shim).
|
|
143
|
+
|
|
144
|
+
DEPRECATED: superseded by the canonical ProximaRecord API in
|
|
145
|
+
`proximadb/v2/record.proto` (and `/api/v2/...` REST). Slated for removal as
|
|
146
|
+
part of the v1/v2 untangle before release; do not build new clients on it.
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
@staticmethod
|
|
150
|
+
def CreateCollection(
|
|
151
|
+
request,
|
|
152
|
+
target,
|
|
153
|
+
options=(),
|
|
154
|
+
channel_credentials=None,
|
|
155
|
+
call_credentials=None,
|
|
156
|
+
insecure=False,
|
|
157
|
+
compression=None,
|
|
158
|
+
wait_for_ready=None,
|
|
159
|
+
timeout=None,
|
|
160
|
+
metadata=None,
|
|
161
|
+
):
|
|
162
|
+
return grpc.experimental.unary_unary(
|
|
163
|
+
request,
|
|
164
|
+
target,
|
|
165
|
+
"/proximadb.v1.CollectionService/CreateCollection",
|
|
166
|
+
proximadb_dot_v1_dot_collection__types__pb2.CollectionConfig.SerializeToString,
|
|
167
|
+
proximadb_dot_v1_dot_collection__types__pb2.Collection.FromString,
|
|
168
|
+
options,
|
|
169
|
+
channel_credentials,
|
|
170
|
+
insecure,
|
|
171
|
+
call_credentials,
|
|
172
|
+
compression,
|
|
173
|
+
wait_for_ready,
|
|
174
|
+
timeout,
|
|
175
|
+
metadata,
|
|
176
|
+
_registered_method=True,
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
@staticmethod
|
|
180
|
+
def GetCollection(
|
|
181
|
+
request,
|
|
182
|
+
target,
|
|
183
|
+
options=(),
|
|
184
|
+
channel_credentials=None,
|
|
185
|
+
call_credentials=None,
|
|
186
|
+
insecure=False,
|
|
187
|
+
compression=None,
|
|
188
|
+
wait_for_ready=None,
|
|
189
|
+
timeout=None,
|
|
190
|
+
metadata=None,
|
|
191
|
+
):
|
|
192
|
+
return grpc.experimental.unary_unary(
|
|
193
|
+
request,
|
|
194
|
+
target,
|
|
195
|
+
"/proximadb.v1.CollectionService/GetCollection",
|
|
196
|
+
proximadb_dot_v1_dot_collection__types__pb2.GetCollectionRequest.SerializeToString,
|
|
197
|
+
proximadb_dot_v1_dot_collection__types__pb2.Collection.FromString,
|
|
198
|
+
options,
|
|
199
|
+
channel_credentials,
|
|
200
|
+
insecure,
|
|
201
|
+
call_credentials,
|
|
202
|
+
compression,
|
|
203
|
+
wait_for_ready,
|
|
204
|
+
timeout,
|
|
205
|
+
metadata,
|
|
206
|
+
_registered_method=True,
|
|
207
|
+
)
|
|
208
|
+
|
|
209
|
+
@staticmethod
|
|
210
|
+
def ListCollections(
|
|
211
|
+
request,
|
|
212
|
+
target,
|
|
213
|
+
options=(),
|
|
214
|
+
channel_credentials=None,
|
|
215
|
+
call_credentials=None,
|
|
216
|
+
insecure=False,
|
|
217
|
+
compression=None,
|
|
218
|
+
wait_for_ready=None,
|
|
219
|
+
timeout=None,
|
|
220
|
+
metadata=None,
|
|
221
|
+
):
|
|
222
|
+
return grpc.experimental.unary_unary(
|
|
223
|
+
request,
|
|
224
|
+
target,
|
|
225
|
+
"/proximadb.v1.CollectionService/ListCollections",
|
|
226
|
+
proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsRequest.SerializeToString,
|
|
227
|
+
proximadb_dot_v1_dot_collection__types__pb2.ListCollectionsResponse.FromString,
|
|
228
|
+
options,
|
|
229
|
+
channel_credentials,
|
|
230
|
+
insecure,
|
|
231
|
+
call_credentials,
|
|
232
|
+
compression,
|
|
233
|
+
wait_for_ready,
|
|
234
|
+
timeout,
|
|
235
|
+
metadata,
|
|
236
|
+
_registered_method=True,
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
@staticmethod
|
|
240
|
+
def DeleteCollection(
|
|
241
|
+
request,
|
|
242
|
+
target,
|
|
243
|
+
options=(),
|
|
244
|
+
channel_credentials=None,
|
|
245
|
+
call_credentials=None,
|
|
246
|
+
insecure=False,
|
|
247
|
+
compression=None,
|
|
248
|
+
wait_for_ready=None,
|
|
249
|
+
timeout=None,
|
|
250
|
+
metadata=None,
|
|
251
|
+
):
|
|
252
|
+
return grpc.experimental.unary_unary(
|
|
253
|
+
request,
|
|
254
|
+
target,
|
|
255
|
+
"/proximadb.v1.CollectionService/DeleteCollection",
|
|
256
|
+
proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionRequest.SerializeToString,
|
|
257
|
+
proximadb_dot_v1_dot_collection__types__pb2.DeleteCollectionResponse.FromString,
|
|
258
|
+
options,
|
|
259
|
+
channel_credentials,
|
|
260
|
+
insecure,
|
|
261
|
+
call_credentials,
|
|
262
|
+
compression,
|
|
263
|
+
wait_for_ready,
|
|
264
|
+
timeout,
|
|
265
|
+
metadata,
|
|
266
|
+
_registered_method=True,
|
|
267
|
+
)
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: proximadb/v1/collection_types.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 31, 1, "", "proximadb/v1/collection_types.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
from proximadb.v1 import vector_types_pb2 as proximadb_dot_v1_dot_vector__types__pb2
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
25
|
+
b'\n#proximadb/v1/collection_types.proto\x12\x0cproximadb.v1\x1a\x1fproximadb/v1/vector_types.proto"\xc3\t\n\x10\x43ollectionConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdimension\x18\x02 \x01(\r\x12:\n\x0f\x64istance_metric\x18\x03 \x01(\x0e\x32\x1c.proximadb.v1.DistanceMetricH\x00\x88\x01\x01\x12\x38\n\x0estorage_engine\x18\x04 \x01(\x0e\x32\x1b.proximadb.v1.StorageEngineH\x01\x88\x01\x01\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x02\x88\x01\x01\x12>\n\x12\x66ilterable_columns\x18\x07 \x03(\x0b\x32".proximadb.v1.FilterableColumnSpec\x12\x30\n\rindex_configs\x18\x08 \x03(\x0b\x32\x19.proximadb.v1.IndexConfig\x12;\n\x0cquantization\x18\t \x01(\x0b\x32 .proximadb.v1.QuantizationConfigH\x03\x88\x01\x01\x12\x38\n\x0estorage_config\x18\n \x01(\x0b\x32\x1b.proximadb.v1.StorageConfigH\x04\x88\x01\x01\x12\x1a\n\rprimary_index\x18\x0b \x01(\tH\x05\x88\x01\x01\x12!\n\x14\x61uto_index_selection\x18\x0c \x01(\x08H\x06\x88\x01\x01\x12\x12\n\x05owner\x18\r \x01(\tH\x07\x88\x01\x01\x12\x18\n\x10\x65mbedding_models\x18\x0e \x03(\t\x12<\n\rrecord_schema\x18\x14 \x01(\x0b\x32 .proximadb.v1.RecordSchemaConfigH\x08\x88\x01\x01\x12"\n\x15\x65nable_proxima_record\x18\x15 \x01(\x08H\t\x88\x01\x01\x12\x14\n\x0ctext_columns\x18\x16 \x03(\t\x12=\n\x14text_storage_configs\x18\x17 \x03(\x0b\x32\x1f.proximadb.v1.TextStorageConfig\x12\'\n\x1a\x65nable_dual_use_embeddings\x18\x18 \x01(\x08H\n\x88\x01\x01\x12<\n\x10\x65mbedding_config\x18\x19 \x01(\x0b\x32\x1d.proximadb.v1.EmbeddingConfigH\x0b\x88\x01\x01\x12L\n\x1d\x63\x61nonical_embedding_precision\x18\x1a \x01(\x0e\x32 .proximadb.v1.EmbeddingPrecisionH\x0c\x88\x01\x01\x12\x1c\n\x14permitted_principals\x18\x1b \x03(\tB\x12\n\x10_distance_metricB\x11\n\x0f_storage_engineB\x0e\n\x0c_descriptionB\x0f\n\r_quantizationB\x11\n\x0f_storage_configB\x10\n\x0e_primary_indexB\x17\n\x15_auto_index_selectionB\x08\n\x06_ownerB\x10\n\x0e_record_schemaB\x18\n\x16_enable_proxima_recordB\x1d\n\x1b_enable_dual_use_embeddingsB\x13\n\x11_embedding_configB \n\x1e_canonical_embedding_precision"\xbe\x01\n\x0f\x45mbeddingConfig\x12+\n\x05route\x18\x01 \x01(\x0e\x32\x1c.proximadb.v1.EmbeddingRoute\x12-\n\x05\x63hunk\x18\x02 \x01(\x0b\x32\x19.proximadb.v1.ChunkConfigH\x00\x88\x01\x01\x12\x34\n\x0c\x62yo_endpoint\x18\x03 \x01(\x0b\x32\x19.proximadb.v1.ByoEndpointH\x01\x88\x01\x01\x42\x08\n\x06_chunkB\x0f\n\r_byo_endpoint"f\n\x0b\x43hunkConfig\x12\x13\n\x0bsize_tokens\x18\x01 \x01(\r\x12\x13\n\x0boverlap_pct\x18\x02 \x01(\x02\x12-\n\x08strategy\x18\x03 \x01(\x0e\x32\x1b.proximadb.v1.ChunkStrategy"}\n\x0b\x42yoEndpoint\x12\x0b\n\x03url\x18\x01 \x01(\t\x12#\n\x04\x61uth\x18\x02 \x01(\x0b\x32\x15.proximadb.v1.ByoAuth\x12\x14\n\x0c\x64\x65\x63lared_dim\x18\x03 \x01(\r\x12\x12\n\nbatch_size\x18\x04 \x01(\r\x12\x12\n\ntimeout_ms\x18\x05 \x01(\x04"X\n\x07\x42yoAuth\x12\x1b\n\x11\x62\x65\x61rer_secret_ref\x18\x01 \x01(\tH\x00\x12&\n\x04mtls\x18\x02 \x01(\x0b\x32\x16.proximadb.v1.MtlsCertH\x00\x42\x08\n\x06method"-\n\x08MtlsCert\x12\x10\n\x08\x63\x65rt_ref\x18\x01 \x01(\t\x12\x0f\n\x07key_ref\x18\x02 \x01(\t"Z\n\x0f\x43ollectionStats\x12\x14\n\x0cvector_count\x18\x01 \x01(\x03\x12\x18\n\x10index_size_bytes\x18\x02 \x01(\x03\x12\x17\n\x0f\x64\x61ta_size_bytes\x18\x03 \x01(\x03"\xf7\x01\n\nCollection\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1e.proximadb.v1.CollectionConfig\x12,\n\x05stats\x18\x03 \x01(\x0b\x32\x1d.proximadb.v1.CollectionStats\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x12\n\nupdated_at\x18\x05 \x01(\x03\x12@\n\x12storage_assignment\x18\x06 \x01(\x0b\x32\x1f.proximadb.v1.StorageAssignmentH\x00\x88\x01\x01\x42\x15\n\x13_storage_assignment"\x9a\n\n\x0bIndexConfig\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x32\n\talgorithm\x18\x02 \x01(\x0e\x32\x1f.proximadb.v1.IndexingAlgorithm\x12=\n\nparameters\x18\x03 \x03(\x0b\x32).proximadb.v1.IndexConfig.ParametersEntry\x12\x14\n\x07\x65nabled\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\x18\n\x0bupdate_mode\x18\x05 \x01(\x05H\x01\x88\x01\x01\x12$\n\x17\x61sync_update_timeout_ms\x18\x06 \x01(\rH\x02\x88\x01\x01\x12$\n\x17\x61sync_update_batch_size\x18\x07 \x01(\rH\x03\x88\x01\x01\x12+\n\x1e\x65nable_background_optimization\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12\x32\n\x0bhnsw_config\x18\t \x01(\x0b\x32\x18.proximadb.v1.HnswConfigH\x05\x88\x01\x01\x12\x30\n\nivf_config\x18\n \x01(\x0b\x32\x17.proximadb.v1.IvfConfigH\x06\x88\x01\x01\x12\x30\n\nlsh_config\x18\x0b \x01(\x0b\x32\x17.proximadb.v1.LshConfigH\x07\x88\x01\x01\x12\x18\n\x0b\x66lat_config\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x16\n\tpq_config\x18\r \x01(\tH\t\x88\x01\x01\x12\x19\n\x0c\x61nnoy_config\x18\x0e \x01(\tH\n\x88\x01\x01\x12\x1e\n\x11\x62uild_concurrency\x18\x0f \x01(\rH\x0b\x88\x01\x01\x12\x1c\n\x0fmemory_limit_mb\x18\x10 \x01(\rH\x0c\x88\x01\x01\x12#\n\x16\x63heckpoint_interval_ms\x18\x11 \x01(\rH\r\x88\x01\x01\x12\x17\n\nis_primary\x18\x12 \x01(\x08H\x0e\x88\x01\x01\x12\x11\n\tuse_cases\x18\x13 \x03(\t\x12"\n\x15selectivity_threshold\x18\x14 \x01(\x02H\x0f\x88\x01\x01\x12\x1d\n\x10use_quantization\x18\x15 \x01(\x08H\x10\x88\x01\x01\x12\x44\n\x15quantization_override\x18\x16 \x01(\x0b\x32 .proximadb.v1.QuantizationConfigH\x11\x88\x01\x01\x12!\n\x14queue_representation\x18\x17 \x01(\tH\x12\x88\x01\x01\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08_enabledB\x0e\n\x0c_update_modeB\x1a\n\x18_async_update_timeout_msB\x1a\n\x18_async_update_batch_sizeB!\n\x1f_enable_background_optimizationB\x0e\n\x0c_hnsw_configB\r\n\x0b_ivf_configB\r\n\x0b_lsh_configB\x0e\n\x0c_flat_configB\x0c\n\n_pq_configB\x0f\n\r_annoy_configB\x14\n\x12_build_concurrencyB\x12\n\x10_memory_limit_mbB\x19\n\x17_checkpoint_interval_msB\r\n\x0b_is_primaryB\x18\n\x16_selectivity_thresholdB\x13\n\x11_use_quantizationB\x18\n\x16_quantization_overrideB\x17\n\x15_queue_representation"\x81\x02\n\rStorageConfig\x12\x19\n\x0cstorage_path\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\ndata_paths\x18\x02 \x03(\t\x12<\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32".proximadb.v1.CompressionAlgorithmH\x01\x88\x01\x01\x12\x1d\n\x10max_file_size_mb\x18\x04 \x01(\rH\x02\x88\x01\x01\x12\x1b\n\x0e\x65nable_caching\x18\x05 \x01(\x08H\x03\x88\x01\x01\x42\x0f\n\r_storage_pathB\x0e\n\x0c_compressionB\x13\n\x11_max_file_size_mbB\x11\n\x0f_enable_caching"\x97\x02\n\x11StorageAssignment\x12\x14\n\x0cprimary_path\x18\x01 \x01(\t\x12\x14\n\x0c\x62\x61\x63kup_paths\x18\x02 \x03(\t\x12+\n\x06\x65ngine\x18\x03 \x01(\x0e\x32\x1b.proximadb.v1.StorageEngine\x12H\n\rengine_config\x18\x04 \x03(\x0b\x32\x31.proximadb.v1.StorageAssignment.EngineConfigEntry\x12\x15\n\rbase_location\x18\x05 \x01(\t\x12\x13\n\x0b\x61ssigned_at\x18\x06 \x01(\x03\x1a\x33\n\x11\x45ngineConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"-\n\x14GetCollectionRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t"\x84\x01\n\x16ListCollectionsRequest\x12\x12\n\x05limit\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06offset\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x1a\n\rinclude_stats\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x08\n\x06_limitB\t\n\x07_offsetB\x10\n\x0e_include_stats"H\n\x17ListCollectionsResponse\x12-\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x18.proximadb.v1.Collection"0\n\x17\x44\x65leteCollectionRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t"+\n\x18\x44\x65leteCollectionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08"\x9d\x04\n\x11\x43ollectionRequest\x12\x11\n\toperation\x18\x01 \x01(\x05\x12\x1a\n\rcollection_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12>\n\x11\x63ollection_config\x18\x03 \x01(\x0b\x32\x1e.proximadb.v1.CollectionConfigH\x01\x88\x01\x01\x12\x46\n\x0cquery_params\x18\x04 \x03(\x0b\x32\x30.proximadb.v1.CollectionRequest.QueryParamsEntry\x12=\n\x07options\x18\x05 \x03(\x0b\x32,.proximadb.v1.CollectionRequest.OptionsEntry\x12N\n\x10migration_config\x18\x06 \x03(\x0b\x32\x34.proximadb.v1.CollectionRequest.MigrationConfigEntry\x1a\x32\n\x10QueryParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a.\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x36\n\x14MigrationConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_collection_idB\x14\n\x12_collection_config"\xbb\x03\n\x12\x43ollectionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x31\n\ncollection\x18\x02 \x01(\x0b\x32\x18.proximadb.v1.CollectionH\x00\x88\x01\x01\x12-\n\x0b\x63ollections\x18\x03 \x03(\x0b\x32\x18.proximadb.v1.Collection\x12\x1a\n\rerror_message\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nerror_code\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x11\n\toperation\x18\x06 \x01(\x05\x12\x16\n\x0e\x61\x66\x66\x65\x63ted_count\x18\x07 \x01(\x03\x12\x13\n\x0btotal_count\x18\x08 \x01(\x03\x12@\n\x08metadata\x18\t \x03(\x0b\x32..proximadb.v1.CollectionResponse.MetadataEntry\x12\x1a\n\x12processing_time_us\x18\n \x01(\x03\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\r\n\x0b_collectionB\x10\n\x0e_error_messageB\r\n\x0b_error_code"\xa5\x01\n\x12\x43ollectionSnapshot\x12,\n\ncollection\x18\x01 \x01(\x0b\x32\x18.proximadb.v1.Collection\x12+\n\x07vectors\x18\x02 \x03(\x0b\x32\x1a.proximadb.v1.VectorRecord\x12\x1a\n\x12snapshot_timestamp\x18\x03 \x01(\x03\x12\x18\n\x10snapshot_version\x18\x04 \x01(\t"\xbc\x01\n\x12RecordSchemaConfig\x12\x11\n\tschema_id\x18\x01 \x01(\t\x12\x16\n\x0eschema_version\x18\x02 \x01(\t\x12\x34\n\x0b\x65nforcement\x18\x03 \x01(\x0e\x32\x1f.proximadb.v1.SchemaEnforcement\x12\x13\n\x0b\x61uto_evolve\x18\x04 \x01(\x08\x12\x30\n\x07\x63olumns\x18\x05 \x03(\x0b\x32\x1f.proximadb.v1.TypedColumnConfig"\xd8\x03\n\x11TypedColumnConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\tdata_type\x18\x02 \x01(\x0e\x32 .proximadb.v1.FilterableDataType\x12\x10\n\x08nullable\x18\x03 \x01(\x08\x12\x0f\n\x07indexed\x18\x04 \x01(\x08\x12\x12\n\nfilterable\x18\x05 \x01(\x08\x12\x17\n\nmax_length\x18\n \x01(\rH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x0c \x01(\x03H\x02\x88\x01\x01\x12\x1a\n\rregex_pattern\x18\r \x01(\tH\x03\x88\x01\x01\x12\x1a\n\rdefault_value\x18\x0e \x01(\tH\x04\x88\x01\x01\x12\x34\n\x0ctext_storage\x18\x14 \x01(\x0e\x32\x19.proximadb.v1.TextStorageH\x05\x88\x01\x01\x12\x1d\n\x10\x66ulltext_indexed\x18\x15 \x01(\x08H\x06\x88\x01\x01\x42\r\n\x0b_max_lengthB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x10\n\x0e_regex_patternB\x10\n\x0e_default_valueB\x0f\n\r_text_storageB\x13\n\x11_fulltext_indexed"\xb2\x03\n\x11TextStorageConfig\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12+\n\x08strategy\x18\x02 \x01(\x0e\x32\x19.proximadb.v1.TextStorage\x12\x18\n\x10inline_threshold\x18\x03 \x01(\r\x12\x19\n\x11\x63hunked_threshold\x18\x04 \x01(\r\x12\x12\n\nchunk_size\x18\x05 \x01(\r\x12!\n\x19generate_chunk_embeddings\x18\x06 \x01(\x08\x12\x17\n\x0f\x65mbedding_model\x18\x07 \x01(\t\x12\x1a\n\x12\x65nable_ngram_bloom\x18\x08 \x01(\x08\x12\x12\n\nngram_size\x18\t \x01(\r\x12\x19\n\x11sidecar_base_path\x18\n \x01(\t\x12:\n\x13sidecar_compression\x18\x0b \x01(\x0e\x32\x1d.proximadb.v1.TextCompression\x12\x15\n\rmax_text_size\x18\x0c \x01(\x04\x12\x1d\n\x15\x65nable_fulltext_index\x18\r \x01(\x08\x12\x19\n\x11\x66ulltext_analyzer\x18\x0e \x01(\t*\xd0\x01\n\x12\x45mbeddingPrecision\x12#\n\x1f\x45MBEDDING_PRECISION_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x45MBEDDING_PRECISION_FP32\x10\x01\x12\x1c\n\x18\x45MBEDDING_PRECISION_FP16\x10\x02\x12\x1c\n\x18\x45MBEDDING_PRECISION_BF16\x10\x03\x12\x1c\n\x18\x45MBEDDING_PRECISION_INT8\x10\x04\x12\x1d\n\x19\x45MBEDDING_PRECISION_UINT8\x10\x05*\xc6\x01\n\x0e\x45mbeddingRoute\x12\x1f\n\x1b\x45MBEDDING_ROUTE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x45MBEDDING_ROUTE_BGE_SMALL\x10\x01\x12\x1d\n\x19\x45MBEDDING_ROUTE_BGE_LARGE\x10\x02\x12\x1a\n\x16\x45MBEDDING_ROUTE_BGE_M3\x10\x03\x12 \n\x1c\x45MBEDDING_ROUTE_AZURE_OPENAI\x10\x04\x12\x17\n\x13\x45MBEDDING_ROUTE_BYO\x10\x05*\xad\x01\n\rChunkStrategy\x12\x1e\n\x1a\x43HUNK_STRATEGY_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x43HUNK_STRATEGY_FIXED_WINDOW\x10\x01\x12!\n\x1d\x43HUNK_STRATEGY_SLIDING_WINDOW\x10\x02\x12\x1c\n\x18\x43HUNK_STRATEGY_PARAGRAPH\x10\x03\x12\x1a\n\x16\x43HUNK_STRATEGY_HEADING\x10\x04*\xe0\x01\n\x13\x43ollectionOperation\x12$\n COLLECTION_OPERATION_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43OLLECTION_CREATE\x10\x01\x12\x15\n\x11\x43OLLECTION_UPDATE\x10\x02\x12\x12\n\x0e\x43OLLECTION_GET\x10\x03\x12\x13\n\x0f\x43OLLECTION_LIST\x10\x04\x12\x15\n\x11\x43OLLECTION_DELETE\x10\x05\x12\x16\n\x12\x43OLLECTION_MIGRATE\x10\x06\x12\x1d\n\x19\x43OLLECTION_GET_ID_BY_NAME\x10\x07*r\n\x11SchemaEnforcement\x12"\n\x1eSCHEMA_ENFORCEMENT_UNSPECIFIED\x10\x00\x12\x11\n\rSCHEMA_STRICT\x10\x01\x12\x13\n\x0fSCHEMA_FLEXIBLE\x10\x02\x12\x11\n\rSCHEMA_HYBRID\x10\x03*\x93\x01\n\x0bTextStorage\x12\x1c\n\x18TEXT_STORAGE_UNSPECIFIED\x10\x00\x12\x17\n\x13TEXT_STORAGE_INLINE\x10\x01\x12\x18\n\x14TEXT_STORAGE_CHUNKED\x10\x02\x12\x18\n\x14TEXT_STORAGE_SIDECAR\x10\x03\x12\x19\n\x15TEXT_STORAGE_ADAPTIVE\x10\x04*\x83\x01\n\x0fTextCompression\x12 \n\x1cTEXT_COMPRESSION_UNSPECIFIED\x10\x00\x12\x19\n\x15TEXT_COMPRESSION_NONE\x10\x01\x12\x18\n\x14TEXT_COMPRESSION_LZ4\x10\x02\x12\x19\n\x15TEXT_COMPRESSION_ZSTD\x10\x03\x62\x06proto3'
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
_globals = globals()
|
|
29
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
30
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
31
|
+
DESCRIPTOR, "proximadb.v1.collection_types_pb2", _globals
|
|
32
|
+
)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
DESCRIPTOR._loaded_options = None
|
|
35
|
+
_globals["_INDEXCONFIG_PARAMETERSENTRY"]._loaded_options = None
|
|
36
|
+
_globals["_INDEXCONFIG_PARAMETERSENTRY"]._serialized_options = b"8\001"
|
|
37
|
+
_globals["_STORAGEASSIGNMENT_ENGINECONFIGENTRY"]._loaded_options = None
|
|
38
|
+
_globals["_STORAGEASSIGNMENT_ENGINECONFIGENTRY"]._serialized_options = b"8\001"
|
|
39
|
+
_globals["_COLLECTIONREQUEST_QUERYPARAMSENTRY"]._loaded_options = None
|
|
40
|
+
_globals["_COLLECTIONREQUEST_QUERYPARAMSENTRY"]._serialized_options = b"8\001"
|
|
41
|
+
_globals["_COLLECTIONREQUEST_OPTIONSENTRY"]._loaded_options = None
|
|
42
|
+
_globals["_COLLECTIONREQUEST_OPTIONSENTRY"]._serialized_options = b"8\001"
|
|
43
|
+
_globals["_COLLECTIONREQUEST_MIGRATIONCONFIGENTRY"]._loaded_options = None
|
|
44
|
+
_globals["_COLLECTIONREQUEST_MIGRATIONCONFIGENTRY"]._serialized_options = b"8\001"
|
|
45
|
+
_globals["_COLLECTIONRESPONSE_METADATAENTRY"]._loaded_options = None
|
|
46
|
+
_globals["_COLLECTIONRESPONSE_METADATAENTRY"]._serialized_options = b"8\001"
|
|
47
|
+
_globals["_EMBEDDINGPRECISION"]._serialized_start = 6675
|
|
48
|
+
_globals["_EMBEDDINGPRECISION"]._serialized_end = 6883
|
|
49
|
+
_globals["_EMBEDDINGROUTE"]._serialized_start = 6886
|
|
50
|
+
_globals["_EMBEDDINGROUTE"]._serialized_end = 7084
|
|
51
|
+
_globals["_CHUNKSTRATEGY"]._serialized_start = 7087
|
|
52
|
+
_globals["_CHUNKSTRATEGY"]._serialized_end = 7260
|
|
53
|
+
_globals["_COLLECTIONOPERATION"]._serialized_start = 7263
|
|
54
|
+
_globals["_COLLECTIONOPERATION"]._serialized_end = 7487
|
|
55
|
+
_globals["_SCHEMAENFORCEMENT"]._serialized_start = 7489
|
|
56
|
+
_globals["_SCHEMAENFORCEMENT"]._serialized_end = 7603
|
|
57
|
+
_globals["_TEXTSTORAGE"]._serialized_start = 7606
|
|
58
|
+
_globals["_TEXTSTORAGE"]._serialized_end = 7753
|
|
59
|
+
_globals["_TEXTCOMPRESSION"]._serialized_start = 7756
|
|
60
|
+
_globals["_TEXTCOMPRESSION"]._serialized_end = 7887
|
|
61
|
+
_globals["_COLLECTIONCONFIG"]._serialized_start = 87
|
|
62
|
+
_globals["_COLLECTIONCONFIG"]._serialized_end = 1306
|
|
63
|
+
_globals["_EMBEDDINGCONFIG"]._serialized_start = 1309
|
|
64
|
+
_globals["_EMBEDDINGCONFIG"]._serialized_end = 1499
|
|
65
|
+
_globals["_CHUNKCONFIG"]._serialized_start = 1501
|
|
66
|
+
_globals["_CHUNKCONFIG"]._serialized_end = 1603
|
|
67
|
+
_globals["_BYOENDPOINT"]._serialized_start = 1605
|
|
68
|
+
_globals["_BYOENDPOINT"]._serialized_end = 1730
|
|
69
|
+
_globals["_BYOAUTH"]._serialized_start = 1732
|
|
70
|
+
_globals["_BYOAUTH"]._serialized_end = 1820
|
|
71
|
+
_globals["_MTLSCERT"]._serialized_start = 1822
|
|
72
|
+
_globals["_MTLSCERT"]._serialized_end = 1867
|
|
73
|
+
_globals["_COLLECTIONSTATS"]._serialized_start = 1869
|
|
74
|
+
_globals["_COLLECTIONSTATS"]._serialized_end = 1959
|
|
75
|
+
_globals["_COLLECTION"]._serialized_start = 1962
|
|
76
|
+
_globals["_COLLECTION"]._serialized_end = 2209
|
|
77
|
+
_globals["_INDEXCONFIG"]._serialized_start = 2212
|
|
78
|
+
_globals["_INDEXCONFIG"]._serialized_end = 3518
|
|
79
|
+
_globals["_INDEXCONFIG_PARAMETERSENTRY"]._serialized_start = 3075
|
|
80
|
+
_globals["_INDEXCONFIG_PARAMETERSENTRY"]._serialized_end = 3124
|
|
81
|
+
_globals["_STORAGECONFIG"]._serialized_start = 3521
|
|
82
|
+
_globals["_STORAGECONFIG"]._serialized_end = 3778
|
|
83
|
+
_globals["_STORAGEASSIGNMENT"]._serialized_start = 3781
|
|
84
|
+
_globals["_STORAGEASSIGNMENT"]._serialized_end = 4060
|
|
85
|
+
_globals["_STORAGEASSIGNMENT_ENGINECONFIGENTRY"]._serialized_start = 4009
|
|
86
|
+
_globals["_STORAGEASSIGNMENT_ENGINECONFIGENTRY"]._serialized_end = 4060
|
|
87
|
+
_globals["_GETCOLLECTIONREQUEST"]._serialized_start = 4062
|
|
88
|
+
_globals["_GETCOLLECTIONREQUEST"]._serialized_end = 4107
|
|
89
|
+
_globals["_LISTCOLLECTIONSREQUEST"]._serialized_start = 4110
|
|
90
|
+
_globals["_LISTCOLLECTIONSREQUEST"]._serialized_end = 4242
|
|
91
|
+
_globals["_LISTCOLLECTIONSRESPONSE"]._serialized_start = 4244
|
|
92
|
+
_globals["_LISTCOLLECTIONSRESPONSE"]._serialized_end = 4316
|
|
93
|
+
_globals["_DELETECOLLECTIONREQUEST"]._serialized_start = 4318
|
|
94
|
+
_globals["_DELETECOLLECTIONREQUEST"]._serialized_end = 4366
|
|
95
|
+
_globals["_DELETECOLLECTIONRESPONSE"]._serialized_start = 4368
|
|
96
|
+
_globals["_DELETECOLLECTIONRESPONSE"]._serialized_end = 4411
|
|
97
|
+
_globals["_COLLECTIONREQUEST"]._serialized_start = 4414
|
|
98
|
+
_globals["_COLLECTIONREQUEST"]._serialized_end = 4955
|
|
99
|
+
_globals["_COLLECTIONREQUEST_QUERYPARAMSENTRY"]._serialized_start = 4761
|
|
100
|
+
_globals["_COLLECTIONREQUEST_QUERYPARAMSENTRY"]._serialized_end = 4811
|
|
101
|
+
_globals["_COLLECTIONREQUEST_OPTIONSENTRY"]._serialized_start = 4813
|
|
102
|
+
_globals["_COLLECTIONREQUEST_OPTIONSENTRY"]._serialized_end = 4859
|
|
103
|
+
_globals["_COLLECTIONREQUEST_MIGRATIONCONFIGENTRY"]._serialized_start = 4861
|
|
104
|
+
_globals["_COLLECTIONREQUEST_MIGRATIONCONFIGENTRY"]._serialized_end = 4915
|
|
105
|
+
_globals["_COLLECTIONRESPONSE"]._serialized_start = 4958
|
|
106
|
+
_globals["_COLLECTIONRESPONSE"]._serialized_end = 5401
|
|
107
|
+
_globals["_COLLECTIONRESPONSE_METADATAENTRY"]._serialized_start = 5306
|
|
108
|
+
_globals["_COLLECTIONRESPONSE_METADATAENTRY"]._serialized_end = 5353
|
|
109
|
+
_globals["_COLLECTIONSNAPSHOT"]._serialized_start = 5404
|
|
110
|
+
_globals["_COLLECTIONSNAPSHOT"]._serialized_end = 5569
|
|
111
|
+
_globals["_RECORDSCHEMACONFIG"]._serialized_start = 5572
|
|
112
|
+
_globals["_RECORDSCHEMACONFIG"]._serialized_end = 5760
|
|
113
|
+
_globals["_TYPEDCOLUMNCONFIG"]._serialized_start = 5763
|
|
114
|
+
_globals["_TYPEDCOLUMNCONFIG"]._serialized_end = 6235
|
|
115
|
+
_globals["_TEXTSTORAGECONFIG"]._serialized_start = 6238
|
|
116
|
+
_globals["_TEXTSTORAGECONFIG"]._serialized_end = 6672
|
|
117
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
import grpc
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = "1.80.0"
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
|
|
15
|
+
_version_not_supported = first_version_is_lower(
|
|
16
|
+
GRPC_VERSION, GRPC_GENERATED_VERSION
|
|
17
|
+
)
|
|
18
|
+
except ImportError:
|
|
19
|
+
_version_not_supported = True
|
|
20
|
+
|
|
21
|
+
if _version_not_supported:
|
|
22
|
+
raise RuntimeError(
|
|
23
|
+
f"The grpc package installed is at version {GRPC_VERSION},"
|
|
24
|
+
+ " but the generated code in proximadb/v1/collection_types_pb2_grpc.py depends on"
|
|
25
|
+
+ f" grpcio>={GRPC_GENERATED_VERSION}."
|
|
26
|
+
+ f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}"
|
|
27
|
+
+ f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}."
|
|
28
|
+
)
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: proximadb/v1/entity.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 31, 1, "", "proximadb/v1/entity.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
from proximadb.v1 import types_pb2 as proximadb_dot_v1_dot_types__pb2
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
25
|
+
b'\n\x19proximadb/v1/entity.proto\x12\x0cproximadb.v1\x1a\x18proximadb/v1/types.proto"\xb3\x03\n\x06\x45ntity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x32\n\nembeddings\x18\x02 \x03(\x0b\x32\x1e.proximadb.v1.EmbeddingVersion\x12\x33\n\x0etyped_metadata\x18\x03 \x01(\x0b\x32\x1b.proximadb.v1.TypedMetadata\x12\x45\n\x11\x66lexible_metadata\x18\x04 \x03(\x0b\x32*.proximadb.v1.Entity.FlexibleMetadataEntry\x12,\n\nprovenance\x18\x05 \x01(\x0b\x32\x18.proximadb.v1.Provenance\x12)\n\trelations\x18\x06 \x03(\x0b\x32\x16.proximadb.v1.Relation\x12,\n\x08temporal\x18\x07 \x01(\x0b\x32\x1a.proximadb.v1.TemporalInfo\x12\x15\n\rcollection_id\x18\x08 \x01(\t\x1aO\n\x15\x46lexibleMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.proximadb.v1.SqlValue:\x02\x38\x01"\x9a\x02\n\x10\x45mbeddingVersion\x12\x10\n\x08model_id\x18\x01 \x01(\t\x12\x15\n\rmodel_version\x18\x02 \x01(\t\x12\x0e\n\x06vector\x18\x03 \x03(\x02\x12\x11\n\tdimension\x18\x04 \x01(\r\x12\x15\n\rcreated_at_ms\x18\x05 \x01(\x03\x12\x45\n\x0cmodel_params\x18\x06 \x03(\x0b\x32/.proximadb.v1.EmbeddingVersion.ModelParamsEntry\x12(\n\x08modality\x18\x07 \x01(\x0e\x32\x16.proximadb.v1.Modality\x1a\x32\n\x10ModelParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x91\x01\n\rTypedMetadata\x12\x37\n\x06\x66ields\x18\x01 \x03(\x0b\x32\'.proximadb.v1.TypedMetadata.FieldsEntry\x1aG\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.proximadb.v1.TypedField:\x02\x38\x01"\xe6\x01\n\nTypedField\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x31\n\x0cstring_array\x18\x05 \x01(\x0b\x32\x19.proximadb.v1.StringArrayH\x00\x12\x1c\n\x12timestamp_value_ms\x18\x06 \x01(\x03H\x00\x12\x0f\n\x07indexed\x18\x07 \x01(\x08\x12\x12\n\nfilterable\x18\x08 \x01(\x08\x42\x07\n\x05value"\x1d\n\x0bStringArray\x12\x0e\n\x06values\x18\x01 \x03(\t"\xe8\x01\n\nProvenance\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x10\n\x08\x63hunk_id\x18\x02 \x01(\t\x12\x16\n\x0e\x63hunk_position\x18\x03 \x01(\r\x12\x19\n\x11\x65xtraction_method\x18\x04 \x01(\t\x12\x17\n\x0f\x65xtracted_at_ms\x18\x05 \x01(\x03\x12\x38\n\x08metadata\x18\x06 \x03(\x0b\x32&.proximadb.v1.Provenance.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x96\x01\n\x0cTemporalInfo\x12\x15\n\rcreated_at_ms\x18\x01 \x01(\x03\x12\x15\n\rvalid_from_ms\x18\x02 \x01(\x03\x12\x13\n\x0bvalid_to_ms\x18\x03 \x01(\x03\x12\x12\n\nis_current\x18\x04 \x01(\x08\x12/\n\x08versions\x18\x05 \x03(\x0b\x32\x1d.proximadb.v1.TemporalVersion"\xa8\x01\n\x0fTemporalVersion\x12\x14\n\x0ctimestamp_ms\x18\x01 \x01(\x03\x12\x12\n\nversion_id\x18\x02 \x01(\t\x12;\n\x07\x63hanges\x18\x03 \x03(\x0b\x32*.proximadb.v1.TemporalVersion.ChangesEntry\x1a.\n\x0c\x43hangesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xeb\x01\n\x08Relation\x12\x18\n\x10source_entity_id\x18\x01 \x01(\t\x12\x18\n\x10target_entity_id\x18\x02 \x01(\t\x12\x15\n\rrelation_type\x18\x03 \x01(\t\x12\x0e\n\x06weight\x18\x04 \x01(\x02\x12\x15\n\rcreated_at_ms\x18\x05 \x01(\x03\x12:\n\nproperties\x18\x06 \x03(\x0b\x32&.proximadb.v1.Relation.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"x\n\x13UpsertEntityRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12$\n\x06\x65ntity\x18\x02 \x01(\x0b\x32\x14.proximadb.v1.Entity\x12$\n\x1c\x63reate_collection_if_missing\x18\x03 \x01(\x08"K\n\x14UpsertEntityResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x11\n\tentity_id\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t"s\n\x10GetEntityRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x11\n\tentity_id\x18\x02 \x01(\t\x12\x1a\n\x12include_embeddings\x18\x03 \x01(\x08\x12\x19\n\x11include_relations\x18\x04 \x01(\x08"9\n\x11GetEntityResponse\x12$\n\x06\x65ntity\x18\x01 \x01(\x0b\x32\x14.proximadb.v1.Entity"T\n\x13\x44\x65leteEntityRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x11\n\tentity_id\x18\x02 \x01(\t\x12\x13\n\x0bhard_delete\x18\x03 \x01(\x08"8\n\x14\x44\x65leteEntityResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t"\xde\x01\n\x15SearchEntitiesRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12+\n\x07similar\x18\x02 \x01(\x0b\x32\x1a.proximadb.v1.SimilarQuery\x12-\n\x07\x66ilters\x18\x03 \x01(\x0b\x32\x1c.proximadb.v1.MetadataFilter\x12.\n\x08temporal\x18\x04 \x01(\x0b\x32\x1c.proximadb.v1.TemporalClause\x12\r\n\x05top_k\x18\x05 \x01(\r\x12\x13\n\x0bprogressive\x18\x06 \x01(\x08"\xad\x01\n\x16SearchEntitiesResponse\x12+\n\x07results\x18\x01 \x03(\x0b\x32\x1a.proximadb.v1.EntityResult\x12\r\n\x05total\x18\x02 \x01(\r\x12)\n\tpage_info\x18\x03 \x01(\x0b\x32\x16.proximadb.v1.PageInfo\x12,\n\x08progress\x18\x04 \x01(\x0b\x32\x1a.proximadb.v1.ProgressInfo"\xb4\x01\n\x0c\x45ntityResult\x12$\n\x06\x65ntity\x18\x01 \x01(\x0b\x32\x14.proximadb.v1.Entity\x12\r\n\x05score\x18\x02 \x01(\x02\x12=\n\ndebug_info\x18\x03 \x03(\x0b\x32).proximadb.v1.EntityResult.DebugInfoEntry\x1a\x30\n\x0e\x44\x65\x62ugInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1c\n\nVectorData\x12\x0e\n\x06values\x18\x01 \x03(\x02"\xa3\x01\n\x0cSimilarQuery\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12*\n\x06vector\x18\x02 \x01(\x0b\x32\x18.proximadb.v1.VectorDataH\x00\x12\x12\n\x08raw_data\x18\x03 \x01(\x0cH\x00\x12\x10\n\x08model_id\x18\x04 \x01(\t\x12(\n\x08modality\x18\x05 \x01(\x0e\x32\x16.proximadb.v1.ModalityB\x07\n\x05query"b\n\x0eMetadataFilter\x12+\n\x07\x63lauses\x18\x01 \x03(\x0b\x32\x1a.proximadb.v1.FilterClause\x12#\n\x02op\x18\x02 \x01(\x0e\x32\x17.proximadb.v1.LogicalOp"\xa9\x01\n\x0c\x46ilterClause\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12&\n\x02op\x18\x02 \x01(\x0e\x32\x1a.proximadb.v1.ComparisonOp\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x13\n\tint_value\x18\x04 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x05 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x06 \x01(\x08H\x00\x42\x07\n\x05value"b\n\x0eTemporalClause\x12\x14\n\nat_time_ms\x18\x01 \x01(\x03H\x00\x12\x30\n\rvalid_between\x18\x02 \x01(\x0b\x32\x17.proximadb.v1.TimeRangeH\x00\x42\x08\n\x06\x63lause"-\n\tTimeRange\x12\x10\n\x08start_ms\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_ms\x18\x02 \x01(\x03",\n\x08PageInfo\x12\x0e\n\x06\x63ursor\x18\x01 \x01(\t\x12\x10\n\x08has_more\x18\x02 \x01(\x08"E\n\x0cProgressInfo\x12\r\n\x05stage\x18\x01 \x01(\r\x12\x14\n\x0ctotal_stages\x18\x02 \x01(\r\x12\x10\n\x08\x63omplete\x18\x03 \x01(\x08*E\n\x08Modality\x12\x08\n\x04TEXT\x10\x00\x12\t\n\x05IMAGE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\x0e\n\nMULTIMODAL\x10\x04*b\n\x0c\x43omparisonOp\x12\x06\n\x02\x45Q\x10\x00\x12\x06\n\x02NE\x10\x01\x12\x06\n\x02GT\x10\x02\x12\x07\n\x03GTE\x10\x03\x12\x06\n\x02LT\x10\x04\x12\x07\n\x03LTE\x10\x05\x12\x06\n\x02IN\x10\x06\x12\n\n\x06NOT_IN\x10\x07\x12\x0c\n\x08\x43ONTAINS\x10\x08*%\n\tLogicalOp\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\x12\x07\n\x03NOT\x10\x02\x32\xe8\x02\n\rEntityService\x12U\n\x0cUpsertEntity\x12!.proximadb.v1.UpsertEntityRequest\x1a".proximadb.v1.UpsertEntityResponse\x12L\n\tGetEntity\x12\x1e.proximadb.v1.GetEntityRequest\x1a\x1f.proximadb.v1.GetEntityResponse\x12U\n\x0c\x44\x65leteEntity\x12!.proximadb.v1.DeleteEntityRequest\x1a".proximadb.v1.DeleteEntityResponse\x12[\n\x0eSearchEntities\x12#.proximadb.v1.SearchEntitiesRequest\x1a$.proximadb.v1.SearchEntitiesResponseB,Z*github.com/proximadb/proto/go/proximadb/v1b\x06proto3'
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
_globals = globals()
|
|
29
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
30
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "proximadb.v1.entity_pb2", _globals)
|
|
31
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
|
+
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
|
+
_globals["DESCRIPTOR"]._serialized_options = (
|
|
34
|
+
b"Z*github.com/proximadb/proto/go/proximadb/v1"
|
|
35
|
+
)
|
|
36
|
+
_globals["_ENTITY_FLEXIBLEMETADATAENTRY"]._loaded_options = None
|
|
37
|
+
_globals["_ENTITY_FLEXIBLEMETADATAENTRY"]._serialized_options = b"8\001"
|
|
38
|
+
_globals["_EMBEDDINGVERSION_MODELPARAMSENTRY"]._loaded_options = None
|
|
39
|
+
_globals["_EMBEDDINGVERSION_MODELPARAMSENTRY"]._serialized_options = b"8\001"
|
|
40
|
+
_globals["_TYPEDMETADATA_FIELDSENTRY"]._loaded_options = None
|
|
41
|
+
_globals["_TYPEDMETADATA_FIELDSENTRY"]._serialized_options = b"8\001"
|
|
42
|
+
_globals["_PROVENANCE_METADATAENTRY"]._loaded_options = None
|
|
43
|
+
_globals["_PROVENANCE_METADATAENTRY"]._serialized_options = b"8\001"
|
|
44
|
+
_globals["_TEMPORALVERSION_CHANGESENTRY"]._loaded_options = None
|
|
45
|
+
_globals["_TEMPORALVERSION_CHANGESENTRY"]._serialized_options = b"8\001"
|
|
46
|
+
_globals["_RELATION_PROPERTIESENTRY"]._loaded_options = None
|
|
47
|
+
_globals["_RELATION_PROPERTIESENTRY"]._serialized_options = b"8\001"
|
|
48
|
+
_globals["_ENTITYRESULT_DEBUGINFOENTRY"]._loaded_options = None
|
|
49
|
+
_globals["_ENTITYRESULT_DEBUGINFOENTRY"]._serialized_options = b"8\001"
|
|
50
|
+
_globals["_MODALITY"]._serialized_start = 3836
|
|
51
|
+
_globals["_MODALITY"]._serialized_end = 3905
|
|
52
|
+
_globals["_COMPARISONOP"]._serialized_start = 3907
|
|
53
|
+
_globals["_COMPARISONOP"]._serialized_end = 4005
|
|
54
|
+
_globals["_LOGICALOP"]._serialized_start = 4007
|
|
55
|
+
_globals["_LOGICALOP"]._serialized_end = 4044
|
|
56
|
+
_globals["_ENTITY"]._serialized_start = 70
|
|
57
|
+
_globals["_ENTITY"]._serialized_end = 505
|
|
58
|
+
_globals["_ENTITY_FLEXIBLEMETADATAENTRY"]._serialized_start = 426
|
|
59
|
+
_globals["_ENTITY_FLEXIBLEMETADATAENTRY"]._serialized_end = 505
|
|
60
|
+
_globals["_EMBEDDINGVERSION"]._serialized_start = 508
|
|
61
|
+
_globals["_EMBEDDINGVERSION"]._serialized_end = 790
|
|
62
|
+
_globals["_EMBEDDINGVERSION_MODELPARAMSENTRY"]._serialized_start = 740
|
|
63
|
+
_globals["_EMBEDDINGVERSION_MODELPARAMSENTRY"]._serialized_end = 790
|
|
64
|
+
_globals["_TYPEDMETADATA"]._serialized_start = 793
|
|
65
|
+
_globals["_TYPEDMETADATA"]._serialized_end = 938
|
|
66
|
+
_globals["_TYPEDMETADATA_FIELDSENTRY"]._serialized_start = 867
|
|
67
|
+
_globals["_TYPEDMETADATA_FIELDSENTRY"]._serialized_end = 938
|
|
68
|
+
_globals["_TYPEDFIELD"]._serialized_start = 941
|
|
69
|
+
_globals["_TYPEDFIELD"]._serialized_end = 1171
|
|
70
|
+
_globals["_STRINGARRAY"]._serialized_start = 1173
|
|
71
|
+
_globals["_STRINGARRAY"]._serialized_end = 1202
|
|
72
|
+
_globals["_PROVENANCE"]._serialized_start = 1205
|
|
73
|
+
_globals["_PROVENANCE"]._serialized_end = 1437
|
|
74
|
+
_globals["_PROVENANCE_METADATAENTRY"]._serialized_start = 1390
|
|
75
|
+
_globals["_PROVENANCE_METADATAENTRY"]._serialized_end = 1437
|
|
76
|
+
_globals["_TEMPORALINFO"]._serialized_start = 1440
|
|
77
|
+
_globals["_TEMPORALINFO"]._serialized_end = 1590
|
|
78
|
+
_globals["_TEMPORALVERSION"]._serialized_start = 1593
|
|
79
|
+
_globals["_TEMPORALVERSION"]._serialized_end = 1761
|
|
80
|
+
_globals["_TEMPORALVERSION_CHANGESENTRY"]._serialized_start = 1715
|
|
81
|
+
_globals["_TEMPORALVERSION_CHANGESENTRY"]._serialized_end = 1761
|
|
82
|
+
_globals["_RELATION"]._serialized_start = 1764
|
|
83
|
+
_globals["_RELATION"]._serialized_end = 1999
|
|
84
|
+
_globals["_RELATION_PROPERTIESENTRY"]._serialized_start = 1950
|
|
85
|
+
_globals["_RELATION_PROPERTIESENTRY"]._serialized_end = 1999
|
|
86
|
+
_globals["_UPSERTENTITYREQUEST"]._serialized_start = 2001
|
|
87
|
+
_globals["_UPSERTENTITYREQUEST"]._serialized_end = 2121
|
|
88
|
+
_globals["_UPSERTENTITYRESPONSE"]._serialized_start = 2123
|
|
89
|
+
_globals["_UPSERTENTITYRESPONSE"]._serialized_end = 2198
|
|
90
|
+
_globals["_GETENTITYREQUEST"]._serialized_start = 2200
|
|
91
|
+
_globals["_GETENTITYREQUEST"]._serialized_end = 2315
|
|
92
|
+
_globals["_GETENTITYRESPONSE"]._serialized_start = 2317
|
|
93
|
+
_globals["_GETENTITYRESPONSE"]._serialized_end = 2374
|
|
94
|
+
_globals["_DELETEENTITYREQUEST"]._serialized_start = 2376
|
|
95
|
+
_globals["_DELETEENTITYREQUEST"]._serialized_end = 2460
|
|
96
|
+
_globals["_DELETEENTITYRESPONSE"]._serialized_start = 2462
|
|
97
|
+
_globals["_DELETEENTITYRESPONSE"]._serialized_end = 2518
|
|
98
|
+
_globals["_SEARCHENTITIESREQUEST"]._serialized_start = 2521
|
|
99
|
+
_globals["_SEARCHENTITIESREQUEST"]._serialized_end = 2743
|
|
100
|
+
_globals["_SEARCHENTITIESRESPONSE"]._serialized_start = 2746
|
|
101
|
+
_globals["_SEARCHENTITIESRESPONSE"]._serialized_end = 2919
|
|
102
|
+
_globals["_ENTITYRESULT"]._serialized_start = 2922
|
|
103
|
+
_globals["_ENTITYRESULT"]._serialized_end = 3102
|
|
104
|
+
_globals["_ENTITYRESULT_DEBUGINFOENTRY"]._serialized_start = 3054
|
|
105
|
+
_globals["_ENTITYRESULT_DEBUGINFOENTRY"]._serialized_end = 3102
|
|
106
|
+
_globals["_VECTORDATA"]._serialized_start = 3104
|
|
107
|
+
_globals["_VECTORDATA"]._serialized_end = 3132
|
|
108
|
+
_globals["_SIMILARQUERY"]._serialized_start = 3135
|
|
109
|
+
_globals["_SIMILARQUERY"]._serialized_end = 3298
|
|
110
|
+
_globals["_METADATAFILTER"]._serialized_start = 3300
|
|
111
|
+
_globals["_METADATAFILTER"]._serialized_end = 3398
|
|
112
|
+
_globals["_FILTERCLAUSE"]._serialized_start = 3401
|
|
113
|
+
_globals["_FILTERCLAUSE"]._serialized_end = 3570
|
|
114
|
+
_globals["_TEMPORALCLAUSE"]._serialized_start = 3572
|
|
115
|
+
_globals["_TEMPORALCLAUSE"]._serialized_end = 3670
|
|
116
|
+
_globals["_TIMERANGE"]._serialized_start = 3672
|
|
117
|
+
_globals["_TIMERANGE"]._serialized_end = 3717
|
|
118
|
+
_globals["_PAGEINFO"]._serialized_start = 3719
|
|
119
|
+
_globals["_PAGEINFO"]._serialized_end = 3763
|
|
120
|
+
_globals["_PROGRESSINFO"]._serialized_start = 3765
|
|
121
|
+
_globals["_PROGRESSINFO"]._serialized_end = 3834
|
|
122
|
+
_globals["_ENTITYSERVICE"]._serialized_start = 4047
|
|
123
|
+
_globals["_ENTITYSERVICE"]._serialized_end = 4407
|
|
124
|
+
# @@protoc_insertion_point(module_scope)
|