diff --git a/web/src/services/ontology.js b/web/src/services/ontology.js new file mode 100644 index 0000000..784a031 --- /dev/null +++ b/web/src/services/ontology.js @@ -0,0 +1,8 @@ +import { apiRequest } from './api.js' + +export function fetchOntologyParse(payload) { + return apiRequest('/ontology/parse', { + method: 'POST', + body: JSON.stringify(payload) + }) +} diff --git a/web/src/services/orchestrator.js b/web/src/services/orchestrator.js new file mode 100644 index 0000000..72031af --- /dev/null +++ b/web/src/services/orchestrator.js @@ -0,0 +1,8 @@ +import { apiRequest } from './api.js' + +export function runOrchestrator(payload) { + return apiRequest('/orchestrator/run', { + method: 'POST', + body: JSON.stringify(payload) + }) +}