mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 11:07:40 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
17 lines
413 B
Python
17 lines
413 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 NodeType
|
|
|
|
|
|
class DocumentExtractorNodeData(BaseNodeData):
|
|
type: NodeType = NodeType.DOCUMENT_EXTRACTOR
|
|
variable_selector: Sequence[str]
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UnstructuredApiConfig:
|
|
api_url: str | None = None
|
|
api_key: str = ""
|