.gitignore
This commit is contained in:
@@ -9,16 +9,3 @@ const (
|
|||||||
TaskPriorityHigh TaskPriority = "high" // 高优先级
|
TaskPriorityHigh TaskPriority = "high" // 高优先级
|
||||||
TaskPriorityUrgent TaskPriority = "urgent" // 紧急
|
TaskPriorityUrgent TaskPriority = "urgent" // 紧急
|
||||||
)
|
)
|
||||||
|
|
||||||
// TaskType 任务类型
|
|
||||||
type TaskType string
|
|
||||||
|
|
||||||
const (
|
|
||||||
TaskTypeDocumentIngestion TaskType = "document_ingestion" // 文档摄入任务
|
|
||||||
TaskTypeVectorIngestion TaskType = "vector_ingestion" // 向量摄入任务
|
|
||||||
TaskTypeIndexCreation TaskType = "index_creation" // 索引创建任务
|
|
||||||
TaskTypeQAProcessing TaskType = "qa_processing" // 问答处理任务
|
|
||||||
TaskTypeKnowledgeConstruction TaskType = "knowledge_construction" // 知识库构建任务
|
|
||||||
TaskTypeGraphBuilding TaskType = "graph_building" // 图谱构建任务
|
|
||||||
TaskTypeKnowledgeSync TaskType = "knowledge_sync" // 知识同步任务
|
|
||||||
)
|
|
||||||
|
|||||||
14
rag/enio/task_type.go
Normal file
14
rag/enio/task_type.go
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
package enio
|
||||||
|
|
||||||
|
// TaskType 任务类型
|
||||||
|
type TaskType string
|
||||||
|
|
||||||
|
const (
|
||||||
|
TaskTypeDocumentIngestion TaskType = "document_ingestion" // 文档摄入任务
|
||||||
|
TaskTypeVectorIngestion TaskType = "vector_ingestion" // 向量摄入任务
|
||||||
|
TaskTypeIndexCreation TaskType = "index_creation" // 索引创建任务
|
||||||
|
TaskTypeQAProcessing TaskType = "qa_processing" // 问答处理任务
|
||||||
|
TaskTypeKnowledgeConstruction TaskType = "knowledge_construction" // 知识库构建任务
|
||||||
|
TaskTypeGraphBuilding TaskType = "graph_building" // 图谱构建任务
|
||||||
|
TaskTypeKnowledgeSync TaskType = "knowledge_sync" // 知识同步任务
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user