Download web/app/components/datasets/external-knowledge-base/create/declarations.ts from zhzabcd/dify-run: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/zhzabcd/dify-run/resolve/main/web/app/components/datasets/external-knowledge-base/create/declarations.ts
- Command line
-
hf download hf://spaces/zhzabcd/dify-run/web/app/components/datasets/external-knowledge-base/create/declarations.ts
-
curl -L -o declarations.ts https://huggingface.co/spaces/zhzabcd/dify-run/resolve/main/web/app/components/datasets/external-knowledge-base/create/declarations.ts
287 Bytes
| export type CreateKnowledgeBaseReq = { | |
| name: string | |
| description?: string | |
| external_knowledge_api_id: string | |
| provider: 'external' | |
| external_knowledge_id: string | |
| external_retrieval_model: { | |
| top_k: number | |
| score_threshold: number | |
| score_threshold_enabled: boolean | |
| } | |
| } | |