forked from HelgeSverre/extractor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
extractor.php
58 lines (49 loc) · 2.04 KB
/
extractor.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
return [
/*
|--------------------------------------------------------------------------
| Textract Timeout
|--------------------------------------------------------------------------
|
| This value determines the maximum amount of time (in seconds) the application
| should wait for the Textract process to complete before giving up.
| It's especially useful for avoiding long-running processes.
|
*/
'textract_timeout' => env('TEXTRACT_TIMEOUT', 60),
/*
|--------------------------------------------------------------------------
| Textract Polling Interval
|--------------------------------------------------------------------------
|
| This value sets the time interval (in seconds) at which the application
| should check the status of a running Textract job.
| This allows for a controlled and paced polling mechanism.
|
*/
'textract_polling_interval' => env('TEXTRACT_POLLING_INTERVAL', 5),
/*
|--------------------------------------------------------------------------
| Textract Disk
|--------------------------------------------------------------------------
|
| Specifies the storage disk to be used when uploading files for Textract.
| Make sure the disk is properly configured in your filesystems configuration.
|
*/
'textract_disk' => env('TEXTRACT_DISK'),
/*
|--------------------------------------------------------------------------
| Textract Region, Version, Key, and Secret
|--------------------------------------------------------------------------
|
| These settings are related to the AWS Textract configuration. They define
| the region where Textract is being used, the version of the Textract API,
| and the access key and secret key for authentication purposes.
|
*/
'textract_region' => env('TEXTRACT_REGION'),
'textract_key' => env('TEXTRACT_KEY'),
'textract_secret' => env('TEXTRACT_SECRET'),
'textract_version' => env('TEXTRACT_VERSION', '2018-06-27'),
];