mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 23:58:15 +08:00
11 lines
226 B
Python
11 lines
226 B
Python
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
|