luminarycloud 0.20.0__py3-none-any.whl → 0.22.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- luminarycloud/__init__.py +5 -1
- luminarycloud/_client/client.py +5 -0
- luminarycloud/_client/http_client.py +10 -8
- luminarycloud/_feature_flag.py +22 -0
- luminarycloud/_helpers/_create_simulation.py +7 -2
- luminarycloud/_helpers/_upload_mesh.py +1 -0
- luminarycloud/_helpers/download.py +3 -1
- luminarycloud/_helpers/pagination.py +62 -0
- luminarycloud/_helpers/proto_decorator.py +13 -5
- luminarycloud/_helpers/upload.py +18 -12
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.py +55 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.pyi +52 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.py +72 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.pyi +35 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +168 -124
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +133 -4
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +66 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +20 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +5 -5
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +74 -73
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +17 -3
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +33 -20
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +21 -1
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.py +16 -16
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.pyi +7 -3
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +97 -61
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +72 -3
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.py +33 -31
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.pyi +23 -2
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +68 -19
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +98 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +33 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +10 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +74 -41
- luminarycloud/_proto/assistant/assistant_pb2.pyi +64 -2
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +33 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +10 -0
- luminarycloud/_proto/base/base_pb2.py +20 -7
- luminarycloud/_proto/base/base_pb2.pyi +38 -0
- luminarycloud/_proto/cad/shape_pb2.py +39 -19
- luminarycloud/_proto/cad/shape_pb2.pyi +86 -34
- luminarycloud/_proto/cad/transformation_pb2.py +60 -16
- luminarycloud/_proto/cad/transformation_pb2.pyi +138 -32
- luminarycloud/_proto/client/simulation_pb2.py +490 -348
- luminarycloud/_proto/client/simulation_pb2.pyi +570 -8
- luminarycloud/_proto/geometry/geometry_pb2.py +77 -63
- luminarycloud/_proto/geometry/geometry_pb2.pyi +42 -3
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +24 -18
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +23 -2
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +5 -5
- luminarycloud/_proto/quantity/quantity_options_pb2.py +6 -6
- luminarycloud/_proto/quantity/quantity_options_pb2.pyi +10 -1
- luminarycloud/_proto/quantity/quantity_pb2.py +176 -167
- luminarycloud/_proto/quantity/quantity_pb2.pyi +11 -5
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/gpu_type.py +2 -0
- luminarycloud/enum/quantity_type.py +9 -0
- luminarycloud/enum/vis_enums.py +23 -3
- luminarycloud/feature_modification.py +45 -35
- luminarycloud/geometry.py +104 -8
- luminarycloud/geometry_version.py +57 -3
- luminarycloud/meshing/mesh_generation_params.py +8 -8
- luminarycloud/params/enum/_enum_wrappers.py +537 -30
- luminarycloud/params/simulation/adaptive_mesh_refinement_.py +4 -0
- luminarycloud/params/simulation/physics/__init__.py +0 -1
- luminarycloud/params/simulation/physics/periodic_pair_.py +12 -31
- luminarycloud/physics_ai/architectures.py +5 -5
- luminarycloud/physics_ai/inference.py +13 -13
- luminarycloud/physics_ai/solution.py +3 -1
- luminarycloud/pipelines/__init__.py +11 -3
- luminarycloud/pipelines/api.py +240 -4
- luminarycloud/pipelines/arguments.py +15 -0
- luminarycloud/pipelines/core.py +113 -96
- luminarycloud/pipelines/{operators.py → stages.py} +96 -39
- luminarycloud/project.py +15 -47
- luminarycloud/simulation.py +66 -3
- luminarycloud/simulation_param.py +0 -9
- luminarycloud/types/matrix3.py +12 -0
- luminarycloud/vis/__init__.py +2 -0
- luminarycloud/vis/interactive_report.py +79 -93
- luminarycloud/vis/report.py +219 -65
- luminarycloud/vis/visualization.py +60 -0
- luminarycloud/volume_selection.py +132 -69
- {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/RECORD +90 -89
- luminarycloud/params/simulation/physics/periodic_pair/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/rotational_periodicity_.py +0 -31
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/translational_periodicity_.py +0 -29
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type_.py +0 -25
- {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/WHEEL +0 -0
|
@@ -195,6 +195,23 @@ RenderDataUrlsFailed: RenderDataUrlsStatus.ValueType # 3
|
|
|
195
195
|
"""Job failed"""
|
|
196
196
|
global___RenderDataUrlsStatus = RenderDataUrlsStatus
|
|
197
197
|
|
|
198
|
+
class _FieldAssociation:
|
|
199
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
200
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
201
|
+
|
|
202
|
+
class _FieldAssociationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_FieldAssociation.ValueType], builtins.type): # noqa: F821
|
|
203
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
204
|
+
FIELD_ASSOCIATION_UNSPECIFIED: _FieldAssociation.ValueType # 0
|
|
205
|
+
FIELD_ASSOCIATION_CELLS: _FieldAssociation.ValueType # 1
|
|
206
|
+
FIELD_ASSOCIATION_POINTS: _FieldAssociation.ValueType # 2
|
|
207
|
+
|
|
208
|
+
class FieldAssociation(_FieldAssociation, metaclass=_FieldAssociationEnumTypeWrapper): ...
|
|
209
|
+
|
|
210
|
+
FIELD_ASSOCIATION_UNSPECIFIED: FieldAssociation.ValueType # 0
|
|
211
|
+
FIELD_ASSOCIATION_CELLS: FieldAssociation.ValueType # 1
|
|
212
|
+
FIELD_ASSOCIATION_POINTS: FieldAssociation.ValueType # 2
|
|
213
|
+
global___FieldAssociation = FieldAssociation
|
|
214
|
+
|
|
198
215
|
class Pan(google.protobuf.message.Message):
|
|
199
216
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
200
217
|
|
|
@@ -2062,3 +2079,84 @@ class LineDataExtract(google.protobuf.message.Message):
|
|
|
2062
2079
|
def ClearField(self, field_name: typing_extensions.Literal["labels", b"labels", "lines", b"lines"]) -> None: ...
|
|
2063
2080
|
|
|
2064
2081
|
global___LineDataExtract = LineDataExtract
|
|
2082
|
+
|
|
2083
|
+
class RangeEntity(google.protobuf.message.Message):
|
|
2084
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2085
|
+
|
|
2086
|
+
SIMULATION_FIELD_NUMBER: builtins.int
|
|
2087
|
+
@property
|
|
2088
|
+
def simulation(self) -> global___SimulationEntity: ...
|
|
2089
|
+
def __init__(
|
|
2090
|
+
self,
|
|
2091
|
+
*,
|
|
2092
|
+
simulation: global___SimulationEntity | None = ...,
|
|
2093
|
+
) -> None: ...
|
|
2094
|
+
def HasField(self, field_name: typing_extensions.Literal["entity", b"entity", "simulation", b"simulation"]) -> builtins.bool: ...
|
|
2095
|
+
def ClearField(self, field_name: typing_extensions.Literal["entity", b"entity", "simulation", b"simulation"]) -> None: ...
|
|
2096
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["entity", b"entity"]) -> typing_extensions.Literal["simulation"] | None: ...
|
|
2097
|
+
|
|
2098
|
+
global___RangeEntity = RangeEntity
|
|
2099
|
+
|
|
2100
|
+
class RangeQueryRequest(google.protobuf.message.Message):
|
|
2101
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2102
|
+
|
|
2103
|
+
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
2104
|
+
ENTITY_FIELD_NUMBER: builtins.int
|
|
2105
|
+
FIELD_ASSOCIATION_FIELD_NUMBER: builtins.int
|
|
2106
|
+
INCLUDE_ONLY_VOLUME_FIELD_NUMBER: builtins.int
|
|
2107
|
+
project_id: builtins.str
|
|
2108
|
+
@property
|
|
2109
|
+
def entity(self) -> global___RangeEntity: ...
|
|
2110
|
+
field_association: global___FieldAssociation.ValueType
|
|
2111
|
+
include_only_volume: builtins.bool
|
|
2112
|
+
"""If true, only include volume data in the range calculation (exclude surfaces/boundaries).
|
|
2113
|
+
If false, include both volume and surface data. Defaults to false for backward compatibility.
|
|
2114
|
+
"""
|
|
2115
|
+
def __init__(
|
|
2116
|
+
self,
|
|
2117
|
+
*,
|
|
2118
|
+
project_id: builtins.str = ...,
|
|
2119
|
+
entity: global___RangeEntity | None = ...,
|
|
2120
|
+
field_association: global___FieldAssociation.ValueType = ...,
|
|
2121
|
+
include_only_volume: builtins.bool = ...,
|
|
2122
|
+
) -> None: ...
|
|
2123
|
+
def HasField(self, field_name: typing_extensions.Literal["entity", b"entity"]) -> builtins.bool: ...
|
|
2124
|
+
def ClearField(self, field_name: typing_extensions.Literal["entity", b"entity", "field_association", b"field_association", "include_only_volume", b"include_only_volume", "project_id", b"project_id"]) -> None: ...
|
|
2125
|
+
|
|
2126
|
+
global___RangeQueryRequest = RangeQueryRequest
|
|
2127
|
+
|
|
2128
|
+
class RangeResult(google.protobuf.message.Message):
|
|
2129
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2130
|
+
|
|
2131
|
+
RANGE_FIELD_NUMBER: builtins.int
|
|
2132
|
+
QUANTITY_FIELD_NUMBER: builtins.int
|
|
2133
|
+
FIELD_NAME_FIELD_NUMBER: builtins.int
|
|
2134
|
+
@property
|
|
2135
|
+
def range(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Range]: ...
|
|
2136
|
+
quantity: luminarycloud._proto.quantity.quantity_pb2.QuantityType.ValueType
|
|
2137
|
+
field_name: builtins.str
|
|
2138
|
+
def __init__(
|
|
2139
|
+
self,
|
|
2140
|
+
*,
|
|
2141
|
+
range: collections.abc.Iterable[global___Range] | None = ...,
|
|
2142
|
+
quantity: luminarycloud._proto.quantity.quantity_pb2.QuantityType.ValueType = ...,
|
|
2143
|
+
field_name: builtins.str = ...,
|
|
2144
|
+
) -> None: ...
|
|
2145
|
+
def ClearField(self, field_name: typing_extensions.Literal["field_name", b"field_name", "quantity", b"quantity", "range", b"range"]) -> None: ...
|
|
2146
|
+
|
|
2147
|
+
global___RangeResult = RangeResult
|
|
2148
|
+
|
|
2149
|
+
class RangeQueryReply(google.protobuf.message.Message):
|
|
2150
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2151
|
+
|
|
2152
|
+
RANGE_FIELD_NUMBER: builtins.int
|
|
2153
|
+
@property
|
|
2154
|
+
def range(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RangeResult]: ...
|
|
2155
|
+
def __init__(
|
|
2156
|
+
self,
|
|
2157
|
+
*,
|
|
2158
|
+
range: collections.abc.Iterable[global___RangeResult] | None = ...,
|
|
2159
|
+
) -> None: ...
|
|
2160
|
+
def ClearField(self, field_name: typing_extensions.Literal["range", b"range"]) -> None: ...
|
|
2161
|
+
|
|
2162
|
+
global___RangeQueryReply = RangeQueryReply
|
|
@@ -64,6 +64,11 @@ class VisAPIServiceStub(object):
|
|
|
64
64
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.GetCameraRequest.SerializeToString,
|
|
65
65
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.GetCameraReply.FromString,
|
|
66
66
|
)
|
|
67
|
+
self.RangeQuery = channel.unary_unary(
|
|
68
|
+
'/luminary.proto.api.v0.luminarycloud.vis.VisAPIService/RangeQuery',
|
|
69
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryRequest.SerializeToString,
|
|
70
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryReply.FromString,
|
|
71
|
+
)
|
|
67
72
|
|
|
68
73
|
|
|
69
74
|
class VisAPIServiceServicer(object):
|
|
@@ -129,6 +134,12 @@ class VisAPIServiceServicer(object):
|
|
|
129
134
|
context.set_details('Method not implemented!')
|
|
130
135
|
raise NotImplementedError('Method not implemented!')
|
|
131
136
|
|
|
137
|
+
def RangeQuery(self, request, context):
|
|
138
|
+
"""Missing associated documentation comment in .proto file."""
|
|
139
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
140
|
+
context.set_details('Method not implemented!')
|
|
141
|
+
raise NotImplementedError('Method not implemented!')
|
|
142
|
+
|
|
132
143
|
|
|
133
144
|
def add_VisAPIServiceServicer_to_server(servicer, server):
|
|
134
145
|
rpc_method_handlers = {
|
|
@@ -182,6 +193,11 @@ def add_VisAPIServiceServicer_to_server(servicer, server):
|
|
|
182
193
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.GetCameraRequest.FromString,
|
|
183
194
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.GetCameraReply.SerializeToString,
|
|
184
195
|
),
|
|
196
|
+
'RangeQuery': grpc.unary_unary_rpc_method_handler(
|
|
197
|
+
servicer.RangeQuery,
|
|
198
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryRequest.FromString,
|
|
199
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryReply.SerializeToString,
|
|
200
|
+
),
|
|
185
201
|
}
|
|
186
202
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
187
203
|
'luminary.proto.api.v0.luminarycloud.vis.VisAPIService', rpc_method_handlers)
|
|
@@ -361,3 +377,20 @@ class VisAPIService(object):
|
|
|
361
377
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.GetCameraReply.FromString,
|
|
362
378
|
options, channel_credentials,
|
|
363
379
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
380
|
+
|
|
381
|
+
@staticmethod
|
|
382
|
+
def RangeQuery(request,
|
|
383
|
+
target,
|
|
384
|
+
options=(),
|
|
385
|
+
channel_credentials=None,
|
|
386
|
+
call_credentials=None,
|
|
387
|
+
insecure=False,
|
|
388
|
+
compression=None,
|
|
389
|
+
wait_for_ready=None,
|
|
390
|
+
timeout=None,
|
|
391
|
+
metadata=None):
|
|
392
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.vis.VisAPIService/RangeQuery',
|
|
393
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryRequest.SerializeToString,
|
|
394
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2.RangeQueryReply.FromString,
|
|
395
|
+
options, channel_credentials,
|
|
396
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -48,6 +48,10 @@ class VisAPIServiceStub:
|
|
|
48
48
|
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraRequest,
|
|
49
49
|
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraReply,
|
|
50
50
|
]
|
|
51
|
+
RangeQuery: grpc.UnaryUnaryMultiCallable[
|
|
52
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryRequest,
|
|
53
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryReply,
|
|
54
|
+
]
|
|
51
55
|
|
|
52
56
|
class VisAPIServiceServicer(metaclass=abc.ABCMeta):
|
|
53
57
|
@abc.abstractmethod
|
|
@@ -110,5 +114,11 @@ class VisAPIServiceServicer(metaclass=abc.ABCMeta):
|
|
|
110
114
|
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraRequest,
|
|
111
115
|
context: grpc.ServicerContext,
|
|
112
116
|
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraReply: ...
|
|
117
|
+
@abc.abstractmethod
|
|
118
|
+
def RangeQuery(
|
|
119
|
+
self,
|
|
120
|
+
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryRequest,
|
|
121
|
+
context: grpc.ServicerContext,
|
|
122
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryReply: ...
|
|
113
123
|
|
|
114
124
|
def add_VisAPIServiceServicer_to_server(servicer: VisAPIServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -19,7 +19,7 @@ from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_s
|
|
|
19
19
|
from luminarycloud._proto.api.v0.luminarycloud.vis import vis_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\x1a(proto/api/v0/luminarycloud/vis/vis.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\x1a(proto/api/v0/luminarycloud/vis/vis.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"\xac\x01\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\x12\x1b\n\x0e\x61\x63tive_cell_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x10visible_cell_ids\x18\x05 \x03(\tB\x11\n\x0f_active_cell_id\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\x97\x03\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x12`\n\x19\x61ll_enabled_feature_flags\x18\t \x03(\x0b\x32=.luminary.proto.assistant.Request.AllEnabledFeatureFlagsEntry\x1a=\n\x1b\x41llEnabledFeatureFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t\"y\n\x13VisToSdkCodeRequest\x12\x42\n\x04spec\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.vis.ExtractSpec\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\"(\n\x14VisToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t\"E\n\x19VoiceTranscriptionRequest\x12\x12\n\naudio_data\x18\x01 \x01(\x0c\x12\x14\n\x0c\x61udio_format\x18\x02 \x01(\t\"*\n\x1aVoiceTranscriptionResponse\x12\x0c\n\x04text\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\x92\x07\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x83\x01\n\x12VoiceTranscription\x12\x33.luminary.proto.assistant.VoiceTranscriptionRequest\x1a\x34.luminary.proto.assistant.VoiceTranscriptionResponse\"\x00\x30\x01\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x12o\n\x0cVisToSdkCode\x12-.luminary.proto.assistant.VisToSdkCodeRequest\x1a..luminary.proto.assistant.VisToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
|
|
25
25
|
AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
|
|
@@ -54,6 +54,7 @@ _IMAGE = DESCRIPTOR.message_types_by_name['Image']
|
|
|
54
54
|
_CONTEXTITEM = DESCRIPTOR.message_types_by_name['ContextItem']
|
|
55
55
|
_ASSISTANTCONTEXT = DESCRIPTOR.message_types_by_name['AssistantContext']
|
|
56
56
|
_REQUEST = DESCRIPTOR.message_types_by_name['Request']
|
|
57
|
+
_REQUEST_ALLENABLEDFEATUREFLAGSENTRY = _REQUEST.nested_types_by_name['AllEnabledFeatureFlagsEntry']
|
|
57
58
|
_REPLY = DESCRIPTOR.message_types_by_name['Reply']
|
|
58
59
|
_ACTION = DESCRIPTOR.message_types_by_name['Action']
|
|
59
60
|
_OUTCOME = DESCRIPTOR.message_types_by_name['Outcome']
|
|
@@ -64,6 +65,8 @@ _SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkC
|
|
|
64
65
|
_SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
|
|
65
66
|
_VISTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['VisToSdkCodeRequest']
|
|
66
67
|
_VISTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['VisToSdkCodeResponse']
|
|
68
|
+
_VOICETRANSCRIPTIONREQUEST = DESCRIPTOR.message_types_by_name['VoiceTranscriptionRequest']
|
|
69
|
+
_VOICETRANSCRIPTIONRESPONSE = DESCRIPTOR.message_types_by_name['VoiceTranscriptionResponse']
|
|
67
70
|
GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
|
|
68
71
|
'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
|
|
69
72
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
@@ -186,11 +189,19 @@ AssistantContext = _reflection.GeneratedProtocolMessageType('AssistantContext',
|
|
|
186
189
|
_sym_db.RegisterMessage(AssistantContext)
|
|
187
190
|
|
|
188
191
|
Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
192
|
+
|
|
193
|
+
'AllEnabledFeatureFlagsEntry' : _reflection.GeneratedProtocolMessageType('AllEnabledFeatureFlagsEntry', (_message.Message,), {
|
|
194
|
+
'DESCRIPTOR' : _REQUEST_ALLENABLEDFEATUREFLAGSENTRY,
|
|
195
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
196
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.Request.AllEnabledFeatureFlagsEntry)
|
|
197
|
+
})
|
|
198
|
+
,
|
|
189
199
|
'DESCRIPTOR' : _REQUEST,
|
|
190
200
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
191
201
|
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.Request)
|
|
192
202
|
})
|
|
193
203
|
_sym_db.RegisterMessage(Request)
|
|
204
|
+
_sym_db.RegisterMessage(Request.AllEnabledFeatureFlagsEntry)
|
|
194
205
|
|
|
195
206
|
Reply = _reflection.GeneratedProtocolMessageType('Reply', (_message.Message,), {
|
|
196
207
|
'DESCRIPTOR' : _REPLY,
|
|
@@ -262,6 +273,20 @@ VisToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('VisToSdkCodeRes
|
|
|
262
273
|
})
|
|
263
274
|
_sym_db.RegisterMessage(VisToSdkCodeResponse)
|
|
264
275
|
|
|
276
|
+
VoiceTranscriptionRequest = _reflection.GeneratedProtocolMessageType('VoiceTranscriptionRequest', (_message.Message,), {
|
|
277
|
+
'DESCRIPTOR' : _VOICETRANSCRIPTIONREQUEST,
|
|
278
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
279
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VoiceTranscriptionRequest)
|
|
280
|
+
})
|
|
281
|
+
_sym_db.RegisterMessage(VoiceTranscriptionRequest)
|
|
282
|
+
|
|
283
|
+
VoiceTranscriptionResponse = _reflection.GeneratedProtocolMessageType('VoiceTranscriptionResponse', (_message.Message,), {
|
|
284
|
+
'DESCRIPTOR' : _VOICETRANSCRIPTIONRESPONSE,
|
|
285
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
286
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VoiceTranscriptionResponse)
|
|
287
|
+
})
|
|
288
|
+
_sym_db.RegisterMessage(VoiceTranscriptionResponse)
|
|
289
|
+
|
|
265
290
|
_ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
|
|
266
291
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
267
292
|
|
|
@@ -271,12 +296,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
271
296
|
_EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
|
|
272
297
|
_DISPLAYDATA_DATAENTRY._options = None
|
|
273
298
|
_DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
299
|
+
_REQUEST_ALLENABLEDFEATUREFLAGSENTRY._options = None
|
|
300
|
+
_REQUEST_ALLENABLEDFEATUREFLAGSENTRY._serialized_options = b'8\001'
|
|
301
|
+
_ASSISTREQUESTSOURCE._serialized_start=3213
|
|
302
|
+
_ASSISTREQUESTSOURCE._serialized_end=3266
|
|
303
|
+
_CELLTYPE._serialized_start=3268
|
|
304
|
+
_CELLTYPE._serialized_end=3311
|
|
305
|
+
_STREAMOUTPUTTYPE._serialized_start=3313
|
|
306
|
+
_STREAMOUTPUTTYPE._serialized_end=3355
|
|
280
307
|
_GETCHATSESSIONSREQUEST._serialized_start=193
|
|
281
308
|
_GETCHATSESSIONSREQUEST._serialized_end=250
|
|
282
309
|
_GETCHATSESSIONSRESPONSE._serialized_start=252
|
|
@@ -301,38 +328,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
301
328
|
_DISPLAYDATA_DATAENTRY._serialized_end=967
|
|
302
329
|
_NOTEBOOKCELL._serialized_start=1093
|
|
303
330
|
_NOTEBOOKCELL._serialized_end=1259
|
|
304
|
-
_NOTEBOOKCONTEXT._serialized_start=
|
|
305
|
-
_NOTEBOOKCONTEXT._serialized_end=
|
|
306
|
-
_SOURCECODE._serialized_start=
|
|
307
|
-
_SOURCECODE._serialized_end=
|
|
308
|
-
_IMAGE._serialized_start=
|
|
309
|
-
_IMAGE._serialized_end=
|
|
310
|
-
_CONTEXTITEM._serialized_start=
|
|
311
|
-
_CONTEXTITEM._serialized_end=
|
|
312
|
-
_ASSISTANTCONTEXT._serialized_start=
|
|
313
|
-
_ASSISTANTCONTEXT._serialized_end=
|
|
314
|
-
_REQUEST._serialized_start=
|
|
315
|
-
_REQUEST._serialized_end=
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
331
|
+
_NOTEBOOKCONTEXT._serialized_start=1262
|
|
332
|
+
_NOTEBOOKCONTEXT._serialized_end=1434
|
|
333
|
+
_SOURCECODE._serialized_start=1436
|
|
334
|
+
_SOURCECODE._serialized_end=1497
|
|
335
|
+
_IMAGE._serialized_start=1499
|
|
336
|
+
_IMAGE._serialized_end=1570
|
|
337
|
+
_CONTEXTITEM._serialized_start=1573
|
|
338
|
+
_CONTEXTITEM._serialized_end=1792
|
|
339
|
+
_ASSISTANTCONTEXT._serialized_start=1794
|
|
340
|
+
_ASSISTANTCONTEXT._serialized_end=1868
|
|
341
|
+
_REQUEST._serialized_start=1871
|
|
342
|
+
_REQUEST._serialized_end=2278
|
|
343
|
+
_REQUEST_ALLENABLEDFEATUREFLAGSENTRY._serialized_start=2187
|
|
344
|
+
_REQUEST_ALLENABLEDFEATUREFLAGSENTRY._serialized_end=2248
|
|
345
|
+
_REPLY._serialized_start=2281
|
|
346
|
+
_REPLY._serialized_end=2439
|
|
347
|
+
_ACTION._serialized_start=2441
|
|
348
|
+
_ACTION._serialized_end=2479
|
|
349
|
+
_OUTCOME._serialized_start=2481
|
|
350
|
+
_OUTCOME._serialized_end=2564
|
|
351
|
+
_GETCHATHISTORYREQUEST._serialized_start=2566
|
|
352
|
+
_GETCHATHISTORYREQUEST._serialized_end=2639
|
|
353
|
+
_CHATHISTORYENTRY._serialized_start=2641
|
|
354
|
+
_CHATHISTORYENTRY._serialized_end=2690
|
|
355
|
+
_GETCHATHISTORYRESPONSE._serialized_start=2692
|
|
356
|
+
_GETCHATHISTORYRESPONSE._serialized_end=2777
|
|
357
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_start=2779
|
|
358
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_end=2882
|
|
359
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_start=2884
|
|
360
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_end=2931
|
|
361
|
+
_VISTOSDKCODEREQUEST._serialized_start=2933
|
|
362
|
+
_VISTOSDKCODEREQUEST._serialized_end=3054
|
|
363
|
+
_VISTOSDKCODERESPONSE._serialized_start=3056
|
|
364
|
+
_VISTOSDKCODERESPONSE._serialized_end=3096
|
|
365
|
+
_VOICETRANSCRIPTIONREQUEST._serialized_start=3098
|
|
366
|
+
_VOICETRANSCRIPTIONREQUEST._serialized_end=3167
|
|
367
|
+
_VOICETRANSCRIPTIONRESPONSE._serialized_start=3169
|
|
368
|
+
_VOICETRANSCRIPTIONRESPONSE._serialized_end=3211
|
|
369
|
+
_ASSISTANT._serialized_start=3358
|
|
370
|
+
_ASSISTANT._serialized_end=4272
|
|
338
371
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -319,6 +319,8 @@ class NotebookContext(google.protobuf.message.Message):
|
|
|
319
319
|
ID_FIELD_NUMBER: builtins.int
|
|
320
320
|
NAME_FIELD_NUMBER: builtins.int
|
|
321
321
|
CELLS_FIELD_NUMBER: builtins.int
|
|
322
|
+
ACTIVE_CELL_ID_FIELD_NUMBER: builtins.int
|
|
323
|
+
VISIBLE_CELL_IDS_FIELD_NUMBER: builtins.int
|
|
322
324
|
id: builtins.str
|
|
323
325
|
"""The id of the notebook"""
|
|
324
326
|
name: builtins.str
|
|
@@ -326,14 +328,23 @@ class NotebookContext(google.protobuf.message.Message):
|
|
|
326
328
|
@property
|
|
327
329
|
def cells(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NotebookCell]:
|
|
328
330
|
"""The cells of the notebook"""
|
|
331
|
+
active_cell_id: builtins.str
|
|
332
|
+
"""The id of the currently active cell"""
|
|
333
|
+
@property
|
|
334
|
+
def visible_cell_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
335
|
+
"""The ids of cells that are currently visible in the viewport"""
|
|
329
336
|
def __init__(
|
|
330
337
|
self,
|
|
331
338
|
*,
|
|
332
339
|
id: builtins.str = ...,
|
|
333
340
|
name: builtins.str = ...,
|
|
334
341
|
cells: collections.abc.Iterable[global___NotebookCell] | None = ...,
|
|
342
|
+
active_cell_id: builtins.str | None = ...,
|
|
343
|
+
visible_cell_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
335
344
|
) -> None: ...
|
|
336
|
-
def
|
|
345
|
+
def HasField(self, field_name: typing_extensions.Literal["_active_cell_id", b"_active_cell_id", "active_cell_id", b"active_cell_id"]) -> builtins.bool: ...
|
|
346
|
+
def ClearField(self, field_name: typing_extensions.Literal["_active_cell_id", b"_active_cell_id", "active_cell_id", b"active_cell_id", "cells", b"cells", "id", b"id", "name", b"name", "visible_cell_ids", b"visible_cell_ids"]) -> None: ...
|
|
347
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_active_cell_id", b"_active_cell_id"]) -> typing_extensions.Literal["active_cell_id"] | None: ...
|
|
337
348
|
|
|
338
349
|
global___NotebookContext = NotebookContext
|
|
339
350
|
|
|
@@ -439,6 +450,21 @@ global___AssistantContext = AssistantContext
|
|
|
439
450
|
class Request(google.protobuf.message.Message):
|
|
440
451
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
441
452
|
|
|
453
|
+
class AllEnabledFeatureFlagsEntry(google.protobuf.message.Message):
|
|
454
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
455
|
+
|
|
456
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
457
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
458
|
+
key: builtins.int
|
|
459
|
+
value: builtins.str
|
|
460
|
+
def __init__(
|
|
461
|
+
self,
|
|
462
|
+
*,
|
|
463
|
+
key: builtins.int = ...,
|
|
464
|
+
value: builtins.str = ...,
|
|
465
|
+
) -> None: ...
|
|
466
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
467
|
+
|
|
442
468
|
SESSION_FIELD_NUMBER: builtins.int
|
|
443
469
|
REQUEST_FIELD_NUMBER: builtins.int
|
|
444
470
|
CMD_FIELD_NUMBER: builtins.int
|
|
@@ -446,6 +472,7 @@ class Request(google.protobuf.message.Message):
|
|
|
446
472
|
SCOPE_FIELD_NUMBER: builtins.int
|
|
447
473
|
SOURCE_FIELD_NUMBER: builtins.int
|
|
448
474
|
CONTEXT_FIELD_NUMBER: builtins.int
|
|
475
|
+
ALL_ENABLED_FEATURE_FLAGS_FIELD_NUMBER: builtins.int
|
|
449
476
|
session: builtins.str
|
|
450
477
|
"""id of the long lived session, an opaque string set by initiator"""
|
|
451
478
|
request: builtins.str
|
|
@@ -460,6 +487,9 @@ class Request(google.protobuf.message.Message):
|
|
|
460
487
|
@property
|
|
461
488
|
def context(self) -> global___AssistantContext:
|
|
462
489
|
"""the context sent to the assistant"""
|
|
490
|
+
@property
|
|
491
|
+
def all_enabled_feature_flags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.int, builtins.str]:
|
|
492
|
+
"""map of enabled features flags with experiment id and feature name"""
|
|
463
493
|
def __init__(
|
|
464
494
|
self,
|
|
465
495
|
*,
|
|
@@ -470,9 +500,10 @@ class Request(google.protobuf.message.Message):
|
|
|
470
500
|
scope: builtins.str = ...,
|
|
471
501
|
source: global___AssistRequestSource.ValueType = ...,
|
|
472
502
|
context: global___AssistantContext | None = ...,
|
|
503
|
+
all_enabled_feature_flags: collections.abc.Mapping[builtins.int, builtins.str] | None = ...,
|
|
473
504
|
) -> None: ...
|
|
474
505
|
def HasField(self, field_name: typing_extensions.Literal["_context", b"_context", "context", b"context"]) -> builtins.bool: ...
|
|
475
|
-
def ClearField(self, field_name: typing_extensions.Literal["_context", b"_context", "access", b"access", "cmd", b"cmd", "context", b"context", "request", b"request", "scope", b"scope", "session", b"session", "source", b"source"]) -> None: ...
|
|
506
|
+
def ClearField(self, field_name: typing_extensions.Literal["_context", b"_context", "access", b"access", "all_enabled_feature_flags", b"all_enabled_feature_flags", "cmd", b"cmd", "context", b"context", "request", b"request", "scope", b"scope", "session", b"session", "source", b"source"]) -> None: ...
|
|
476
507
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_context", b"_context"]) -> typing_extensions.Literal["context"] | None: ...
|
|
477
508
|
|
|
478
509
|
global___Request = Request
|
|
@@ -699,3 +730,34 @@ class VisToSdkCodeResponse(google.protobuf.message.Message):
|
|
|
699
730
|
def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
|
|
700
731
|
|
|
701
732
|
global___VisToSdkCodeResponse = VisToSdkCodeResponse
|
|
733
|
+
|
|
734
|
+
class VoiceTranscriptionRequest(google.protobuf.message.Message):
|
|
735
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
736
|
+
|
|
737
|
+
AUDIO_DATA_FIELD_NUMBER: builtins.int
|
|
738
|
+
AUDIO_FORMAT_FIELD_NUMBER: builtins.int
|
|
739
|
+
audio_data: builtins.bytes
|
|
740
|
+
audio_format: builtins.str
|
|
741
|
+
def __init__(
|
|
742
|
+
self,
|
|
743
|
+
*,
|
|
744
|
+
audio_data: builtins.bytes = ...,
|
|
745
|
+
audio_format: builtins.str = ...,
|
|
746
|
+
) -> None: ...
|
|
747
|
+
def ClearField(self, field_name: typing_extensions.Literal["audio_data", b"audio_data", "audio_format", b"audio_format"]) -> None: ...
|
|
748
|
+
|
|
749
|
+
global___VoiceTranscriptionRequest = VoiceTranscriptionRequest
|
|
750
|
+
|
|
751
|
+
class VoiceTranscriptionResponse(google.protobuf.message.Message):
|
|
752
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
753
|
+
|
|
754
|
+
TEXT_FIELD_NUMBER: builtins.int
|
|
755
|
+
text: builtins.str
|
|
756
|
+
def __init__(
|
|
757
|
+
self,
|
|
758
|
+
*,
|
|
759
|
+
text: builtins.str = ...,
|
|
760
|
+
) -> None: ...
|
|
761
|
+
def ClearField(self, field_name: typing_extensions.Literal["text", b"text"]) -> None: ...
|
|
762
|
+
|
|
763
|
+
global___VoiceTranscriptionResponse = VoiceTranscriptionResponse
|
|
@@ -41,6 +41,11 @@ class AssistantStub(object):
|
|
|
41
41
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.Outcome.SerializeToString,
|
|
42
42
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
43
43
|
)
|
|
44
|
+
self.VoiceTranscription = channel.unary_stream(
|
|
45
|
+
'/luminary.proto.assistant.Assistant/VoiceTranscription',
|
|
46
|
+
request_serializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.SerializeToString,
|
|
47
|
+
response_deserializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.FromString,
|
|
48
|
+
)
|
|
44
49
|
self.SimulationToSdkCode = channel.unary_unary(
|
|
45
50
|
'/luminary.proto.assistant.Assistant/SimulationToSdkCode',
|
|
46
51
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
|
|
@@ -87,6 +92,12 @@ class AssistantServicer(object):
|
|
|
87
92
|
context.set_details('Method not implemented!')
|
|
88
93
|
raise NotImplementedError('Method not implemented!')
|
|
89
94
|
|
|
95
|
+
def VoiceTranscription(self, request, context):
|
|
96
|
+
"""Missing associated documentation comment in .proto file."""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details('Method not implemented!')
|
|
99
|
+
raise NotImplementedError('Method not implemented!')
|
|
100
|
+
|
|
90
101
|
def SimulationToSdkCode(self, request, context):
|
|
91
102
|
"""Converts a given SimulationParam proto into the equivalent SDK code.
|
|
92
103
|
"""
|
|
@@ -129,6 +140,11 @@ def add_AssistantServicer_to_server(servicer, server):
|
|
|
129
140
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.Outcome.FromString,
|
|
130
141
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
131
142
|
),
|
|
143
|
+
'VoiceTranscription': grpc.unary_stream_rpc_method_handler(
|
|
144
|
+
servicer.VoiceTranscription,
|
|
145
|
+
request_deserializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.FromString,
|
|
146
|
+
response_serializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.SerializeToString,
|
|
147
|
+
),
|
|
132
148
|
'SimulationToSdkCode': grpc.unary_unary_rpc_method_handler(
|
|
133
149
|
servicer.SimulationToSdkCode,
|
|
134
150
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
|
|
@@ -235,6 +251,23 @@ class Assistant(object):
|
|
|
235
251
|
options, channel_credentials,
|
|
236
252
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
237
253
|
|
|
254
|
+
@staticmethod
|
|
255
|
+
def VoiceTranscription(request,
|
|
256
|
+
target,
|
|
257
|
+
options=(),
|
|
258
|
+
channel_credentials=None,
|
|
259
|
+
call_credentials=None,
|
|
260
|
+
insecure=False,
|
|
261
|
+
compression=None,
|
|
262
|
+
wait_for_ready=None,
|
|
263
|
+
timeout=None,
|
|
264
|
+
metadata=None):
|
|
265
|
+
return grpc.experimental.unary_stream(request, target, '/luminary.proto.assistant.Assistant/VoiceTranscription',
|
|
266
|
+
proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.SerializeToString,
|
|
267
|
+
proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.FromString,
|
|
268
|
+
options, channel_credentials,
|
|
269
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
270
|
+
|
|
238
271
|
@staticmethod
|
|
239
272
|
def SimulationToSdkCode(request,
|
|
240
273
|
target,
|
|
@@ -32,6 +32,10 @@ class AssistantStub:
|
|
|
32
32
|
luminarycloud._proto.assistant.assistant_pb2.Outcome,
|
|
33
33
|
google.protobuf.empty_pb2.Empty,
|
|
34
34
|
]
|
|
35
|
+
VoiceTranscription: grpc.UnaryStreamMultiCallable[
|
|
36
|
+
luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionRequest,
|
|
37
|
+
luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionResponse,
|
|
38
|
+
]
|
|
35
39
|
SimulationToSdkCode: grpc.UnaryUnaryMultiCallable[
|
|
36
40
|
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|
|
37
41
|
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
|
|
@@ -77,6 +81,12 @@ class AssistantServicer(metaclass=abc.ABCMeta):
|
|
|
77
81
|
context: grpc.ServicerContext,
|
|
78
82
|
) -> google.protobuf.empty_pb2.Empty: ...
|
|
79
83
|
@abc.abstractmethod
|
|
84
|
+
def VoiceTranscription(
|
|
85
|
+
self,
|
|
86
|
+
request: luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionRequest,
|
|
87
|
+
context: grpc.ServicerContext,
|
|
88
|
+
) -> collections.abc.Iterator[luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionResponse]: ...
|
|
89
|
+
@abc.abstractmethod
|
|
80
90
|
def SimulationToSdkCode(
|
|
81
91
|
self,
|
|
82
92
|
request: luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|