MCPcopy Index your code
hub / github.com/xerrors/Yuxi / getWorkspaceKnowledgeFileContent

Function getWorkspaceKnowledgeFileContent

web/src/apis/workspace_api.js:33–36  ·  view source on GitHub ↗
(kbId, fileId, variant = 'parsed')

Source from the content-addressed store, hash-verified

31}
32
33export const getWorkspaceKnowledgeFileContent = (kbId, fileId, variant = 'parsed') => {
34 const query = buildQuery({ kb_id: kbId, file_id: fileId, variant })
35 return apiGet(`/api/workspace/knowledge/file?${query}`)
36}
37
38export const downloadWorkspaceKnowledgeFile = (kbId, fileId, variant = 'original') => {
39 const query = buildQuery({ kb_id: kbId, file_id: fileId, variant })

Callers

nothing calls this directly

Calls 2

apiGetFunction · 0.90
buildQueryFunction · 0.70

Tested by

no test coverage detected