|
@@ -235,8 +235,8 @@ type FindAnswerReq struct {
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
|
|
|
- RobotEntId int64 `protobuf:"varint,2,opt,name=robotEntId,proto3" json:"robotEntId,omitempty"` //机器人的企业id
|
|
|
- Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 1文字 2语音
|
|
|
+ RobotEntId string `protobuf:"bytes,2,opt,name=robotEntId,proto3" json:"robotEntId,omitempty"` //机器人的企业id
|
|
|
+ Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 1文字 2语音
|
|
|
}
|
|
|
|
|
|
func (x *FindAnswerReq) Reset() {
|
|
@@ -278,11 +278,11 @@ func (x *FindAnswerReq) GetQuestion() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *FindAnswerReq) GetRobotEntId() int64 {
|
|
|
+func (x *FindAnswerReq) GetRobotEntId() string {
|
|
|
if x != nil {
|
|
|
return x.RobotEntId
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *FindAnswerReq) GetType() int64 {
|
|
@@ -919,7 +919,7 @@ var file_knowledge_proto_rawDesc = []byte{
|
|
|
0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65,
|
|
|
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65,
|
|
|
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x45, 0x6e,
|
|
|
- 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74,
|
|
|
+ 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74,
|
|
|
0x45, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
|
|
0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x74, 0x0a, 0x0e, 0x46, 0x69, 0x6e,
|
|
|
0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65,
|