open-notebook/open_notebook/graphs/content_processing/state.py
2024-10-28 16:31:22 -03:00

13 lines
262 B
Python

from typing_extensions import TypedDict
class SourceState(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