7 lines
175 B
Python
7 lines
175 B
Python
from pydantic import BaseModel
|
|
from typing import Optional
|
|
class KnowledgeAddRequest(BaseModel):
|
|
text: str
|
|
is_active: Optional[bool] = True
|
|
knowledge_base_id: str
|