mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 10:01:31 -05:00
fix segment enable service api (#10445)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class SegmentUpdateEntity(BaseModel):
|
||||
content: str
|
||||
answer: Optional[str] = None
|
||||
keywords: Optional[list[str]] = None
|
||||
enabled: Optional[bool] = None
|
||||
Reference in New Issue
Block a user