feat: implement batch move and delete functionality for documents and FAQs
This commit is contained in:
@@ -55,6 +55,16 @@ type UpdateKnowledgeDocumentRequest struct {
|
||||
CreateKnowledgeDocumentRequest
|
||||
}
|
||||
|
||||
type BatchMoveKnowledgeDocumentRequest struct {
|
||||
KnowledgeBaseID int64 `json:"knowledgeBaseId"`
|
||||
DirectoryID int64 `json:"directoryId"`
|
||||
IDs []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type BatchDeleteKnowledgeDocumentRequest struct {
|
||||
IDs []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type CreateKnowledgeFAQRequest struct {
|
||||
KnowledgeBaseID int64 `json:"knowledgeBaseId"`
|
||||
DirectoryID int64 `json:"directoryId"`
|
||||
@@ -69,6 +79,16 @@ type UpdateKnowledgeFAQRequest struct {
|
||||
CreateKnowledgeFAQRequest
|
||||
}
|
||||
|
||||
type BatchMoveKnowledgeFAQRequest struct {
|
||||
KnowledgeBaseID int64 `json:"knowledgeBaseId"`
|
||||
DirectoryID int64 `json:"directoryId"`
|
||||
IDs []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type BatchDeleteKnowledgeFAQRequest struct {
|
||||
IDs []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type KnowledgeFAQImportMode string
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user