rag snippet生成入库和写rag
This commit is contained in:
@ -247,6 +247,16 @@ class TableSnippetUpsertRequest(BaseModel):
|
||||
ge=0,
|
||||
description="Version timestamp aligned with the pipeline (yyyyMMddHHmmss as integer).",
|
||||
)
|
||||
rag_workspace_id: Optional[int] = Field(
|
||||
None,
|
||||
ge=0,
|
||||
description="Optional workspace identifier for RAG ingestion; when provided and action_type=snippet_alias "
|
||||
"with status=success, merged snippets will be written to rag_snippet and pushed to RAG.",
|
||||
)
|
||||
rag_item_type: Optional[str] = Field(
|
||||
"SNIPPET",
|
||||
description="Optional RAG item type used when pushing snippets to RAG. Defaults to 'SNIPPET'.",
|
||||
)
|
||||
action_type: ActionType = Field(..., description="Pipeline action type for this record.")
|
||||
status: ActionStatus = Field(
|
||||
ActionStatus.SUCCESS, description="Execution status for the action."
|
||||
|
||||
Reference in New Issue
Block a user