fix segment enable service api (#10445)
This commit is contained in:
parent
919275cc58
commit
888d7e6422
2 changed files with 24 additions and 25 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue