mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-19 04:12:03 +03:00
13 lines
237 B
Python
13 lines
237 B
Python
|
from typing import Optional
|
||
|
from uuid import UUID
|
||
|
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class Knowledge(BaseModel):
|
||
|
id: UUID
|
||
|
brain_id: UUID
|
||
|
file_name: Optional[str] = None
|
||
|
url: Optional[str] = None
|
||
|
extension: str = "txt"
|