Skip to content

Commit 4b8bd1a

Browse files
Rephrase attachments extraction worker (#34)
- Changing some phrasing in the attachments-extraction worker, in order for LLM not to mix it up with attachments extraction during the data extraction phase. - Update codeowners. Issue: https://app.devrev.ai/devrev/works/ISS-210921
1 parent 624ff81 commit 4b8bd1a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @radovanjorgic @patricijabrecko @gasperzgonec @devrev/airdrop
1+
* @gasperzgonec @radovanjorgic @devrev/airdrop

docs/attachments-extraction.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Attachments Extraction Worker
1+
# Attachments Streaming Worker
22

33
## Overview
4-
This worker handles the extraction of attachments from an external system and streams them to the Airdrop platform. It's designed to work with the `@devrev/ts-adaas` library and follows the Airdrop platform's event-driven architecture.
4+
This worker handles the streaming of attachments to the Airdrop platform. It's designed to work with the `@devrev/ts-adaas` library and follows the Airdrop platform's event-driven architecture.
55

66
## Dependencies
77
```typescript
@@ -106,9 +106,7 @@ processTask({
106106
}
107107
},
108108
onTimeout: async ({ adapter }) => {
109-
await adapter.emit(ExtractorEventType.ExtractionAttachmentsProgress, {
110-
progress: 50,
111-
});
109+
await adapter.emit(ExtractorEventType.ExtractionAttachmentsProgress);
112110
},
113111
});
114112
```
@@ -127,7 +125,6 @@ processTask({
127125

128126
### Timeout Handling
129127
- On timeout, the current state is posted to the platform
130-
- A progress event is emitted with 50% completion
131128
- This allows the platform to resume processing from the last known state
132129

133130
## Usage

0 commit comments

Comments
 (0)