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.

327 B
Raw Blame
export const KIND = {
  Object: 'object',
  List: 'list',
  Sse: 'sse',
  Text: 'text',
  File: 'file',
} as const

export type Kind = (typeof KIND)[keyof typeof KIND]

export const KINDS: readonly Kind[] = Object.values(KIND)

export function isKind(k: string): k is Kind {
  return (KINDS as readonly string[]).includes(k)
}