Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

429 B
Raw Blame
import type { Variable } from '@/app/components/workflow/types'
import { VarType } from '@/app/components/workflow/types'

export const WEBHOOK_RAW_VARIABLE_NAME = '_webhook_raw'
const WEBHOOK_RAW_VARIABLE_LABEL = 'raw'

export const createWebhookRawVariable = (): Variable => ({
  variable: WEBHOOK_RAW_VARIABLE_NAME,
  label: WEBHOOK_RAW_VARIABLE_LABEL,
  value_type: VarType.object,
  value_selector: [],
  required: true,
})