corvic-engine 0.3.0rc56__tar.gz → 0.3.0rc58__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.
Files changed (250) hide show
  1. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/Cargo.lock +2 -2
  2. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/Cargo.toml +1 -1
  3. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/PKG-INFO +1 -1
  4. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/pyproject.toml +2 -2
  5. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_completion_model.py +9 -0
  6. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_proto_orm_convert.py +2 -0
  7. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_source.py +8 -0
  8. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_space.py +11 -4
  9. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/_schema.py +2 -4
  10. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/_transformations.py +3 -3
  11. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/ops.py +30 -12
  12. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/__init__.py +1 -0
  13. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/ids.py +6 -1
  14. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/in_memory_executor.py +42 -12
  15. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/table/table.py +9 -3
  16. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/model/v1alpha/models_pb2.py +2 -2
  17. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/model/v1alpha/models_pb2.pyi +6 -4
  18. corvic_engine-0.3.0rc56/python/corvic_generated/config/v1/settings_pb2.py +0 -128
  19. corvic_engine-0.3.0rc56/python/corvic_generated/config/v1/settings_pb2.pyi +0 -389
  20. corvic_engine-0.3.0rc56/python/corvic_generated/config/v1/settings_pb2_grpc.py +0 -4
  21. corvic_engine-0.3.0rc56/python/corvic_generated/config/v1/settings_pb2_grpc.pyi +0 -17
  22. corvic_engine-0.3.0rc56/python/corvic_generated/platform/v1/platform_pb2.py +0 -101
  23. corvic_engine-0.3.0rc56/python/corvic_generated/platform/v1/platform_pb2.pyi +0 -147
  24. corvic_engine-0.3.0rc56/python/corvic_generated/platform/v1/platform_pb2_grpc.py +0 -330
  25. corvic_engine-0.3.0rc56/python/corvic_generated/platform/v1/platform_pb2_grpc.pyi +0 -153
  26. corvic_engine-0.3.0rc56/python/corvic_generated/query/__init__.py +0 -0
  27. corvic_engine-0.3.0rc56/python/corvic_generated/query/v1/__init__.py +0 -0
  28. corvic_engine-0.3.0rc56/python/corvic_generated/status/__init__.py +0 -0
  29. corvic_engine-0.3.0rc56/python/corvic_generated/status/v1/__init__.py +0 -0
  30. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/LICENSE +0 -0
  31. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/README.md +0 -0
  32. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/Cargo.toml +0 -0
  33. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/expression_pb2.py +0 -0
  34. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/expression_pb2.pyi +0 -0
  35. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/expression_pb2_grpc.py +0 -0
  36. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/expression_pb2_grpc.pyi +0 -0
  37. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/priv/private_pb2.py +0 -0
  38. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/priv/private_pb2.pyi +0 -0
  39. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/priv/private_pb2_grpc.py +0 -0
  40. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/priv/private_pb2_grpc.pyi +0 -0
  41. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/validate_pb2.py +0 -0
  42. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/validate_pb2.pyi +0 -0
  43. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/validate_pb2_grpc.py +0 -0
  44. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/buf/validate/validate_pb2_grpc.pyi +0 -0
  45. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/context/__init__.py +0 -0
  46. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/context/py.typed +0 -0
  47. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embed/__init__.py +0 -0
  48. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embed/node2vec.py +0 -0
  49. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embed/py.typed +0 -0
  50. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embedding_metric/__init__.py +0 -0
  51. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embedding_metric/embeddings.py +0 -0
  52. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/embedding_metric/py.typed +0 -0
  53. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/engine/__init__.py +0 -0
  54. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/engine/_native.pyi +0 -0
  55. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/engine/py.typed +0 -0
  56. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/__init__.py +0 -0
  57. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_agent.py +0 -0
  58. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_base_model.py +0 -0
  59. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_defaults.py +0 -0
  60. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_errors.py +0 -0
  61. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_feature_type.py +0 -0
  62. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_feature_view.py +0 -0
  63. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_pipeline.py +0 -0
  64. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_resource.py +0 -0
  65. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/_room.py +0 -0
  66. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/model/py.typed +0 -0
  67. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/__init__.py +0 -0
  68. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/aggregation.py +0 -0
  69. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/encoders.py +0 -0
  70. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/errors.py +0 -0
  71. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/feature_types.py +0 -0
  72. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/py.typed +0 -0
  73. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/row_filters/__init__.py +0 -0
  74. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/row_filters/_jsonlogic.py +0 -0
  75. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/row_filters/_row_filters.py +0 -0
  76. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/op_graph/sample_strategy.py +0 -0
  77. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/_proto_columns.py +0 -0
  78. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/base.py +0 -0
  79. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/errors.py +0 -0
  80. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/func/__init__.py +0 -0
  81. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/func/utc_func.py +0 -0
  82. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/func/uuid_func.py +0 -0
  83. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/keys.py +0 -0
  84. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/mixins.py +0 -0
  85. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/orm/py.typed +0 -0
  86. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/__init__.py +0 -0
  87. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/_const.py +0 -0
  88. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/_from_value.py +0 -0
  89. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/_temporal.py +0 -0
  90. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/_to_value.py +0 -0
  91. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/_types.py +0 -0
  92. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/pa_scalar/py.typed +0 -0
  93. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/proto_wrapper/__init__.py +0 -0
  94. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/proto_wrapper/_errors.py +0 -0
  95. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/proto_wrapper/_wrappers.py +0 -0
  96. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/proto_wrapper/py.typed +0 -0
  97. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/result/__init__.py +0 -0
  98. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/result/py.typed +0 -0
  99. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/sql/__init__.py +0 -0
  100. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/sql/parse_ops.py +0 -0
  101. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/sql/py.typed +0 -0
  102. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/__init__.py +0 -0
  103. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/_dimension_reduction.py +0 -0
  104. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/_embedder.py +0 -0
  105. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/_image_embedder.py +0 -0
  106. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/_planner.py +0 -0
  107. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/_text_embedder.py +0 -0
  108. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/client.py +0 -0
  109. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/op_graph_executor.py +0 -0
  110. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/py.typed +0 -0
  111. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/staging.py +0 -0
  112. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system/storage.py +0 -0
  113. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/__init__.py +0 -0
  114. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/client.py +0 -0
  115. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/fs_blob_store.py +0 -0
  116. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/py.typed +0 -0
  117. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/rdbms_blob_store.py +0 -0
  118. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/system_sqlite/staging.py +0 -0
  119. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/table/__init__.py +0 -0
  120. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/table/py.typed +0 -0
  121. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/version/__init__.py +0 -0
  122. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/version/py.typed +0 -0
  123. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/well_known_types/__init__.py +0 -0
  124. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic/well_known_types/py.typed +0 -0
  125. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/__init__.py +0 -0
  126. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/__init__.py +0 -0
  127. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/__init__.py +0 -0
  128. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/v1/__init__.py +0 -0
  129. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/v1/graph_pb2.py +0 -0
  130. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/v1/graph_pb2.pyi +0 -0
  131. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.py +0 -0
  132. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.pyi +0 -0
  133. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/__init__.py +0 -0
  134. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/v1/__init__.py +0 -0
  135. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/v1/service_pb2.py +0 -0
  136. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/v1/service_pb2.pyi +0 -0
  137. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/v1/service_pb2_grpc.py +0 -0
  138. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/chat/v1/service_pb2_grpc.pyi +0 -0
  139. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/__init__.py +0 -0
  140. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/v1/__init__.py +0 -0
  141. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/v1/service_pb2.py +0 -0
  142. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/v1/service_pb2.pyi +0 -0
  143. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/v1/service_pb2_grpc.py +0 -0
  144. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/completion/v1/service_pb2_grpc.pyi +0 -0
  145. {corvic_engine-0.3.0rc56/python/corvic_generated/config → corvic_engine-0.3.0rc58/python/corvic_generated/embedding}/__init__.py +0 -0
  146. {corvic_engine-0.3.0rc56/python/corvic_generated/config → corvic_engine-0.3.0rc58/python/corvic_generated/embedding}/v1/__init__.py +0 -0
  147. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/embedding/v1/models_pb2.py +0 -0
  148. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/embedding/v1/models_pb2.pyi +0 -0
  149. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/embedding/v1/models_pb2_grpc.py +0 -0
  150. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/embedding/v1/models_pb2_grpc.pyi +0 -0
  151. {corvic_engine-0.3.0rc56/python/corvic_generated/embedding → corvic_engine-0.3.0rc58/python/corvic_generated/feature}/__init__.py +0 -0
  152. {corvic_engine-0.3.0rc56/python/corvic_generated/embedding → corvic_engine-0.3.0rc58/python/corvic_generated/feature}/v1/__init__.py +0 -0
  153. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/experiment_pb2.py +0 -0
  154. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/experiment_pb2.pyi +0 -0
  155. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/experiment_pb2_grpc.py +0 -0
  156. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/experiment_pb2_grpc.pyi +0 -0
  157. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/space_pb2.py +0 -0
  158. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/space_pb2.pyi +0 -0
  159. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/space_pb2_grpc.py +0 -0
  160. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v1/space_pb2_grpc.pyi +0 -0
  161. {corvic_engine-0.3.0rc56/python/corvic_generated/feature → corvic_engine-0.3.0rc58/python/corvic_generated/feature/v2}/__init__.py +0 -0
  162. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/feature_view_pb2.py +0 -0
  163. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/feature_view_pb2.pyi +0 -0
  164. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.py +0 -0
  165. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.pyi +0 -0
  166. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/space_pb2.py +0 -0
  167. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/space_pb2.pyi +0 -0
  168. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/space_pb2_grpc.py +0 -0
  169. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/feature/v2/space_pb2_grpc.pyi +0 -0
  170. {corvic_engine-0.3.0rc56/python/corvic_generated/feature/v1 → corvic_engine-0.3.0rc58/python/corvic_generated/ingest}/__init__.py +0 -0
  171. {corvic_engine-0.3.0rc56/python/corvic_generated/feature/v2 → corvic_engine-0.3.0rc58/python/corvic_generated/ingest/v1}/__init__.py +0 -0
  172. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v1/service_pb2.py +0 -0
  173. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v1/service_pb2.pyi +0 -0
  174. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v1/service_pb2_grpc.py +0 -0
  175. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v1/service_pb2_grpc.pyi +0 -0
  176. {corvic_engine-0.3.0rc56/python/corvic_generated/ingest → corvic_engine-0.3.0rc58/python/corvic_generated/ingest/v2}/__init__.py +0 -0
  177. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/pipeline_pb2.py +0 -0
  178. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/pipeline_pb2.pyi +0 -0
  179. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.py +0 -0
  180. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.pyi +0 -0
  181. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/quick_mode_pb2.py +0 -0
  182. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/quick_mode_pb2.pyi +0 -0
  183. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.py +0 -0
  184. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.pyi +0 -0
  185. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/resource_pb2.py +0 -0
  186. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/resource_pb2.pyi +0 -0
  187. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/resource_pb2_grpc.py +0 -0
  188. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/resource_pb2_grpc.pyi +0 -0
  189. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/room_pb2.py +0 -0
  190. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/room_pb2.pyi +0 -0
  191. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/room_pb2_grpc.py +0 -0
  192. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/room_pb2_grpc.pyi +0 -0
  193. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/source_pb2.py +0 -0
  194. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/source_pb2.pyi +0 -0
  195. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/source_pb2_grpc.py +0 -0
  196. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/source_pb2_grpc.pyi +0 -0
  197. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/table_pb2.py +0 -0
  198. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/table_pb2.pyi +0 -0
  199. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/table_pb2_grpc.py +0 -0
  200. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/ingest/v2/table_pb2_grpc.pyi +0 -0
  201. {corvic_engine-0.3.0rc56/python/corvic_generated/ingest/v1 → corvic_engine-0.3.0rc58/python/corvic_generated/model}/__init__.py +0 -0
  202. {corvic_engine-0.3.0rc56/python/corvic_generated/ingest/v2 → corvic_engine-0.3.0rc58/python/corvic_generated/model/v1alpha}/__init__.py +0 -0
  203. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/model/v1alpha/models_pb2_grpc.py +0 -0
  204. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/model/v1alpha/models_pb2_grpc.pyi +0 -0
  205. {corvic_engine-0.3.0rc56/python/corvic_generated/model → corvic_engine-0.3.0rc58/python/corvic_generated/orm}/__init__.py +0 -0
  206. {corvic_engine-0.3.0rc56/python/corvic_generated/model/v1alpha → corvic_engine-0.3.0rc58/python/corvic_generated/orm/v1}/__init__.py +0 -0
  207. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/agent_pb2.py +0 -0
  208. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/agent_pb2.pyi +0 -0
  209. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/agent_pb2_grpc.py +0 -0
  210. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/agent_pb2_grpc.pyi +0 -0
  211. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/common_pb2.py +0 -0
  212. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/common_pb2.pyi +0 -0
  213. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/common_pb2_grpc.py +0 -0
  214. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/common_pb2_grpc.pyi +0 -0
  215. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/completion_model_pb2.py +0 -0
  216. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/completion_model_pb2.pyi +0 -0
  217. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.py +0 -0
  218. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.pyi +0 -0
  219. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/feature_view_pb2.py +0 -0
  220. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/feature_view_pb2.pyi +0 -0
  221. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.py +0 -0
  222. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.pyi +0 -0
  223. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/pipeline_pb2.py +0 -0
  224. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/pipeline_pb2.pyi +0 -0
  225. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.py +0 -0
  226. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.pyi +0 -0
  227. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/space_pb2.py +0 -0
  228. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/space_pb2.pyi +0 -0
  229. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/space_pb2_grpc.py +0 -0
  230. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/space_pb2_grpc.pyi +0 -0
  231. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/table_pb2.py +0 -0
  232. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/table_pb2.pyi +0 -0
  233. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/table_pb2_grpc.py +0 -0
  234. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/orm/v1/table_pb2_grpc.pyi +0 -0
  235. {corvic_engine-0.3.0rc56/python/corvic_generated/orm → corvic_engine-0.3.0rc58/python/corvic_generated/query}/__init__.py +0 -0
  236. {corvic_engine-0.3.0rc56/python/corvic_generated/orm → corvic_engine-0.3.0rc58/python/corvic_generated/query}/v1/__init__.py +0 -0
  237. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/query/v1/query_pb2.py +0 -0
  238. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/query/v1/query_pb2.pyi +0 -0
  239. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/query/v1/query_pb2_grpc.py +0 -0
  240. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/query/v1/query_pb2_grpc.pyi +0 -0
  241. {corvic_engine-0.3.0rc56/python/corvic_generated/platform → corvic_engine-0.3.0rc58/python/corvic_generated/status}/__init__.py +0 -0
  242. {corvic_engine-0.3.0rc56/python/corvic_generated/platform → corvic_engine-0.3.0rc58/python/corvic_generated/status}/v1/__init__.py +0 -0
  243. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/event_pb2.py +0 -0
  244. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/event_pb2.pyi +0 -0
  245. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/event_pb2_grpc.py +0 -0
  246. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/event_pb2_grpc.pyi +0 -0
  247. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/service_pb2.py +0 -0
  248. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/service_pb2.pyi +0 -0
  249. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/python/corvic_generated/status/v1/service_pb2_grpc.py +0 -0
  250. {corvic_engine-0.3.0rc56 → corvic_engine-0.3.0rc58}/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.56"
