mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-27 13:22:44 +03:00
9766befb53
# Description - Refactor knowledge to a module - This PR breaks the Github Processor function -> need to comment brain and file imports as it creates a circular dependency issue. Should be fixed and reverted in next PR.
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"
|