Skip to content

Pipeline

Pipeline 项目由以下要素构成:

  • block
  • line 任何具有数据类型的参数都是可接线的。

块是 Pipeline 项目的基本单元。分为:

  • I/O
  • 大语言模型
  • 生图
  • Code

I/O 块

IO I/O 块中,输入和输出块是相同构造的。在一个项目种它们是必须的。
子选项:
输入/输出参数有以下类型:
TextIntegerFloatImage

大语言模型 块

大语言模型种的块都围绕 prompt 技术展开,这意味着要使用它们,你都必须为它们添加 prompt。目前有以下块:

  • TextTemplate
  • Agent
  • InvokeLLM
  • KnowledgeBase

TextTemplate

TextTemplate 作为一般的文本模板使用,编辑 prompt 后将数据流线条接入 Variables 变量中。
History 输出 todo

Agent

Agent 你在 Agent 项目 中创建的所有 Agent,都能在 Pipeline 项目 中使用。

AgentEdit 如上图,在 Agent 中的变量将会成为 Pipeline 中 Agent 块 的变量。

AgentSelect 选择你所创建的 Agent,会出现可用变量。
History 输出 todo

InvokeLLM

InvokeLLM 选项:

  • History In/Out: 对话记录文本输入/输出
  • INPUTS
    • Plaform/API Key: 选择大语言模型提供商
    • Model: 选择模型
  • Advanced settings
    • Temperature: 创造性
  • OUTPUTS todo
    • Completion:
    • Function name:
    • Function Arguments:

KnowledgeBase

KnowledgeBase todo

生图块

目前有以下块:

  • Text To Image
  • Image Generation
  • Checkpoint
  • VAE
  • Merge Face

Text To Image

TextToImage 子选项:

  • INPUTS
    • Prompt: Text
    • Negative Prompt: Text
    • Steps: Integer // todo
      • Hire Settings
        • Enable Hires 开关 // todo
  • OUTPUTS
    • Image: Image

Image Generation

ImageGeneration 子选项:

  • INPUTS
    • Prompt: Text
    • Negative Prompt: Text
    • VAE: VAE
    • Model: Model
    • Steps: Integer // todo
      • Hire Settings
        • Enable Hires 开关 // todo
        • Hires Scale: // todo
        • Hires Up Scale: // todo
        • Hires Resize X: // todo
        • Hires Resize Y: // todo
  • OUTPUTS
    • Image: Image

Checkpoint

Checkpoint 子选项:

  • INPUTS
    • Model: Model
  • OUTPUTS
    • Model: Model
    • VAE: VAE

VAE

VAE 子选项:

  • INPUTS
    • VAE: VAE
  • OUTPUTS
    • VAE: VAE

Merge Face

MergeFace

  • INPUTS
    • Face Image: 脸部图像
    • Image: 融合素材图像
  • OUTPUTS
    • Output: 融合后图像

Code 块

Code