mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 03:50:04 +00:00
reorg content graph
This commit is contained in:
parent
3f997aa22c
commit
669891617b
4 changed files with 281 additions and 0 deletions
13
open_notebook/graphs/content_processing/state.py
Normal file
13
open_notebook/graphs/content_processing/state.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue