tucana 0.0.70 → 0.0.71
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.
- checksums.yaml +4 -4
- data/lib/tucana/generated/shared/shared.flow_pb.rb +2 -1
- data/lib/tucana/generated/velorum/velorum.generate_pb.rb +23 -0
- data/lib/tucana/generated/velorum/velorum.generate_services_pb.rb +25 -0
- data/lib/tucana/generated/velorum/velorum.info_pb.rb +24 -0
- data/lib/tucana/generated/velorum/velorum.info_services_pb.rb +24 -0
- data/lib/tucana/version.rb +1 -1
- data/lib/tucana.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc948d3e17cf98b11897428b8d3a82d20dd2818174b2329a4fee6a693e063e39
|
|
4
|
+
data.tar.gz: 4284a7376e6d8b6abfc4a9846e28f803a7d565e9d374b38e2dd35b6ebe0cab50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd65b08d6818b57ae8e8ee2b9308dfe3c95f5fb1c88aa77e822f68a7602db50dc4694f38b081a0d2f80b9741f03dc1df3e536a5ab0e21b2a10f1d2d81edf2ea5
|
|
7
|
+
data.tar.gz: e0b11d7f39f36bc0f623f7cf2cbfea1f769eb37c33f61b4211435d7e34b487c1b173ea9d2ccc582b9c9e2c9880494cd6be39c3e56e267945ab942a549d5cdf61
|
|
@@ -8,7 +8,7 @@ require_relative '../shared/shared.struct_pb'
|
|
|
8
8
|
require_relative '../shared/shared.data_type_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\xba\x02\n\x0eValidationFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12-\n\ndata_types\x18\x04 \x03(\x0b\x32\x19.shared.ExecutionDataType\x12%\n\x08settings\x18\x05 \x03(\x0b\x32\x13.shared.FlowSetting\x12\x18\n\x10starting_node_id\x18\x06 \x01(\x03\x12,\n\x0enode_functions\x18\x07 \x03(\x0b\x32\x14.shared.NodeFunction\x12\x14\n\x0cproject_slug\x18\x08 \x01(\t\x12\x1b\n\x0e\x64isable_reason\x18\t \x01(\tH\x00\x88\x01\x01\x12\x11\n\tsignature\x18\n \x01(\tB\x11\n\x0f_disable_reason\"\xb5\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x05 \x01(\x03\x12\x18\n\x10starting_node_id\x18\x02 \x01(\x03\x12,\n\x0enode_functions\x18\x04 \x03(\x0b\x32\x14.shared.NodeFunction\x12\'\n\x0binput_value\x18\x03 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x0e\n\x0c_input_value\"
|
|
11
|
+
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\xba\x02\n\x0eValidationFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12-\n\ndata_types\x18\x04 \x03(\x0b\x32\x19.shared.ExecutionDataType\x12%\n\x08settings\x18\x05 \x03(\x0b\x32\x13.shared.FlowSetting\x12\x18\n\x10starting_node_id\x18\x06 \x01(\x03\x12,\n\x0enode_functions\x18\x07 \x03(\x0b\x32\x14.shared.NodeFunction\x12\x14\n\x0cproject_slug\x18\x08 \x01(\t\x12\x1b\n\x0e\x64isable_reason\x18\t \x01(\tH\x00\x88\x01\x01\x12\x11\n\tsignature\x18\n \x01(\tB\x11\n\x0f_disable_reason\"\xb5\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x05 \x01(\x03\x12\x18\n\x10starting_node_id\x18\x02 \x01(\x03\x12,\n\x0enode_functions\x18\x04 \x03(\x0b\x32\x14.shared.NodeFunction\x12\'\n\x0binput_value\x18\x03 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x0e\n\x0c_input_value\"\x9b\x01\n\x0eGenerationFlow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x18\n\x10starting_node_id\x18\x03 \x01(\t\x12,\n\x0enode_functions\x18\x04 \x03(\x0b\x32\x14.shared.NodeFunction\x12%\n\x08settings\x18\x05 \x03(\x0b\x32\x13.shared.FlowSetting\"\x8a\x01\n\x0b\x46lowSetting\x12\x18\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66low_setting_id\x18\x02 \x01(\t\x12\x1c\n\x05value\x18\x03 \x01(\x0b\x32\r.shared.Value\x12\x11\n\x04\x63\x61st\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_database_idB\x07\n\x05_cast\"\xe2\x01\n\x0cNodeFunction\x12\x18\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1b\n\x13runtime_function_id\x18\x02 \x01(\t\x12)\n\nparameters\x18\x03 \x03(\x0b\x32\x15.shared.NodeParameter\x12\x19\n\x0cnext_node_id\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1e\n\x11\x64\x65\x66inition_source\x18\x05 \x01(\tH\x02\x88\x01\x01\x42\x0e\n\x0c_database_idB\x0f\n\r_next_node_idB\x14\n\x12_definition_source\"\x94\x01\n\tNodeValue\x12&\n\rliteral_value\x18\x01 \x01(\x0b\x32\r.shared.ValueH\x00\x12\x31\n\x0freference_value\x18\x02 \x01(\x0b\x32\x16.shared.ReferenceValueH\x00\x12#\n\x08sub_flow\x18\x03 \x01(\x0b\x32\x0f.shared.SubFlowH\x00\x42\x07\n\x05value\"\x80\x01\n\rNodeParameter\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03\x12\x1c\n\x14runtime_parameter_id\x18\x02 \x01(\t\x12 \n\x05value\x18\x03 \x01(\x0b\x32\x11.shared.NodeValue\x12\x11\n\x04\x63\x61st\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_cast\"\xa5\x01\n\x0eReferenceValue\x12\'\n\nflow_input\x18\x01 \x01(\x0b\x32\x11.shared.FlowInputH\x00\x12\x11\n\x07node_id\x18\x02 \x01(\x03H\x00\x12\'\n\ninput_type\x18\x03 \x01(\x0b\x32\x11.shared.InputTypeH\x00\x12$\n\x05paths\x18\x04 \x03(\x0b\x32\x15.shared.ReferencePathB\x08\n\x06target\"\x98\x01\n\x07SubFlow\x12\x1a\n\x10starting_node_id\x18\x01 \x01(\x03H\x00\x12\x1d\n\x13\x66unction_identifier\x18\x02 \x01(\tH\x00\x12\x11\n\tsignature\x18\x03 \x01(\t\x12(\n\x08settings\x18\x04 \x03(\x0b\x32\x16.shared.SubFlowSettingB\x15\n\x13\x65xecution_reference\"\xa5\x01\n\x0eSubFlowSetting\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12)\n\rdefault_value\x18\x02 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x12\x15\n\x08optional\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x13\n\x06hidden\x18\x04 \x01(\x08H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB\x0b\n\t_optionalB\t\n\x07_hidden\"\x0b\n\tFlowInput\"J\n\tInputType\x12\x0f\n\x07node_id\x18\x01 \x01(\x03\x12\x17\n\x0fparameter_index\x18\x02 \x01(\x03\x12\x13\n\x0binput_index\x18\x03 \x01(\x03\"U\n\rReferencePath\x12\x11\n\x04path\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61rray_index\x18\x02 \x01(\x03H\x01\x88\x01\x01\x42\x07\n\x05_pathB\x0e\n\x0c_array_index\".\n\x05\x46lows\x12%\n\x05\x66lows\x18\x01 \x03(\x0b\x32\x16.shared.ValidationFlowB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -17,6 +17,7 @@ module Tucana
|
|
|
17
17
|
module Shared
|
|
18
18
|
ValidationFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ValidationFlow").msgclass
|
|
19
19
|
ExecutionFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionFlow").msgclass
|
|
20
|
+
GenerationFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.GenerationFlow").msgclass
|
|
20
21
|
FlowSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.FlowSetting").msgclass
|
|
21
22
|
NodeFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeFunction").msgclass
|
|
22
23
|
NodeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeValue").msgclass
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: velorum.generate.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.function_pb'
|
|
8
|
+
require_relative '../shared/shared.data_type_pb'
|
|
9
|
+
require_relative '../shared/shared.flow_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x16velorum.generate.proto\x12\x07velorum\x1a\x15shared.function.proto\x1a\x16shared.data_type.proto\x1a\x11shared.flow.proto\"\x92\x01\n\rPromptRequest\x12\x0e\n\x06prompt\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12-\n\tfunctions\x18\x03 \x03(\x0b\x32\x1a.shared.FunctionDefinition\x12.\n\ndata_types\x18\x04 \x03(\x0b\x32\x1a.shared.DefinitionDataType\"\xb6\x01\n\x0b\x46lowRequest\x12\x0e\n\x06prompt\x18\x01 \x01(\t\x12$\n\x04\x66low\x18\x02 \x01(\x0b\x32\x16.shared.GenerationFlow\x12\x12\n\nproject_id\x18\x03 \x01(\x03\x12-\n\tfunctions\x18\x04 \x03(\x0b\x32\x1a.shared.FunctionDefinition\x12.\n\ndata_types\x18\x05 \x03(\x0b\x32\x1a.shared.DefinitionDataType\"Y\n\x0c\x46lowResponse\x12$\n\x04\x66low\x18\x01 \x01(\x0b\x32\x16.shared.GenerationFlow\x12\x14\n\x0c\x63\x61\x63hed_until\x18\x02 \x01(\x03\x12\r\n\x05usage\x18\x03 \x01(\x03\x32\x83\x01\n\x0fGenerateService\x12\x39\n\x06Prompt\x12\x16.velorum.PromptRequest\x1a\x15.velorum.FlowResponse\"\x00\x12\x35\n\x04\x46low\x12\x14.velorum.FlowRequest\x1a\x15.velorum.FlowResponse\"\x00\x42\x12\xea\x02\x0fTucana::Velorumb\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Tucana
|
|
18
|
+
module Velorum
|
|
19
|
+
PromptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.PromptRequest").msgclass
|
|
20
|
+
FlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.FlowRequest").msgclass
|
|
21
|
+
FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.FlowResponse").msgclass
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: velorum.generate.proto for package 'Tucana.Velorum'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'velorum.generate_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Velorum
|
|
9
|
+
module GenerateService
|
|
10
|
+
class Service
|
|
11
|
+
|
|
12
|
+
include ::GRPC::GenericService
|
|
13
|
+
|
|
14
|
+
self.marshal_class_method = :encode
|
|
15
|
+
self.unmarshal_class_method = :decode
|
|
16
|
+
self.service_name = 'velorum.GenerateService'
|
|
17
|
+
|
|
18
|
+
rpc :Prompt, ::Tucana::Velorum::PromptRequest, ::Tucana::Velorum::FlowResponse
|
|
19
|
+
rpc :Flow, ::Tucana::Velorum::FlowRequest, ::Tucana::Velorum::FlowResponse
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Stub = Service.rpc_stub_class
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: velorum.info.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.function_pb'
|
|
8
|
+
require_relative '../shared/shared.data_type_pb'
|
|
9
|
+
require_relative '../shared/shared.flow_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x12velorum.info.proto\x12\x07velorum\x1a\x15shared.function.proto\x1a\x16shared.data_type.proto\x1a\x11shared.flow.proto\"\x0f\n\rModelsRequest\"\x86\x01\n\x05Model\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ntoken_cost\x18\x02 \x01(\x02\x12&\n\x04type\x18\x03 \x01(\x0e\x32\x18.velorum.Model.ModelType\"3\n\tModelType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x45XPLAIN\x10\x01\x12\x0c\n\x08GENERATE\x10\x02\"0\n\x0eModelsResponse\x12\x1e\n\x06models\x18\x01 \x03(\x0b\x32\x0e.velorum.Model2J\n\x0bInfoService\x12;\n\x06Models\x12\x16.velorum.ModelsRequest\x1a\x17.velorum.ModelsResponse\"\x00\x42\x12\xea\x02\x0fTucana::Velorumb\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Tucana
|
|
18
|
+
module Velorum
|
|
19
|
+
ModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.ModelsRequest").msgclass
|
|
20
|
+
Model = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.Model").msgclass
|
|
21
|
+
Model::ModelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.Model.ModelType").enummodule
|
|
22
|
+
ModelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("velorum.ModelsResponse").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: velorum.info.proto for package 'Tucana.Velorum'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'velorum.info_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Velorum
|
|
9
|
+
module InfoService
|
|
10
|
+
class Service
|
|
11
|
+
|
|
12
|
+
include ::GRPC::GenericService
|
|
13
|
+
|
|
14
|
+
self.marshal_class_method = :encode
|
|
15
|
+
self.unmarshal_class_method = :decode
|
|
16
|
+
self.service_name = 'velorum.InfoService'
|
|
17
|
+
|
|
18
|
+
rpc :Models, ::Tucana::Velorum::ModelsRequest, ::Tucana::Velorum::ModelsResponse
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Stub = Service.rpc_stub_class
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
data/lib/tucana/version.rb
CHANGED
data/lib/tucana.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tucana
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.71
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Niklas van Schrick
|
|
@@ -105,12 +105,16 @@ files:
|
|
|
105
105
|
- lib/tucana/generated/shared/shared.runtime_usage_pb.rb
|
|
106
106
|
- lib/tucana/generated/shared/shared.struct_pb.rb
|
|
107
107
|
- lib/tucana/generated/shared/shared.translation_pb.rb
|
|
108
|
+
- lib/tucana/generated/velorum/velorum.generate_pb.rb
|
|
109
|
+
- lib/tucana/generated/velorum/velorum.generate_services_pb.rb
|
|
110
|
+
- lib/tucana/generated/velorum/velorum.info_pb.rb
|
|
111
|
+
- lib/tucana/generated/velorum/velorum.info_services_pb.rb
|
|
108
112
|
- lib/tucana/shared/shared.data_type.rb
|
|
109
113
|
- lib/tucana/shared/shared.struct.rb
|
|
110
114
|
- lib/tucana/version.rb
|
|
111
115
|
homepage: https://github.com/code0-tech/tucana
|
|
112
116
|
licenses:
|
|
113
|
-
-
|
|
117
|
+
- MIT
|
|
114
118
|
metadata:
|
|
115
119
|
homepage_uri: https://github.com/code0-tech/tucana
|
|
116
120
|
source_code_uri: https://github.com/code0-tech/tucana
|