DeepFabric 4.8.3__py3-none-any.whl → 4.9.0__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.
- deepfabric/prompts.py +12 -10
- {deepfabric-4.8.3.dist-info → deepfabric-4.9.0.dist-info}/METADATA +3 -3
- {deepfabric-4.8.3.dist-info → deepfabric-4.9.0.dist-info}/RECORD +6 -6
- {deepfabric-4.8.3.dist-info → deepfabric-4.9.0.dist-info}/WHEEL +0 -0
- {deepfabric-4.8.3.dist-info → deepfabric-4.9.0.dist-info}/entry_points.txt +0 -0
- {deepfabric-4.8.3.dist-info → deepfabric-4.9.0.dist-info}/licenses/LICENSE +0 -0
deepfabric/prompts.py
CHANGED
|
@@ -282,16 +282,18 @@ class GraphPromptBuilder:
|
|
|
282
282
|
|
|
283
283
|
MAX_PROMPT_EXAMPLES = 3
|
|
284
284
|
|
|
285
|
-
SECURITY_KEYWORDS = frozenset(
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
285
|
+
SECURITY_KEYWORDS = frozenset(
|
|
286
|
+
{
|
|
287
|
+
"security",
|
|
288
|
+
"attack",
|
|
289
|
+
"credential",
|
|
290
|
+
"exfiltration",
|
|
291
|
+
"injection",
|
|
292
|
+
"malicious",
|
|
293
|
+
"adversarial",
|
|
294
|
+
"threat",
|
|
295
|
+
}
|
|
296
|
+
)
|
|
295
297
|
|
|
296
298
|
# Domain-specific expansion examples - formatted to match GraphSubtopics schema
|
|
297
299
|
EXAMPLES = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: DeepFabric
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.9.0
|
|
4
4
|
Summary: Curate High Quality Datasets, Train, Evaluate and Ship
|
|
5
5
|
Author-email: DeepFabric Team <oss@alwaysfurther.ai>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -11,7 +11,7 @@ Requires-Dist: componentize-py>=0.19.3
|
|
|
11
11
|
Requires-Dist: datasets<5.0,>=3.0
|
|
12
12
|
Requires-Dist: google-api-core>=2.0.0
|
|
13
13
|
Requires-Dist: google-genai>=1.56.0
|
|
14
|
-
Requires-Dist: huggingface-hub
|
|
14
|
+
Requires-Dist: huggingface-hub>=1.3.1
|
|
15
15
|
Requires-Dist: kagglehub>=0.3.0
|
|
16
16
|
Requires-Dist: mermaid-py>=0.8.0
|
|
17
17
|
Requires-Dist: ollama>=0.6.1
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pyyaml>=6.0.1
|
|
|
25
25
|
Requires-Dist: rich>=13.0.0
|
|
26
26
|
Requires-Dist: sentencepiece>=0.1.99
|
|
27
27
|
Requires-Dist: spin-sdk>=3.4.1
|
|
28
|
-
Requires-Dist: transformers
|
|
28
|
+
Requires-Dist: transformers==5.0.0rc2
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: bandit>=1.7.10; extra == 'dev'
|
|
31
31
|
Requires-Dist: mermaid-py>=0.2.0; extra == 'dev'
|
|
@@ -20,7 +20,7 @@ deepfabric/kaggle_hub.py,sha256=CXVO1Lv3IRhdO0bp9_IQr6nUs-v5jOWi5k4EwPkbJmw,7927
|
|
|
20
20
|
deepfabric/loader.py,sha256=YNTGZZE-POjR0BIlx6WCT4bIzf0T4lW_fQl7ev9UFqE,18584
|
|
21
21
|
deepfabric/metrics.py,sha256=txqmXDM_r6cWPjdnnEjoA5xJkCHxFrjKWTpihE_jimA,6129
|
|
22
22
|
deepfabric/progress.py,sha256=3XQQrf2pUZlyd-8eRcNATH1v0Oi8JMedVHGbhPcca-8,9354
|
|
23
|
-
deepfabric/prompts.py,sha256=
|
|
23
|
+
deepfabric/prompts.py,sha256=C-zonGrzyE752oWY2zOr4ufmvVaxsxFx4E2wLuSNluI,15447
|
|
24
24
|
deepfabric/schemas.py,sha256=N1cTvXuAyV8r8YS5DSAcFgpfxF0AqVGJbbOpeT5H72g,37881
|
|
25
25
|
deepfabric/stream_simulator.py,sha256=GzvAxWxHVsuTwgXlqwXNfrTUDn6sND2kJOoQuYg88FA,3028
|
|
26
26
|
deepfabric/topic_manager.py,sha256=6YxMO6dQHaGyxghsI8iNJGP1miaekBe5Mh1WdYeLqdI,11164
|
|
@@ -69,8 +69,8 @@ deepfabric/training/api_key_prompt.py,sha256=pSIMX3eDGyV9x_r7MHE4TyIsIB2SqYb8gKC
|
|
|
69
69
|
deepfabric/training/callback.py,sha256=5zdifbHA2PWILHl2cVFyO65aW7cGAQhcvDqm3s8_I0Q,13221
|
|
70
70
|
deepfabric/training/dataset_utils.py,sha256=klx8DoawEwuMigBDP-RpMAfe7FvYxRbhj599MErxBr4,7313
|
|
71
71
|
deepfabric/training/metrics_sender.py,sha256=ZCyvMv5hRu8XJnQYVGXJ9wh7HEMJ0l3Ktyi8_etOpZs,10833
|
|
72
|
-
deepfabric-4.
|
|
73
|
-
deepfabric-4.
|
|
74
|
-
deepfabric-4.
|
|
75
|
-
deepfabric-4.
|
|
76
|
-
deepfabric-4.
|
|
72
|
+
deepfabric-4.9.0.dist-info/METADATA,sha256=exOMACgFoZPhQ0xpu-x5iyo4J5-1EBiEHtu3aQ7pozI,20537
|
|
73
|
+
deepfabric-4.9.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
74
|
+
deepfabric-4.9.0.dist-info/entry_points.txt,sha256=zatevils13hfs8x29_vmUyivQ6rTtq7hE2RBusZw1Fo,50
|
|
75
|
+
deepfabric-4.9.0.dist-info/licenses/LICENSE,sha256=-qRt8wmrhQ9aMf7KhmZXc2vrTETYZF-6_T1KCeUhvHY,11340
|
|
76
|
+
deepfabric-4.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|