protobuf-platform 1.2.65 → 1.2.66
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.
- package/config/config.proto +1 -0
- package/config/config_pb.js +49 -1
- package/package.json +1 -1
package/config/config.proto
CHANGED
package/config/config_pb.js
CHANGED
|
@@ -2721,7 +2721,8 @@ proto.config.PromptRequest.toObject = function(includeInstance, msg) {
|
|
|
2721
2721
|
temperature: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
2722
2722
|
topP: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
2723
2723
|
frequencyPenalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
2724
|
-
presencePenalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
|
|
2724
|
+
presencePenalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
2725
|
+
roleContent: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
2725
2726
|
};
|
|
2726
2727
|
|
|
2727
2728
|
if (includeInstance) {
|
|
@@ -2790,6 +2791,10 @@ proto.config.PromptRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2790
2791
|
var value = /** @type {number} */ (reader.readFloat());
|
|
2791
2792
|
msg.setPresencePenalty(value);
|
|
2792
2793
|
break;
|
|
2794
|
+
case 9:
|
|
2795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2796
|
+
msg.setRoleContent(value);
|
|
2797
|
+
break;
|
|
2793
2798
|
default:
|
|
2794
2799
|
reader.skipField();
|
|
2795
2800
|
break;
|
|
@@ -2875,6 +2880,13 @@ proto.config.PromptRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
2875
2880
|
f
|
|
2876
2881
|
);
|
|
2877
2882
|
}
|
|
2883
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
2884
|
+
if (f != null) {
|
|
2885
|
+
writer.writeString(
|
|
2886
|
+
9,
|
|
2887
|
+
f
|
|
2888
|
+
);
|
|
2889
|
+
}
|
|
2878
2890
|
};
|
|
2879
2891
|
|
|
2880
2892
|
|
|
@@ -3112,6 +3124,42 @@ proto.config.PromptRequest.prototype.hasPresencePenalty = function() {
|
|
|
3112
3124
|
};
|
|
3113
3125
|
|
|
3114
3126
|
|
|
3127
|
+
/**
|
|
3128
|
+
* optional string role_content = 9;
|
|
3129
|
+
* @return {string}
|
|
3130
|
+
*/
|
|
3131
|
+
proto.config.PromptRequest.prototype.getRoleContent = function() {
|
|
3132
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3133
|
+
};
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* @param {string} value
|
|
3138
|
+
* @return {!proto.config.PromptRequest} returns this
|
|
3139
|
+
*/
|
|
3140
|
+
proto.config.PromptRequest.prototype.setRoleContent = function(value) {
|
|
3141
|
+
return jspb.Message.setField(this, 9, value);
|
|
3142
|
+
};
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* Clears the field making it undefined.
|
|
3147
|
+
* @return {!proto.config.PromptRequest} returns this
|
|
3148
|
+
*/
|
|
3149
|
+
proto.config.PromptRequest.prototype.clearRoleContent = function() {
|
|
3150
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
3151
|
+
};
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* Returns whether this field is set.
|
|
3156
|
+
* @return {boolean}
|
|
3157
|
+
*/
|
|
3158
|
+
proto.config.PromptRequest.prototype.hasRoleContent = function() {
|
|
3159
|
+
return jspb.Message.getField(this, 9) != null;
|
|
3160
|
+
};
|
|
3161
|
+
|
|
3162
|
+
|
|
3115
3163
|
|
|
3116
3164
|
|
|
3117
3165
|
|