MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / getParagraphPage

Function getParagraphPage

ui/src/api/shared-workspace.ts:142–148  ·  view source on GitHub ↗
(knowledge_id, document_id, page, param, loading)

Source from the content-addressed store, hash-verified

140 param: any,
141 loading?: Ref<boolean>,
142) => Promise<Result<any>> = (knowledge_id, document_id, page, param, loading) => {
143 return get(
144 `${prefix}/${prefix_workspace.value}/knowledge/${knowledge_id}/document/${document_id}/paragraph/${page.current_page}/${page.page_size}`,
145 param,
146 loading,
147 )
148}
149
150const getModelList: (param: any, loading?: Ref<boolean>) => Promise<Result<Array<any>>> = (
151 param: any,

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected