|
3 | 3 | return [ |
4 | 4 | /* |
5 | 5 | |-------------------------------------------------------------------------- |
6 | | - | Paths |
| 6 | + | Privacy Filter Paths |
7 | 7 | |-------------------------------------------------------------------------- |
8 | 8 | | |
9 | | - | These paths are used by the Artisan installers and, later, by the runtime |
10 | | - | PHP wrapper when invoking the local privacy-filter executable. |
| 9 | + | Here you may configure the paths where the privacy-filter binary and |
| 10 | + | model should be installed. These paths will be used by the installer |
| 11 | + | commands and by the runtime classifier. |
11 | 12 | | |
12 | 13 | */ |
13 | 14 |
|
|
18 | 19 |
|
19 | 20 | /* |
20 | 21 | |-------------------------------------------------------------------------- |
21 | | - | Process |
| 22 | + | Process Timeout |
22 | 23 | |-------------------------------------------------------------------------- |
23 | 24 | | |
24 | | - | The PHP API shells out to the local privacy-filter binary. This timeout |
25 | | - | protects requests and jobs from hanging indefinitely if the process stalls. |
| 25 | + | The classifier runs the privacy-filter binary as a separate process. This |
| 26 | + | value determines how many seconds the process may run before timing out. |
26 | 27 | | |
27 | 28 | */ |
28 | 29 |
|
|
32 | 33 |
|
33 | 34 | /* |
34 | 35 | |-------------------------------------------------------------------------- |
35 | | - | Model |
| 36 | + | Privacy Filter Model |
36 | 37 | |-------------------------------------------------------------------------- |
37 | 38 | | |
38 | | - | LocalAI currently publishes one English GGUF and one multilingual GGUF for |
39 | | - | privacy-filter.cpp. The English F16 model is the smallest compatible file |
40 | | - | available for basic application use and CI smoke tests. |
| 39 | + | This URL points to the GGUF model that should be downloaded by the model |
| 40 | + | installer. You may change this value if you would like to use another |
| 41 | + | compatible privacy-filter model. |
41 | 42 | | |
42 | 43 | */ |
43 | 44 |
|
|
50 | 51 |
|
51 | 52 | /* |
52 | 53 | |-------------------------------------------------------------------------- |
53 | | - | Binary Release |
| 54 | + | Binary Release Source |
54 | 55 | |-------------------------------------------------------------------------- |
55 | 56 | | |
56 | | - | The Laravel package installs compiled privacy-filter.cpp binaries from |
57 | | - | the companion GitHub releases repository. |
| 57 | + | The binary installer downloads compiled privacy-filter binaries from a |
| 58 | + | GitHub release. You may customize the repository or release version |
| 59 | + | used when installing the binary. |
58 | 60 | | |
59 | 61 | */ |
60 | 62 |
|
|
0 commit comments