Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKnowledgeBaseServiceServer(s grpc.ServiceRegistrar, srv KnowledgeBaseServiceServer)
- type BatchKnowledgeSelectReq
- func (*BatchKnowledgeSelectReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchKnowledgeSelectReq) GetKnowledgeIdList() []string
- func (x *BatchKnowledgeSelectReq) GetOrgId() string
- func (x *BatchKnowledgeSelectReq) GetUserId() string
- func (*BatchKnowledgeSelectReq) ProtoMessage()
- func (x *BatchKnowledgeSelectReq) ProtoReflect() protoreflect.Message
- func (x *BatchKnowledgeSelectReq) Reset()
- func (x *BatchKnowledgeSelectReq) String() string
- type ChildContent
- func (*ChildContent) Descriptor() ([]byte, []int)deprecated
- func (x *ChildContent) GetChildSnippet() string
- func (x *ChildContent) GetScore() float32
- func (*ChildContent) ProtoMessage()
- func (x *ChildContent) ProtoReflect() protoreflect.Message
- func (x *ChildContent) Reset()
- func (x *ChildContent) String() string
- type CreateKnowledgeReq
- func (*CreateKnowledgeReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKnowledgeReq) GetDescription() string
- func (x *CreateKnowledgeReq) GetEmbeddingModelInfo() *EmbeddingModelInfo
- func (x *CreateKnowledgeReq) GetKnowledgeGraph() *KnowledgeGraph
- func (x *CreateKnowledgeReq) GetName() string
- func (x *CreateKnowledgeReq) GetOrgId() string
- func (x *CreateKnowledgeReq) GetUserId() string
- func (*CreateKnowledgeReq) ProtoMessage()
- func (x *CreateKnowledgeReq) ProtoReflect() protoreflect.Message
- func (x *CreateKnowledgeReq) Reset()
- func (x *CreateKnowledgeReq) String() string
- type CreateKnowledgeResp
- func (*CreateKnowledgeResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKnowledgeResp) GetKnowledgeId() string
- func (*CreateKnowledgeResp) ProtoMessage()
- func (x *CreateKnowledgeResp) ProtoReflect() protoreflect.Message
- func (x *CreateKnowledgeResp) Reset()
- func (x *CreateKnowledgeResp) String() string
- type DeleteKnowledgeReq
- func (*DeleteKnowledgeReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKnowledgeReq) GetKnowledgeId() string
- func (x *DeleteKnowledgeReq) GetOrgId() string
- func (x *DeleteKnowledgeReq) GetUserId() string
- func (*DeleteKnowledgeReq) ProtoMessage()
- func (x *DeleteKnowledgeReq) ProtoReflect() protoreflect.Message
- func (x *DeleteKnowledgeReq) Reset()
- func (x *DeleteKnowledgeReq) String() string
- type EmbeddingModelInfo
- func (*EmbeddingModelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EmbeddingModelInfo) GetModelId() string
- func (*EmbeddingModelInfo) ProtoMessage()
- func (x *EmbeddingModelInfo) ProtoReflect() protoreflect.Message
- func (x *EmbeddingModelInfo) Reset()
- func (x *EmbeddingModelInfo) String() string
- type KnowledgeBaseServiceClient
- type KnowledgeBaseServiceServer
- type KnowledgeDetailSelectListReq
- func (*KnowledgeDetailSelectListReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeDetailSelectListReq) GetKnowledgeIds() []string
- func (x *KnowledgeDetailSelectListReq) GetOrgId() string
- func (x *KnowledgeDetailSelectListReq) GetUserId() string
- func (*KnowledgeDetailSelectListReq) ProtoMessage()
- func (x *KnowledgeDetailSelectListReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeDetailSelectListReq) Reset()
- func (x *KnowledgeDetailSelectListReq) String() string
- type KnowledgeDetailSelectListResp
- func (*KnowledgeDetailSelectListResp) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeDetailSelectListResp) GetList() []*KnowledgeInfo
- func (x *KnowledgeDetailSelectListResp) GetTotal() int32
- func (*KnowledgeDetailSelectListResp) ProtoMessage()
- func (x *KnowledgeDetailSelectListResp) ProtoReflect() protoreflect.Message
- func (x *KnowledgeDetailSelectListResp) Reset()
- func (x *KnowledgeDetailSelectListResp) String() string
- type KnowledgeDetailSelectReq
- func (*KnowledgeDetailSelectReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeDetailSelectReq) GetKnowledgeId() string
- func (x *KnowledgeDetailSelectReq) GetKnowledgeName() string
- func (x *KnowledgeDetailSelectReq) GetOrgId() string
- func (x *KnowledgeDetailSelectReq) GetUserId() string
- func (*KnowledgeDetailSelectReq) ProtoMessage()
- func (x *KnowledgeDetailSelectReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeDetailSelectReq) Reset()
- func (x *KnowledgeDetailSelectReq) String() string
- type KnowledgeGraph
- func (*KnowledgeGraph) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeGraph) GetLlmModelId() string
- func (x *KnowledgeGraph) GetSchemaUrl() string
- func (x *KnowledgeGraph) GetSwitch() bool
- func (*KnowledgeGraph) ProtoMessage()
- func (x *KnowledgeGraph) ProtoReflect() protoreflect.Message
- func (x *KnowledgeGraph) Reset()
- func (x *KnowledgeGraph) String() string
- type KnowledgeGraphReq
- func (*KnowledgeGraphReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeGraphReq) GetKnowledgeId() string
- func (x *KnowledgeGraphReq) GetOrgId() string
- func (x *KnowledgeGraphReq) GetUserId() string
- func (*KnowledgeGraphReq) ProtoMessage()
- func (x *KnowledgeGraphReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeGraphReq) Reset()
- func (x *KnowledgeGraphReq) String() string
- type KnowledgeGraphResp
- func (*KnowledgeGraphResp) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeGraphResp) GetFailedCount() int32
- func (x *KnowledgeGraphResp) GetProcessingCount() int32
- func (x *KnowledgeGraphResp) GetSchema() string
- func (x *KnowledgeGraphResp) GetSuccessCount() int32
- func (x *KnowledgeGraphResp) GetTotal() int32
- func (*KnowledgeGraphResp) ProtoMessage()
- func (x *KnowledgeGraphResp) ProtoReflect() protoreflect.Message
- func (x *KnowledgeGraphResp) Reset()
- func (x *KnowledgeGraphResp) String() string
- type KnowledgeHitReq
- func (*KnowledgeHitReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeHitReq) GetKnowledgeList() []*KnowledgeParams
- func (x *KnowledgeHitReq) GetKnowledgeMatchParams() *KnowledgeMatchParams
- func (x *KnowledgeHitReq) GetOrgId() string
- func (x *KnowledgeHitReq) GetQuestion() string
- func (x *KnowledgeHitReq) GetUserId() string
- func (*KnowledgeHitReq) ProtoMessage()
- func (x *KnowledgeHitReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeHitReq) Reset()
- func (x *KnowledgeHitReq) String() string
- type KnowledgeHitResp
- func (*KnowledgeHitResp) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeHitResp) GetPrompt() string
- func (x *KnowledgeHitResp) GetScore() []float64
- func (x *KnowledgeHitResp) GetSearchList() []*KnowledgeSearchInfo
- func (x *KnowledgeHitResp) GetUseGraph() bool
- func (*KnowledgeHitResp) ProtoMessage()
- func (x *KnowledgeHitResp) ProtoReflect() protoreflect.Message
- func (x *KnowledgeHitResp) Reset()
- func (x *KnowledgeHitResp) String() string
- type KnowledgeInfo
- func (*KnowledgeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeInfo) GetCreateOrgId() string
- func (x *KnowledgeInfo) GetCreateUserId() string
- func (x *KnowledgeInfo) GetCreatedAt() string
- func (x *KnowledgeInfo) GetDescription() string
- func (x *KnowledgeInfo) GetDocCount() int32
- func (x *KnowledgeInfo) GetEmbeddingModelInfo() *EmbeddingModelInfo
- func (x *KnowledgeInfo) GetGraphSwitch() int32
- func (x *KnowledgeInfo) GetKnowledgeId() string
- func (x *KnowledgeInfo) GetKnowledgeTagInfoList() []*KnowledgeTagInfo
- func (x *KnowledgeInfo) GetName() string
- func (x *KnowledgeInfo) GetPermissionType() int32
- func (x *KnowledgeInfo) GetRagName() string
- func (x *KnowledgeInfo) GetShareCount() int32
- func (*KnowledgeInfo) ProtoMessage()
- func (x *KnowledgeInfo) ProtoReflect() protoreflect.Message
- func (x *KnowledgeInfo) Reset()
- func (x *KnowledgeInfo) String() string
- type KnowledgeMatchParams
- func (*KnowledgeMatchParams) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeMatchParams) GetKeywordPriority() float32
- func (x *KnowledgeMatchParams) GetMatchType() string
- func (x *KnowledgeMatchParams) GetPriorityMatch() int32
- func (x *KnowledgeMatchParams) GetRerankModelId() string
- func (x *KnowledgeMatchParams) GetScore() float32
- func (x *KnowledgeMatchParams) GetSemanticsPriority() float32
- func (x *KnowledgeMatchParams) GetTermWeight() float32
- func (x *KnowledgeMatchParams) GetTermWeightEnable() bool
- func (x *KnowledgeMatchParams) GetTopK() int32
- func (x *KnowledgeMatchParams) GetUseGraph() bool
- func (*KnowledgeMatchParams) ProtoMessage()
- func (x *KnowledgeMatchParams) ProtoReflect() protoreflect.Message
- func (x *KnowledgeMatchParams) Reset()
- func (x *KnowledgeMatchParams) String() string
- type KnowledgeMetaData
- func (*KnowledgeMetaData) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeMetaData) GetKey() string
- func (x *KnowledgeMetaData) GetMetaId() string
- func (x *KnowledgeMetaData) GetType() string
- func (x *KnowledgeMetaData) GetValue() string
- func (*KnowledgeMetaData) ProtoMessage()
- func (x *KnowledgeMetaData) ProtoReflect() protoreflect.Message
- func (x *KnowledgeMetaData) Reset()
- func (x *KnowledgeMetaData) String() string
- type KnowledgeMetaValueListReq
- func (*KnowledgeMetaValueListReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeMetaValueListReq) GetDocIdList() []string
- func (x *KnowledgeMetaValueListReq) GetOrgId() string
- func (x *KnowledgeMetaValueListReq) GetUserId() string
- func (*KnowledgeMetaValueListReq) ProtoMessage()
- func (x *KnowledgeMetaValueListReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeMetaValueListReq) Reset()
- func (x *KnowledgeMetaValueListReq) String() string
- type KnowledgeMetaValueListResp
- func (*KnowledgeMetaValueListResp) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeMetaValueListResp) GetMetaList() []*KnowledgeMetaValues
- func (*KnowledgeMetaValueListResp) ProtoMessage()
- func (x *KnowledgeMetaValueListResp) ProtoReflect() protoreflect.Message
- func (x *KnowledgeMetaValueListResp) Reset()
- func (x *KnowledgeMetaValueListResp) String() string
- type KnowledgeMetaValues
- func (*KnowledgeMetaValues) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeMetaValues) GetKey() string
- func (x *KnowledgeMetaValues) GetMetaId() string
- func (x *KnowledgeMetaValues) GetType() string
- func (x *KnowledgeMetaValues) GetValueList() []string
- func (*KnowledgeMetaValues) ProtoMessage()
- func (x *KnowledgeMetaValues) ProtoReflect() protoreflect.Message
- func (x *KnowledgeMetaValues) Reset()
- func (x *KnowledgeMetaValues) String() string
- type KnowledgeParams
- func (*KnowledgeParams) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeParams) GetKnowledgeId() string
- func (x *KnowledgeParams) GetMetaDataFilterParams() *MetaDataFilterParams
- func (*KnowledgeParams) ProtoMessage()
- func (x *KnowledgeParams) ProtoReflect() protoreflect.Message
- func (x *KnowledgeParams) Reset()
- func (x *KnowledgeParams) String() string
- type KnowledgeSearchInfo
- func (*KnowledgeSearchInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeSearchInfo) GetChildContentList() []*ChildContent
- func (x *KnowledgeSearchInfo) GetChildScore() []float32
- func (x *KnowledgeSearchInfo) GetContentType() string
- func (x *KnowledgeSearchInfo) GetKnowledgeName() string
- func (x *KnowledgeSearchInfo) GetSnippet() string
- func (x *KnowledgeSearchInfo) GetTitle() string
- func (*KnowledgeSearchInfo) ProtoMessage()
- func (x *KnowledgeSearchInfo) ProtoReflect() protoreflect.Message
- func (x *KnowledgeSearchInfo) Reset()
- func (x *KnowledgeSearchInfo) String() string
- type KnowledgeSelectListResp
- func (*KnowledgeSelectListResp) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeSelectListResp) GetKnowledgeList() []*KnowledgeInfo
- func (*KnowledgeSelectListResp) ProtoMessage()
- func (x *KnowledgeSelectListResp) ProtoReflect() protoreflect.Message
- func (x *KnowledgeSelectListResp) Reset()
- func (x *KnowledgeSelectListResp) String() string
- type KnowledgeSelectReq
- func (*KnowledgeSelectReq) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeSelectReq) GetName() string
- func (x *KnowledgeSelectReq) GetOrgId() string
- func (x *KnowledgeSelectReq) GetTagIdList() []string
- func (x *KnowledgeSelectReq) GetUserId() string
- func (*KnowledgeSelectReq) ProtoMessage()
- func (x *KnowledgeSelectReq) ProtoReflect() protoreflect.Message
- func (x *KnowledgeSelectReq) Reset()
- func (x *KnowledgeSelectReq) String() string
- type KnowledgeTagInfo
- func (*KnowledgeTagInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeTagInfo) GetTagId() string
- func (x *KnowledgeTagInfo) GetTagName() string
- func (*KnowledgeTagInfo) ProtoMessage()
- func (x *KnowledgeTagInfo) ProtoReflect() protoreflect.Message
- func (x *KnowledgeTagInfo) Reset()
- func (x *KnowledgeTagInfo) String() string
- type MetaDataFilterParams
- func (*MetaDataFilterParams) Descriptor() ([]byte, []int)deprecated
- func (x *MetaDataFilterParams) GetFilterEnable() bool
- func (x *MetaDataFilterParams) GetFilterLogicType() string
- func (x *MetaDataFilterParams) GetMetaFilterParams() []*MetaFilterParams
- func (*MetaDataFilterParams) ProtoMessage()
- func (x *MetaDataFilterParams) ProtoReflect() protoreflect.Message
- func (x *MetaDataFilterParams) Reset()
- func (x *MetaDataFilterParams) String() string
- type MetaFilterParams
- func (*MetaFilterParams) Descriptor() ([]byte, []int)deprecated
- func (x *MetaFilterParams) GetCondition() string
- func (x *MetaFilterParams) GetKey() string
- func (x *MetaFilterParams) GetType() string
- func (x *MetaFilterParams) GetValue() string
- func (*MetaFilterParams) ProtoMessage()
- func (x *MetaFilterParams) ProtoReflect() protoreflect.Message
- func (x *MetaFilterParams) Reset()
- func (x *MetaFilterParams) String() string
- type MetaValueOperation
- func (*MetaValueOperation) Descriptor() ([]byte, []int)deprecated
- func (x *MetaValueOperation) GetMetaInfo() *KnowledgeMetaData
- func (x *MetaValueOperation) GetOption() string
- func (*MetaValueOperation) ProtoMessage()
- func (x *MetaValueOperation) ProtoReflect() protoreflect.Message
- func (x *MetaValueOperation) Reset()
- func (x *MetaValueOperation) String() string
- type SelectKnowledgeMetaReq
- func (*SelectKnowledgeMetaReq) Descriptor() ([]byte, []int)deprecated
- func (x *SelectKnowledgeMetaReq) GetKnowledgeId() string
- func (x *SelectKnowledgeMetaReq) GetOrgId() string
- func (x *SelectKnowledgeMetaReq) GetUserId() string
- func (*SelectKnowledgeMetaReq) ProtoMessage()
- func (x *SelectKnowledgeMetaReq) ProtoReflect() protoreflect.Message
- func (x *SelectKnowledgeMetaReq) Reset()
- func (x *SelectKnowledgeMetaReq) String() string
- type SelectKnowledgeMetaResp
- func (*SelectKnowledgeMetaResp) Descriptor() ([]byte, []int)deprecated
- func (x *SelectKnowledgeMetaResp) GetMetaList() []*KnowledgeMetaData
- func (*SelectKnowledgeMetaResp) ProtoMessage()
- func (x *SelectKnowledgeMetaResp) ProtoReflect() protoreflect.Message
- func (x *SelectKnowledgeMetaResp) Reset()
- func (x *SelectKnowledgeMetaResp) String() string
- type UnimplementedKnowledgeBaseServiceServer
- func (UnimplementedKnowledgeBaseServiceServer) CreateKnowledge(context.Context, *CreateKnowledgeReq) (*CreateKnowledgeResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) DeleteKnowledge(context.Context, *DeleteKnowledgeReq) (*emptypb.Empty, error)
- func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeGraph(context.Context, *KnowledgeGraphReq) (*KnowledgeGraphResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaSelect(context.Context, *SelectKnowledgeMetaReq) (*SelectKnowledgeMetaResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaValueList(context.Context, *KnowledgeMetaValueListReq) (*KnowledgeMetaValueListResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) KnowledgeHit(context.Context, *KnowledgeHitReq) (*KnowledgeHitResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailById(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
- func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByIdList(context.Context, *KnowledgeDetailSelectListReq) (*KnowledgeDetailSelectListResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByName(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
- func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeList(context.Context, *KnowledgeSelectReq) (*KnowledgeSelectListResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeListByIdList(context.Context, *BatchKnowledgeSelectReq) (*KnowledgeSelectListResp, error)
- func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledge(context.Context, *UpdateKnowledgeReq) (*emptypb.Empty, error)
- func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeMetaValue(context.Context, *UpdateKnowledgeMetaValueReq) (*emptypb.Empty, error)
- func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeStatus(context.Context, *UpdateKnowledgeStatusReq) (*emptypb.Empty, error)
- type UnsafeKnowledgeBaseServiceServer
- type UpdateKnowledgeMetaValueReq
- func (*UpdateKnowledgeMetaValueReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKnowledgeMetaValueReq) GetApplyToSelected() bool
- func (x *UpdateKnowledgeMetaValueReq) GetDocIdList() []string
- func (x *UpdateKnowledgeMetaValueReq) GetMetaList() []*MetaValueOperation
- func (x *UpdateKnowledgeMetaValueReq) GetOrgId() string
- func (x *UpdateKnowledgeMetaValueReq) GetUserId() string
- func (*UpdateKnowledgeMetaValueReq) ProtoMessage()
- func (x *UpdateKnowledgeMetaValueReq) ProtoReflect() protoreflect.Message
- func (x *UpdateKnowledgeMetaValueReq) Reset()
- func (x *UpdateKnowledgeMetaValueReq) String() string
- type UpdateKnowledgeReq
- func (*UpdateKnowledgeReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKnowledgeReq) GetDescription() string
- func (x *UpdateKnowledgeReq) GetKnowledgeId() string
- func (x *UpdateKnowledgeReq) GetName() string
- func (x *UpdateKnowledgeReq) GetOrgId() string
- func (x *UpdateKnowledgeReq) GetUserId() string
- func (*UpdateKnowledgeReq) ProtoMessage()
- func (x *UpdateKnowledgeReq) ProtoReflect() protoreflect.Message
- func (x *UpdateKnowledgeReq) Reset()
- func (x *UpdateKnowledgeReq) String() string
- type UpdateKnowledgeStatusReq
- func (*UpdateKnowledgeStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKnowledgeStatusReq) GetKnowledgeId() string
- func (x *UpdateKnowledgeStatusReq) GetReportStatus() int32
- func (*UpdateKnowledgeStatusReq) ProtoMessage()
- func (x *UpdateKnowledgeStatusReq) ProtoReflect() protoreflect.Message
- func (x *UpdateKnowledgeStatusReq) Reset()
- func (x *UpdateKnowledgeStatusReq) String() string
Constants ¶
const ( KnowledgeBaseService_SelectKnowledgeList_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/SelectKnowledgeList" KnowledgeBaseService_SelectKnowledgeListByIdList_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/SelectKnowledgeListByIdList" KnowledgeBaseService_SelectKnowledgeDetailById_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/SelectKnowledgeDetailById" KnowledgeBaseService_SelectKnowledgeDetailByIdList_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/SelectKnowledgeDetailByIdList" KnowledgeBaseService_SelectKnowledgeDetailByName_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/SelectKnowledgeDetailByName" KnowledgeBaseService_CreateKnowledge_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/CreateKnowledge" KnowledgeBaseService_UpdateKnowledge_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/UpdateKnowledge" KnowledgeBaseService_DeleteKnowledge_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/DeleteKnowledge" KnowledgeBaseService_KnowledgeHit_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/KnowledgeHit" KnowledgeBaseService_GetKnowledgeMetaSelect_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/GetKnowledgeMetaSelect" KnowledgeBaseService_GetKnowledgeMetaValueList_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/GetKnowledgeMetaValueList" KnowledgeBaseService_UpdateKnowledgeMetaValue_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/UpdateKnowledgeMetaValue" KnowledgeBaseService_UpdateKnowledgeStatus_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/UpdateKnowledgeStatus" KnowledgeBaseService_GetKnowledgeGraph_FullMethodName = "/knowledgebase_service.KnowledgeBaseService/GetKnowledgeGraph" )
Variables ¶
var File_proto_knowledgebase_service_knowledgebase_service_proto protoreflect.FileDescriptor
var KnowledgeBaseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "knowledgebase_service.KnowledgeBaseService", HandlerType: (*KnowledgeBaseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SelectKnowledgeList", Handler: _KnowledgeBaseService_SelectKnowledgeList_Handler, }, { MethodName: "SelectKnowledgeListByIdList", Handler: _KnowledgeBaseService_SelectKnowledgeListByIdList_Handler, }, { MethodName: "SelectKnowledgeDetailById", Handler: _KnowledgeBaseService_SelectKnowledgeDetailById_Handler, }, { MethodName: "SelectKnowledgeDetailByIdList", Handler: _KnowledgeBaseService_SelectKnowledgeDetailByIdList_Handler, }, { MethodName: "SelectKnowledgeDetailByName", Handler: _KnowledgeBaseService_SelectKnowledgeDetailByName_Handler, }, { MethodName: "CreateKnowledge", Handler: _KnowledgeBaseService_CreateKnowledge_Handler, }, { MethodName: "UpdateKnowledge", Handler: _KnowledgeBaseService_UpdateKnowledge_Handler, }, { MethodName: "DeleteKnowledge", Handler: _KnowledgeBaseService_DeleteKnowledge_Handler, }, { MethodName: "KnowledgeHit", Handler: _KnowledgeBaseService_KnowledgeHit_Handler, }, { MethodName: "GetKnowledgeMetaSelect", Handler: _KnowledgeBaseService_GetKnowledgeMetaSelect_Handler, }, { MethodName: "GetKnowledgeMetaValueList", Handler: _KnowledgeBaseService_GetKnowledgeMetaValueList_Handler, }, { MethodName: "UpdateKnowledgeMetaValue", Handler: _KnowledgeBaseService_UpdateKnowledgeMetaValue_Handler, }, { MethodName: "UpdateKnowledgeStatus", Handler: _KnowledgeBaseService_UpdateKnowledgeStatus_Handler, }, { MethodName: "GetKnowledgeGraph", Handler: _KnowledgeBaseService_GetKnowledgeGraph_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/knowledgebase-service/knowledgebase-service.proto", }
KnowledgeBaseService_ServiceDesc is the grpc.ServiceDesc for KnowledgeBaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKnowledgeBaseServiceServer ¶
func RegisterKnowledgeBaseServiceServer(s grpc.ServiceRegistrar, srv KnowledgeBaseServiceServer)
Types ¶
type BatchKnowledgeSelectReq ¶ added in v0.2.5
type BatchKnowledgeSelectReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
KnowledgeIdList []string `protobuf:"bytes,3,rep,name=knowledgeIdList,proto3" json:"knowledgeIdList,omitempty"` //知识库id列表
// contains filtered or unexported fields
}
func (*BatchKnowledgeSelectReq) Descriptor
deprecated
added in
v0.2.5
func (*BatchKnowledgeSelectReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchKnowledgeSelectReq.ProtoReflect.Descriptor instead.
func (*BatchKnowledgeSelectReq) GetKnowledgeIdList ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) GetKnowledgeIdList() []string
func (*BatchKnowledgeSelectReq) GetOrgId ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) GetOrgId() string
func (*BatchKnowledgeSelectReq) GetUserId ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) GetUserId() string
func (*BatchKnowledgeSelectReq) ProtoMessage ¶ added in v0.2.5
func (*BatchKnowledgeSelectReq) ProtoMessage()
func (*BatchKnowledgeSelectReq) ProtoReflect ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) ProtoReflect() protoreflect.Message
func (*BatchKnowledgeSelectReq) Reset ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) Reset()
func (*BatchKnowledgeSelectReq) String ¶ added in v0.2.5
func (x *BatchKnowledgeSelectReq) String() string
type ChildContent ¶ added in v0.2.3
type ChildContent struct {
ChildSnippet string `protobuf:"bytes,1,opt,name=childSnippet,proto3" json:"childSnippet,omitempty"`
Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
func (*ChildContent) Descriptor
deprecated
added in
v0.2.3
func (*ChildContent) Descriptor() ([]byte, []int)
Deprecated: Use ChildContent.ProtoReflect.Descriptor instead.
func (*ChildContent) GetChildSnippet ¶ added in v0.2.3
func (x *ChildContent) GetChildSnippet() string
func (*ChildContent) GetScore ¶ added in v0.2.3
func (x *ChildContent) GetScore() float32
func (*ChildContent) ProtoMessage ¶ added in v0.2.3
func (*ChildContent) ProtoMessage()
func (*ChildContent) ProtoReflect ¶ added in v0.2.3
func (x *ChildContent) ProtoReflect() protoreflect.Message
func (*ChildContent) Reset ¶ added in v0.2.3
func (x *ChildContent) Reset()
func (*ChildContent) String ¶ added in v0.2.3
func (x *ChildContent) String() string
type CreateKnowledgeReq ¶
type CreateKnowledgeReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
EmbeddingModelInfo *EmbeddingModelInfo `protobuf:"bytes,5,opt,name=embeddingModelInfo,proto3" json:"embeddingModelInfo,omitempty"`
KnowledgeGraph *KnowledgeGraph `protobuf:"bytes,6,opt,name=knowledgeGraph,proto3" json:"knowledgeGraph,omitempty"` //知识图谱配置
// contains filtered or unexported fields
}
func (*CreateKnowledgeReq) Descriptor
deprecated
func (*CreateKnowledgeReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateKnowledgeReq.ProtoReflect.Descriptor instead.
func (*CreateKnowledgeReq) GetDescription ¶
func (x *CreateKnowledgeReq) GetDescription() string
func (*CreateKnowledgeReq) GetEmbeddingModelInfo ¶
func (x *CreateKnowledgeReq) GetEmbeddingModelInfo() *EmbeddingModelInfo
func (*CreateKnowledgeReq) GetKnowledgeGraph ¶ added in v0.2.7
func (x *CreateKnowledgeReq) GetKnowledgeGraph() *KnowledgeGraph
func (*CreateKnowledgeReq) GetName ¶
func (x *CreateKnowledgeReq) GetName() string
func (*CreateKnowledgeReq) GetOrgId ¶
func (x *CreateKnowledgeReq) GetOrgId() string
func (*CreateKnowledgeReq) GetUserId ¶
func (x *CreateKnowledgeReq) GetUserId() string
func (*CreateKnowledgeReq) ProtoMessage ¶
func (*CreateKnowledgeReq) ProtoMessage()
func (*CreateKnowledgeReq) ProtoReflect ¶
func (x *CreateKnowledgeReq) ProtoReflect() protoreflect.Message
func (*CreateKnowledgeReq) Reset ¶
func (x *CreateKnowledgeReq) Reset()
func (*CreateKnowledgeReq) String ¶
func (x *CreateKnowledgeReq) String() string
type CreateKnowledgeResp ¶
type CreateKnowledgeResp struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
// contains filtered or unexported fields
}
func (*CreateKnowledgeResp) Descriptor
deprecated
func (*CreateKnowledgeResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateKnowledgeResp.ProtoReflect.Descriptor instead.
func (*CreateKnowledgeResp) GetKnowledgeId ¶
func (x *CreateKnowledgeResp) GetKnowledgeId() string
func (*CreateKnowledgeResp) ProtoMessage ¶
func (*CreateKnowledgeResp) ProtoMessage()
func (*CreateKnowledgeResp) ProtoReflect ¶
func (x *CreateKnowledgeResp) ProtoReflect() protoreflect.Message
func (*CreateKnowledgeResp) Reset ¶
func (x *CreateKnowledgeResp) Reset()
func (*CreateKnowledgeResp) String ¶
func (x *CreateKnowledgeResp) String() string
type DeleteKnowledgeReq ¶
type DeleteKnowledgeReq struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteKnowledgeReq) Descriptor
deprecated
func (*DeleteKnowledgeReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKnowledgeReq.ProtoReflect.Descriptor instead.
func (*DeleteKnowledgeReq) GetKnowledgeId ¶
func (x *DeleteKnowledgeReq) GetKnowledgeId() string
func (*DeleteKnowledgeReq) GetOrgId ¶
func (x *DeleteKnowledgeReq) GetOrgId() string
func (*DeleteKnowledgeReq) GetUserId ¶
func (x *DeleteKnowledgeReq) GetUserId() string
func (*DeleteKnowledgeReq) ProtoMessage ¶
func (*DeleteKnowledgeReq) ProtoMessage()
func (*DeleteKnowledgeReq) ProtoReflect ¶
func (x *DeleteKnowledgeReq) ProtoReflect() protoreflect.Message
func (*DeleteKnowledgeReq) Reset ¶
func (x *DeleteKnowledgeReq) Reset()
func (*DeleteKnowledgeReq) String ¶
func (x *DeleteKnowledgeReq) String() string
type EmbeddingModelInfo ¶
type EmbeddingModelInfo struct {
ModelId string `protobuf:"bytes,1,opt,name=modelId,proto3" json:"modelId,omitempty"`
// contains filtered or unexported fields
}
func (*EmbeddingModelInfo) Descriptor
deprecated
func (*EmbeddingModelInfo) Descriptor() ([]byte, []int)
Deprecated: Use EmbeddingModelInfo.ProtoReflect.Descriptor instead.
func (*EmbeddingModelInfo) GetModelId ¶
func (x *EmbeddingModelInfo) GetModelId() string
func (*EmbeddingModelInfo) ProtoMessage ¶
func (*EmbeddingModelInfo) ProtoMessage()
func (*EmbeddingModelInfo) ProtoReflect ¶
func (x *EmbeddingModelInfo) ProtoReflect() protoreflect.Message
func (*EmbeddingModelInfo) Reset ¶
func (x *EmbeddingModelInfo) Reset()
func (*EmbeddingModelInfo) String ¶
func (x *EmbeddingModelInfo) String() string
type KnowledgeBaseServiceClient ¶
type KnowledgeBaseServiceClient interface {
// 获取知识库列表
SelectKnowledgeList(ctx context.Context, in *KnowledgeSelectReq, opts ...grpc.CallOption) (*KnowledgeSelectListResp, error)
// 获取知识库列表
SelectKnowledgeListByIdList(ctx context.Context, in *BatchKnowledgeSelectReq, opts ...grpc.CallOption) (*KnowledgeSelectListResp, error)
// 获取知识库详情
SelectKnowledgeDetailById(ctx context.Context, in *KnowledgeDetailSelectReq, opts ...grpc.CallOption) (*KnowledgeInfo, error)
// 获取知识库详情列表
SelectKnowledgeDetailByIdList(ctx context.Context, in *KnowledgeDetailSelectListReq, opts ...grpc.CallOption) (*KnowledgeDetailSelectListResp, error)
// 获取知识库详情
SelectKnowledgeDetailByName(ctx context.Context, in *KnowledgeDetailSelectReq, opts ...grpc.CallOption) (*KnowledgeInfo, error)
// 新增知识库
CreateKnowledge(ctx context.Context, in *CreateKnowledgeReq, opts ...grpc.CallOption) (*CreateKnowledgeResp, error)
// 修改知识库
UpdateKnowledge(ctx context.Context, in *UpdateKnowledgeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// 删除文档知识分类
DeleteKnowledge(ctx context.Context, in *DeleteKnowledgeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// 知识库命中测试
KnowledgeHit(ctx context.Context, in *KnowledgeHitReq, opts ...grpc.CallOption) (*KnowledgeHitResp, error)
// 获取知识库元数据(key + type)
GetKnowledgeMetaSelect(ctx context.Context, in *SelectKnowledgeMetaReq, opts ...grpc.CallOption) (*SelectKnowledgeMetaResp, error)
// 获取知识库元数据值列表 (合并过的value)
GetKnowledgeMetaValueList(ctx context.Context, in *KnowledgeMetaValueListReq, opts ...grpc.CallOption) (*KnowledgeMetaValueListResp, error)
// 更新知识库元数据值列表
UpdateKnowledgeMetaValue(ctx context.Context, in *UpdateKnowledgeMetaValueReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// 修改知识库状态
UpdateKnowledgeStatus(ctx context.Context, in *UpdateKnowledgeStatusReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// 获取知识图谱详情
GetKnowledgeGraph(ctx context.Context, in *KnowledgeGraphReq, opts ...grpc.CallOption) (*KnowledgeGraphResp, error)
}
KnowledgeBaseServiceClient is the client API for KnowledgeBaseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKnowledgeBaseServiceClient ¶
func NewKnowledgeBaseServiceClient(cc grpc.ClientConnInterface) KnowledgeBaseServiceClient
type KnowledgeBaseServiceServer ¶
type KnowledgeBaseServiceServer interface {
// 获取知识库列表
SelectKnowledgeList(context.Context, *KnowledgeSelectReq) (*KnowledgeSelectListResp, error)
// 获取知识库列表
SelectKnowledgeListByIdList(context.Context, *BatchKnowledgeSelectReq) (*KnowledgeSelectListResp, error)
// 获取知识库详情
SelectKnowledgeDetailById(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
// 获取知识库详情列表
SelectKnowledgeDetailByIdList(context.Context, *KnowledgeDetailSelectListReq) (*KnowledgeDetailSelectListResp, error)
// 获取知识库详情
SelectKnowledgeDetailByName(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
// 新增知识库
CreateKnowledge(context.Context, *CreateKnowledgeReq) (*CreateKnowledgeResp, error)
// 修改知识库
UpdateKnowledge(context.Context, *UpdateKnowledgeReq) (*emptypb.Empty, error)
// 删除文档知识分类
DeleteKnowledge(context.Context, *DeleteKnowledgeReq) (*emptypb.Empty, error)
// 知识库命中测试
KnowledgeHit(context.Context, *KnowledgeHitReq) (*KnowledgeHitResp, error)
// 获取知识库元数据(key + type)
GetKnowledgeMetaSelect(context.Context, *SelectKnowledgeMetaReq) (*SelectKnowledgeMetaResp, error)
// 获取知识库元数据值列表 (合并过的value)
GetKnowledgeMetaValueList(context.Context, *KnowledgeMetaValueListReq) (*KnowledgeMetaValueListResp, error)
// 更新知识库元数据值列表
UpdateKnowledgeMetaValue(context.Context, *UpdateKnowledgeMetaValueReq) (*emptypb.Empty, error)
// 修改知识库状态
UpdateKnowledgeStatus(context.Context, *UpdateKnowledgeStatusReq) (*emptypb.Empty, error)
// 获取知识图谱详情
GetKnowledgeGraph(context.Context, *KnowledgeGraphReq) (*KnowledgeGraphResp, error)
// contains filtered or unexported methods
}
KnowledgeBaseServiceServer is the server API for KnowledgeBaseService service. All implementations must embed UnimplementedKnowledgeBaseServiceServer for forward compatibility.
type KnowledgeDetailSelectListReq ¶ added in v0.1.6
type KnowledgeDetailSelectListReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
KnowledgeIds []string `protobuf:"bytes,3,rep,name=knowledgeIds,proto3" json:"knowledgeIds,omitempty"` //知识库id列表
// contains filtered or unexported fields
}
func (*KnowledgeDetailSelectListReq) Descriptor
deprecated
added in
v0.1.6
func (*KnowledgeDetailSelectListReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeDetailSelectListReq.ProtoReflect.Descriptor instead.
func (*KnowledgeDetailSelectListReq) GetKnowledgeIds ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) GetKnowledgeIds() []string
func (*KnowledgeDetailSelectListReq) GetOrgId ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) GetOrgId() string
func (*KnowledgeDetailSelectListReq) GetUserId ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) GetUserId() string
func (*KnowledgeDetailSelectListReq) ProtoMessage ¶ added in v0.1.6
func (*KnowledgeDetailSelectListReq) ProtoMessage()
func (*KnowledgeDetailSelectListReq) ProtoReflect ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) ProtoReflect() protoreflect.Message
func (*KnowledgeDetailSelectListReq) Reset ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) Reset()
func (*KnowledgeDetailSelectListReq) String ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListReq) String() string
type KnowledgeDetailSelectListResp ¶ added in v0.1.6
type KnowledgeDetailSelectListResp struct {
List []*KnowledgeInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 知识库详情列表
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeDetailSelectListResp) Descriptor
deprecated
added in
v0.1.6
func (*KnowledgeDetailSelectListResp) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeDetailSelectListResp.ProtoReflect.Descriptor instead.
func (*KnowledgeDetailSelectListResp) GetList ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListResp) GetList() []*KnowledgeInfo
func (*KnowledgeDetailSelectListResp) GetTotal ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListResp) GetTotal() int32
func (*KnowledgeDetailSelectListResp) ProtoMessage ¶ added in v0.1.6
func (*KnowledgeDetailSelectListResp) ProtoMessage()
func (*KnowledgeDetailSelectListResp) ProtoReflect ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListResp) ProtoReflect() protoreflect.Message
func (*KnowledgeDetailSelectListResp) Reset ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListResp) Reset()
func (*KnowledgeDetailSelectListResp) String ¶ added in v0.1.6
func (x *KnowledgeDetailSelectListResp) String() string
type KnowledgeDetailSelectReq ¶
type KnowledgeDetailSelectReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
KnowledgeId string `protobuf:"bytes,3,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"` //知识库id
KnowledgeName string `protobuf:"bytes,4,opt,name=knowledgeName,proto3" json:"knowledgeName,omitempty"` // 知识库名称
// contains filtered or unexported fields
}
func (*KnowledgeDetailSelectReq) Descriptor
deprecated
func (*KnowledgeDetailSelectReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeDetailSelectReq.ProtoReflect.Descriptor instead.
func (*KnowledgeDetailSelectReq) GetKnowledgeId ¶
func (x *KnowledgeDetailSelectReq) GetKnowledgeId() string
func (*KnowledgeDetailSelectReq) GetKnowledgeName ¶
func (x *KnowledgeDetailSelectReq) GetKnowledgeName() string
func (*KnowledgeDetailSelectReq) GetOrgId ¶
func (x *KnowledgeDetailSelectReq) GetOrgId() string
func (*KnowledgeDetailSelectReq) GetUserId ¶
func (x *KnowledgeDetailSelectReq) GetUserId() string
func (*KnowledgeDetailSelectReq) ProtoMessage ¶
func (*KnowledgeDetailSelectReq) ProtoMessage()
func (*KnowledgeDetailSelectReq) ProtoReflect ¶
func (x *KnowledgeDetailSelectReq) ProtoReflect() protoreflect.Message
func (*KnowledgeDetailSelectReq) Reset ¶
func (x *KnowledgeDetailSelectReq) Reset()
func (*KnowledgeDetailSelectReq) String ¶
func (x *KnowledgeDetailSelectReq) String() string
type KnowledgeGraph ¶ added in v0.2.7
type KnowledgeGraph struct {
Switch bool `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` //知识图谱开关
LlmModelId string `protobuf:"bytes,2,opt,name=llmModelId,proto3" json:"llmModelId,omitempty"` //大模型id
SchemaUrl string `protobuf:"bytes,3,opt,name=schemaUrl,proto3" json:"schemaUrl,omitempty"` //知识图谱schema文件地址
// contains filtered or unexported fields
}
func (*KnowledgeGraph) Descriptor
deprecated
added in
v0.2.7
func (*KnowledgeGraph) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeGraph.ProtoReflect.Descriptor instead.
func (*KnowledgeGraph) GetLlmModelId ¶ added in v0.2.7
func (x *KnowledgeGraph) GetLlmModelId() string
func (*KnowledgeGraph) GetSchemaUrl ¶ added in v0.2.7
func (x *KnowledgeGraph) GetSchemaUrl() string
func (*KnowledgeGraph) GetSwitch ¶ added in v0.2.7
func (x *KnowledgeGraph) GetSwitch() bool
func (*KnowledgeGraph) ProtoMessage ¶ added in v0.2.7
func (*KnowledgeGraph) ProtoMessage()
func (*KnowledgeGraph) ProtoReflect ¶ added in v0.2.7
func (x *KnowledgeGraph) ProtoReflect() protoreflect.Message
func (*KnowledgeGraph) Reset ¶ added in v0.2.7
func (x *KnowledgeGraph) Reset()
func (*KnowledgeGraph) String ¶ added in v0.2.7
func (x *KnowledgeGraph) String() string
type KnowledgeGraphReq ¶ added in v0.2.7
type KnowledgeGraphReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
KnowledgeId string `protobuf:"bytes,3,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeGraphReq) Descriptor
deprecated
added in
v0.2.7
func (*KnowledgeGraphReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeGraphReq.ProtoReflect.Descriptor instead.
func (*KnowledgeGraphReq) GetKnowledgeId ¶ added in v0.2.7
func (x *KnowledgeGraphReq) GetKnowledgeId() string
func (*KnowledgeGraphReq) GetOrgId ¶ added in v0.2.7
func (x *KnowledgeGraphReq) GetOrgId() string
func (*KnowledgeGraphReq) GetUserId ¶ added in v0.2.7
func (x *KnowledgeGraphReq) GetUserId() string
func (*KnowledgeGraphReq) ProtoMessage ¶ added in v0.2.7
func (*KnowledgeGraphReq) ProtoMessage()
func (*KnowledgeGraphReq) ProtoReflect ¶ added in v0.2.7
func (x *KnowledgeGraphReq) ProtoReflect() protoreflect.Message
func (*KnowledgeGraphReq) Reset ¶ added in v0.2.7
func (x *KnowledgeGraphReq) Reset()
func (*KnowledgeGraphReq) String ¶ added in v0.2.7
func (x *KnowledgeGraphReq) String() string
type KnowledgeGraphResp ¶ added in v0.2.7
type KnowledgeGraphResp struct {
ProcessingCount int32 `protobuf:"varint,1,opt,name=processingCount,proto3" json:"processingCount,omitempty"`
SuccessCount int32 `protobuf:"varint,2,opt,name=successCount,proto3" json:"successCount,omitempty"`
FailedCount int32 `protobuf:"varint,3,opt,name=failedCount,proto3" json:"failedCount,omitempty"`
Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
Schema string `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeGraphResp) Descriptor
deprecated
added in
v0.2.7
func (*KnowledgeGraphResp) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeGraphResp.ProtoReflect.Descriptor instead.
func (*KnowledgeGraphResp) GetFailedCount ¶ added in v0.2.7
func (x *KnowledgeGraphResp) GetFailedCount() int32
func (*KnowledgeGraphResp) GetProcessingCount ¶ added in v0.2.7
func (x *KnowledgeGraphResp) GetProcessingCount() int32
func (*KnowledgeGraphResp) GetSchema ¶ added in v0.2.7
func (x *KnowledgeGraphResp) GetSchema() string
func (*KnowledgeGraphResp) GetSuccessCount ¶ added in v0.2.7
func (x *KnowledgeGraphResp) GetSuccessCount() int32
func (*KnowledgeGraphResp) GetTotal ¶ added in v0.2.7
func (x *KnowledgeGraphResp) GetTotal() int32
func (*KnowledgeGraphResp) ProtoMessage ¶ added in v0.2.7
func (*KnowledgeGraphResp) ProtoMessage()
func (*KnowledgeGraphResp) ProtoReflect ¶ added in v0.2.7
func (x *KnowledgeGraphResp) ProtoReflect() protoreflect.Message
func (*KnowledgeGraphResp) Reset ¶ added in v0.2.7
func (x *KnowledgeGraphResp) Reset()
func (*KnowledgeGraphResp) String ¶ added in v0.2.7
func (x *KnowledgeGraphResp) String() string
type KnowledgeHitReq ¶ added in v0.1.3
type KnowledgeHitReq struct {
OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
Question string `protobuf:"bytes,3,opt,name=question,proto3" json:"question,omitempty"` //问题
KnowledgeList []*KnowledgeParams `protobuf:"bytes,4,rep,name=knowledgeList,proto3" json:"knowledgeList,omitempty"` //知识库参数列表
KnowledgeMatchParams *KnowledgeMatchParams `protobuf:"bytes,5,opt,name=knowledgeMatchParams,proto3" json:"knowledgeMatchParams,omitempty"` //模型匹配方式
// contains filtered or unexported fields
}
func (*KnowledgeHitReq) Descriptor
deprecated
added in
v0.1.3
func (*KnowledgeHitReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeHitReq.ProtoReflect.Descriptor instead.
func (*KnowledgeHitReq) GetKnowledgeList ¶ added in v0.2.2
func (x *KnowledgeHitReq) GetKnowledgeList() []*KnowledgeParams
func (*KnowledgeHitReq) GetKnowledgeMatchParams ¶ added in v0.1.5
func (x *KnowledgeHitReq) GetKnowledgeMatchParams() *KnowledgeMatchParams
func (*KnowledgeHitReq) GetOrgId ¶ added in v0.1.3
func (x *KnowledgeHitReq) GetOrgId() string
func (*KnowledgeHitReq) GetQuestion ¶ added in v0.1.3
func (x *KnowledgeHitReq) GetQuestion() string
func (*KnowledgeHitReq) GetUserId ¶ added in v0.1.3
func (x *KnowledgeHitReq) GetUserId() string
func (*KnowledgeHitReq) ProtoMessage ¶ added in v0.1.3
func (*KnowledgeHitReq) ProtoMessage()
func (*KnowledgeHitReq) ProtoReflect ¶ added in v0.1.3
func (x *KnowledgeHitReq) ProtoReflect() protoreflect.Message
func (*KnowledgeHitReq) Reset ¶ added in v0.1.3
func (x *KnowledgeHitReq) Reset()
func (*KnowledgeHitReq) String ¶ added in v0.1.3
func (x *KnowledgeHitReq) String() string
type KnowledgeHitResp ¶ added in v0.1.3
type KnowledgeHitResp struct {
Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
Score []float64 `protobuf:"fixed64,2,rep,packed,name=score,proto3" json:"score,omitempty"`
SearchList []*KnowledgeSearchInfo `protobuf:"bytes,3,rep,name=searchList,proto3" json:"searchList,omitempty"`
UseGraph bool `protobuf:"varint,4,opt,name=useGraph,proto3" json:"useGraph,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeHitResp) Descriptor
deprecated
added in
v0.1.3
func (*KnowledgeHitResp) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeHitResp.ProtoReflect.Descriptor instead.
func (*KnowledgeHitResp) GetPrompt ¶ added in v0.1.3
func (x *KnowledgeHitResp) GetPrompt() string
func (*KnowledgeHitResp) GetScore ¶ added in v0.1.3
func (x *KnowledgeHitResp) GetScore() []float64
func (*KnowledgeHitResp) GetSearchList ¶ added in v0.1.3
func (x *KnowledgeHitResp) GetSearchList() []*KnowledgeSearchInfo
func (*KnowledgeHitResp) GetUseGraph ¶ added in v0.2.7
func (x *KnowledgeHitResp) GetUseGraph() bool
func (*KnowledgeHitResp) ProtoMessage ¶ added in v0.1.3
func (*KnowledgeHitResp) ProtoMessage()
func (*KnowledgeHitResp) ProtoReflect ¶ added in v0.1.3
func (x *KnowledgeHitResp) ProtoReflect() protoreflect.Message
func (*KnowledgeHitResp) Reset ¶ added in v0.1.3
func (x *KnowledgeHitResp) Reset()
func (*KnowledgeHitResp) String ¶ added in v0.1.3
func (x *KnowledgeHitResp) String() string
type KnowledgeInfo ¶
type KnowledgeInfo struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"` //知识库id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //知识库名称
DocCount int32 `protobuf:"varint,3,opt,name=docCount,proto3" json:"docCount,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
EmbeddingModelInfo *EmbeddingModelInfo `protobuf:"bytes,5,opt,name=embeddingModelInfo,proto3" json:"embeddingModelInfo,omitempty"`
KnowledgeTagInfoList []*KnowledgeTagInfo `protobuf:"bytes,6,rep,name=knowledgeTagInfoList,proto3" json:"knowledgeTagInfoList,omitempty"`
CreatedAt string `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
PermissionType int32 `protobuf:"varint,8,opt,name=permissionType,proto3" json:"permissionType,omitempty"` // 权限类型:0: 查看权限; 10: 编辑权限; 20: 授权权限,数值不连续的原因防止后续有中间权限,目前逻辑 授权权限>编辑权限>查看权限
CreateUserId string `protobuf:"bytes,9,opt,name=createUserId,proto3" json:"createUserId,omitempty"` //创建者id
CreateOrgId string `protobuf:"bytes,10,opt,name=createOrgId,proto3" json:"createOrgId,omitempty"` //创建者组织id
RagName string `protobuf:"bytes,12,opt,name=ragName,proto3" json:"ragName,omitempty"` //传给rag的知识库名称
GraphSwitch int32 `protobuf:"varint,13,opt,name=graphSwitch,proto3" json:"graphSwitch,omitempty"` //知识图谱开关
// contains filtered or unexported fields
}
知识库信息
func (*KnowledgeInfo) Descriptor
deprecated
func (*KnowledgeInfo) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeInfo.ProtoReflect.Descriptor instead.
func (*KnowledgeInfo) GetCreateOrgId ¶ added in v0.2.5
func (x *KnowledgeInfo) GetCreateOrgId() string
func (*KnowledgeInfo) GetCreateUserId ¶ added in v0.2.5
func (x *KnowledgeInfo) GetCreateUserId() string
func (*KnowledgeInfo) GetCreatedAt ¶ added in v0.2.0
func (x *KnowledgeInfo) GetCreatedAt() string
func (*KnowledgeInfo) GetDescription ¶
func (x *KnowledgeInfo) GetDescription() string
func (*KnowledgeInfo) GetDocCount ¶
func (x *KnowledgeInfo) GetDocCount() int32
func (*KnowledgeInfo) GetEmbeddingModelInfo ¶
func (x *KnowledgeInfo) GetEmbeddingModelInfo() *EmbeddingModelInfo
func (*KnowledgeInfo) GetGraphSwitch ¶ added in v0.2.7
func (x *KnowledgeInfo) GetGraphSwitch() int32
func (*KnowledgeInfo) GetKnowledgeId ¶
func (x *KnowledgeInfo) GetKnowledgeId() string
func (*KnowledgeInfo) GetKnowledgeTagInfoList ¶ added in v0.1.3
func (x *KnowledgeInfo) GetKnowledgeTagInfoList() []*KnowledgeTagInfo
func (*KnowledgeInfo) GetName ¶
func (x *KnowledgeInfo) GetName() string
func (*KnowledgeInfo) GetPermissionType ¶ added in v0.2.5
func (x *KnowledgeInfo) GetPermissionType() int32
func (*KnowledgeInfo) GetRagName ¶ added in v0.2.5
func (x *KnowledgeInfo) GetRagName() string
func (*KnowledgeInfo) GetShareCount ¶ added in v0.2.5
func (x *KnowledgeInfo) GetShareCount() int32
func (*KnowledgeInfo) ProtoMessage ¶
func (*KnowledgeInfo) ProtoMessage()
func (*KnowledgeInfo) ProtoReflect ¶
func (x *KnowledgeInfo) ProtoReflect() protoreflect.Message
func (*KnowledgeInfo) Reset ¶
func (x *KnowledgeInfo) Reset()
func (*KnowledgeInfo) String ¶
func (x *KnowledgeInfo) String() string
type KnowledgeMatchParams ¶ added in v0.1.5
type KnowledgeMatchParams struct {
MatchType string `protobuf:"bytes,1,opt,name=matchType,proto3" json:"matchType,omitempty"` //matchType:vector(向量检索)、text(文本检索)、mix(混合检索:向量+文本)
RerankModelId string `protobuf:"bytes,2,opt,name=rerankModelId,proto3" json:"rerankModelId,omitempty"` //rerank模型id
PriorityMatch int32 `protobuf:"varint,3,opt,name=priorityMatch,proto3" json:"priorityMatch,omitempty"` // 权重匹配,只有在混合检索模式下,选择权重设置后,这个才设置为1
SemanticsPriority float32 `protobuf:"fixed32,4,opt,name=semanticsPriority,proto3" json:"semanticsPriority,omitempty"` // 语义权重
KeywordPriority float32 `protobuf:"fixed32,5,opt,name=keywordPriority,proto3" json:"keywordPriority,omitempty"` // 关键词权重
TopK int32 `protobuf:"varint,6,opt,name=topK,proto3" json:"topK,omitempty"` //topK 获取最高的几行
Score float32 `protobuf:"fixed32,7,opt,name=score,proto3" json:"score,omitempty"` //score 过滤分数阈值
TermWeight float32 `protobuf:"fixed32,8,opt,name=termWeight,proto3" json:"termWeight,omitempty"` // 关键词系数
TermWeightEnable bool `protobuf:"varint,9,opt,name=termWeightEnable,proto3" json:"termWeightEnable,omitempty"` // 关键词系数开关
UseGraph bool `protobuf:"varint,10,opt,name=useGraph,proto3" json:"useGraph,omitempty"` // 是否使用知识图谱
// contains filtered or unexported fields
}
func (*KnowledgeMatchParams) Descriptor
deprecated
added in
v0.1.5
func (*KnowledgeMatchParams) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeMatchParams.ProtoReflect.Descriptor instead.
func (*KnowledgeMatchParams) GetKeywordPriority ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetKeywordPriority() float32
func (*KnowledgeMatchParams) GetMatchType ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetMatchType() string
func (*KnowledgeMatchParams) GetPriorityMatch ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetPriorityMatch() int32
func (*KnowledgeMatchParams) GetRerankModelId ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetRerankModelId() string
func (*KnowledgeMatchParams) GetScore ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetScore() float32
func (*KnowledgeMatchParams) GetSemanticsPriority ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetSemanticsPriority() float32
func (*KnowledgeMatchParams) GetTermWeight ¶ added in v0.2.0
func (x *KnowledgeMatchParams) GetTermWeight() float32
func (*KnowledgeMatchParams) GetTermWeightEnable ¶ added in v0.2.0
func (x *KnowledgeMatchParams) GetTermWeightEnable() bool
func (*KnowledgeMatchParams) GetTopK ¶ added in v0.1.5
func (x *KnowledgeMatchParams) GetTopK() int32
func (*KnowledgeMatchParams) GetUseGraph ¶ added in v0.2.7
func (x *KnowledgeMatchParams) GetUseGraph() bool
func (*KnowledgeMatchParams) ProtoMessage ¶ added in v0.1.5
func (*KnowledgeMatchParams) ProtoMessage()
func (*KnowledgeMatchParams) ProtoReflect ¶ added in v0.1.5
func (x *KnowledgeMatchParams) ProtoReflect() protoreflect.Message
func (*KnowledgeMatchParams) Reset ¶ added in v0.1.5
func (x *KnowledgeMatchParams) Reset()
func (*KnowledgeMatchParams) String ¶ added in v0.1.5
func (x *KnowledgeMatchParams) String() string
type KnowledgeMetaData ¶ added in v0.2.2
type KnowledgeMetaData struct {
MetaId string `protobuf:"bytes,1,opt,name=metaId,proto3" json:"metaId,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // key
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // type(time, string, number)
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeMetaData) Descriptor
deprecated
added in
v0.2.2
func (*KnowledgeMetaData) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeMetaData.ProtoReflect.Descriptor instead.
func (*KnowledgeMetaData) GetKey ¶ added in v0.2.2
func (x *KnowledgeMetaData) GetKey() string
func (*KnowledgeMetaData) GetMetaId ¶ added in v0.2.3
func (x *KnowledgeMetaData) GetMetaId() string
func (*KnowledgeMetaData) GetType ¶ added in v0.2.2
func (x *KnowledgeMetaData) GetType() string
func (*KnowledgeMetaData) GetValue ¶ added in v0.2.4
func (x *KnowledgeMetaData) GetValue() string
func (*KnowledgeMetaData) ProtoMessage ¶ added in v0.2.2
func (*KnowledgeMetaData) ProtoMessage()
func (*KnowledgeMetaData) ProtoReflect ¶ added in v0.2.2
func (x *KnowledgeMetaData) ProtoReflect() protoreflect.Message
func (*KnowledgeMetaData) Reset ¶ added in v0.2.2
func (x *KnowledgeMetaData) Reset()
func (*KnowledgeMetaData) String ¶ added in v0.2.2
func (x *KnowledgeMetaData) String() string
type KnowledgeMetaValueListReq ¶ added in v0.2.4
type KnowledgeMetaValueListReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
DocIdList []string `protobuf:"bytes,3,rep,name=docIdList,proto3" json:"docIdList,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeMetaValueListReq) Descriptor
deprecated
added in
v0.2.4
func (*KnowledgeMetaValueListReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeMetaValueListReq.ProtoReflect.Descriptor instead.
func (*KnowledgeMetaValueListReq) GetDocIdList ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) GetDocIdList() []string
func (*KnowledgeMetaValueListReq) GetOrgId ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) GetOrgId() string
func (*KnowledgeMetaValueListReq) GetUserId ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) GetUserId() string
func (*KnowledgeMetaValueListReq) ProtoMessage ¶ added in v0.2.4
func (*KnowledgeMetaValueListReq) ProtoMessage()
func (*KnowledgeMetaValueListReq) ProtoReflect ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) ProtoReflect() protoreflect.Message
func (*KnowledgeMetaValueListReq) Reset ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) Reset()
func (*KnowledgeMetaValueListReq) String ¶ added in v0.2.4
func (x *KnowledgeMetaValueListReq) String() string
type KnowledgeMetaValueListResp ¶ added in v0.2.4
type KnowledgeMetaValueListResp struct {
MetaList []*KnowledgeMetaValues `protobuf:"bytes,1,rep,name=metaList,proto3" json:"metaList,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeMetaValueListResp) Descriptor
deprecated
added in
v0.2.4
func (*KnowledgeMetaValueListResp) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeMetaValueListResp.ProtoReflect.Descriptor instead.
func (*KnowledgeMetaValueListResp) GetMetaList ¶ added in v0.2.4
func (x *KnowledgeMetaValueListResp) GetMetaList() []*KnowledgeMetaValues
func (*KnowledgeMetaValueListResp) ProtoMessage ¶ added in v0.2.4
func (*KnowledgeMetaValueListResp) ProtoMessage()
func (*KnowledgeMetaValueListResp) ProtoReflect ¶ added in v0.2.4
func (x *KnowledgeMetaValueListResp) ProtoReflect() protoreflect.Message
func (*KnowledgeMetaValueListResp) Reset ¶ added in v0.2.4
func (x *KnowledgeMetaValueListResp) Reset()
func (*KnowledgeMetaValueListResp) String ¶ added in v0.2.4
func (x *KnowledgeMetaValueListResp) String() string
type KnowledgeMetaValues ¶ added in v0.2.4
type KnowledgeMetaValues struct {
MetaId string `protobuf:"bytes,1,opt,name=metaId,proto3" json:"metaId,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // key
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // type(time, string, number)
ValueList []string `protobuf:"bytes,4,rep,name=valueList,proto3" json:"valueList,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeMetaValues) Descriptor
deprecated
added in
v0.2.4
func (*KnowledgeMetaValues) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeMetaValues.ProtoReflect.Descriptor instead.
func (*KnowledgeMetaValues) GetKey ¶ added in v0.2.4
func (x *KnowledgeMetaValues) GetKey() string
func (*KnowledgeMetaValues) GetMetaId ¶ added in v0.2.4
func (x *KnowledgeMetaValues) GetMetaId() string
func (*KnowledgeMetaValues) GetType ¶ added in v0.2.4
func (x *KnowledgeMetaValues) GetType() string
func (*KnowledgeMetaValues) GetValueList ¶ added in v0.2.4
func (x *KnowledgeMetaValues) GetValueList() []string
func (*KnowledgeMetaValues) ProtoMessage ¶ added in v0.2.4
func (*KnowledgeMetaValues) ProtoMessage()
func (*KnowledgeMetaValues) ProtoReflect ¶ added in v0.2.4
func (x *KnowledgeMetaValues) ProtoReflect() protoreflect.Message
func (*KnowledgeMetaValues) Reset ¶ added in v0.2.4
func (x *KnowledgeMetaValues) Reset()
func (*KnowledgeMetaValues) String ¶ added in v0.2.4
func (x *KnowledgeMetaValues) String() string
type KnowledgeParams ¶ added in v0.2.2
type KnowledgeParams struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"` // 知识库id
MetaDataFilterParams *MetaDataFilterParams `protobuf:"bytes,2,opt,name=metaDataFilterParams,proto3" json:"metaDataFilterParams,omitempty"` // 元数据过滤参数
// contains filtered or unexported fields
}
func (*KnowledgeParams) Descriptor
deprecated
added in
v0.2.2
func (*KnowledgeParams) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeParams.ProtoReflect.Descriptor instead.
func (*KnowledgeParams) GetKnowledgeId ¶ added in v0.2.2
func (x *KnowledgeParams) GetKnowledgeId() string
func (*KnowledgeParams) GetMetaDataFilterParams ¶ added in v0.2.2
func (x *KnowledgeParams) GetMetaDataFilterParams() *MetaDataFilterParams
func (*KnowledgeParams) ProtoMessage ¶ added in v0.2.2
func (*KnowledgeParams) ProtoMessage()
func (*KnowledgeParams) ProtoReflect ¶ added in v0.2.2
func (x *KnowledgeParams) ProtoReflect() protoreflect.Message
func (*KnowledgeParams) Reset ¶ added in v0.2.2
func (x *KnowledgeParams) Reset()
func (*KnowledgeParams) String ¶ added in v0.2.2
func (x *KnowledgeParams) String() string
type KnowledgeSearchInfo ¶ added in v0.1.3
type KnowledgeSearchInfo struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"`
KnowledgeName string `protobuf:"bytes,3,opt,name=knowledgeName,proto3" json:"knowledgeName,omitempty"`
ChildContentList []*ChildContent `protobuf:"bytes,4,rep,name=childContentList,proto3" json:"childContentList,omitempty"`
ChildScore []float32 `protobuf:"fixed32,5,rep,packed,name=childScore,proto3" json:"childScore,omitempty"`
ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType,omitempty"` // graph:知识图谱(文本), text:文档分段(文本), community_report:社区报告(markdown)
// contains filtered or unexported fields
}
func (*KnowledgeSearchInfo) Descriptor
deprecated
added in
v0.1.3
func (*KnowledgeSearchInfo) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeSearchInfo.ProtoReflect.Descriptor instead.
func (*KnowledgeSearchInfo) GetChildContentList ¶ added in v0.2.3
func (x *KnowledgeSearchInfo) GetChildContentList() []*ChildContent
func (*KnowledgeSearchInfo) GetChildScore ¶ added in v0.2.3
func (x *KnowledgeSearchInfo) GetChildScore() []float32
func (*KnowledgeSearchInfo) GetContentType ¶ added in v0.2.7
func (x *KnowledgeSearchInfo) GetContentType() string
func (*KnowledgeSearchInfo) GetKnowledgeName ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) GetKnowledgeName() string
func (*KnowledgeSearchInfo) GetSnippet ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) GetSnippet() string
func (*KnowledgeSearchInfo) GetTitle ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) GetTitle() string
func (*KnowledgeSearchInfo) ProtoMessage ¶ added in v0.1.3
func (*KnowledgeSearchInfo) ProtoMessage()
func (*KnowledgeSearchInfo) ProtoReflect ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) ProtoReflect() protoreflect.Message
func (*KnowledgeSearchInfo) Reset ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) Reset()
func (*KnowledgeSearchInfo) String ¶ added in v0.1.3
func (x *KnowledgeSearchInfo) String() string
type KnowledgeSelectListResp ¶
type KnowledgeSelectListResp struct {
KnowledgeList []*KnowledgeInfo `protobuf:"bytes,1,rep,name=knowledgeList,proto3" json:"knowledgeList,omitempty"` //知识库列表
// contains filtered or unexported fields
}
func (*KnowledgeSelectListResp) Descriptor
deprecated
func (*KnowledgeSelectListResp) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeSelectListResp.ProtoReflect.Descriptor instead.
func (*KnowledgeSelectListResp) GetKnowledgeList ¶
func (x *KnowledgeSelectListResp) GetKnowledgeList() []*KnowledgeInfo
func (*KnowledgeSelectListResp) ProtoMessage ¶
func (*KnowledgeSelectListResp) ProtoMessage()
func (*KnowledgeSelectListResp) ProtoReflect ¶
func (x *KnowledgeSelectListResp) ProtoReflect() protoreflect.Message
func (*KnowledgeSelectListResp) Reset ¶
func (x *KnowledgeSelectListResp) Reset()
func (*KnowledgeSelectListResp) String ¶
func (x *KnowledgeSelectListResp) String() string
type KnowledgeSelectReq ¶
type KnowledgeSelectReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` //知识库名称,支持模糊搜索
TagIdList []string `protobuf:"bytes,4,rep,name=tagIdList,proto3" json:"tagIdList,omitempty"` //知识库id 列表
// contains filtered or unexported fields
}
func (*KnowledgeSelectReq) Descriptor
deprecated
func (*KnowledgeSelectReq) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeSelectReq.ProtoReflect.Descriptor instead.
func (*KnowledgeSelectReq) GetName ¶
func (x *KnowledgeSelectReq) GetName() string
func (*KnowledgeSelectReq) GetOrgId ¶
func (x *KnowledgeSelectReq) GetOrgId() string
func (*KnowledgeSelectReq) GetTagIdList ¶ added in v0.1.3
func (x *KnowledgeSelectReq) GetTagIdList() []string
func (*KnowledgeSelectReq) GetUserId ¶
func (x *KnowledgeSelectReq) GetUserId() string
func (*KnowledgeSelectReq) ProtoMessage ¶
func (*KnowledgeSelectReq) ProtoMessage()
func (*KnowledgeSelectReq) ProtoReflect ¶
func (x *KnowledgeSelectReq) ProtoReflect() protoreflect.Message
func (*KnowledgeSelectReq) Reset ¶
func (x *KnowledgeSelectReq) Reset()
func (*KnowledgeSelectReq) String ¶
func (x *KnowledgeSelectReq) String() string
type KnowledgeTagInfo ¶ added in v0.1.3
type KnowledgeTagInfo struct {
TagId string `protobuf:"bytes,1,opt,name=tagId,proto3" json:"tagId,omitempty"` //知识库标签id
TagName string `protobuf:"bytes,2,opt,name=tagName,proto3" json:"tagName,omitempty"` //知识库标签名称
// contains filtered or unexported fields
}
func (*KnowledgeTagInfo) Descriptor
deprecated
added in
v0.1.3
func (*KnowledgeTagInfo) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeTagInfo.ProtoReflect.Descriptor instead.
func (*KnowledgeTagInfo) GetTagId ¶ added in v0.1.3
func (x *KnowledgeTagInfo) GetTagId() string
func (*KnowledgeTagInfo) GetTagName ¶ added in v0.1.3
func (x *KnowledgeTagInfo) GetTagName() string
func (*KnowledgeTagInfo) ProtoMessage ¶ added in v0.1.3
func (*KnowledgeTagInfo) ProtoMessage()
func (*KnowledgeTagInfo) ProtoReflect ¶ added in v0.1.3
func (x *KnowledgeTagInfo) ProtoReflect() protoreflect.Message
func (*KnowledgeTagInfo) Reset ¶ added in v0.1.3
func (x *KnowledgeTagInfo) Reset()
func (*KnowledgeTagInfo) String ¶ added in v0.1.3
func (x *KnowledgeTagInfo) String() string
type MetaDataFilterParams ¶ added in v0.2.2
type MetaDataFilterParams struct {
FilterEnable bool `protobuf:"varint,1,opt,name=filterEnable,proto3" json:"filterEnable,omitempty"` // 元数据过滤开关
FilterLogicType string `protobuf:"bytes,2,opt,name=filterLogicType,proto3" json:"filterLogicType,omitempty"` // 元数据过滤逻辑类型
MetaFilterParams []*MetaFilterParams `protobuf:"bytes,3,rep,name=metaFilterParams,proto3" json:"metaFilterParams,omitempty"` // 元数据过滤参数
// contains filtered or unexported fields
}
func (*MetaDataFilterParams) Descriptor
deprecated
added in
v0.2.2
func (*MetaDataFilterParams) Descriptor() ([]byte, []int)
Deprecated: Use MetaDataFilterParams.ProtoReflect.Descriptor instead.
func (*MetaDataFilterParams) GetFilterEnable ¶ added in v0.2.2
func (x *MetaDataFilterParams) GetFilterEnable() bool
func (*MetaDataFilterParams) GetFilterLogicType ¶ added in v0.2.2
func (x *MetaDataFilterParams) GetFilterLogicType() string
func (*MetaDataFilterParams) GetMetaFilterParams ¶ added in v0.2.2
func (x *MetaDataFilterParams) GetMetaFilterParams() []*MetaFilterParams
func (*MetaDataFilterParams) ProtoMessage ¶ added in v0.2.2
func (*MetaDataFilterParams) ProtoMessage()
func (*MetaDataFilterParams) ProtoReflect ¶ added in v0.2.2
func (x *MetaDataFilterParams) ProtoReflect() protoreflect.Message
func (*MetaDataFilterParams) Reset ¶ added in v0.2.2
func (x *MetaDataFilterParams) Reset()
func (*MetaDataFilterParams) String ¶ added in v0.2.2
func (x *MetaDataFilterParams) String() string
type MetaFilterParams ¶ added in v0.2.2
type MetaFilterParams struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // 元数据key
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // 元数据类型
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // 元数据值
Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` // 元数据过滤条件
// contains filtered or unexported fields
}
func (*MetaFilterParams) Descriptor
deprecated
added in
v0.2.2
func (*MetaFilterParams) Descriptor() ([]byte, []int)
Deprecated: Use MetaFilterParams.ProtoReflect.Descriptor instead.
func (*MetaFilterParams) GetCondition ¶ added in v0.2.2
func (x *MetaFilterParams) GetCondition() string
func (*MetaFilterParams) GetKey ¶ added in v0.2.2
func (x *MetaFilterParams) GetKey() string
func (*MetaFilterParams) GetType ¶ added in v0.2.2
func (x *MetaFilterParams) GetType() string
func (*MetaFilterParams) GetValue ¶ added in v0.2.2
func (x *MetaFilterParams) GetValue() string
func (*MetaFilterParams) ProtoMessage ¶ added in v0.2.2
func (*MetaFilterParams) ProtoMessage()
func (*MetaFilterParams) ProtoReflect ¶ added in v0.2.2
func (x *MetaFilterParams) ProtoReflect() protoreflect.Message
func (*MetaFilterParams) Reset ¶ added in v0.2.2
func (x *MetaFilterParams) Reset()
func (*MetaFilterParams) String ¶ added in v0.2.2
func (x *MetaFilterParams) String() string
type MetaValueOperation ¶ added in v0.2.4
type MetaValueOperation struct {
MetaInfo *KnowledgeMetaData `protobuf:"bytes,1,opt,name=metaInfo,proto3" json:"metaInfo,omitempty"`
Option string `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"` // add, delete, update
// contains filtered or unexported fields
}
func (*MetaValueOperation) Descriptor
deprecated
added in
v0.2.4
func (*MetaValueOperation) Descriptor() ([]byte, []int)
Deprecated: Use MetaValueOperation.ProtoReflect.Descriptor instead.
func (*MetaValueOperation) GetMetaInfo ¶ added in v0.2.4
func (x *MetaValueOperation) GetMetaInfo() *KnowledgeMetaData
func (*MetaValueOperation) GetOption ¶ added in v0.2.4
func (x *MetaValueOperation) GetOption() string
func (*MetaValueOperation) ProtoMessage ¶ added in v0.2.4
func (*MetaValueOperation) ProtoMessage()
func (*MetaValueOperation) ProtoReflect ¶ added in v0.2.4
func (x *MetaValueOperation) ProtoReflect() protoreflect.Message
func (*MetaValueOperation) Reset ¶ added in v0.2.4
func (x *MetaValueOperation) Reset()
func (*MetaValueOperation) String ¶ added in v0.2.4
func (x *MetaValueOperation) String() string
type SelectKnowledgeMetaReq ¶ added in v0.2.2
type SelectKnowledgeMetaReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
KnowledgeId string `protobuf:"bytes,3,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
// contains filtered or unexported fields
}
func (*SelectKnowledgeMetaReq) Descriptor
deprecated
added in
v0.2.2
func (*SelectKnowledgeMetaReq) Descriptor() ([]byte, []int)
Deprecated: Use SelectKnowledgeMetaReq.ProtoReflect.Descriptor instead.
func (*SelectKnowledgeMetaReq) GetKnowledgeId ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) GetKnowledgeId() string
func (*SelectKnowledgeMetaReq) GetOrgId ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) GetOrgId() string
func (*SelectKnowledgeMetaReq) GetUserId ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) GetUserId() string
func (*SelectKnowledgeMetaReq) ProtoMessage ¶ added in v0.2.2
func (*SelectKnowledgeMetaReq) ProtoMessage()
func (*SelectKnowledgeMetaReq) ProtoReflect ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) ProtoReflect() protoreflect.Message
func (*SelectKnowledgeMetaReq) Reset ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) Reset()
func (*SelectKnowledgeMetaReq) String ¶ added in v0.2.2
func (x *SelectKnowledgeMetaReq) String() string
type SelectKnowledgeMetaResp ¶ added in v0.2.2
type SelectKnowledgeMetaResp struct {
MetaList []*KnowledgeMetaData `protobuf:"bytes,1,rep,name=metaList,proto3" json:"metaList,omitempty"`
// contains filtered or unexported fields
}
func (*SelectKnowledgeMetaResp) Descriptor
deprecated
added in
v0.2.2
func (*SelectKnowledgeMetaResp) Descriptor() ([]byte, []int)
Deprecated: Use SelectKnowledgeMetaResp.ProtoReflect.Descriptor instead.
func (*SelectKnowledgeMetaResp) GetMetaList ¶ added in v0.2.2
func (x *SelectKnowledgeMetaResp) GetMetaList() []*KnowledgeMetaData
func (*SelectKnowledgeMetaResp) ProtoMessage ¶ added in v0.2.2
func (*SelectKnowledgeMetaResp) ProtoMessage()
func (*SelectKnowledgeMetaResp) ProtoReflect ¶ added in v0.2.2
func (x *SelectKnowledgeMetaResp) ProtoReflect() protoreflect.Message
func (*SelectKnowledgeMetaResp) Reset ¶ added in v0.2.2
func (x *SelectKnowledgeMetaResp) Reset()
func (*SelectKnowledgeMetaResp) String ¶ added in v0.2.2
func (x *SelectKnowledgeMetaResp) String() string
type UnimplementedKnowledgeBaseServiceServer ¶
type UnimplementedKnowledgeBaseServiceServer struct{}
UnimplementedKnowledgeBaseServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKnowledgeBaseServiceServer) CreateKnowledge ¶
func (UnimplementedKnowledgeBaseServiceServer) CreateKnowledge(context.Context, *CreateKnowledgeReq) (*CreateKnowledgeResp, error)
func (UnimplementedKnowledgeBaseServiceServer) DeleteKnowledge ¶
func (UnimplementedKnowledgeBaseServiceServer) DeleteKnowledge(context.Context, *DeleteKnowledgeReq) (*emptypb.Empty, error)
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeGraph ¶ added in v0.2.7
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeGraph(context.Context, *KnowledgeGraphReq) (*KnowledgeGraphResp, error)
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaSelect ¶ added in v0.2.2
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaSelect(context.Context, *SelectKnowledgeMetaReq) (*SelectKnowledgeMetaResp, error)
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaValueList ¶ added in v0.2.4
func (UnimplementedKnowledgeBaseServiceServer) GetKnowledgeMetaValueList(context.Context, *KnowledgeMetaValueListReq) (*KnowledgeMetaValueListResp, error)
func (UnimplementedKnowledgeBaseServiceServer) KnowledgeHit ¶ added in v0.1.3
func (UnimplementedKnowledgeBaseServiceServer) KnowledgeHit(context.Context, *KnowledgeHitReq) (*KnowledgeHitResp, error)
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailById ¶
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailById(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByIdList ¶ added in v0.1.6
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByIdList(context.Context, *KnowledgeDetailSelectListReq) (*KnowledgeDetailSelectListResp, error)
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByName ¶
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeDetailByName(context.Context, *KnowledgeDetailSelectReq) (*KnowledgeInfo, error)
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeList ¶
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeList(context.Context, *KnowledgeSelectReq) (*KnowledgeSelectListResp, error)
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeListByIdList ¶ added in v0.2.5
func (UnimplementedKnowledgeBaseServiceServer) SelectKnowledgeListByIdList(context.Context, *BatchKnowledgeSelectReq) (*KnowledgeSelectListResp, error)
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledge ¶
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledge(context.Context, *UpdateKnowledgeReq) (*emptypb.Empty, error)
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeMetaValue ¶ added in v0.2.4
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeMetaValue(context.Context, *UpdateKnowledgeMetaValueReq) (*emptypb.Empty, error)
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeStatus ¶ added in v0.2.7
func (UnimplementedKnowledgeBaseServiceServer) UpdateKnowledgeStatus(context.Context, *UpdateKnowledgeStatusReq) (*emptypb.Empty, error)
type UnsafeKnowledgeBaseServiceServer ¶
type UnsafeKnowledgeBaseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKnowledgeBaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KnowledgeBaseServiceServer will result in compilation errors.
type UpdateKnowledgeMetaValueReq ¶ added in v0.2.4
type UpdateKnowledgeMetaValueReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
ApplyToSelected bool `protobuf:"varint,3,opt,name=applyToSelected,proto3" json:"applyToSelected,omitempty"`
DocIdList []string `protobuf:"bytes,4,rep,name=docIdList,proto3" json:"docIdList,omitempty"`
MetaList []*MetaValueOperation `protobuf:"bytes,5,rep,name=metaList,proto3" json:"metaList,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateKnowledgeMetaValueReq) Descriptor
deprecated
added in
v0.2.4
func (*UpdateKnowledgeMetaValueReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKnowledgeMetaValueReq.ProtoReflect.Descriptor instead.
func (*UpdateKnowledgeMetaValueReq) GetApplyToSelected ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) GetApplyToSelected() bool
func (*UpdateKnowledgeMetaValueReq) GetDocIdList ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) GetDocIdList() []string
func (*UpdateKnowledgeMetaValueReq) GetMetaList ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) GetMetaList() []*MetaValueOperation
func (*UpdateKnowledgeMetaValueReq) GetOrgId ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) GetOrgId() string
func (*UpdateKnowledgeMetaValueReq) GetUserId ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) GetUserId() string
func (*UpdateKnowledgeMetaValueReq) ProtoMessage ¶ added in v0.2.4
func (*UpdateKnowledgeMetaValueReq) ProtoMessage()
func (*UpdateKnowledgeMetaValueReq) ProtoReflect ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) ProtoReflect() protoreflect.Message
func (*UpdateKnowledgeMetaValueReq) Reset ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) Reset()
func (*UpdateKnowledgeMetaValueReq) String ¶ added in v0.2.4
func (x *UpdateKnowledgeMetaValueReq) String() string
type UpdateKnowledgeReq ¶
type UpdateKnowledgeReq struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,5,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateKnowledgeReq) Descriptor
deprecated
func (*UpdateKnowledgeReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKnowledgeReq.ProtoReflect.Descriptor instead.
func (*UpdateKnowledgeReq) GetDescription ¶
func (x *UpdateKnowledgeReq) GetDescription() string
func (*UpdateKnowledgeReq) GetKnowledgeId ¶
func (x *UpdateKnowledgeReq) GetKnowledgeId() string
func (*UpdateKnowledgeReq) GetName ¶
func (x *UpdateKnowledgeReq) GetName() string
func (*UpdateKnowledgeReq) GetOrgId ¶
func (x *UpdateKnowledgeReq) GetOrgId() string
func (*UpdateKnowledgeReq) GetUserId ¶
func (x *UpdateKnowledgeReq) GetUserId() string
func (*UpdateKnowledgeReq) ProtoMessage ¶
func (*UpdateKnowledgeReq) ProtoMessage()
func (*UpdateKnowledgeReq) ProtoReflect ¶
func (x *UpdateKnowledgeReq) ProtoReflect() protoreflect.Message
func (*UpdateKnowledgeReq) Reset ¶
func (x *UpdateKnowledgeReq) Reset()
func (*UpdateKnowledgeReq) String ¶
func (x *UpdateKnowledgeReq) String() string
type UpdateKnowledgeStatusReq ¶ added in v0.2.7
type UpdateKnowledgeStatusReq struct {
KnowledgeId string `protobuf:"bytes,1,opt,name=knowledgeId,proto3" json:"knowledgeId,omitempty"`
ReportStatus int32 `protobuf:"varint,2,opt,name=reportStatus,proto3" json:"reportStatus,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateKnowledgeStatusReq) Descriptor
deprecated
added in
v0.2.7
func (*UpdateKnowledgeStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKnowledgeStatusReq.ProtoReflect.Descriptor instead.
func (*UpdateKnowledgeStatusReq) GetKnowledgeId ¶ added in v0.2.7
func (x *UpdateKnowledgeStatusReq) GetKnowledgeId() string
func (*UpdateKnowledgeStatusReq) GetReportStatus ¶ added in v0.2.7
func (x *UpdateKnowledgeStatusReq) GetReportStatus() int32
func (*UpdateKnowledgeStatusReq) ProtoMessage ¶ added in v0.2.7
func (*UpdateKnowledgeStatusReq) ProtoMessage()
func (*UpdateKnowledgeStatusReq) ProtoReflect ¶ added in v0.2.7
func (x *UpdateKnowledgeStatusReq) ProtoReflect() protoreflect.Message
func (*UpdateKnowledgeStatusReq) Reset ¶ added in v0.2.7
func (x *UpdateKnowledgeStatusReq) Reset()
func (*UpdateKnowledgeStatusReq) String ¶ added in v0.2.7
func (x *UpdateKnowledgeStatusReq) String() string