open-notebook/open_notebook/graphs/content_processing/state.py
2024-11-10 13:30:03 -03:00

13 lines
263 B
Python

from typing_extensions import TypedDict
class ContentState(TypedDict):
content: str
file_path: str
url: str
title: str
source_type: str
identified_type: str
identified_provider: str
metadata: dict
delete_source: bool = False