返回 Skill 列表
extension
分类: 开发与工程无需 API Key

nodes-reference

针对所有110多个Kailash SDK节点的全面节点参考文档,按类别组织:AI、API、代码、数据、数据库、文件、逻辑、监控、管理、事务和转换节点。当询问关于'节点参考'、'可用节点'、'节点列表'、'AI节点'、'API节点'、'代码节点'、'数据节点'、'数据库节点'、'文件节点'、'逻辑节点'、'监控节点'、'事务节点'、'转换节点'、'哪些节点'、'节点文档'或'节点功能'时使用。

person作者: jakexiaohubgithub

Kailash Nodes - Complete Reference

Comprehensive reference documentation for all 110+ workflow nodes in Kailash SDK, organized by category.

Overview

Complete node catalog covering:

  • AI Nodes: LLM, vision, audio, embeddings
  • API Nodes: HTTP, webhooks, GraphQL
  • Code Nodes: Python, JavaScript execution
  • Data Nodes: Processing, transformation, validation
  • Database Nodes: CRUD, queries, transactions
  • File Nodes: Reading, writing, manipulation
  • Logic Nodes: Conditionals, loops, routing
  • Monitoring Nodes: Logging, metrics, alerts
  • Admin Nodes: System management
  • Transaction Nodes: ACID operations
  • Transform Nodes: Data transformation

Node Reference Documentation

Quick Access

By Category

AI & Machine Learning

  • nodes-ai-reference - AI and LLM nodes
    • LLMNode, AnthropicNode, OpenAINode
    • VisionNode, AudioNode
    • EmbeddingNode, ClassificationNode
    • OllamaNode (local LLMs)

API & Integration

  • nodes-api-reference - API integration nodes
    • APICallNode, HTTPRequestNode
    • WebhookNode, GraphQLNode
    • RESTClientNode, SOAPNode

Code Execution

  • nodes-code-reference - Code execution nodes
    • PythonCodeNode (primary)
    • JavaScriptNode, BashNode
    • CodeEvalNode, ScriptNode

Data Processing

  • nodes-data-reference - Data processing nodes
    • CSVReaderNode, CSVWriterNode
    • JSONParserNode, XMLParserNode
    • DataValidatorNode, DataTransformNode
    • FilterNode, MapNode, ReduceNode

Database Operations

  • nodes-database-reference - Database nodes
    • SQLQueryNode, AsyncSQLNode
    • DatabaseReadNode, DatabaseWriteNode
    • TransactionNode, BulkInsertNode
    • (Plus DataFlow auto-generated nodes)

File Operations

  • nodes-file-reference - File system nodes
    • FileReaderNode, FileWriterNode
    • DirectoryReaderNode, DirectoryCreatorNode
    • FileWatcherNode, FileCopyNode
    • ZipNode, UnzipNode

Logic & Control Flow

  • nodes-logic-reference - Logic and routing nodes
    • SwitchNode (conditional routing)
    • IfElseNode, LoopNode
    • MergeNode, SplitNode
    • DelayNode, TimeoutNode
    • CycleNode (cyclic workflows)

Monitoring & Observability

Admin & Management

  • nodes-admin-reference - Admin nodes
    • ConfigNode, SecretManagerNode
    • EnvironmentNode, SchedulerNode
    • CacheNode, QueueNode

Transactions

  • nodes-transaction-reference - Transaction nodes
    • TransactionBeginNode, TransactionCommitNode
    • SagaNode, CompensateNode
    • TwoPhaseCommitNode

Data Transformation

Node Selection Guide

By Use Case

AI & LLM Tasks → Use AI nodes (nodes-ai-reference)

  • Text generation: LLMNode, OpenAINode, AnthropicNode
  • Vision: VisionNode
  • Audio: AudioNode
  • Local LLMs: OllamaNode

API Integration → Use API nodes (nodes-api-reference)

  • REST APIs: APICallNode, HTTPRequestNode
  • Webhooks: WebhookNode
  • GraphQL: GraphQLNode

Custom Logic → Use Code nodes (nodes-code-reference)

  • Python: PythonCodeNode (recommended)
  • JavaScript: JavaScriptNode
  • Shell: BashNode

Database Work → Use Database nodes (nodes-database-reference)

  • SQL queries: SQLQueryNode, AsyncSQLNode
  • CRUD with DataFlow: Auto-generated nodes

File Operations → Use File nodes (nodes-file-reference)

  • Reading files: FileReaderNode
  • Bulk operations: DirectoryReaderNode
  • File watching: FileWatcherNode

Conditional Logic → Use Logic nodes (nodes-logic-reference)

  • Simple conditions: SwitchNode
  • Complex routing: IfElseNode
  • Loops: LoopNode, CycleNode

Data Processing → Use Data nodes (nodes-data-reference)

  • CSV: CSVReaderNode, CSVWriterNode
  • JSON: JSONParserNode
  • Validation: DataValidatorNode

Monitoring → Use Monitoring nodes (nodes-monitoring-reference)

  • Logging: LoggerNode
  • Metrics: MetricsNode
  • Alerts: AlertNode

Critical Node Patterns

String-Based API

workflow.add_node("PythonCodeNode", "node1", {
    "code": "result = input_data * 2"
})

Parameter Passing

workflow.add_connection("node1", "result", "node2", "input_data")

Common Nodes

  • PythonCodeNode: Most flexible, use for custom logic
  • SwitchNode: Conditional routing based on values
  • CSVReaderNode: Reading CSV files
  • APICallNode: HTTP API calls
  • LoggerNode: Debug and production logging

When to Use This Skill

Use this skill when you need to:

  • Find the right node for a task
  • Understand node capabilities
  • Look up node parameters
  • See node usage examples
  • Compare similar nodes
  • Explore available nodes by category

Related Skills

Support

For node-related questions, invoke:

  • pattern-expert - Node pattern recommendations
  • sdk-navigator - Find specific nodes
  • dataflow-specialist - DataFlow-generated nodes