mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-18 20:01:52 +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"
|