Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbalcaen committed May 3, 2024
1 parent 9beb39f commit 4eabb76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions state_machines/rfp_email_form_fill/state_machine.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"States": {
"Download email attachments": {
"Comment": "Extract attachments from a raw email MIME file and stores them in S3",
"Next": "Convert Attachment to LLM friendly txt file",
"Next": "Convert Attachment to LLM friendly file",
"Parameters": {
"FunctionName": "email-attachment-saver-dev",
"Payload": {
Expand Down Expand Up @@ -233,7 +233,7 @@
],
"End": true
},
"Convert Attachment to LLM friendly txt file": {
"Convert Attachment to LLM friendly file": {
"ItemProcessor": {
"ProcessorConfig": {
"Mode": "INLINE"
Expand All @@ -243,7 +243,7 @@
"Choice": {
"Choices": [
{
"Next": "Extract text from PDF",
"Next": "Extract TXT from PDF",
"StringMatches": "*.pdf",
"Variable": "$"
},
Expand Down Expand Up @@ -279,7 +279,7 @@
{
"Variable": "$",
"StringMatches": "*.docx",
"Next": "Extract text from DOCX"
"Next": "Extract TXT from DOCX"
},
{
"Variable": "$",
Expand All @@ -300,7 +300,7 @@
},
"Type": "Pass"
},
"Extract text from PDF": {
"Extract TXT from PDF": {
"End": true,
"OutputPath": "$.Payload.extracted_file_uris",
"Parameters": {
Expand Down Expand Up @@ -333,7 +333,7 @@
},
"OutputPath": "$.arrr"
},
"Extract text from DOCX": {
"Extract TXT from DOCX": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.extracted_text",
Expand Down

0 comments on commit 4eabb76

Please sign in to comment.