mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 23:36:20 +08:00
15 lines
313 B
Python
15 lines
313 B
Python
from collections.abc import Sequence
|
|
from dataclasses import dataclass
|
|
|
|
from dify_graph.nodes.base import BaseNodeData
|
|
|
|
|
|
class DocumentExtractorNodeData(BaseNodeData):
|
|
variable_selector: Sequence[str]
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UnstructuredApiConfig:
|
|
api_url: str | None = None
|
|
api_key: str = ""
|