corvic-engine 0.3.0rc45__tar.gz → 0.3.0rc47__tar.gz
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.
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/Cargo.lock +10 -10
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/Cargo.toml +1 -1
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/PKG-INFO +1 -1
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/pyproject.toml +2 -2
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_agent.py +35 -1
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_base_model.py +2 -1
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_proto_orm_convert.py +52 -3
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/__init__.py +4 -98
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/_to_value.py +47 -2
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/_types.py +2 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/storage.py +1 -1
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/fs_blob_store.py +9 -3
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/rdbms_blob_store.py +3 -2
- corvic_engine-0.3.0rc47/python/corvic_generated/model/v1alpha/models_pb2.py +58 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/model/v1alpha/models_pb2.pyi +0 -56
- corvic_engine-0.3.0rc45/python/corvic_generated/model/v1alpha/models_pb2.py +0 -68
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/LICENSE +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/README.md +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/Cargo.toml +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/expression_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/expression_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/expression_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/expression_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/priv/private_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/priv/private_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/priv/private_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/priv/private_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/validate_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/validate_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/validate_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/buf/validate/validate_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/context/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/context/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embed/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embed/node2vec.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embed/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embedding_metric/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embedding_metric/embeddings.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/embedding_metric/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/engine/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/engine/_native.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/engine/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_completion_model.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_defaults.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_errors.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_feature_type.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_feature_view.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_pipeline.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_resource.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_room.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_source.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_space.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/_schema.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/_transformations.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/aggregation.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/encoders.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/errors.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/feature_types.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/ops.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/row_filters/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/row_filters/_jsonlogic.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/row_filters/_row_filters.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/op_graph/sample_strategy.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/_proto_columns.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/base.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/errors.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/func/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/func/utc_func.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/func/uuid_func.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/ids.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/keys.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/mixins.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/orm/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/_const.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/_from_value.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/_temporal.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/pa_scalar/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/proto_wrapper/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/proto_wrapper/_errors.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/proto_wrapper/_wrappers.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/proto_wrapper/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/result/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/result/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/sql/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/sql/parse_ops.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/sql/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/_dimension_reduction.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/_embedder.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/_image_embedder.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/_planner.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/_text_embedder.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/client.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/in_memory_executor.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/op_graph_executor.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system/staging.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/client.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/staging.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/table/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/table/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/table/table.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/version/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/version/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/well_known_types/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/well_known_types/py.typed +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/v1/graph_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/v1/graph_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/chat/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/completion/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/v1/settings_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/v1/settings_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/v1/settings_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/config/v1/settings_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/v1/models_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/v1/models_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/v1/models_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/embedding/v1/models_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/experiment_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/experiment_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/experiment_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/experiment_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v1/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/feature_view_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/feature_view_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/feature/v2/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/pipeline_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/pipeline_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/quick_mode_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/quick_mode_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/resource_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/resource_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/resource_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/resource_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/room_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/room_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/room_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/room_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/source_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/source_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/source_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/source_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/table_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/table_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/table_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/ingest/v2/table_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/model/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/model/v1alpha/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/model/v1alpha/models_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/model/v1alpha/models_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/agent_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/agent_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/agent_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/agent_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/common_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/common_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/common_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/common_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/completion_model_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/completion_model_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/feature_view_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/feature_view_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/pipeline_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/pipeline_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/table_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/table_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/table_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/orm/v1/table_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/v1/platform_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/v1/platform_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/v1/platform_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/platform/v1/platform_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/v1/query_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/v1/query_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/v1/query_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/query/v1/query_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/event_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/event_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/event_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/event_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic_generated/status/v1/service_pb2_grpc.pyi +0 -0
@@ -22,7 +22,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
22
22
|
|
23
23
|
[[package]]
|
24
24
|
name = "corvic-engine"
|
25
|
-
version = "0.3.0-rc.
|
25
|
+
version = "0.3.0-rc.47"
|
26
26
|
dependencies = [
|
27
27
|
"numpy",
|
28
28
|
"pyo3",
|
@@ -63,7 +63,7 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
|
63
63
|
|
64
64
|
[[package]]
|
65
65
|
name = "engine-walk"
|
66
|
-
version = "0.3.0-rc.
|
66
|
+
version = "0.3.0-rc.47"
|
67
67
|
dependencies = [
|
68
68
|
"version_check",
|
69
69
|
]
|
@@ -172,9 +172,9 @@ dependencies = [
|
|
172
172
|
|
173
173
|
[[package]]
|
174
174
|
name = "once_cell"
|
175
|
-
version = "1.20.
|
175
|
+
version = "1.20.3"
|
176
176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
177
|
-
checksum = "
|
177
|
+
checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
|
178
178
|
|
179
179
|
[[package]]
|
180
180
|
name = "parking_lot"
|
@@ -335,15 +335,15 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
335
335
|
|
336
336
|
[[package]]
|
337
337
|
name = "smallvec"
|
338
|
-
version = "1.
|
338
|
+
version = "1.14.0"
|
339
339
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
340
|
-
checksum = "
|
340
|
+
checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
|
341
341
|
|
342
342
|
[[package]]
|
343
343
|
name = "syn"
|
344
|
-
version = "2.0.
|
344
|
+
version = "2.0.98"
|
345
345
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
346
|
-
checksum = "
|
346
|
+
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
|
347
347
|
dependencies = [
|
348
348
|
"proc-macro2",
|
349
349
|
"quote",
|
@@ -368,9 +368,9 @@ dependencies = [
|
|
368
368
|
|
369
369
|
[[package]]
|
370
370
|
name = "unicode-ident"
|
371
|
-
version = "1.0.
|
371
|
+
version = "1.0.17"
|
372
372
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
373
|
-
checksum = "
|
373
|
+
checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"
|
374
374
|
|
375
375
|
[[package]]
|
376
376
|
name = "unindent"
|
@@ -20,7 +20,7 @@ authors = [
|
|
20
20
|
]
|
21
21
|
readme = "README.md"
|
22
22
|
description = "Seamless embedding generation and retrieval."
|
23
|
-
version = "0.3.0-rc.
|
23
|
+
version = "0.3.0-rc.47" # sync this with tool.poetry.version below
|
24
24
|
|
25
25
|
# TODO(ddn): Pull dependencies from tool.poetry.dependencies. We use maturin as
|
26
26
|
# the build system but poetry for the development environment.
|
@@ -74,7 +74,7 @@ packages = [
|
|
74
74
|
]
|
75
75
|
description = ""
|
76
76
|
authors = []
|
77
|
-
version = "0.3.0-rc.
|
77
|
+
version = "0.3.0-rc.47"
|
78
78
|
|
79
79
|
[tool.poetry.scripts]
|
80
80
|
check = "corvic_check.cli:main"
|
@@ -3,7 +3,8 @@
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
5
|
import copy
|
6
|
-
|
6
|
+
import datetime
|
7
|
+
from collections.abc import Iterable, Sequence
|
7
8
|
from typing import TypeAlias
|
8
9
|
|
9
10
|
from sqlalchemy import orm as sa_orm
|
@@ -95,6 +96,39 @@ class Agent(BaseModel[AgentID, models_pb2.Agent, orm.Agent]):
|
|
95
96
|
),
|
96
97
|
)
|
97
98
|
|
99
|
+
@classmethod
|
100
|
+
def from_proto(
|
101
|
+
cls, proto: models_pb2.Agent, client: system.Client | None = None
|
102
|
+
) -> Agent:
|
103
|
+
client = client or Defaults.get_default_client()
|
104
|
+
return cls(client, proto)
|
105
|
+
|
106
|
+
@classmethod
|
107
|
+
def list(
|
108
|
+
cls,
|
109
|
+
*,
|
110
|
+
limit: int | None = None,
|
111
|
+
room_id: RoomID | None = None,
|
112
|
+
created_before: datetime.datetime | None = None,
|
113
|
+
client: system.Client | None = None,
|
114
|
+
ids: Iterable[AgentID] | None = None,
|
115
|
+
existing_session: sa_orm.Session | None = None,
|
116
|
+
) -> Ok[list[Agent]] | NotFoundError | InvalidArgumentError:
|
117
|
+
"""List agent models."""
|
118
|
+
client = client or Defaults.get_default_client()
|
119
|
+
match cls.list_as_proto(
|
120
|
+
client,
|
121
|
+
limit=limit,
|
122
|
+
room_id=room_id,
|
123
|
+
created_before=created_before,
|
124
|
+
ids=ids,
|
125
|
+
existing_session=existing_session,
|
126
|
+
):
|
127
|
+
case NotFoundError() | InvalidArgumentError() as err:
|
128
|
+
return err
|
129
|
+
case Ok(protos):
|
130
|
+
return Ok([cls.from_proto(proto, client) for proto in protos])
|
131
|
+
|
98
132
|
@property
|
99
133
|
def name(self) -> str:
|
100
134
|
return self.proto_self.name
|
@@ -206,7 +206,8 @@ class BaseModel(Generic[ID, _ProtoObj, OrmObj], UsesOrmID[ID, _ProtoObj]):
|
|
206
206
|
try:
|
207
207
|
_ = self.proto_to_orm(self.proto_self, session).unwrap_or_raise()
|
208
208
|
session.flush()
|
209
|
-
|
209
|
+
# TODO(thunt): Possibly separate out DatabaseError into a precondition error
|
210
|
+
except (sa.exc.DatabaseError, sa.exc.StatementError) as err:
|
210
211
|
return InvalidArgumentError.from_(err)
|
211
212
|
return Ok(None)
|
212
213
|
|
{corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/model/_proto_orm_convert.py
RENAMED
@@ -386,6 +386,37 @@ def source_proto_to_orm(
|
|
386
386
|
return Ok(_add_orm_to_session(orm_obj, proto_obj.org_id, session))
|
387
387
|
|
388
388
|
|
389
|
+
def _update_agent_associations(
|
390
|
+
agent: orm.Agent,
|
391
|
+
session: sa_orm.Session,
|
392
|
+
) -> list[orm.SpaceID]:
|
393
|
+
associated_space_ids = list[orm.SpaceID]()
|
394
|
+
agent_id = agent.id
|
395
|
+
agent_parameters = agent.parameters
|
396
|
+
if not agent_id or not agent_parameters:
|
397
|
+
return associated_space_ids
|
398
|
+
for (
|
399
|
+
raw_space_id,
|
400
|
+
instruction,
|
401
|
+
) in agent_parameters.orchestrator_parameters.space_instructions.items():
|
402
|
+
space_id = orm.SpaceID(raw_space_id)
|
403
|
+
space_run_id = (
|
404
|
+
orm.SpaceRunID(instruction.space_run_id)
|
405
|
+
if instruction.space_run_id
|
406
|
+
else None
|
407
|
+
)
|
408
|
+
associated_space_ids.append(space_id)
|
409
|
+
session.merge(
|
410
|
+
orm.AgentSpaceAssociation(
|
411
|
+
room_id=agent.room_id,
|
412
|
+
agent_id=agent_id,
|
413
|
+
space_id=space_id,
|
414
|
+
space_run_id=space_run_id,
|
415
|
+
)
|
416
|
+
)
|
417
|
+
return associated_space_ids
|
418
|
+
|
419
|
+
|
389
420
|
def agent_proto_to_orm(
|
390
421
|
proto_obj: models_pb2.Agent, session: sa_orm.Session
|
391
422
|
) -> Ok[orm.Agent] | orm.InvalidORMIdentifierError | InvalidArgumentError:
|
@@ -403,7 +434,18 @@ def agent_proto_to_orm(
|
|
403
434
|
parameters=proto_obj.agent_parameters,
|
404
435
|
room_id=room_id,
|
405
436
|
)
|
406
|
-
|
437
|
+
agent = _add_orm_to_session(orm_obj, proto_obj.org_id, session)
|
438
|
+
session.flush()
|
439
|
+
|
440
|
+
if not agent.id:
|
441
|
+
return InvalidArgumentError("failed to add agent to session")
|
442
|
+
associated_space_ids = _update_agent_associations(agent, session)
|
443
|
+
session.execute(
|
444
|
+
sa.delete(orm.AgentSpaceAssociation)
|
445
|
+
.where(orm.AgentSpaceAssociation.agent_id == agent.id)
|
446
|
+
.where(orm.AgentSpaceAssociation.space_id.not_in(associated_space_ids))
|
447
|
+
)
|
448
|
+
return Ok(agent)
|
407
449
|
|
408
450
|
|
409
451
|
def space_proto_to_orm(
|
@@ -650,6 +692,11 @@ def resource_delete_orms(
|
|
650
692
|
def agent_delete_orms(
|
651
693
|
ids: Sequence[orm.AgentID], session: orm.Session
|
652
694
|
) -> Ok[None] | InvalidArgumentError:
|
695
|
+
session.execute(
|
696
|
+
sa.delete(orm.AgentSpaceAssociation).where(
|
697
|
+
orm.AgentSpaceAssociation.agent_id.in_(ids)
|
698
|
+
)
|
699
|
+
)
|
653
700
|
session.execute(sa.delete(orm.Agent).where(orm.Agent.id.in_(ids)))
|
654
701
|
return Ok(None)
|
655
702
|
|
@@ -718,12 +765,14 @@ def room_delete_orms(
|
|
718
765
|
ids: Sequence[orm.RoomID], session: orm.Session
|
719
766
|
) -> Ok[None] | InvalidArgumentError:
|
720
767
|
source_refs = list(
|
721
|
-
session.scalars(
|
768
|
+
session.scalars(
|
769
|
+
sa.select(orm.Source).where(orm.Source.room_id.in_(ids)).limit(1)
|
770
|
+
)
|
722
771
|
)
|
723
772
|
if source_refs:
|
724
773
|
return InvalidArgumentError("cannot delete a room that still has sources")
|
725
774
|
|
726
|
-
session.execute(sa.delete(orm.Room).where(orm.Room.id
|
775
|
+
session.execute(sa.delete(orm.Room).where(orm.Room.id.in_(ids)))
|
727
776
|
return Ok(None)
|
728
777
|
|
729
778
|
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
4
4
|
|
5
5
|
import sqlalchemy as sa
|
6
6
|
from sqlalchemy import orm as sa_orm
|
7
|
-
from sqlalchemy.orm.collections import attribute_mapped_collection
|
8
7
|
|
9
8
|
from corvic.orm._proto_columns import ProtoMessageDecorator
|
10
9
|
from corvic.orm.base import Base, OrgBase
|
@@ -287,14 +286,6 @@ class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
287
286
|
viewonly=True,
|
288
287
|
)
|
289
288
|
|
290
|
-
agent_associations: sa_orm.Mapped[list[AgentSpaceAssociation]] = (
|
291
|
-
sa_orm.relationship(
|
292
|
-
init=False,
|
293
|
-
viewonly=True,
|
294
|
-
default_factory=list,
|
295
|
-
)
|
296
|
-
)
|
297
|
-
|
298
289
|
@property
|
299
290
|
def space_key(self):
|
300
291
|
return self.name
|
@@ -351,12 +342,6 @@ class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
351
342
|
parameters: sa_orm.Mapped[agent_pb2.AgentParameters | None] = sa_orm.mapped_column(
|
352
343
|
default=None
|
353
344
|
)
|
354
|
-
messages: sa_orm.Mapped[dict[str, MessageEntry]] = sa_orm.relationship(
|
355
|
-
collection_class=attribute_mapped_collection("entry_id"),
|
356
|
-
default_factory=dict,
|
357
|
-
init=False,
|
358
|
-
viewonly=True,
|
359
|
-
)
|
360
345
|
|
361
346
|
space_associations: sa_orm.Mapped[list[AgentSpaceAssociation]] = (
|
362
347
|
sa_orm.relationship(default_factory=list, init=False, viewonly=True)
|
@@ -366,91 +351,15 @@ class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
366
351
|
class AgentSpaceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
367
352
|
__tablename__ = "agent_space_association"
|
368
353
|
|
354
|
+
space_run_id: sa_orm.Mapped[SpaceRunID | None] = sa_orm.mapped_column(
|
355
|
+
ForeignKey(SpaceRun).make()
|
356
|
+
)
|
369
357
|
agent_id: sa_orm.Mapped[AgentID] = primary_key_foreign_column(
|
370
|
-
ForeignKey(Agent).make()
|
358
|
+
ForeignKey(Agent).make(ondelete="CASCADE")
|
371
359
|
)
|
372
360
|
space_id: sa_orm.Mapped[SpaceID] = primary_key_foreign_column(
|
373
361
|
ForeignKey(Space).make()
|
374
362
|
)
|
375
|
-
space: sa_orm.Mapped[Space] = sa_orm.relationship(
|
376
|
-
back_populates="agent_associations", init=False, viewonly=True
|
377
|
-
)
|
378
|
-
|
379
|
-
|
380
|
-
class UserMessage(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
381
|
-
"""A message sent by an user."""
|
382
|
-
|
383
|
-
__tablename__ = "user_message"
|
384
|
-
|
385
|
-
message_entry: sa_orm.Mapped[MessageEntry] = sa_orm.relationship(
|
386
|
-
init=True, default=None
|
387
|
-
)
|
388
|
-
|
389
|
-
id: sa_orm.Mapped[UserMessageID | None] = primary_key_identity_column()
|
390
|
-
|
391
|
-
message: sa_orm.Mapped[str | None] = sa_orm.mapped_column(sa.Text, default=None)
|
392
|
-
|
393
|
-
|
394
|
-
class AgentMessage(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
395
|
-
"""A message sent by an agent."""
|
396
|
-
|
397
|
-
__tablename__ = "agent_message"
|
398
|
-
message_metadata: sa_orm.Mapped[common_pb2.AgentMessageMetadata | None] = (
|
399
|
-
sa_orm.mapped_column(
|
400
|
-
default_factory=lambda: common_pb2.AgentMessageMetadata(
|
401
|
-
message_reaction=common_pb2.MessageReaction.MESSAGE_REACTION_UNSPECIFIED
|
402
|
-
)
|
403
|
-
)
|
404
|
-
)
|
405
|
-
id: sa_orm.Mapped[AgentMessageID | None] = primary_key_identity_column()
|
406
|
-
|
407
|
-
message_entry: sa_orm.Mapped[MessageEntry] = sa_orm.relationship(
|
408
|
-
init=True, default=None
|
409
|
-
)
|
410
|
-
|
411
|
-
user_message_id: sa_orm.Mapped[UserMessageID | None] = sa_orm.mapped_column(
|
412
|
-
ForeignKey(UserMessage).make(ondelete="CASCADE"), init=True, default=None
|
413
|
-
)
|
414
|
-
message: sa_orm.Mapped[str | None] = sa_orm.mapped_column(sa.Text, default=None)
|
415
|
-
policy: sa_orm.Mapped[str | None] = sa_orm.mapped_column(sa.Text, default=None)
|
416
|
-
context: sa_orm.Mapped[str | None] = sa_orm.mapped_column(sa.Text, default=None)
|
417
|
-
retrieved_entities: sa_orm.Mapped[common_pb2.RetrievedEntities | None] = (
|
418
|
-
sa_orm.mapped_column(default=None)
|
419
|
-
)
|
420
|
-
|
421
|
-
|
422
|
-
class MessageEntry(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
423
|
-
"""A message either sent by an Agent or an User."""
|
424
|
-
|
425
|
-
__tablename__ = "message_entry"
|
426
|
-
|
427
|
-
id: sa_orm.Mapped[MessageEntryID | None] = primary_key_identity_column()
|
428
|
-
|
429
|
-
agent_id: sa_orm.Mapped[AgentID] = sa_orm.mapped_column(
|
430
|
-
ForeignKey(Agent).make(ondelete="CASCADE"),
|
431
|
-
nullable=True,
|
432
|
-
init=True,
|
433
|
-
default=None,
|
434
|
-
)
|
435
|
-
|
436
|
-
agent_message_id: sa_orm.Mapped[AgentMessageID | None] = sa_orm.mapped_column(
|
437
|
-
ForeignKey(AgentMessage).make(ondelete="CASCADE"), default=None
|
438
|
-
)
|
439
|
-
user_message_id: sa_orm.Mapped[UserMessageID | None] = sa_orm.mapped_column(
|
440
|
-
ForeignKey(UserMessage).make(ondelete="CASCADE"), default=None
|
441
|
-
)
|
442
|
-
|
443
|
-
agent_message: sa_orm.Mapped[AgentMessage | None] = sa_orm.relationship(
|
444
|
-
back_populates="message_entry", init=True, default=None
|
445
|
-
)
|
446
|
-
|
447
|
-
user_message: sa_orm.Mapped[UserMessage | None] = sa_orm.relationship(
|
448
|
-
back_populates="message_entry", init=True, default=None
|
449
|
-
)
|
450
|
-
|
451
|
-
@property
|
452
|
-
def entry_id(self):
|
453
|
-
return self.id
|
454
363
|
|
455
364
|
|
456
365
|
class CompletionModel(SoftDeleteMixin, BelongsToOrgMixin, Base):
|
@@ -494,7 +403,6 @@ ID = (
|
|
494
403
|
__all__ = [
|
495
404
|
"Agent",
|
496
405
|
"AgentID",
|
497
|
-
"AgentMessage",
|
498
406
|
"AgentMessageID",
|
499
407
|
"Base",
|
500
408
|
"BaseID",
|
@@ -510,7 +418,6 @@ __all__ = [
|
|
510
418
|
"FeatureViewSourceID",
|
511
419
|
"ID",
|
512
420
|
"InvalidORMIdentifierError",
|
513
|
-
"MessageEntry",
|
514
421
|
"MessageEntryID",
|
515
422
|
"Org",
|
516
423
|
"OrgID",
|
@@ -530,7 +437,6 @@ __all__ = [
|
|
530
437
|
"SpaceParametersID",
|
531
438
|
"SpaceRun",
|
532
439
|
"SpaceRunID",
|
533
|
-
"UserMessage",
|
534
440
|
"UserMessageID",
|
535
441
|
"primary_key_foreign_column",
|
536
442
|
"primary_key_identity_column",
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import base64
|
2
2
|
import datetime
|
3
3
|
import decimal
|
4
|
+
import math
|
4
5
|
from collections.abc import Callable, Iterable, Mapping
|
5
|
-
from typing import Final, TypeAlias, cast
|
6
|
+
from typing import Any, Final, TypeAlias, cast
|
6
7
|
|
7
8
|
import pyarrow as pa
|
8
9
|
from google.protobuf import struct_pb2
|
10
|
+
from pyarrow.lib import ArrowException
|
9
11
|
|
10
12
|
from corvic.pa_scalar._temporal import (
|
11
13
|
MonthDayNanoFrac,
|
@@ -118,11 +120,17 @@ def _visit_uint64(
|
|
118
120
|
return struct_pb2.Value(string_value=str(value))
|
119
121
|
|
120
122
|
|
123
|
+
def _is_invalid_float(value: float):
|
124
|
+
return math.isnan(value) or math.isinf(value)
|
125
|
+
|
126
|
+
|
121
127
|
def _visit_float16(
|
122
128
|
value: _PyValue,
|
123
129
|
dtype: pa.DataType,
|
124
130
|
) -> struct_pb2.Value:
|
125
131
|
value = cast(float, value)
|
132
|
+
if _is_invalid_float(value):
|
133
|
+
return _visit_null(value, pa.null())
|
126
134
|
return struct_pb2.Value(number_value=value)
|
127
135
|
|
128
136
|
|
@@ -131,6 +139,8 @@ def _visit_float32(
|
|
131
139
|
dtype: pa.DataType,
|
132
140
|
) -> struct_pb2.Value:
|
133
141
|
value = cast(float, value)
|
142
|
+
if _is_invalid_float(value):
|
143
|
+
return _visit_null(value, pa.null())
|
134
144
|
return struct_pb2.Value(number_value=value)
|
135
145
|
|
136
146
|
|
@@ -139,6 +149,8 @@ def _visit_float64(
|
|
139
149
|
dtype: pa.DataType,
|
140
150
|
) -> struct_pb2.Value:
|
141
151
|
value = cast(float, value)
|
152
|
+
if _is_invalid_float(value):
|
153
|
+
return _visit_null(value, pa.null())
|
142
154
|
return struct_pb2.Value(number_value=value)
|
143
155
|
|
144
156
|
|
@@ -412,6 +424,8 @@ def to_value(
|
|
412
424
|
case int():
|
413
425
|
return struct_pb2.Value(string_value=str(scalar))
|
414
426
|
case float():
|
427
|
+
if _is_invalid_float(scalar):
|
428
|
+
return to_value(None)
|
415
429
|
return struct_pb2.Value(number_value=scalar)
|
416
430
|
case str():
|
417
431
|
return struct_pb2.Value(string_value=scalar)
|
@@ -424,6 +438,36 @@ def to_value(
|
|
424
438
|
return _visit(value, scalar.type)
|
425
439
|
|
426
440
|
|
441
|
+
def _to_py(scalar: Scalar) -> Any:
|
442
|
+
try:
|
443
|
+
# This scalar might have malformed binary data that's incorrectly typed
|
444
|
+
# as string (e.g. non-utf-8 strings), so skip it
|
445
|
+
scalar.validate(full=True)
|
446
|
+
return scalar.as_py()
|
447
|
+
except ArrowException:
|
448
|
+
# To create examples that hit this code path, one needs to create a
|
449
|
+
# pyarrow.BinaryArray and then cast it to a StringArray but also supply
|
450
|
+
# a CastOptions with allow_invalid_utf8 set to True.
|
451
|
+
# TODO(aneesh): also check pa.types.is_dictionary
|
452
|
+
if (
|
453
|
+
pa.types.is_list(scalar.type)
|
454
|
+
or pa.types.is_large_list(scalar.type)
|
455
|
+
or pa.types.is_fixed_size_list(scalar.type)
|
456
|
+
):
|
457
|
+
lscalar = cast(pa.ListScalar[Any], scalar)
|
458
|
+
return [_to_py(v) for v in lscalar.values] # noqa: PD011 # type: ignore[unknownMemberType]
|
459
|
+
if pa.types.is_map(scalar.type):
|
460
|
+
mscalar = cast(pa.MapScalar[Any, Any], scalar)
|
461
|
+
return {
|
462
|
+
res["key"]: res["value"]
|
463
|
+
for res in [_to_py(v) for v in mscalar.values] # noqa: PD011 # type: ignore[unknownMemberType]
|
464
|
+
}
|
465
|
+
if pa.types.is_struct(scalar.type):
|
466
|
+
sscalar = cast(pa.StructScalar, scalar)
|
467
|
+
return {k: _to_py(sscalar[k]) for k in sscalar}
|
468
|
+
return None
|
469
|
+
|
470
|
+
|
427
471
|
def batch_to_structs(
|
428
472
|
batch: pa.RecordBatch,
|
429
473
|
) -> list[struct_pb2.Struct]:
|
@@ -432,7 +476,8 @@ def batch_to_structs(
|
|
432
476
|
field_by_name = {field.name: field for field in schema}
|
433
477
|
|
434
478
|
ret: list[struct_pb2.Struct] = []
|
435
|
-
for
|
479
|
+
for pa_row in batch.to_struct_array():
|
480
|
+
row = _to_py(cast(Scalar, pa_row))
|
436
481
|
fields = {
|
437
482
|
col_name: _visit(v, field_by_name[col_name].type)
|
438
483
|
for col_name, v in row.items()
|
{corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/fs_blob_store.py
RENAMED
@@ -228,10 +228,16 @@ class FSBucket:
|
|
228
228
|
def create(self) -> None:
|
229
229
|
return self.path().mkdir()
|
230
230
|
|
231
|
-
def list_blobs(self) -> Iterator[FSBlob]:
|
231
|
+
def list_blobs(self, prefix: str | None = None) -> Iterator[FSBlob]:
|
232
232
|
for entry in self.path().glob("*"):
|
233
|
-
if
|
234
|
-
|
233
|
+
if entry.name.endswith(".metadata"):
|
234
|
+
continue
|
235
|
+
true_name = base64.urlsafe_b64decode(entry.name.encode("utf-8")).decode(
|
236
|
+
"utf-8"
|
237
|
+
)
|
238
|
+
if prefix and not true_name.startswith(prefix):
|
239
|
+
continue
|
240
|
+
yield FSBlob.from_path(self, entry)
|
235
241
|
|
236
242
|
def path(self) -> Path:
|
237
243
|
return self.client.root() / self.name
|
{corvic_engine-0.3.0rc45 → corvic_engine-0.3.0rc47}/python/corvic/system_sqlite/rdbms_blob_store.py
RENAMED
@@ -277,14 +277,15 @@ class RDBMSBucket:
|
|
277
277
|
session.add(ORMBucket(name=self._name))
|
278
278
|
session.commit()
|
279
279
|
|
280
|
-
def list_blobs(self) -> Iterator[RDBMSBlob]:
|
280
|
+
def list_blobs(self, prefix: str | None = None) -> Iterator[RDBMSBlob]:
|
281
281
|
def get_blobs():
|
282
282
|
with self._client.db_session() as session:
|
283
283
|
orm_self = self._to_orm(session)
|
284
284
|
if not orm_self:
|
285
285
|
raise ValueError("bucket does not exist")
|
286
286
|
for blob in orm_self.blobs:
|
287
|
-
|
287
|
+
if not prefix or blob.name.startswith(prefix):
|
288
|
+
yield RDBMSBlob(self, blob.name)
|
288
289
|
|
289
290
|
return iter(list(get_blobs()))
|
290
291
|
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: corvic/model/v1alpha/models.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from corvic_generated.orm.v1 import agent_pb2 as corvic_dot_orm_dot_v1_dot_agent__pb2
|
16
|
+
from corvic_generated.orm.v1 import completion_model_pb2 as corvic_dot_orm_dot_v1_dot_completion__model__pb2
|
17
|
+
from corvic_generated.orm.v1 import feature_view_pb2 as corvic_dot_orm_dot_v1_dot_feature__view__pb2
|
18
|
+
from corvic_generated.orm.v1 import pipeline_pb2 as corvic_dot_orm_dot_v1_dot_pipeline__pb2
|
19
|
+
from corvic_generated.orm.v1 import space_pb2 as corvic_dot_orm_dot_v1_dot_space__pb2
|
20
|
+
from corvic_generated.orm.v1 import table_pb2 as corvic_dot_orm_dot_v1_dot_table__pb2
|
21
|
+
from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot_event__pb2
|
22
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
23
|
+
|
24
|
+
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa8\x03\n\x08Resource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x10\n\x03md5\x18\x07 \x01(\tR\x03md5\x12#\n\roriginal_path\x18\x08 \x01(\tR\x0coriginalPath\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x91\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa9\x05\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12[\n\x0fresource_inputs\x18\x04 \x03(\x0b\x32\x32.corvic.model.v1alpha.Pipeline.ResourceInputsEntryR\x0eresourceInputs\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a\x61\n\x13ResourceInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.corvic.model.v1alpha.ResourceR\x05value:\x02\x38\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atb\x06proto3')
|
26
|
+
|
27
|
+
_globals = globals()
|
28
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
29
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.model.v1alpha.models_pb2', _globals)
|
30
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
31
|
+
DESCRIPTOR._options = None
|
32
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._options = None
|
33
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
|
34
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
35
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
36
|
+
_globals['_ROOM']._serialized_start=306
|
37
|
+
_globals['_ROOM']._serialized_end=450
|
38
|
+
_globals['_RESOURCE']._serialized_start=453
|
39
|
+
_globals['_RESOURCE']._serialized_end=877
|
40
|
+
_globals['_SOURCE']._serialized_start=880
|
41
|
+
_globals['_SOURCE']._serialized_end=1153
|
42
|
+
_globals['_PIPELINE']._serialized_start=1156
|
43
|
+
_globals['_PIPELINE']._serialized_end=1837
|
44
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=1629
|
45
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=1726
|
46
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1728
|
47
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1822
|
48
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1840
|
49
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2170
|
50
|
+
_globals['_FEATUREVIEW']._serialized_start=2173
|
51
|
+
_globals['_FEATUREVIEW']._serialized_end=2585
|
52
|
+
_globals['_SPACE']._serialized_start=2588
|
53
|
+
_globals['_SPACE']._serialized_end=2966
|
54
|
+
_globals['_AGENT']._serialized_start=2969
|
55
|
+
_globals['_AGENT']._serialized_end=3230
|
56
|
+
_globals['_COMPLETIONMODEL']._serialized_start=3233
|
57
|
+
_globals['_COMPLETIONMODEL']._serialized_end=3534
|
58
|
+
# @@protoc_insertion_point(module_scope)
|