-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathorchestrate.js
More file actions
34 lines (33 loc) · 981 Bytes
/
orchestrate.js
File metadata and controls
34 lines (33 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export const config = {
"type": "atomic",
"flows": {
"analysis" : {
"name": "AI Sheets",
"type" : "graphQL",
"workflowId": process.env.EMBEDDED_SHEETS,
"description": "Generate the column data based on the row data",
"expectedOutput": ["value", "metadata"],
"inputSchema": {
"sheetId": "string",
"columnId": "string",
"rowId": "string",
"instruction": "string",
"aiType": "string",
"data": "string",
"outputFormat": "string",
"webhookUrl": "string"
},
"outputSchema": {
"value": "string",
"metadata": "object"
},
"mode": "async",
"polling" : "false"
}
},
"api": {
"endpoint": process.env.LAMATIC_API_URL,
"projectId": process.env.LAMATIC_PROJECT_ID,
"apiKey" : process.env.LAMATIC_API_KEY
}
}