corvic-engine 0.3.0rc44__cp38-abi3-win_amd64.whl → 0.3.0rc46__cp38-abi3-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- corvic/engine/_native.pyd +0 -0
- corvic/model/__init__.py +7 -1
- corvic/model/_base_model.py +35 -42
- corvic/model/_feature_view.py +43 -43
- corvic/model/_pipeline.py +2 -14
- corvic/model/_proto_orm_convert.py +242 -239
- corvic/model/_resource.py +2 -7
- corvic/model/_source.py +14 -16
- corvic/model/_space.py +330 -362
- corvic/orm/__init__.py +37 -223
- corvic/system/storage.py +1 -1
- corvic/system_sqlite/fs_blob_store.py +9 -3
- corvic/system_sqlite/rdbms_blob_store.py +3 -2
- {corvic_engine-0.3.0rc44.dist-info → corvic_engine-0.3.0rc46.dist-info}/METADATA +1 -1
- {corvic_engine-0.3.0rc44.dist-info → corvic_engine-0.3.0rc46.dist-info}/RECORD +19 -19
- corvic_generated/model/v1alpha/models_pb2.py +23 -33
- corvic_generated/model/v1alpha/models_pb2.pyi +8 -68
- {corvic_engine-0.3.0rc44.dist-info → corvic_engine-0.3.0rc46.dist-info}/WHEEL +0 -0
- {corvic_engine-0.3.0rc44.dist-info → corvic_engine-0.3.0rc46.dist-info}/licenses/LICENSE +0 -0
@@ -13,18 +13,16 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
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 common_pb2 as corvic_dot_orm_dot_v1_dot_common__pb2
|
17
16
|
from corvic_generated.orm.v1 import completion_model_pb2 as corvic_dot_orm_dot_v1_dot_completion__model__pb2
|
18
17
|
from corvic_generated.orm.v1 import feature_view_pb2 as corvic_dot_orm_dot_v1_dot_feature__view__pb2
|
19
18
|
from corvic_generated.orm.v1 import pipeline_pb2 as corvic_dot_orm_dot_v1_dot_pipeline__pb2
|
20
19
|
from corvic_generated.orm.v1 import space_pb2 as corvic_dot_orm_dot_v1_dot_space__pb2
|
21
20
|
from corvic_generated.orm.v1 import table_pb2 as corvic_dot_orm_dot_v1_dot_table__pb2
|
22
21
|
from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot_event__pb2
|
23
|
-
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
24
22
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
25
23
|
|
26
24
|
|
27
|
-
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
|
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')
|
28
26
|
|
29
27
|
_globals = globals()
|
30
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -35,34 +33,26 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
35
33
|
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
|
36
34
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
37
35
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
38
|
-
_globals['
|
39
|
-
_globals['
|
40
|
-
_globals['
|
41
|
-
_globals['
|
42
|
-
_globals['
|
43
|
-
_globals['
|
44
|
-
_globals['
|
45
|
-
_globals['
|
46
|
-
_globals['
|
47
|
-
_globals['
|
48
|
-
_globals['
|
49
|
-
_globals['
|
50
|
-
_globals['
|
51
|
-
_globals['
|
52
|
-
_globals['
|
53
|
-
_globals['
|
54
|
-
_globals['
|
55
|
-
_globals['
|
56
|
-
_globals['
|
57
|
-
_globals['
|
58
|
-
_globals['
|
59
|
-
_globals['
|
60
|
-
_globals['_AGENTMESSAGE']._serialized_start=3143
|
61
|
-
_globals['_AGENTMESSAGE']._serialized_end=3502
|
62
|
-
_globals['_MESSAGEENTRY']._serialized_start=3505
|
63
|
-
_globals['_MESSAGEENTRY']._serialized_end=3797
|
64
|
-
_globals['_AGENT']._serialized_start=3800
|
65
|
-
_globals['_AGENT']._serialized_end=4061
|
66
|
-
_globals['_COMPLETIONMODEL']._serialized_start=4064
|
67
|
-
_globals['_COMPLETIONMODEL']._serialized_end=4365
|
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
|
68
58
|
# @@protoc_insertion_point(module_scope)
|
@@ -1,30 +1,18 @@
|
|
1
1
|
from corvic_generated.orm.v1 import agent_pb2 as _agent_pb2
|
2
|
-
from corvic_generated.orm.v1 import common_pb2 as _common_pb2
|
3
2
|
from corvic_generated.orm.v1 import completion_model_pb2 as _completion_model_pb2
|
4
3
|
from corvic_generated.orm.v1 import feature_view_pb2 as _feature_view_pb2
|
5
4
|
from corvic_generated.orm.v1 import pipeline_pb2 as _pipeline_pb2
|
6
5
|
from corvic_generated.orm.v1 import space_pb2 as _space_pb2
|
7
6
|
from corvic_generated.orm.v1 import table_pb2 as _table_pb2
|
8
7
|
from corvic_generated.status.v1 import event_pb2 as _event_pb2
|
9
|
-
from google.protobuf import struct_pb2 as _struct_pb2
|
10
8
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
11
9
|
from google.protobuf.internal import containers as _containers
|
12
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
13
10
|
from google.protobuf import descriptor as _descriptor
|
14
11
|
from google.protobuf import message as _message
|
15
12
|
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
16
13
|
|
17
14
|
DESCRIPTOR: _descriptor.FileDescriptor
|
18
15
|
|
19
|
-
class MessageReaction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
20
|
-
__slots__ = ()
|
21
|
-
MESSAGE_REACTION_UNSPECIFIED: _ClassVar[MessageReaction]
|
22
|
-
MESSAGE_REACTION_THUMBS_UP: _ClassVar[MessageReaction]
|
23
|
-
MESSAGE_REACTION_THUMBS_DOWN: _ClassVar[MessageReaction]
|
24
|
-
MESSAGE_REACTION_UNSPECIFIED: MessageReaction
|
25
|
-
MESSAGE_REACTION_THUMBS_UP: MessageReaction
|
26
|
-
MESSAGE_REACTION_THUMBS_DOWN: MessageReaction
|
27
|
-
|
28
16
|
class Room(_message.Message):
|
29
17
|
__slots__ = ("id", "name", "org_id", "created_at")
|
30
18
|
ID_FIELD_NUMBER: _ClassVar[int]
|
@@ -38,7 +26,7 @@ class Room(_message.Message):
|
|
38
26
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
39
27
|
|
40
28
|
class Resource(_message.Message):
|
41
|
-
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "
|
29
|
+
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "recent_events", "created_at")
|
42
30
|
ID_FIELD_NUMBER: _ClassVar[int]
|
43
31
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
44
32
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
@@ -48,7 +36,6 @@ class Resource(_message.Message):
|
|
48
36
|
MD5_FIELD_NUMBER: _ClassVar[int]
|
49
37
|
ORIGINAL_PATH_FIELD_NUMBER: _ClassVar[int]
|
50
38
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
51
|
-
SOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
52
39
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
53
40
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
54
41
|
RECENT_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
@@ -62,20 +49,18 @@ class Resource(_message.Message):
|
|
62
49
|
md5: str
|
63
50
|
original_path: str
|
64
51
|
room_id: str
|
65
|
-
source_ids: _containers.RepeatedScalarFieldContainer[str]
|
66
52
|
org_id: str
|
67
53
|
pipeline_id: str
|
68
54
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
69
55
|
created_at: _timestamp_pb2.Timestamp
|
70
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ...,
|
56
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
71
57
|
|
72
58
|
class Source(_message.Message):
|
73
|
-
__slots__ = ("id", "name", "table_op_graph", "room_id", "
|
59
|
+
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
|
74
60
|
ID_FIELD_NUMBER: _ClassVar[int]
|
75
61
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
76
62
|
TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
77
63
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
78
|
-
RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
79
64
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
80
65
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
81
66
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
@@ -83,11 +68,10 @@ class Source(_message.Message):
|
|
83
68
|
name: str
|
84
69
|
table_op_graph: _table_pb2.TableComputeOp
|
85
70
|
room_id: str
|
86
|
-
resource_id: str
|
87
71
|
org_id: str
|
88
72
|
pipeline_id: str
|
89
73
|
created_at: _timestamp_pb2.Timestamp
|
90
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ...,
|
74
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
91
75
|
|
92
76
|
class Pipeline(_message.Message):
|
93
77
|
__slots__ = ("id", "name", "description", "room_id", "resource_inputs", "source_outputs", "pipeline_transformation", "org_id", "created_at")
|
@@ -166,13 +150,13 @@ class FeatureView(_message.Message):
|
|
166
150
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., feature_view_output: _Optional[_Union[_feature_view_pb2.FeatureViewOutput, _Mapping]] = ..., feature_view_sources: _Optional[_Iterable[_Union[FeatureViewSource, _Mapping]]] = ..., space_ids: _Optional[_Iterable[str]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
167
151
|
|
168
152
|
class Space(_message.Message):
|
169
|
-
__slots__ = ("id", "name", "description", "room_id", "space_parameters", "
|
153
|
+
__slots__ = ("id", "name", "description", "room_id", "space_parameters", "feature_view", "auto_sync", "org_id", "created_at")
|
170
154
|
ID_FIELD_NUMBER: _ClassVar[int]
|
171
155
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
172
156
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
173
157
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
174
158
|
SPACE_PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
175
|
-
|
159
|
+
FEATURE_VIEW_FIELD_NUMBER: _ClassVar[int]
|
176
160
|
AUTO_SYNC_FIELD_NUMBER: _ClassVar[int]
|
177
161
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
178
162
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
@@ -181,55 +165,11 @@ class Space(_message.Message):
|
|
181
165
|
description: str
|
182
166
|
room_id: str
|
183
167
|
space_parameters: _space_pb2.SpaceParameters
|
184
|
-
|
168
|
+
feature_view: FeatureView
|
185
169
|
auto_sync: bool
|
186
170
|
org_id: str
|
187
171
|
created_at: _timestamp_pb2.Timestamp
|
188
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ...,
|
189
|
-
|
190
|
-
class UserMessage(_message.Message):
|
191
|
-
__slots__ = ("id", "message", "room_id")
|
192
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
193
|
-
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
194
|
-
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
195
|
-
id: str
|
196
|
-
message: str
|
197
|
-
room_id: str
|
198
|
-
def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., room_id: _Optional[str] = ...) -> None: ...
|
199
|
-
|
200
|
-
class AgentMessage(_message.Message):
|
201
|
-
__slots__ = ("id", "message", "policy", "context", "message_reaction", "user_message_id", "retrieved_entities", "room_id")
|
202
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
203
|
-
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
204
|
-
POLICY_FIELD_NUMBER: _ClassVar[int]
|
205
|
-
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
206
|
-
MESSAGE_REACTION_FIELD_NUMBER: _ClassVar[int]
|
207
|
-
USER_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
208
|
-
RETRIEVED_ENTITIES_FIELD_NUMBER: _ClassVar[int]
|
209
|
-
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
210
|
-
id: str
|
211
|
-
message: str
|
212
|
-
policy: _struct_pb2.Struct
|
213
|
-
context: str
|
214
|
-
message_reaction: MessageReaction
|
215
|
-
user_message_id: str
|
216
|
-
retrieved_entities: _common_pb2.RetrievedEntities
|
217
|
-
room_id: str
|
218
|
-
def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., policy: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., context: _Optional[str] = ..., message_reaction: _Optional[_Union[MessageReaction, str]] = ..., user_message_id: _Optional[str] = ..., retrieved_entities: _Optional[_Union[_common_pb2.RetrievedEntities, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
219
|
-
|
220
|
-
class MessageEntry(_message.Message):
|
221
|
-
__slots__ = ("id", "user_message", "agent_message", "created_at", "room_id")
|
222
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
223
|
-
USER_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
224
|
-
AGENT_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
225
|
-
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
226
|
-
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
227
|
-
id: str
|
228
|
-
user_message: UserMessage
|
229
|
-
agent_message: AgentMessage
|
230
|
-
created_at: _timestamp_pb2.Timestamp
|
231
|
-
room_id: str
|
232
|
-
def __init__(self, id: _Optional[str] = ..., user_message: _Optional[_Union[UserMessage, _Mapping]] = ..., agent_message: _Optional[_Union[AgentMessage, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
172
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ..., feature_view: _Optional[_Union[FeatureView, _Mapping]] = ..., auto_sync: bool = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
233
173
|
|
234
174
|
class Agent(_message.Message):
|
235
175
|
__slots__ = ("id", "name", "room_id", "agent_parameters", "org_id", "created_at")
|
File without changes
|
File without changes
|