mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
External knowledge api
This commit is contained in:
@ -17,6 +17,8 @@ class Document(BaseModel):
|
||||
"""
|
||||
metadata: Optional[dict] = Field(default_factory=dict)
|
||||
|
||||
provider: Optional[str] = 'dify'
|
||||
|
||||
|
||||
class BaseDocumentTransformer(ABC):
|
||||
"""Abstract base class for document transformation systems.
|
||||
|
||||
Reference in New Issue
Block a user