25
+ version = "0.3.0-rc.58"
26
26
  dependencies = [
27
27
  "numpy",
28
28
  "pyo3",
@@ -63,7 +63,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
63
63
 
64
64
  [[package]]
65
65
  name = "engine-walk"
66
- version = "0.3.0-rc.56"
66
+ version = "0.3.0-rc.58"
67
67
  dependencies = [
68
68
  "version_check",
69
69
  ]
@@ -3,7 +3,7 @@ resolver = "2"
3
3
  members = ["python"]
4
4
 
5
5
  [workspace.package]
6
- version = "0.3.0-rc.56"
6
+ version = "0.3.0-rc.58"
7
7
  edition = "2021"
8
8
  publish = false
9
9
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corvic-engine
3
- Version: 0.3.0rc56
3
+ Version: 0.3.0rc58
4
4
  Classifier: Environment :: Console
5
5
  Classifier: License :: Other/Proprietary License
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -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.56" # sync this with tool.poetry.version below
23
+ version = "0.3.0-rc.58" # 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.56"
77
+ version = "0.3.0-rc.58"
78
78
 
79
79
  [tool.poetry.scripts]
80
80
  check = "corvic_check.cli:main"
@@ -121,6 +121,10 @@ class CompletionModel(
121
121
  )
122
122
  return None
123
123
 
124
+ @property
125
+ def is_validated(self) -> bool:
126
+ return self.proto_self.is_validated
127
+
124
128
  @classmethod
125
129
  def create(
126
130
  cls,
@@ -213,3 +217,8 @@ class CompletionModel(
213
217
  proto_self = copy.deepcopy(self.proto_self)
214
218
  proto_self.last_validation_time.FromDatetime(last_validation_time)
215
219
  return CompletionModel(self.client, proto_self)
220
+
221
+ def with_is_validated(self, *, is_validated: bool) -> CompletionModel:
222
+ proto_self = copy.deepcopy(self.proto_self)
223
+ proto_self.is_validated = is_validated
224
+ return CompletionModel(self.client, proto_self)
@@ -225,6 +225,7 @@ def completion_model_orm_to_proto(
225
225
  last_validation_time=timestamp_orm_to_proto(
226
226
  completion_model_orm.last_validation_time
227
227
  ),
228
+ is_validated=completion_model_orm.is_validated,
228
229
  )
229
230
 
230
231
 
@@ -579,6 +580,7 @@ def completion_model_proto_to_orm(
579
580
  parameters=proto_obj.parameters,
580
581
  secret_api_key=proto_obj.secret_api_key,
581
582
  last_validation_time=proto_obj.last_validation_time.ToDatetime(),
583
+ is_validated=proto_obj.is_validated,
582
584
  )
583
585
  return add_orm_org_mixin_to_session(
584
586
  orm_obj, proto_obj, orm.CompletionModelID, session
@@ -187,6 +187,14 @@ class Source(BelongsToRoomModel[SourceID, models_pb2.Source, orm.Source]):
187
187
  proto_self=proto_self,
188
188
  )
189
189
 
190
+ def with_property_table(self, props: Table) -> Self:
191
+ proto_self = copy.deepcopy(self.proto_self)
192
+ proto_self.prop_table_op_graph.CopyFrom(props.op_graph.to_proto())
193
+ return self.__class__(
194
+ self.client,
195
+ proto_self=proto_self,
196
+ )
197
+
190
198
  @classmethod
191
199
  def orm_load_options(cls) -> list[LoaderOption]:
192
200
  return [
@@ -836,13 +836,20 @@ class TabularSpace(Space):
836
836
  pa.string(),
837
837
  )
838
838
 
839
- op = (
840
- op.concat_list(
839
+ if len(embedding_column_tmp_names):
840
+ op = op.concat_list(
841
841
  column_names=embedding_column_tmp_names,
842
842
  concat_list_column_name=embedding_column_tmp_name,
843
+ ).and_then(reduce_dimension)
844
+ else:
845
+ op = op.add_literal_column(
846
+ column_name=embedding_column_tmp_name,
847
+ literal=[],
848
+ dtype=pa.large_list(pa.float32()),
849
+ ftype=op_graph.feature_type.embedding(),
843
850
  )
844
- .and_then(reduce_dimension)
845
- .and_then(select_columns)
851
+ op = (
852
+ op.and_then(select_columns)
846
853
  .and_then(update_feature_types)
847
854
  .and_then(rename_columns)
848
855
  .and_then(add_literal_column)
@@ -2,8 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from collections.abc import Sequence
6
-
7
5
  import polars as pl
8
6
  import pyarrow as pa
9
7
 
@@ -14,7 +12,7 @@ from corvic.op_graph.feature_types import FeatureType
14
12
 
15
13
  def _infer_possible_feature_types(
16
14
  data_type: pa.DataType,
17
- ) -> Sequence[FeatureType]:
15
+ ) -> list[FeatureType]:
18
16
  if pa.types.is_integer(data_type):
19
17
  # TODO(thunt): Add multi-categorical in future versions
20
18
  return [
@@ -168,6 +166,6 @@ class Field:
168
166
  def rename(self, new_name: str) -> Field:
169
167
  return Field(new_name, self.dtype, self.ftype)
170
168
 
171
- def possible_feature_types(self) -> Sequence[FeatureType]:
169
+ def possible_feature_types(self) -> list[FeatureType]:
172
170
  """Infer possible feature types given the data type."""
173
171
  return _infer_possible_feature_types(self.dtype)
@@ -142,11 +142,11 @@ def replace_op_source( # noqa: C901
142
142
  case op.AddLiteralColumn():
143
143
  new_proto = root_op.to_proto()
144
144
  new_proto.add_literal_column.source.CopyFrom(new_source.to_proto())
145
- return Ok(op.from_proto(new_proto))
145
+ return Ok(op.from_proto(new_proto, skip_validate=True))
146
146
  case op.CombineColumns():
147
147
  new_proto = root_op.to_proto()
148
148
  new_proto.combine_columns.source.CopyFrom(new_source.to_proto())
149
- return Ok(op.from_proto(new_proto))
149
+ return Ok(op.from_proto(new_proto, skip_validate=True))
150
150
  case op.EmbedColumn():
151
151
  return new_source.embed_column(
152
152
  column_name=root_op.column_name,
@@ -183,7 +183,7 @@ def replace_op_source( # noqa: C901
183
183
  case op.TruncateList():
184
184
  new_proto = root_op.to_proto()
185
185
  new_proto.truncate_list.source.CopyFrom(new_source.to_proto())
186
- return Ok(op.from_proto(new_proto))
186
+ return Ok(op.from_proto(new_proto, skip_validate=True))
187
187
  case op.Union():
188
188
  new_tables = list[op.Op]()
189
189
  for table in root_op.sources():
@@ -59,7 +59,7 @@ from corvic.op_graph.row_filters import RowFilter
59
59
  from corvic.op_graph.row_filters import from_proto as row_filters_from_proto
60
60
  from corvic.op_graph.sample_strategy import SampleStrategy
61
61
  from corvic.op_graph.sample_strategy import from_proto as sample_strategy_from_proto
62
- from corvic.pa_scalar import PyValue, from_value, to_value
62
+ from corvic.pa_scalar import PyValue, Scalar, from_value, to_value
63
63
  from corvic.proto_wrapper import OneofProtoWrapper
64
64
  from corvic.result import InternalError, InvalidArgumentError, Ok
65
65
  from corvic_generated.algorithm.graph.v1 import graph_pb2
@@ -1275,7 +1275,7 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
1275
1275
  def add_literal_column(
1276
1276
  self,
1277
1277
  column_name: str,
1278
- literal: struct_pb2.Value | float | str | bool,
1278
+ literal: struct_pb2.Value | Scalar | PyValue,
1279
1279
  dtype: pa.DataType,
1280
1280
  ftype: FeatureType | None = None,
1281
1281
  ) -> Ok[AddLiteralColumn] | InvalidArgumentError:
@@ -1313,8 +1313,13 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
1313
1313
  separator: str,
1314
1314
  ) -> Ok[CombineColumns] | InvalidArgumentError:
1315
1315
  for col in column_names:
1316
- if not self.schema.has_column(col):
1316
+ field = self.schema.get(col)
1317
+ if not field:
1317
1318
  return InvalidArgumentError("no column with given name", given_name=col)
1319
+ if pa.types.is_binary(field.dtype) | pa.types.is_large_binary(field.dtype):
1320
+ return InvalidArgumentError(
1321
+ "cannot concat binary columns", given_name=col
1322
+ )
1318
1323
 
1319
1324
  if self.schema.has_column(combined_column_name):
1320
1325
  return InvalidArgumentError("name given for combined column already exists")
@@ -1698,6 +1703,9 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
1698
1703
  Returns:
1699
1704
  An AddDecisionTreeSummaryOp.
1700
1705
  """
1706
+ if max_depth < 0:
1707
+ return InvalidArgumentError("max_depth must be strictly positive")
1708
+
1701
1709
  return Ok(
1702
1710
  from_proto(
1703
1711
  table_pb2.AddDecisionTreeSummaryOp(
@@ -2938,16 +2946,26 @@ def _make_schema_for_combine_columns(op: CombineColumns):
2938
2946
  if column.ftype != ftype:
2939
2947
  ftype = feature_type.unknown()
2940
2948
 
2941
- dtype = (
2942
- pl.DataFrame(schema=schema.to_polars())
2943
- .with_columns(
2944
- pl.concat_list(*op.column_names).alias(op.combined_column_name)
2949
+ if op.column_names:
2950
+ dtype = (
2951
+ pl.DataFrame(schema=schema.to_polars())
2952
+ .with_columns(
2953
+ pl.concat_list(*op.column_names).alias(op.combined_column_name)
2954
+ )
2955
+ .to_arrow()
2956
+ .schema.field(op.combined_column_name)
2957
+ .type
2958
+ )
2959
+ else:
2960
+ dtype = (
2961
+ pl.DataFrame(schema=schema.to_polars())
2962
+ .with_columns(
2963
+ pl.Series(op.combined_column_name, [], pl.List(pl.Float32))
2964
+ )
2965
+ .to_arrow()
2966
+ .schema.field(op.combined_column_name)
2967
+ .type
2945
2968
  )
2946
- .to_arrow()
2947
- .schema.field(op.combined_column_name)
2948
- .type
2949
- )
2950
-
2951
2969
  return Schema(
2952
2970
  [
2953
2971
  *op.source.schema,
@@ -381,6 +381,7 @@ class CompletionModel(SoftDeleteMixin, BelongsToOrgMixin, Base, kw_only=True):
381
381
  server_default=None,
382
382
  default=None,
383
383
  )
384
+ is_validated: sa_orm.Mapped[bool] = sa_orm.mapped_column(default=False)
384
385
 
385
386
  @property
386
387
  def model_key(self):
@@ -15,6 +15,8 @@ from corvic.result import Ok
15
15
 
16
16
  ORMIdentifier = TypeVar("ORMIdentifier")
17
17
 
18
+ _MAX_INT_ID = 2**63 - 1
19
+
18
20
 
19
21
  class BaseID(Generic[ORMIdentifier], abc.ABC):
20
22
  """Base class for all API object identifiers."""
@@ -72,7 +74,10 @@ class BaseIDFromInt(BaseID[int]):
72
74
  if not self._value:
73
75
  return InvalidORMIdentifierError("id was empty")
74
76
  try:
75
- return Ok(int(self._value))
77
+ value = int(self._value)
78
+ if value > _MAX_INT_ID:
79
+ return InvalidORMIdentifierError("id too large", id_value=self._value)
80
+ return Ok(value)
76
81
  except ValueError:
77
82
  return InvalidORMIdentifierError(
78
83
  "conversion to orm failed", id_value=self._value
@@ -12,6 +12,7 @@ from typing import Any, Final, cast
12
12
 
13
13
  import numpy as np
14
14
  import polars as pl
15
+ import polars.selectors as cs
15
16
  import pyarrow as pa
16
17
  import pyarrow.parquet as pq
17
18
  import structlog
@@ -778,9 +779,14 @@ class InMemoryExecutor(OpGraphExecutor):
778
779
  )
779
780
 
780
781
  case op_graph.ConcatList():
781
- result_df = source_df.with_columns(
782
- pl.concat_list(*op.column_names).alias(op.combined_column_name)
783
- )
782
+ if op.column_names:
783
+ result_df = source_df.with_columns(
784
+ pl.concat_list(*op.column_names).alias(op.combined_column_name)
785
+ )
786
+ else:
787
+ result_df = source_df.with_columns(
788
+ pl.Series(op.combined_column_name, [])
789
+ )
784
790
 
785
791
  return Ok(_SchemaAndBatches.from_dataframe(result_df, source_batches.metrics))
786
792
 
@@ -1394,17 +1400,41 @@ class InMemoryExecutor(OpGraphExecutor):
1394
1400
  pass
1395
1401
  case err:
1396
1402
  return err
1403
+
1397
1404
  df_input = _as_df(source_batches)
1405
+ dataframe = df_input[list({*op.feature_column_names, op.label_column_name})]
1406
+ boolean_columns = [
1407
+ name
1408
+ for name, dtype in dataframe.schema.items()
1409
+ if dtype == pl.Boolean() and name in op.feature_column_names
1410
+ ]
1398
1411
 
1399
- features = df_input[op.feature_column_names]
1400
- classes = df_input[op.label_column_name]
1412
+ # Drop Nan and Null and infinite rows as not supported by decision tree
1413
+ dataframe = dataframe.with_columns(
1414
+ *[pl.col(col).cast(pl.Float32) for col in op.feature_column_names]
1415
+ )
1416
+ dataframe = dataframe.drop_nans().drop_nulls()
1417
+ try:
1418
+ # is_infinite is not implemented for all datatypes
1419
+ dataframe = dataframe.filter(~pl.any_horizontal(cs.numeric().is_infinite()))
1420
+ except pl.exceptions.InvalidOperationError as err:
1421
+ return InvalidArgumentError.from_(err)
1422
+
1423
+ if not len(dataframe):
1424
+ return InvalidArgumentError(
1425
+ "a minimum of 1 sample is required by DecisionTreeClassifier"
1426
+ )
1427
+ features = dataframe[op.feature_column_names]
1428
+ classes = dataframe[op.label_column_name]
1401
1429
  max_depth = op.max_depth
1402
1430
 
1403
- binary_columns = [
1404
- name for name, dtype in features.schema.items() if dtype == pl.Boolean()
1405
- ]
1406
-
1407
1431
  from sklearn.tree import DecisionTreeClassifier, export_graphviz, export_text
1432
+ from sklearn.utils.multiclass import check_classification_targets
1433
+
1434
+ try:
1435
+ check_classification_targets(classes)
1436
+ except ValueError as err:
1437
+ return InvalidArgumentError.from_(err)
1408
1438
 
1409
1439
  decision_tree = DecisionTreeClassifier(random_state=0, max_depth=max_depth)
1410
1440
  try:
@@ -1426,11 +1456,11 @@ class InMemoryExecutor(OpGraphExecutor):
1426
1456
  max_depth=max_depth,
1427
1457
  )
1428
1458
 
1429
- for binary_column in binary_columns:
1459
+ for boolean_column in boolean_columns:
1430
1460
  tree_str = tree_str.replace(
1431
- f"{binary_column} <= 0.50", f"NOT {binary_column}"
1461
+ f"{boolean_column} <= 0.50", f"NOT {boolean_column}"
1432
1462
  )
1433
- tree_str = tree_str.replace(f"{binary_column} > 0.50", binary_column)
1463
+ tree_str = tree_str.replace(f"{boolean_column} > 0.50", boolean_column)
1434
1464
 
1435
1465
  metrics = source_batches.metrics.copy()
1436
1466
  metrics[op.output_metric_key] = table_pb2.DecisionTreeSummary(
@@ -412,12 +412,18 @@ class Table:
412
412
  case _:
413
413
  return more_itertools.flatten(map(cls._get_staging_ops, op.sources()))
414
414
 
415
- def head(self) -> InvalidArgumentError | Ok[Table]:
416
- """Get up to the first 10 rows of the table."""
417
- return self.op_graph.limit_rows(num_rows=10).map(
415
+ def head(self, num_rows: int = 10) -> InvalidArgumentError | Ok[Table]:
416
+ """Get the first `num_rows` rows of the table."""
417
+ return self.op_graph.limit_rows(num_rows=num_rows).map(
418
418
  lambda op: Table(self.client, op)
419
419
  )
420
420
 
421
+ def sample_rows(self, num_rows: int = 10) -> InvalidArgumentError | Ok[Table]:
422
+ """Get a sample of `num_rows` rows of the table."""
423
+ return self.op_graph.sample_rows(
424
+ sample_strategy=op_graph.sample_strategy.uniform_random(), num_rows=num_rows
425
+ ).map(lambda op: Table(self.client, op))
426
+
421
427
  def distinct_rows(self) -> Table:
422
428
  return Table(
423
429
  self.client,
@@ -22,7 +22,7 @@ from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot
22
22
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
23
23
 
24
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\"\xd8\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\x13pipeline_input_name\x18\x0f \x01(\tR\x11pipelineInputName\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\"\xfc\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\x12Q\n\x13prop_table_op_graph\x18\t \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpH\x01R\x10propTableOpGraph\x88\x01\x01\x42\r\n\x0b_created_atB\x16\n\x14_prop_table_op_graph\"\xe9\x03\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\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^\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\"\x99\x03\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\x12Q\n\x14last_validation_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x12lastValidationTime\x88\x01\x01\x42\r\n\x0b_created_atB\x17\n\x15_last_validation_timeb\x06proto3')
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\"\xd8\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\x13pipeline_input_name\x18\x0f \x01(\tR\x11pipelineInputName\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\"\xfc\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\x12Q\n\x13prop_table_op_graph\x18\t \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpH\x01R\x10propTableOpGraph\x88\x01\x01\x42\r\n\x0b_created_atB\x16\n\x14_prop_table_op_graph\"\xe9\x03\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\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^\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\"\xbc\x03\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\x12Q\n\x14last_validation_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x12lastValidationTime\x88\x01\x01\x12!\n\x0cis_validated\x18\t \x01(\x08R\x0bisValidated\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x42\x17\n\x15_last_validation_timeB\r\n\x0b_created_atb\x06proto3')
26
26
 
27
27
  _globals = globals()
28
28
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -50,5 +50,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
50
50
  _globals['_AGENT']._serialized_start=2932
51
51
  _globals['_AGENT']._serialized_end=3193
52
52
  _globals['_COMPLETIONMODEL']._serialized_start=3196
53
- _globals['_COMPLETIONMODEL']._serialized_end=3605
53
+ _globals['_COMPLETIONMODEL']._serialized_end=3640
54
54
  # @@protoc_insertion_point(module_scope)
@@ -183,21 +183,23 @@ class Agent(_message.Message):
183
183
  def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., room_id: _Optional[str] = ..., agent_parameters: _Optional[_Union[_agent_pb2.AgentParameters, _Mapping]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
184
184
 
185
185
  class CompletionModel(_message.Message):
186
- __slots__ = ("id", "name", "description", "org_id", "parameters", "secret_api_key", "created_at", "last_validation_time")
186
+ __slots__ = ("id", "name", "description", "org_id", "parameters", "secret_api_key", "last_validation_time", "is_validated", "created_at")
187
187
  ID_FIELD_NUMBER: _ClassVar[int]
188
188
  NAME_FIELD_NUMBER: _ClassVar[int]
189
189
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
190
190
  ORG_ID_FIELD_NUMBER: _ClassVar[int]
191
191
  PARAMETERS_FIELD_NUMBER: _ClassVar[int]
192
192
  SECRET_API_KEY_FIELD_NUMBER: _ClassVar[int]
193
- CREATED_AT_FIELD_NUMBER: _ClassVar[int]
194
193
  LAST_VALIDATION_TIME_FIELD_NUMBER: _ClassVar[int]
194
+ IS_VALIDATED_FIELD_NUMBER: _ClassVar[int]
195
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
195
196
  id: str
196
197
  name: str
197
198
  description: str
198
199
  org_id: str
199
200
  parameters: _completion_model_pb2.CompletionModelParameters
200
201
  secret_api_key: str
201
- created_at: _timestamp_pb2.Timestamp
202
202
  last_validation_time: _timestamp_pb2.Timestamp
203
- def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., org_id: _Optional[str] = ..., parameters: _Optional[_Union[_completion_model_pb2.CompletionModelParameters, _Mapping]] = ..., secret_api_key: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_validation_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
203
+ is_validated: bool
204
+ created_at: _timestamp_pb2.Timestamp
205
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., org_id: _Optional[str] = ..., parameters: _Optional[_Union[_completion_model_pb2.CompletionModelParameters, _Mapping]] = ..., secret_api_key: _Optional[str] = ..., last_validation_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., is_validated: bool = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
@@ -1,128 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: corvic/config/v1/settings.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
-
16
-
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63orvic/config/v1/settings.proto\x12\x10\x63orvic.config.v1\"\x7f\n\nMetaConfig\x12#\n\renvvar_prefix\x18\x01 \x01(\tR\x0c\x65nvvarPrefix\x12)\n\x10nested_separator\x18\x02 \x01(\tR\x0fnestedSeparator\x12!\n\x0cvia_launcher\x18\x03 \x01(\x08R\x0bviaLauncher\"\'\n\rMetricsConfig\x12\x16\n\x06\x65xport\x18\x01 \x01(\x08R\x06\x65xport\"&\n\x10\x43hatServerConfig\x12\x12\n\x04port\x18\x01 \x01(\rR\x04port\"\x81\t\n\rRocksetConfig\x12+\n\x11\x64\x65\x66\x61ult_workspace\x18\x01 \x01(\tR\x10\x64\x65\x66\x61ultWorkspace\x12-\n\x12\x64\x65\x66\x61ult_collection\x18\x02 \x01(\tR\x11\x64\x65\x66\x61ultCollection\x12%\n\x0e\x64\x65\x66\x61ult_region\x18\x03 \x01(\tR\rdefaultRegion\x12\x1b\n\tapi_token\x18\x04 \x01(\tR\x08\x61piToken\x12U\n\x0cintegrations\x18\x05 \x03(\x0b\x32\x31.corvic.config.v1.RocksetConfig.IntegrationsEntryR\x0cintegrations\x12R\n\x0b\x63ollections\x18\x06 \x03(\x0b\x32\x30.corvic.config.v1.RocksetConfig.CollectionsEntryR\x0b\x63ollections\x12\"\n\x0corganization\x18\x07 \x01(\tR\x0corganization\x1av\n\x11IntegrationConfig\x12\x34\n\x16rockset_integration_id\x18\x01 \x01(\tR\x14rocksetIntegrationId\x12+\n\x11supported_buckets\x18\x02 \x03(\tR\x10supportedBuckets\x1ar\n\x11IntegrationsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x31.corvic.config.v1.RocksetConfig.IntegrationConfigR\x05value:\x02\x38\x01\x1a\xb4\x01\n\x0e\x43ollectionArgs\x12)\n\x10integration_name\x18\x01 \x01(\tR\x0fintegrationName\x12\x1f\n\x0b\x62ucket_name\x18\x02 \x01(\tR\nbucketName\x12*\n\x11gcs_output_prefix\x18\x03 \x01(\tR\x0fgcsOutputPrefix\x12*\n\x11\x63reate_if_missing\x18\x04 \x01(\x08R\x0f\x63reateIfMissing\x1a\xeb\x01\n\x10\x43ollectionConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tworkspace\x18\x02 \x01(\tR\tworkspace\x12\x12\n\x04host\x18\x03 \x01(\tR\x04host\x12\x16\n\x04kind\x18\x04 \x01(\tB\x02\x18\x01R\x04kind\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12W\n\x0f\x63ollection_args\x18\x06 \x01(\x0b\x32..corvic.config.v1.RocksetConfig.CollectionArgsR\x0e\x63ollectionArgs\x1ap\n\x10\x43ollectionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x30.corvic.config.v1.RocksetConfig.CollectionConfigR\x05value:\x02\x38\x01\"\x89\x03\n\x0e\x45mbedgenConfig\x12\x1f\n\x0b\x64\x65\x66\x61ult_tag\x18\x01 \x01(\tR\ndefaultTag\x12\x36\n\x17rockset_collection_name\x18\x02 \x01(\tR\x15rocksetCollectionName\x12\x31\n\x15\x63hunk_text_field_name\x18\x03 \x01(\tR\x12\x63hunkTextFieldName\x12\\\n,gcs_notification_config_embed_gen_config_key\x18\x04 \x01(\tR&gcsNotificationConfigEmbedGenConfigKey\x12]\n\x12\x64ocument_processor\x18\x05 \x01(\x0b\x32..corvic.config.v1.EmbedgenConfig.DocProcConfigR\x11\x64ocumentProcessor\x1a.\n\rDocProcConfig\x12\x1d\n\nbatch_size\x18\x01 \x01(\rR\tbatchSize\"\xfe\x02\n\nChatConfig\x12\x31\n\x15max_messages_per_page\x18\x01 \x01(\rR\x12maxMessagesPerPage\x12=\n\x1bget_messages_period_seconds\x18\x02 \x01(\x01R\x18getMessagesPeriodSeconds\x12)\n\x10\x63ompletion_model\x18\x03 \x01(\tR\x0f\x63ompletionModel\x12%\n\x0eretriever_type\x18\x04 \x01(\tR\rretrieverType\x12)\n\x10obfuscation_seed\x18\x05 \x01(\tR\x0fobfuscationSeed\x12\x41\n\x06\x63lient\x18\x06 \x01(\x0b\x32).corvic.config.v1.ChatConfig.ClientConfigR\x06\x63lient\x1a>\n\x0c\x43lientConfig\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\"2\n\x08\x44\x42\x43onfig\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\xfa\x02\n\x0cIngestConfig\x12\x35\n\x15store_id_metadata_key\x18\x01 \x01(\tB\x02\x18\x01R\x12storeIdMetadataKey\x12\x43\n\x06server\x18\x02 \x01(\x0b\x32+.corvic.config.v1.IngestConfig.ServerConfigR\x06server\x12\x43\n\x06\x63lient\x18\x03 \x01(\x0b\x32+.corvic.config.v1.IngestConfig.ClientConfigR\x06\x63lient\x1ai\n\x0cServerConfig\x12\x16\n\x06\x62ucket\x18\x01 \x01(\tR\x06\x62ucket\x12\x16\n\x06prefix\x18\x02 \x01(\tR\x06prefix\x12)\n\x10obfuscation_seed\x18\x03 \x01(\tR\x0fobfuscationSeed\x1a>\n\x0c\x43lientConfig\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\"8\n\x10\x45xperimentConfig\x12$\n\x0egcs_run_prefix\x18\x01 \x01(\tR\x0cgcsRunPrefix\"c\n\x15\x43ompletionModelConfig\x12\x16\n\x06\x65ngine\x18\x01 \x01(\tR\x06\x65ngine\x12\x14\n\x05model\x18\x02 \x01(\tR\x05model\x12\x1c\n\ttokenizer\x18\x03 \x01(\tR\ttokenizer\"\xd7\x01\n\x14\x45mbeddingModelConfig\x12\x16\n\x06\x65ngine\x18\x01 \x01(\tR\x06\x65ngine\x12\x14\n\x05model\x18\x02 \x01(\tR\x05model\x12 \n\x0b\x63\x61rdinality\x18\x03 \x01(\x04R\x0b\x63\x61rdinality\x12H\n\x05\x65xtra\x18\x04 \x01(\x0b\x32\x32.corvic.config.v1.EmbeddingModelConfig.ExtraConfigR\x05\x65xtra\x1a%\n\x0b\x45xtraConfig\x12\x16\n\x06\x64\x65vice\x18\x01 \x01(\tR\x06\x64\x65vice\"\xd3\x08\n\x11HuggingfaceConfig\x12*\n\x0fmodel_proxy_url\x18\x01 \x01(\tB\x02\x18\x01R\rmodelProxyUrl\x12:\n\x19\x64\x65\x66\x61ult_inference_timeout\x18\x03 \x01(\rR\x17\x64\x65\x66\x61ultInferenceTimeout\x12\x33\n\x16\x64\x65\x66\x61ult_max_new_tokens\x18\x04 \x01(\x04R\x13\x64\x65\x66\x61ultMaxNewTokens\x12\x1b\n\tapi_token\x18\x05 \x01(\tR\x08\x61piToken\x12m\n\x13inference_endpoints\x18\x06 \x01(\x0b\x32<.corvic.config.v1.HuggingfaceConfig.InferenceEndpointsConfigR\x12inferenceEndpoints\x1a\x94\x06\n\x18InferenceEndpointsConfig\x12o\n\x0b\x63ompletions\x18\x01 \x03(\x0b\x32M.corvic.config.v1.HuggingfaceConfig.InferenceEndpointsConfig.CompletionsEntryR\x0b\x63ompletions\x12l\n\nembeddings\x18\x02 \x03(\x0b\x32L.corvic.config.v1.HuggingfaceConfig.InferenceEndpointsConfig.EmbeddingsEntryR\nembeddings\x1a~\n\x0f\x43ompletionModel\x12\x17\n\x07hf_host\x18\x01 \x01(\tR\x06hfHost\x12\x17\n\x07hf_name\x18\x02 \x01(\tR\x06hfName\x12!\n\x0chf_namespace\x18\x03 \x01(\tR\x0bhfNamespace\x12\x16\n\x06models\x18\x04 \x03(\tR\x06models\x1a\x8c\x01\n\x10\x43ompletionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x62\n\x05value\x18\x02 \x01(\x0b\x32L.corvic.config.v1.HuggingfaceConfig.InferenceEndpointsConfig.CompletionModelR\x05value:\x02\x38\x01\x1a}\n\x0e\x45mbeddingModel\x12\x17\n\x07hf_host\x18\x01 \x01(\tR\x06hfHost\x12\x17\n\x07hf_name\x18\x02 \x01(\tR\x06hfName\x12!\n\x0chf_namespace\x18\x03 \x01(\tR\x0bhfNamespace\x12\x16\n\x06models\x18\x04 \x03(\tR\x06models\x1a\x8a\x01\n\x0f\x45mbeddingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x61\n\x05value\x18\x02 \x01(\x0b\x32K.corvic.config.v1.HuggingfaceConfig.InferenceEndpointsConfig.EmbeddingModelR\x05value:\x02\x38\x01\"\xa7\x03\n\x0fRetrieverConfig\x12@\n\x1c\x64\x65\x66\x61ult_similarity_threshold\x18\x01 \x01(\x01R\x1a\x64\x65\x66\x61ultSimilarityThreshold\x12,\n\x12\x64\x65\x66\x61ult_max_chunks\x18\x02 \x01(\x04R\x10\x64\x65\x66\x61ultMaxChunks\x12\x1f\n\x0b\x64\x65\x66\x61ult_tag\x18\x03 \x01(\tR\ndefaultTag\x12\x38\n\x18\x64\x65\x66\x61ult_embeddings_model\x18\x04 \x01(\tR\x16\x64\x65\x66\x61ultEmbeddingsModel\x12\x41\n\x1d\x64\x65\x66\x61ult_embeddings_model_name\x18\x05 \x01(\tR\x1a\x64\x65\x66\x61ultEmbeddingsModelName\x12:\n\x19\x64\x65\x66\x61ult_embeddings_engine\x18\x06 \x01(\tR\x17\x64\x65\x66\x61ultEmbeddingsEngine\x12\x12\n\x04type\x18\x07 \x01(\tR\x04type\x12\x36\n\x17rockset_collection_name\x18\x08 \x01(\tR\x15rocksetCollectionName\"\x9c\x01\n\x10\x43ompletionConfig\x12\x38\n\x18\x64\x65\x66\x61ult_completion_model\x18\x01 \x01(\tR\x16\x64\x65\x66\x61ultCompletionModel\x12(\n\x10no_chunk_message\x18\x02 \x01(\tR\x0enoChunkMessage\x12$\n\x0esys_prompt_rag\x18\x03 \x01(\tR\x0csysPromptRag\"7\n\x0eWorkflowConfig\x12%\n\x0estorage_prefix\x18\x01 \x01(\tR\rstoragePrefix\"\xb7\x03\n\x11\x44\x61taStagingConfig\x12,\n\x12rockset_api_server\x18\x01 \x01(\tR\x10rocksetApiServer\x12+\n\x11rockset_workspace\x18\x02 \x01(\tR\x10rocksetWorkspace\x12-\n\x12rockset_collection\x18\x03 \x01(\tR\x11rocksetCollection\x12/\n\x13rockset_integration\x18\x04 \x01(\tR\x12rocksetIntegration\x12\x1d\n\ngcs_bucket\x18\x05 \x01(\tR\tgcsBucket\x12?\n\x1cgcs_unstructured_data_prefix\x18\x06 \x01(\tR\x19gcsUnstructuredDataPrefix\x12\x31\n\x15gcs_table_data_prefix\x18\x07 \x01(\tR\x12gcsTableDataPrefix\x12(\n\x10\x62lob_name_column\x18\x08 \x01(\tR\x0e\x62lobNameColumn\x12*\n\x11row_number_column\x18\t \x01(\tR\x0frowNumberColumn\"a\n\x05\x41uth0\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12#\n\rclient_secret\x18\x02 \x01(\tR\x0c\x63lientSecret\x12\x16\n\x06\x64omain\x18\x03 \x01(\tR\x06\x64omain\"\xf1\x0b\n\x08Settings\x12#\n\x0bload_dotenv\x18\x01 \x01(\x08\x42\x02\x18\x01R\nloadDotenv\x12\x34\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1c.corvic.config.v1.MetaConfigR\x06\x63onfig\x12\x19\n\x08\x64\x65v_mode\x18\x03 \x01(\tR\x07\x64\x65vMode\x12\x39\n\x07metrics\x18\x04 \x01(\x0b\x32\x1f.corvic.config.v1.MetricsConfigR\x07metrics\x12G\n\x0b\x63hat_server\x18\x05 \x01(\x0b\x32\".corvic.config.v1.ChatServerConfigB\x02\x18\x01R\nchatServer\x12@\n\x08\x65mbedgen\x18\x06 \x01(\x0b\x32 .corvic.config.v1.EmbedgenConfigB\x02\x18\x01R\x08\x65mbedgen\x12\x34\n\x04\x63hat\x18\x07 \x01(\x0b\x32\x1c.corvic.config.v1.ChatConfigB\x02\x18\x01R\x04\x63hat\x12*\n\x02\x64\x62\x18\x08 \x01(\x0b\x32\x1a.corvic.config.v1.DBConfigR\x02\x64\x62\x12\x36\n\x06ingest\x18\t \x01(\x0b\x32\x1e.corvic.config.v1.IngestConfigR\x06ingest\x12\x61\n\x11\x63ompletion_models\x18\n \x03(\x0b\x32\x30.corvic.config.v1.Settings.CompletionModelsEntryB\x02\x18\x01R\x10\x63ompletionModels\x12Z\n\x10\x65mbedding_models\x18\x0b \x03(\x0b\x32/.corvic.config.v1.Settings.EmbeddingModelsEntryR\x0f\x65mbeddingModels\x12I\n\x0bhuggingface\x18\x0c \x01(\x0b\x32#.corvic.config.v1.HuggingfaceConfigB\x02\x18\x01R\x0bhuggingface\x12\x43\n\tretriever\x18\r \x01(\x0b\x32!.corvic.config.v1.RetrieverConfigB\x02\x18\x01R\tretriever\x12\x46\n\ncompletion\x18\x0e \x01(\x0b\x32\".corvic.config.v1.CompletionConfigB\x02\x18\x01R\ncompletion\x12\x39\n\x07rockset\x18\x0f \x01(\x0b\x32\x1f.corvic.config.v1.RocksetConfigR\x07rockset\x12\x32\n\x15google_identity_token\x18\x10 \x01(\tR\x13googleIdentityToken\x12\x1d\n\ncheck_name\x18\x11 \x01(\tR\tcheckName\x12\x17\n\x07test_db\x18\x12 \x01(\tR\x06testDb\x12<\n\x08workflow\x18\x13 \x01(\x0b\x32 .corvic.config.v1.WorkflowConfigR\x08workflow\x12\x46\n\x0c\x64\x61ta_staging\x18\x14 \x01(\x0b\x32#.corvic.config.v1.DataStagingConfigR\x0b\x64\x61taStaging\x12\x42\n\nexperiment\x18\x15 \x01(\x0b\x32\".corvic.config.v1.ExperimentConfigR\nexperiment\x12-\n\x05\x61uth0\x18\x16 \x01(\x0b\x32\x17.corvic.config.v1.Auth0R\x05\x61uth0\x1al\n\x15\x43ompletionModelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\x05value\x18\x02 \x01(\x0b\x32\'.corvic.config.v1.CompletionModelConfigR\x05value:\x02\x38\x01\x1aj\n\x14\x45mbeddingModelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b\x32&.corvic.config.v1.EmbeddingModelConfigR\x05value:\x02\x38\x01\x62\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.config.v1.settings_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- DESCRIPTOR._options = None
24
- _globals['_ROCKSETCONFIG_INTEGRATIONSENTRY']._options = None
25
- _globals['_ROCKSETCONFIG_INTEGRATIONSENTRY']._serialized_options = b'8\001'
26
- _globals['_ROCKSETCONFIG_COLLECTIONCONFIG'].fields_by_name['kind']._options = None
27
- _globals['_ROCKSETCONFIG_COLLECTIONCONFIG'].fields_by_name['kind']._serialized_options = b'\030\001'
28
- _globals['_ROCKSETCONFIG_COLLECTIONSENTRY']._options = None
29
- _globals['_ROCKSETCONFIG_COLLECTIONSENTRY']._serialized_options = b'8\001'
30
- _globals['_INGESTCONFIG'].fields_by_name['store_id_metadata_key']._options = None
31
- _globals['_INGESTCONFIG'].fields_by_name['store_id_metadata_key']._serialized_options = b'\030\001'
32
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONSENTRY']._options = None
33
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONSENTRY']._serialized_options = b'8\001'
34
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGSENTRY']._options = None
35
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGSENTRY']._serialized_options = b'8\001'
36
- _globals['_HUGGINGFACECONFIG'].fields_by_name['model_proxy_url']._options = None
37
- _globals['_HUGGINGFACECONFIG'].fields_by_name['model_proxy_url']._serialized_options = b'\030\001'
38
- _globals['_SETTINGS_COMPLETIONMODELSENTRY']._options = None
39
- _globals['_SETTINGS_COMPLETIONMODELSENTRY']._serialized_options = b'8\001'
40
- _globals['_SETTINGS_EMBEDDINGMODELSENTRY']._options = None
41
- _globals['_SETTINGS_EMBEDDINGMODELSENTRY']._serialized_options = b'8\001'
42
- _globals['_SETTINGS'].fields_by_name['load_dotenv']._options = None
43
- _globals['_SETTINGS'].fields_by_name['load_dotenv']._serialized_options = b'\030\001'
44
- _globals['_SETTINGS'].fields_by_name['chat_server']._options = None
45
- _globals['_SETTINGS'].fields_by_name['chat_server']._serialized_options = b'\030\001'
46
- _globals['_SETTINGS'].fields_by_name['embedgen']._options = None
47
- _globals['_SETTINGS'].fields_by_name['embedgen']._serialized_options = b'\030\001'
48
- _globals['_SETTINGS'].fields_by_name['chat']._options = None
49
- _globals['_SETTINGS'].fields_by_name['chat']._serialized_options = b'\030\001'
50
- _globals['_SETTINGS'].fields_by_name['completion_models']._options = None
51
- _globals['_SETTINGS'].fields_by_name['completion_models']._serialized_options = b'\030\001'
52
- _globals['_SETTINGS'].fields_by_name['huggingface']._options = None
53
- _globals['_SETTINGS'].fields_by_name['huggingface']._serialized_options = b'\030\001'
54
- _globals['_SETTINGS'].fields_by_name['retriever']._options = None
55
- _globals['_SETTINGS'].fields_by_name['retriever']._serialized_options = b'\030\001'
56
- _globals['_SETTINGS'].fields_by_name['completion']._options = None
57
- _globals['_SETTINGS'].fields_by_name['completion']._serialized_options = b'\030\001'
58
- _globals['_METACONFIG']._serialized_start=53
59
- _globals['_METACONFIG']._serialized_end=180
60
- _globals['_METRICSCONFIG']._serialized_start=182
61
- _globals['_METRICSCONFIG']._serialized_end=221
62
- _globals['_CHATSERVERCONFIG']._serialized_start=223
63
- _globals['_CHATSERVERCONFIG']._serialized_end=261
64
- _globals['_ROCKSETCONFIG']._serialized_start=264
65
- _globals['_ROCKSETCONFIG']._serialized_end=1417
66
- _globals['_ROCKSETCONFIG_INTEGRATIONCONFIG']._serialized_start=648
67
- _globals['_ROCKSETCONFIG_INTEGRATIONCONFIG']._serialized_end=766
68
- _globals['_ROCKSETCONFIG_INTEGRATIONSENTRY']._serialized_start=768
69
- _globals['_ROCKSETCONFIG_INTEGRATIONSENTRY']._serialized_end=882
70
- _globals['_ROCKSETCONFIG_COLLECTIONARGS']._serialized_start=885
71
- _globals['_ROCKSETCONFIG_COLLECTIONARGS']._serialized_end=1065
72
- _globals['_ROCKSETCONFIG_COLLECTIONCONFIG']._serialized_start=1068
73
- _globals['_ROCKSETCONFIG_COLLECTIONCONFIG']._serialized_end=1303
74
- _globals['_ROCKSETCONFIG_COLLECTIONSENTRY']._serialized_start=1305
75
- _globals['_ROCKSETCONFIG_COLLECTIONSENTRY']._serialized_end=1417
76
- _globals['_EMBEDGENCONFIG']._serialized_start=1420
77
- _globals['_EMBEDGENCONFIG']._serialized_end=1813
78
- _globals['_EMBEDGENCONFIG_DOCPROCCONFIG']._serialized_start=1767
79
- _globals['_EMBEDGENCONFIG_DOCPROCCONFIG']._serialized_end=1813
80
- _globals['_CHATCONFIG']._serialized_start=1816
81
- _globals['_CHATCONFIG']._serialized_end=2198
82
- _globals['_CHATCONFIG_CLIENTCONFIG']._serialized_start=2136
83
- _globals['_CHATCONFIG_CLIENTCONFIG']._serialized_end=2198
84
- _globals['_DBCONFIG']._serialized_start=2200
85
- _globals['_DBCONFIG']._serialized_end=2250
86
- _globals['_INGESTCONFIG']._serialized_start=2253
87
- _globals['_INGESTCONFIG']._serialized_end=2631
88
- _globals['_INGESTCONFIG_SERVERCONFIG']._serialized_start=2462
89
- _globals['_INGESTCONFIG_SERVERCONFIG']._serialized_end=2567
90
- _globals['_INGESTCONFIG_CLIENTCONFIG']._serialized_start=2136
91
- _globals['_INGESTCONFIG_CLIENTCONFIG']._serialized_end=2198
92
- _globals['_EXPERIMENTCONFIG']._serialized_start=2633
93
- _globals['_EXPERIMENTCONFIG']._serialized_end=2689
94
- _globals['_COMPLETIONMODELCONFIG']._serialized_start=2691
95
- _globals['_COMPLETIONMODELCONFIG']._serialized_end=2790
96
- _globals['_EMBEDDINGMODELCONFIG']._serialized_start=2793
97
- _globals['_EMBEDDINGMODELCONFIG']._serialized_end=3008
98
- _globals['_EMBEDDINGMODELCONFIG_EXTRACONFIG']._serialized_start=2971
99
- _globals['_EMBEDDINGMODELCONFIG_EXTRACONFIG']._serialized_end=3008
100
- _globals['_HUGGINGFACECONFIG']._serialized_start=3011
101
- _globals['_HUGGINGFACECONFIG']._serialized_end=4118
102
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG']._serialized_start=3330
103
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG']._serialized_end=4118
104
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONMODEL']._serialized_start=3581
105
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONMODEL']._serialized_end=3707
106
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONSENTRY']._serialized_start=3710
107
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_COMPLETIONSENTRY']._serialized_end=3850
108
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGMODEL']._serialized_start=3852
109
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGMODEL']._serialized_end=3977
110
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGSENTRY']._serialized_start=3980
111
- _globals['_HUGGINGFACECONFIG_INFERENCEENDPOINTSCONFIG_EMBEDDINGSENTRY']._serialized_end=4118
112
- _globals['_RETRIEVERCONFIG']._serialized_start=4121
113
- _globals['_RETRIEVERCONFIG']._serialized_end=4544
114
- _globals['_COMPLETIONCONFIG']._serialized_start=4547
115
- _globals['_COMPLETIONCONFIG']._serialized_end=4703
116
- _globals['_WORKFLOWCONFIG']._serialized_start=4705
117
- _globals['_WORKFLOWCONFIG']._serialized_end=4760
118
- _globals['_DATASTAGINGCONFIG']._serialized_start=4763
119
- _globals['_DATASTAGINGCONFIG']._serialized_end=5202
120
- _globals['_AUTH0']._serialized_start=5204
121
- _globals['_AUTH0']._serialized_end=5301
122
- _globals['_SETTINGS']._serialized_start=5304
123
- _globals['_SETTINGS']._serialized_end=6825
124
- _globals['_SETTINGS_COMPLETIONMODELSENTRY']._serialized_start=6609
125
- _globals['_SETTINGS_COMPLETIONMODELSENTRY']._serialized_end=6717
126
- _globals['_SETTINGS_EMBEDDINGMODELSENTRY']._serialized_start=6719
127
- _globals['_SETTINGS_EMBEDDINGMODELSENTRY']._serialized_end=6825
128
- # @@protoc_insertion_point(module_scope)