diff --git a/gen/csharp/Asgt/Jester/V1/Jester.cs b/gen/csharp/Asgt/Jester/V1/Jester.cs
index df27c8a2..1163a45e 100644
--- a/gen/csharp/Asgt/Jester/V1/Jester.cs
+++ b/gen/csharp/Asgt/Jester/V1/Jester.cs
@@ -33,26 +33,27 @@ static JesterReflection() {
"dGlvbnMSJgoFbW9kZWwYAiABKAsyEC5hc2d0LnR5cGUuTW9kZWxSBW1vZGVs",
"IoIBChFTdWdnZXN0aW9uT3B0aW9ucxIpChBzdWdnZXN0aW9uX2xpbWl0GAEg",
"ASgFUg9zdWdnZXN0aW9uTGltaXQSQgoObWluX2NvbmZpZGVuY2UYAiABKA4y",
- "Gy5hc2d0LnR5cGUuQ29uZmlkZW5jZS5MZXZlbFINbWluQ29uZmlkZW5jZSK1",
+ "Gy5hc2d0LnR5cGUuQ29uZmlkZW5jZS5MZXZlbFINbWluQ29uZmlkZW5jZSLd",
"AQoRU3VnZ2VzdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRISCgR0",
"eXBlGAIgASgJUgR0eXBlEicKBmlucHV0cxgDIAMoCzIPLmFzZ3QudHlwZS5E",
"YXRhUgZpbnB1dHMSOwoHb3B0aW9ucxgEIAEoCzIhLmFzZ3QuamVzdGVyLnYx",
"LlN1Z2dlc3Rpb25PcHRpb25zUgdvcHRpb25zEhIKBHRhZ3MYBSADKAlSBHRh",
- "Z3MygAEKBkplc3RlchJ2CgdTdWdnZXN0EiEuYXNndC5qZXN0ZXIudjEuU3Vn",
- "Z2VzdGlvblJlcXVlc3QaIi5hc2d0Lmplc3Rlci52MS5TdWdnZXN0aW9uUmVz",
- "cG9uc2UiJILT5JMCHjoBKiIZL3YxL3t0eXBlfS97bmFtZX06c3VnZ2VzdEL4",
- "AQoXYWkudmlzbWEuYXNndC5qZXN0ZXIudjFCC0plc3RlclByb3RvUAFaOWdp",
- "dGh1Yi5jb20vZS1jb25vbWljL3ZtbGFwaXMvZ2VuL2dvL2FzZ3QvamVzdGVy",
- "L3YxO2plc3RlcqICA0FKWKoCDkFzZ3QuSmVzdGVyLlYxygIOQXNndFxKZXN0",
- "ZXJcVjHiAhpBc2d0XEplc3RlclxWMVxHUEJNZXRhZGF0YeoCEEFzZ3Q6Okpl",
- "c3Rlcjo6VjGSQToSEQoLQXV0b1N1Z2dlc3QyAnYxKgECMhBhcHBsaWNhdGlv",
- "bi9qc29uOhBhcHBsaWNhdGlvbi9qc29uYgZwcm90bzM="));
+ "Z3MSJgoFbW9kZWwYBiABKAsyEC5hc2d0LnR5cGUuTW9kZWxSBW1vZGVsMoAB",
+ "CgZKZXN0ZXISdgoHU3VnZ2VzdBIhLmFzZ3QuamVzdGVyLnYxLlN1Z2dlc3Rp",
+ "b25SZXF1ZXN0GiIuYXNndC5qZXN0ZXIudjEuU3VnZ2VzdGlvblJlc3BvbnNl",
+ "IiSC0+STAh46ASoiGS92MS97dHlwZX0ve25hbWV9OnN1Z2dlc3RC+AEKF2Fp",
+ "LnZpc21hLmFzZ3QuamVzdGVyLnYxQgtKZXN0ZXJQcm90b1ABWjlnaXRodWIu",
+ "Y29tL2UtY29ub21pYy92bWxhcGlzL2dlbi9nby9hc2d0L2plc3Rlci92MTtq",
+ "ZXN0ZXKiAgNBSliqAg5Bc2d0Lkplc3Rlci5WMcoCDkFzZ3RcSmVzdGVyXFYx",
+ "4gIaQXNndFxKZXN0ZXJcVjFcR1BCTWV0YWRhdGHqAhBBc2d0OjpKZXN0ZXI6",
+ "OlYxkkE6EhEKC0F1dG9TdWdnZXN0MgJ2MSoBAjIQYXBwbGljYXRpb24vanNv",
+ "bjoQYXBwbGljYXRpb24vanNvbmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Asgt.Type.DataReflection.Descriptor, global::Asgt.Type.ModelReflection.Descriptor, global::Asgt.Type.PredictionReflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, global::Grpc.Gateway.ProtocGenOpenapiv2.Options.AnnotationsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Jester.V1.SuggestionResponse), global::Asgt.Jester.V1.SuggestionResponse.Parser, new[]{ "Predictions", "Model" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Jester.V1.SuggestionOptions), global::Asgt.Jester.V1.SuggestionOptions.Parser, new[]{ "SuggestionLimit", "MinConfidence" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Jester.V1.SuggestionRequest), global::Asgt.Jester.V1.SuggestionRequest.Parser, new[]{ "Name", "Type", "Inputs", "Options", "Tags" }, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Asgt.Jester.V1.SuggestionRequest), global::Asgt.Jester.V1.SuggestionRequest.Parser, new[]{ "Name", "Type", "Inputs", "Options", "Tags", "Model" }, null, null, null, null)
}));
}
#endregion
@@ -551,6 +552,7 @@ public SuggestionRequest(SuggestionRequest other) : this() {
inputs_ = other.inputs_.Clone();
options_ = other.options_ != null ? other.options_.Clone() : null;
tags_ = other.tags_.Clone();
+ model_ = other.model_ != null ? other.model_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -618,6 +620,18 @@ public string Type {
get { return tags_; }
}
+ /// Field number for the "model" field.
+ public const int ModelFieldNumber = 6;
+ private global::Asgt.Type.Model model_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Asgt.Type.Model Model {
+ get { return model_; }
+ set {
+ model_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@@ -638,6 +652,7 @@ public bool Equals(SuggestionRequest other) {
if(!inputs_.Equals(other.inputs_)) return false;
if (!object.Equals(Options, other.Options)) return false;
if(!tags_.Equals(other.tags_)) return false;
+ if (!object.Equals(Model, other.Model)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -650,6 +665,7 @@ public override int GetHashCode() {
hash ^= inputs_.GetHashCode();
if (options_ != null) hash ^= Options.GetHashCode();
hash ^= tags_.GetHashCode();
+ if (model_ != null) hash ^= Model.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -682,6 +698,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteMessage(Options);
}
tags_.WriteTo(output, _repeated_tags_codec);
+ if (model_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(Model);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -706,6 +726,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteMessage(Options);
}
tags_.WriteTo(ref output, _repeated_tags_codec);
+ if (model_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(Model);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -727,6 +751,9 @@ public int CalculateSize() {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
size += tags_.CalculateSize(_repeated_tags_codec);
+ if (model_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Model);
+ }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -753,6 +780,12 @@ public void MergeFrom(SuggestionRequest other) {
Options.MergeFrom(other.Options);
}
tags_.Add(other.tags_);
+ if (other.model_ != null) {
+ if (model_ == null) {
+ Model = new global::Asgt.Type.Model();
+ }
+ Model.MergeFrom(other.Model);
+ }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -791,6 +824,13 @@ public void MergeFrom(pb::CodedInputStream input) {
tags_.AddEntriesFrom(input, _repeated_tags_codec);
break;
}
+ case 50: {
+ if (model_ == null) {
+ Model = new global::Asgt.Type.Model();
+ }
+ input.ReadMessage(Model);
+ break;
+ }
}
}
#endif
@@ -829,6 +869,13 @@ public void MergeFrom(pb::CodedInputStream input) {
tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
break;
}
+ case 50: {
+ if (model_ == null) {
+ Model = new global::Asgt.Type.Model();
+ }
+ input.ReadMessage(Model);
+ break;
+ }
}
}
}
diff --git a/gen/descriptor.bin b/gen/descriptor.bin
index dbc97776..77075ef9 100644
Binary files a/gen/descriptor.bin and b/gen/descriptor.bin differ
diff --git a/gen/go/asgt/jester/v1/jester.pb.go b/gen/go/asgt/jester/v1/jester.pb.go
index 587ceb03..14864cb3 100644
--- a/gen/go/asgt/jester/v1/jester.pb.go
+++ b/gen/go/asgt/jester/v1/jester.pb.go
@@ -144,6 +144,7 @@ type SuggestionRequest struct {
Inputs []*_type.Data `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
Options *SuggestionOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
+ Model *_type.Model `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
}
func (x *SuggestionRequest) Reset() {
@@ -213,6 +214,13 @@ func (x *SuggestionRequest) GetTags() []string {
return nil
}
+func (x *SuggestionRequest) GetModel() *_type.Model {
+ if x != nil {
+ return x.Model
+ }
+ return nil
+}
+
var File_asgt_jester_v1_jester_proto protoreflect.FileDescriptor
var file_asgt_jester_v1_jester_proto_rawDesc = []byte{
@@ -244,7 +252,7 @@ var file_asgt_jester_v1_jester_proto_rawDesc = []byte{
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65,
0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65,
0x6c, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65,
- 0x22, 0xb5, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x22, 0xdd, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27,
@@ -255,31 +263,34 @@ var file_asgt_jester_v1_jester_proto_rawDesc = []byte{
0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73,
0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x32, 0x80, 0x01, 0x0a, 0x06, 0x4a, 0x65, 0x73,
- 0x74, 0x65, 0x72, 0x12, 0x76, 0x0a, 0x07, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x12, 0x21,
- 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
- 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a,
- 0x22, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x6e, 0x61,
- 0x6d, 0x65, 0x7d, 0x3a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x42, 0xf8, 0x01, 0x92, 0x41,
- 0x3a, 0x12, 0x11, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x6f, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74,
- 0x32, 0x02, 0x76, 0x31, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x0a, 0x17, 0x61, 0x69, 0x2e,
- 0x76, 0x69, 0x73, 0x6d, 0x61, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6a, 0x65, 0x73, 0x74, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74,
- 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
- 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x2f, 0x76, 0x6d, 0x6c, 0x61, 0x70, 0x69,
- 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x73, 0x67, 0x74, 0x2f, 0x6a, 0x65,
- 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0xa2, 0x02,
- 0x03, 0x41, 0x4a, 0x58, 0xaa, 0x02, 0x0e, 0x41, 0x73, 0x67, 0x74, 0x2e, 0x4a, 0x65, 0x73, 0x74,
- 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4a, 0x65, 0x73,
- 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4a, 0x65,
- 0x73, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x41, 0x73, 0x67, 0x74, 0x3a, 0x3a, 0x4a, 0x65, 0x73, 0x74,
- 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65,
+ 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x74,
+ 0x79, 0x70, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
+ 0x32, 0x80, 0x01, 0x0a, 0x06, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x76, 0x0a, 0x07, 0x53,
+ 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x61, 0x73, 0x67, 0x74, 0x2e, 0x6a, 0x65,
+ 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x73, 0x67, 0x74,
+ 0x2e, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65,
+ 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x74,
+ 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x73, 0x75, 0x67, 0x67,
+ 0x65, 0x73, 0x74, 0x42, 0xf8, 0x01, 0x92, 0x41, 0x3a, 0x12, 0x11, 0x0a, 0x0b, 0x41, 0x75, 0x74,
+ 0x6f, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x32, 0x02, 0x76, 0x31, 0x2a, 0x01, 0x02, 0x32,
+ 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f,
+ 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a,
+ 0x73, 0x6f, 0x6e, 0x0a, 0x17, 0x61, 0x69, 0x2e, 0x76, 0x69, 0x73, 0x6d, 0x61, 0x2e, 0x61, 0x73,
+ 0x67, 0x74, 0x2e, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4a, 0x65,
+ 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74,
+ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x6f, 0x6d, 0x69,
+ 0x63, 0x2f, 0x76, 0x6d, 0x6c, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f,
+ 0x2f, 0x61, 0x73, 0x67, 0x74, 0x2f, 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b,
+ 0x6a, 0x65, 0x73, 0x74, 0x65, 0x72, 0xa2, 0x02, 0x03, 0x41, 0x4a, 0x58, 0xaa, 0x02, 0x0e, 0x41,
+ 0x73, 0x67, 0x74, 0x2e, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e,
+ 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02,
+ 0x1a, 0x41, 0x73, 0x67, 0x74, 0x5c, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c,
+ 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x41, 0x73,
+ 0x67, 0x74, 0x3a, 0x3a, 0x4a, 0x65, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -310,13 +321,14 @@ var file_asgt_jester_v1_jester_proto_depIdxs = []int32{
5, // 2: asgt.jester.v1.SuggestionOptions.min_confidence:type_name -> asgt.type.Confidence.Level
6, // 3: asgt.jester.v1.SuggestionRequest.inputs:type_name -> asgt.type.Data
1, // 4: asgt.jester.v1.SuggestionRequest.options:type_name -> asgt.jester.v1.SuggestionOptions
- 2, // 5: asgt.jester.v1.Jester.Suggest:input_type -> asgt.jester.v1.SuggestionRequest
- 0, // 6: asgt.jester.v1.Jester.Suggest:output_type -> asgt.jester.v1.SuggestionResponse
- 6, // [6:7] is the sub-list for method output_type
- 5, // [5:6] is the sub-list for method input_type
- 5, // [5:5] is the sub-list for extension type_name
- 5, // [5:5] is the sub-list for extension extendee
- 0, // [0:5] is the sub-list for field type_name
+ 4, // 5: asgt.jester.v1.SuggestionRequest.model:type_name -> asgt.type.Model
+ 2, // 6: asgt.jester.v1.Jester.Suggest:input_type -> asgt.jester.v1.SuggestionRequest
+ 0, // 7: asgt.jester.v1.Jester.Suggest:output_type -> asgt.jester.v1.SuggestionResponse
+ 7, // [7:8] is the sub-list for method output_type
+ 6, // [6:7] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
}
func init() { file_asgt_jester_v1_jester_proto_init() }
diff --git a/gen/java/ai/visma/asgt/jester/v1/JesterProto.java b/gen/java/ai/visma/asgt/jester/v1/JesterProto.java
index 5a2f62f8..b7a72ddc 100644
--- a/gen/java/ai/visma/asgt/jester/v1/JesterProto.java
+++ b/gen/java/ai/visma/asgt/jester/v1/JesterProto.java
@@ -49,11 +49,12 @@ public static void registerAllExtensions(
"SuggestionOptions\022)\n\020suggestion_limit\030\001 " +
"\001(\005R\017suggestionLimit\022B\n\016min_confidence\030\002" +
" \001(\0162\033.asgt.type.Confidence.LevelR\rminCo" +
- "nfidence\"\265\001\n\021SuggestionRequest\022\022\n\004name\030\001" +
+ "nfidence\"\335\001\n\021SuggestionRequest\022\022\n\004name\030\001" +
" \001(\tR\004name\022\022\n\004type\030\002 \001(\tR\004type\022\'\n\006inputs" +
"\030\003 \003(\0132\017.asgt.type.DataR\006inputs\022;\n\007optio" +
"ns\030\004 \001(\0132!.asgt.jester.v1.SuggestionOpti" +
- "onsR\007options\022\022\n\004tags\030\005 \003(\tR\004tags2\200\001\n\006Jes" +
+ "onsR\007options\022\022\n\004tags\030\005 \003(\tR\004tags\022&\n\005mode" +
+ "l\030\006 \001(\0132\020.asgt.type.ModelR\005model2\200\001\n\006Jes" +
"ter\022v\n\007Suggest\022!.asgt.jester.v1.Suggesti" +
"onRequest\032\".asgt.jester.v1.SuggestionRes" +
"ponse\"$\202\323\344\223\002\036\"\031/v1/{type}/{name}:suggest" +
@@ -91,7 +92,7 @@ public static void registerAllExtensions(
internal_static_asgt_jester_v1_SuggestionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_asgt_jester_v1_SuggestionRequest_descriptor,
- new java.lang.String[] { "Name", "Type", "Inputs", "Options", "Tags", });
+ new java.lang.String[] { "Name", "Type", "Inputs", "Options", "Tags", "Model", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
diff --git a/gen/java/ai/visma/asgt/jester/v1/SuggestionRequest.java b/gen/java/ai/visma/asgt/jester/v1/SuggestionRequest.java
index c2cb4afd..f1350348 100644
--- a/gen/java/ai/visma/asgt/jester/v1/SuggestionRequest.java
+++ b/gen/java/ai/visma/asgt/jester/v1/SuggestionRequest.java
@@ -225,6 +225,32 @@ public java.lang.String getTags(int index) {
return tags_.getByteString(index);
}
+ public static final int MODEL_FIELD_NUMBER = 6;
+ private ai.visma.asgt.type.Model model_;
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return model_ != null;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return The model.
+ */
+ @java.lang.Override
+ public ai.visma.asgt.type.Model getModel() {
+ return model_ == null ? ai.visma.asgt.type.Model.getDefaultInstance() : model_;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ @java.lang.Override
+ public ai.visma.asgt.type.ModelOrBuilder getModelOrBuilder() {
+ return model_ == null ? ai.visma.asgt.type.Model.getDefaultInstance() : model_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -254,6 +280,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tags_.getRaw(i));
}
+ if (model_ != null) {
+ output.writeMessage(6, getModel());
+ }
getUnknownFields().writeTo(output);
}
@@ -285,6 +314,10 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getTagsList().size();
}
+ if (model_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, getModel());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -313,6 +346,11 @@ public boolean equals(final java.lang.Object obj) {
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
+ if (hasModel() != other.hasModel()) return false;
+ if (hasModel()) {
+ if (!getModel()
+ .equals(other.getModel())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -340,6 +378,10 @@ public int hashCode() {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
+ if (hasModel()) {
+ hash = (37 * hash) + MODEL_FIELD_NUMBER;
+ hash = (53 * hash) + getModel().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -487,6 +529,11 @@ public Builder clear() {
}
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
+ model_ = null;
+ if (modelBuilder_ != null) {
+ modelBuilder_.dispose();
+ modelBuilder_ = null;
+ }
return this;
}
@@ -548,6 +595,11 @@ private void buildPartial0(ai.visma.asgt.jester.v1.SuggestionRequest result) {
tags_.makeImmutable();
result.tags_ = tags_;
}
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.model_ = modelBuilder_ == null
+ ? model_
+ : modelBuilder_.build();
+ }
}
@java.lang.Override
@@ -643,6 +695,9 @@ public Builder mergeFrom(ai.visma.asgt.jester.v1.SuggestionRequest other) {
}
onChanged();
}
+ if (other.hasModel()) {
+ mergeModel(other.getModel());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -705,6 +760,13 @@ public Builder mergeFrom(
tags_.add(s);
break;
} // case 42
+ case 50: {
+ input.readMessage(
+ getModelFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -1335,6 +1397,125 @@ public Builder addTagsBytes(
onChanged();
return this;
}
+
+ private ai.visma.asgt.type.Model model_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ ai.visma.asgt.type.Model, ai.visma.asgt.type.Model.Builder, ai.visma.asgt.type.ModelOrBuilder> modelBuilder_;
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return Whether the model field is set.
+ */
+ public boolean hasModel() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return The model.
+ */
+ public ai.visma.asgt.type.Model getModel() {
+ if (modelBuilder_ == null) {
+ return model_ == null ? ai.visma.asgt.type.Model.getDefaultInstance() : model_;
+ } else {
+ return modelBuilder_.getMessage();
+ }
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public Builder setModel(ai.visma.asgt.type.Model value) {
+ if (modelBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ model_ = value;
+ } else {
+ modelBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public Builder setModel(
+ ai.visma.asgt.type.Model.Builder builderForValue) {
+ if (modelBuilder_ == null) {
+ model_ = builderForValue.build();
+ } else {
+ modelBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public Builder mergeModel(ai.visma.asgt.type.Model value) {
+ if (modelBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0) &&
+ model_ != null &&
+ model_ != ai.visma.asgt.type.Model.getDefaultInstance()) {
+ getModelBuilder().mergeFrom(value);
+ } else {
+ model_ = value;
+ }
+ } else {
+ modelBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public Builder clearModel() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ model_ = null;
+ if (modelBuilder_ != null) {
+ modelBuilder_.dispose();
+ modelBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public ai.visma.asgt.type.Model.Builder getModelBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return getModelFieldBuilder().getBuilder();
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ public ai.visma.asgt.type.ModelOrBuilder getModelOrBuilder() {
+ if (modelBuilder_ != null) {
+ return modelBuilder_.getMessageOrBuilder();
+ } else {
+ return model_ == null ?
+ ai.visma.asgt.type.Model.getDefaultInstance() : model_;
+ }
+ }
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ ai.visma.asgt.type.Model, ai.visma.asgt.type.Model.Builder, ai.visma.asgt.type.ModelOrBuilder>
+ getModelFieldBuilder() {
+ if (modelBuilder_ == null) {
+ modelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ ai.visma.asgt.type.Model, ai.visma.asgt.type.Model.Builder, ai.visma.asgt.type.ModelOrBuilder>(
+ getModel(),
+ getParentForChildren(),
+ isClean());
+ model_ = null;
+ }
+ return modelBuilder_;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/gen/java/ai/visma/asgt/jester/v1/SuggestionRequestOrBuilder.java b/gen/java/ai/visma/asgt/jester/v1/SuggestionRequestOrBuilder.java
index 626f05c8..8ba63b6b 100644
--- a/gen/java/ai/visma/asgt/jester/v1/SuggestionRequestOrBuilder.java
+++ b/gen/java/ai/visma/asgt/jester/v1/SuggestionRequestOrBuilder.java
@@ -94,4 +94,19 @@ ai.visma.asgt.type.DataOrBuilder getInputsOrBuilder(
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
+
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ * @return The model.
+ */
+ ai.visma.asgt.type.Model getModel();
+ /**
+ * .asgt.type.Model model = 6 [json_name = "model"];
+ */
+ ai.visma.asgt.type.ModelOrBuilder getModelOrBuilder();
}
diff --git a/gen/js/asgt/jester/v1/jester_pb.d.ts b/gen/js/asgt/jester/v1/jester_pb.d.ts
index fe0da360..66b647ef 100644
--- a/gen/js/asgt/jester/v1/jester_pb.d.ts
+++ b/gen/js/asgt/jester/v1/jester_pb.d.ts
@@ -77,6 +77,11 @@ export class SuggestionRequest extends jspb.Message {
clearTagsList(): SuggestionRequest;
addTags(value: string, index?: number): SuggestionRequest;
+ getModel(): asgt_type_model_pb.Model | undefined;
+ setModel(value?: asgt_type_model_pb.Model): SuggestionRequest;
+ hasModel(): boolean;
+ clearModel(): SuggestionRequest;
+
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SuggestionRequest.AsObject;
static toObject(includeInstance: boolean, msg: SuggestionRequest): SuggestionRequest.AsObject;
@@ -92,6 +97,7 @@ export namespace SuggestionRequest {
inputsList: Array,
options?: SuggestionOptions.AsObject,
tagsList: Array,
+ model?: asgt_type_model_pb.Model.AsObject,
}
}
diff --git a/gen/js/asgt/jester/v1/jester_pb.js b/gen/js/asgt/jester/v1/jester_pb.js
index ee159166..de858cfa 100644
--- a/gen/js/asgt/jester/v1/jester_pb.js
+++ b/gen/js/asgt/jester/v1/jester_pb.js
@@ -512,7 +512,8 @@ proto.asgt.jester.v1.SuggestionRequest.toObject = function(includeInstance, msg)
inputsList: jspb.Message.toObjectList(msg.getInputsList(),
asgt_type_data_pb.Data.toObject, includeInstance),
options: (f = msg.getOptions()) && proto.asgt.jester.v1.SuggestionOptions.toObject(includeInstance, f),
- tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
+ model: (f = msg.getModel()) && asgt_type_model_pb.Model.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -571,6 +572,11 @@ proto.asgt.jester.v1.SuggestionRequest.deserializeBinaryFromReader = function(ms
var value = /** @type {string} */ (reader.readString());
msg.addTags(value);
break;
+ case 6:
+ var value = new asgt_type_model_pb.Model;
+ reader.readMessage(value,asgt_type_model_pb.Model.deserializeBinaryFromReader);
+ msg.setModel(value);
+ break;
default:
reader.skipField();
break;
@@ -637,6 +643,14 @@ proto.asgt.jester.v1.SuggestionRequest.serializeBinaryToWriter = function(messag
f
);
}
+ f = message.getModel();
+ if (f != null) {
+ writer.writeMessage(
+ 6,
+ f,
+ asgt_type_model_pb.Model.serializeBinaryToWriter
+ );
+ }
};
@@ -788,4 +802,41 @@ proto.asgt.jester.v1.SuggestionRequest.prototype.clearTagsList = function() {
};
+/**
+ * optional asgt.type.Model model = 6;
+ * @return {?proto.asgt.type.Model}
+ */
+proto.asgt.jester.v1.SuggestionRequest.prototype.getModel = function() {
+ return /** @type{?proto.asgt.type.Model} */ (
+ jspb.Message.getWrapperField(this, asgt_type_model_pb.Model, 6));
+};
+
+
+/**
+ * @param {?proto.asgt.type.Model|undefined} value
+ * @return {!proto.asgt.jester.v1.SuggestionRequest} returns this
+*/
+proto.asgt.jester.v1.SuggestionRequest.prototype.setModel = function(value) {
+ return jspb.Message.setWrapperField(this, 6, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.asgt.jester.v1.SuggestionRequest} returns this
+ */
+proto.asgt.jester.v1.SuggestionRequest.prototype.clearModel = function() {
+ return this.setModel(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.asgt.jester.v1.SuggestionRequest.prototype.hasModel = function() {
+ return jspb.Message.getField(this, 6) != null;
+};
+
+
goog.object.extend(exports, proto.asgt.jester.v1);
diff --git a/gen/openapiv2/asgt/v1.swagger.json b/gen/openapiv2/asgt/v1.swagger.json
index 7b3f621e..dc1a6aa4 100644
--- a/gen/openapiv2/asgt/v1.swagger.json
+++ b/gen/openapiv2/asgt/v1.swagger.json
@@ -164,6 +164,9 @@
"items": {
"type": "string"
}
+ },
+ "model": {
+ "$ref": "#/definitions/typeModel"
}
}
}
diff --git a/gen/python/asgt/jester/v1/jester_pb2.py b/gen/python/asgt/jester/v1/jester_pb2.py
index b6fbf6b1..f08449b7 100644
--- a/gen/python/asgt/jester/v1/jester_pb2.py
+++ b/gen/python/asgt/jester/v1/jester_pb2.py
@@ -18,7 +18,7 @@
from vml_proto.protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x61sgt/jester/v1/jester.proto\x12\x0e\x61sgt.jester.v1\x1a\x14\x61sgt/type/data.proto\x1a\x15\x61sgt/type/model.proto\x1a\x1a\x61sgt/type/prediction.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"u\n\x12SuggestionResponse\x12\x37\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x15.asgt.type.PredictionR\x0bpredictions\x12&\n\x05model\x18\x02 \x01(\x0b\x32\x10.asgt.type.ModelR\x05model\"\x82\x01\n\x11SuggestionOptions\x12)\n\x10suggestion_limit\x18\x01 \x01(\x05R\x0fsuggestionLimit\x12\x42\n\x0emin_confidence\x18\x02 \x01(\x0e\x32\x1b.asgt.type.Confidence.LevelR\rminConfidence\"\xb5\x01\n\x11SuggestionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\'\n\x06inputs\x18\x03 \x03(\x0b\x32\x0f.asgt.type.DataR\x06inputs\x12;\n\x07options\x18\x04 \x01(\x0b\x32!.asgt.jester.v1.SuggestionOptionsR\x07options\x12\x12\n\x04tags\x18\x05 \x03(\tR\x04tags2\x80\x01\n\x06Jester\x12v\n\x07Suggest\x12!.asgt.jester.v1.SuggestionRequest\x1a\".asgt.jester.v1.SuggestionResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v1/{type}/{name}:suggest:\x01*BxZ9github.com/e-conomic/vmlapis/gen/go/asgt/jester/v1;jester\x92\x41:\x12\x11\n\x0b\x41utoSuggest2\x02v1*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonb\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x61sgt/jester/v1/jester.proto\x12\x0e\x61sgt.jester.v1\x1a\x14\x61sgt/type/data.proto\x1a\x15\x61sgt/type/model.proto\x1a\x1a\x61sgt/type/prediction.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"u\n\x12SuggestionResponse\x12\x37\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x15.asgt.type.PredictionR\x0bpredictions\x12&\n\x05model\x18\x02 \x01(\x0b\x32\x10.asgt.type.ModelR\x05model\"\x82\x01\n\x11SuggestionOptions\x12)\n\x10suggestion_limit\x18\x01 \x01(\x05R\x0fsuggestionLimit\x12\x42\n\x0emin_confidence\x18\x02 \x01(\x0e\x32\x1b.asgt.type.Confidence.LevelR\rminConfidence\"\xdd\x01\n\x11SuggestionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\'\n\x06inputs\x18\x03 \x03(\x0b\x32\x0f.asgt.type.DataR\x06inputs\x12;\n\x07options\x18\x04 \x01(\x0b\x32!.asgt.jester.v1.SuggestionOptionsR\x07options\x12\x12\n\x04tags\x18\x05 \x03(\tR\x04tags\x12&\n\x05model\x18\x06 \x01(\x0b\x32\x10.asgt.type.ModelR\x05model2\x80\x01\n\x06Jester\x12v\n\x07Suggest\x12!.asgt.jester.v1.SuggestionRequest\x1a\".asgt.jester.v1.SuggestionResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v1/{type}/{name}:suggest:\x01*BxZ9github.com/e-conomic/vmlapis/gen/go/asgt/jester/v1;jester\x92\x41:\x12\x11\n\x0b\x41utoSuggest2\x02v1*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -34,7 +34,7 @@
_globals['_SUGGESTIONOPTIONS']._serialized_start=318
_globals['_SUGGESTIONOPTIONS']._serialized_end=448
_globals['_SUGGESTIONREQUEST']._serialized_start=451
- _globals['_SUGGESTIONREQUEST']._serialized_end=632
- _globals['_JESTER']._serialized_start=635
- _globals['_JESTER']._serialized_end=763
+ _globals['_SUGGESTIONREQUEST']._serialized_end=672
+ _globals['_JESTER']._serialized_start=675
+ _globals['_JESTER']._serialized_end=803
# @@protoc_insertion_point(module_scope)
diff --git a/gen/python/asgt/jester/v1/jester_pb2.pyi b/gen/python/asgt/jester/v1/jester_pb2.pyi
index 7c156caa..033c67ec 100644
--- a/gen/python/asgt/jester/v1/jester_pb2.pyi
+++ b/gen/python/asgt/jester/v1/jester_pb2.pyi
@@ -27,15 +27,17 @@ class SuggestionOptions(_message.Message):
def __init__(self, suggestion_limit: _Optional[int] = ..., min_confidence: _Optional[_Union[_prediction_pb2.Confidence.Level, str]] = ...) -> None: ...
class SuggestionRequest(_message.Message):
- __slots__ = ["name", "type", "inputs", "options", "tags"]
+ __slots__ = ["name", "type", "inputs", "options", "tags", "model"]
NAME_FIELD_NUMBER: _ClassVar[int]
TYPE_FIELD_NUMBER: _ClassVar[int]
INPUTS_FIELD_NUMBER: _ClassVar[int]
OPTIONS_FIELD_NUMBER: _ClassVar[int]
TAGS_FIELD_NUMBER: _ClassVar[int]
+ MODEL_FIELD_NUMBER: _ClassVar[int]
name: str
type: str
inputs: _containers.RepeatedCompositeFieldContainer[_data_pb2.Data]
options: SuggestionOptions
tags: _containers.RepeatedScalarFieldContainer[str]
- def __init__(self, name: _Optional[str] = ..., type: _Optional[str] = ..., inputs: _Optional[_Iterable[_Union[_data_pb2.Data, _Mapping]]] = ..., options: _Optional[_Union[SuggestionOptions, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ...) -> None: ...
+ model: _model_pb2.Model
+ def __init__(self, name: _Optional[str] = ..., type: _Optional[str] = ..., inputs: _Optional[_Iterable[_Union[_data_pb2.Data, _Mapping]]] = ..., options: _Optional[_Union[SuggestionOptions, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ..., model: _Optional[_Union[_model_pb2.Model, _Mapping]] = ...) -> None: ...
diff --git a/proto/asgt/jester/v1/jester.proto b/proto/asgt/jester/v1/jester.proto
index e27018c0..03317752 100644
--- a/proto/asgt/jester/v1/jester.proto
+++ b/proto/asgt/jester/v1/jester.proto
@@ -46,4 +46,5 @@ message SuggestionRequest {
repeated asgt.type.Data inputs = 3;
SuggestionOptions options = 4;
repeated string tags = 5;
+ asgt.type.Model model = 6;
}