lightman_ai 0.21.1__py3-none-any.whl → 0.21.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lightman_ai might be problematic. Click here for more details.
- {lightman_ai-0.21.1.dist-info → lightman_ai-0.21.2.dist-info}/METADATA +13 -5
- {lightman_ai-0.21.1.dist-info → lightman_ai-0.21.2.dist-info}/RECORD +5 -5
- {lightman_ai-0.21.1.dist-info → lightman_ai-0.21.2.dist-info}/WHEEL +0 -0
- {lightman_ai-0.21.1.dist-info → lightman_ai-0.21.2.dist-info}/entry_points.txt +0 -0
- {lightman_ai-0.21.1.dist-info → lightman_ai-0.21.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lightman_ai
|
|
3
|
-
Version: 0.21.
|
|
3
|
+
Version: 0.21.2
|
|
4
4
|
Summary: LLM-powered cybersecurity news aggregator.
|
|
5
5
|
Author-email: sdn4z <imsdn4z@gmail.com>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -256,6 +256,8 @@ lightman run --dry-run --agent openai --score 9
|
|
|
256
256
|
| `--env-file` | Path to environment variables file | `.env` |
|
|
257
257
|
| `--dry-run` | Preview results without taking action | `false` |
|
|
258
258
|
| `--prompt-file` | File containing prompt templates | `lightman.toml` |
|
|
259
|
+
| `--start-date` | Start date to retrieve articles | None |
|
|
260
|
+
| `--today` | Retrieve articles from today | None |
|
|
259
261
|
|
|
260
262
|
### Example Workflows
|
|
261
263
|
|
|
@@ -364,11 +366,17 @@ This approach ensures that performance metrics reflect real-world usage scenario
|
|
|
364
366
|
**Make sure to fill in the `RELEVANT_ARTICLES` with the ones you classify as relevant, so that you can compare the accuracy after running the `eval` script.***
|
|
365
367
|
|
|
366
368
|
## Sentry
|
|
369
|
+
Sentry is **optional**: the application does not require it to function, and all features will work even if Sentry is not configured or fails to start.
|
|
370
|
+
If you install the project via pip and want Sentry installed, run:
|
|
367
371
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
+
```bash
|
|
373
|
+
pip install lightman-ai[sentry]
|
|
374
|
+
```
|
|
375
|
+
Sentry comes by default with the Docker image. If you don't want to use it, simply do not set `SENTRY_DSN` env variable.
|
|
376
|
+
|
|
377
|
+
The application will automatically pick up and use environment variables if they are present in your environment or `.env` file.
|
|
378
|
+
To enable Sentry, set the `SENTRY_DSN` environment variable. This is **mandatory** for Sentry to be enabled. If `SENTRY_DSN` is not set, Sentry will be skipped and the application will run normally.
|
|
379
|
+
If Sentry fails to initialize for any reason (e.g., network issues, invalid DSN), the application will log a warning and continue execution without error monitoring, and logging to stdout.
|
|
372
380
|
|
|
373
381
|
## 📄 License
|
|
374
382
|
|
|
@@ -29,8 +29,8 @@ lightman_ai/integrations/service_desk/integration.py,sha256=5r3bipao_apaDWLRiH4o
|
|
|
29
29
|
lightman_ai/sources/base.py,sha256=M_n9H9GdcX2tbBcYkiakDxHCnuwP9fV4BQhNAadBubQ,242
|
|
30
30
|
lightman_ai/sources/exceptions.py,sha256=X43BZ6hx-lZAEyM2q5PQXBw3vKPDx5nmY_uRiuITK9s,379
|
|
31
31
|
lightman_ai/sources/the_hacker_news.py,sha256=JTqbAJ1Pf8QKxvwFg6vWmymgj8LtUpIV6hD0KMOwMG8,3034
|
|
32
|
-
lightman_ai-0.21.
|
|
33
|
-
lightman_ai-0.21.
|
|
34
|
-
lightman_ai-0.21.
|
|
35
|
-
lightman_ai-0.21.
|
|
36
|
-
lightman_ai-0.21.
|
|
32
|
+
lightman_ai-0.21.2.dist-info/METADATA,sha256=uFH56M6p4ED4R4zWFhTN1k80T3YtO6rG7JipcEXNYqQ,12261
|
|
33
|
+
lightman_ai-0.21.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
lightman_ai-0.21.2.dist-info/entry_points.txt,sha256=9H7Ji-zxbCWAaVL5Yg4fG5va0H_5Tr2kMGGMsghaAas,60
|
|
35
|
+
lightman_ai-0.21.2.dist-info/licenses/LICENSE,sha256=NhxDmY3AGgeEsYHIfDGLNkzBVX94pARRDS8H46JZ1zQ,1076
|
|
36
|
+
lightman_ai-0.21.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|