(kbId, action)
| 206 | // ============================================================================= |
| 207 | |
| 208 | function graphBuildUrl(kbId, action) { |
| 209 | return `/api/knowledge/databases/${kbId}/graph-build/${action}` |
| 210 | } |
| 211 | |
| 212 | export const graphBuildApi = { |
| 213 | getStatus: async (kbId) => { |