You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/agentset/sources/document-status-updated/document-status-updated.mjs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ import sampleEmit from "./test-event.mjs";
3
3
4
4
exportdefault{
5
5
...common,
6
-
key: "agentset-new-document",
7
-
name: "New Document Status",
8
-
description: "Emit new event when a new document status is updated. [See the documentation](https://docs.agentset.ai/api-reference/endpoint/documents/list)",
6
+
key: "agentset-document-status-updated",
7
+
name: "Document Status Updated",
8
+
description: "Emit new event when a document status is updated. [See the documentation](https://docs.agentset.ai/api-reference/endpoint/documents/list)",
9
9
version: "0.0.1",
10
10
type: "source",
11
11
dedupe: "unique",
@@ -15,7 +15,7 @@ export default {
15
15
returnthis.agentset.listDocuments;
16
16
},
17
17
getSummary(item){
18
-
return`New Document:${item.name||item.id}`;
18
+
return`Document ${item.name||item.id} has a new status: ${item.status}`;
Copy file name to clipboardExpand all lines: components/agentset/sources/ingest-job-status-updated/ingest-job-status-updated.mjs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ import sampleEmit from "./test-event.mjs";
3
3
4
4
exportdefault{
5
5
...common,
6
-
key: "agentset-new-ingest-job",
7
-
name: "New Ingest Job Status",
8
-
description: "Emit new event when a new ingest job status is updated. [See the documentation](https://docs.agentset.ai/api-reference/endpoint/ingest-jobs/list)",
6
+
key: "agentset-ingest-job-status-updated",
7
+
name: "Ingest Job Status Updated",
8
+
description: "Emit new event when a ingest job status is updated. [See the documentation](https://docs.agentset.ai/api-reference/endpoint/ingest-jobs/list)",
9
9
version: "0.0.1",
10
10
type: "source",
11
11
dedupe: "unique",
@@ -15,7 +15,7 @@ export default {
15
15
returnthis.agentset.listIngestJobs;
16
16
},
17
17
getSummary(item){
18
-
return`New Ingest Job: ${item.id}`;
18
+
return`Ingest Job (${item.id}) has a new status: ${item.status}`;
0 commit comments