mirror of
https://github.com/langgenius/dify.git
synced 2026-03-17 04:47:50 +08:00
17 lines
439 B
Python
17 lines
439 B
Python
from collections.abc import Sequence
|
|
from dataclasses import dataclass
|
|
|
|
from dify_graph.entities.base_node_data import BaseNodeData
|
|
from dify_graph.enums import BuiltinNodeTypes, NodeType
|
|
|
|
|
|
class DocumentExtractorNodeData(BaseNodeData):
|
|
type: NodeType = BuiltinNodeTypes.DOCUMENT_EXTRACTOR
|
|
variable_selector: Sequence[str]
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UnstructuredApiConfig:
|
|
api_url: str | None = None
|
|
api_key: str = ""
|