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.

494 B
Raw Blame
import { consoleClient } from '@/service/console'
import { selectAppParameters } from '@/service/console/app-parameters-select'

export const fetchTryAppDatasets = (appId: string, ids: string[]) => {
  return consoleClient.trialApps.byAppId.datasets.get({
    params: { app_id: appId },
    query: { ids },
  })
}

export const fetchTryAppParams = (appId: string) => {
  return consoleClient.trialApps.byAppId.parameters
    .get({ params: { app_id: appId } })
    .then(selectAppParameters)
}