MCPcopy Create free account
hub / github.com/DSGWJQ/Feagent / classifyTask

Function classifyTask

web/src/features/classification/api/classificationApi.ts:19–27  ·  view source on GitHub ↗
(
  data: ClassifyTaskRequest
)

Source from the content-addressed store, hash-verified

17 * Classify a task based on start point and goal
18 */
19export const classifyTask = async (
20 data: ClassifyTaskRequest
21): Promise<{ data: ClassificationResult }> => {
22 const response = await axiosInstance.post<ClassificationResult>(
23 '/classification',
24 data
25 );
26 return { data: response.data };
27};
28
29export default {
30 classifyTask,

Callers 1

handleClassifyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected