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.

396 B
Raw Blame
const providerLabels: Record<string, string> = {
  ding_talk: 'DingTalk',
  dingtalk: 'DingTalk',
  email: 'Email',
  feishu: 'Feishu',
  lark: 'Lark',
  ms_teams: 'Microsoft Teams',
  slack: 'Slack',
  teams: 'Microsoft Teams',
  we_com: 'WeCom',
  wecom: 'WeCom',
}

export function getContactChannelLabel(provider: string) {
  return providerLabels[provider.toLocaleLowerCase()] ?? provider
}