fabricatio 0.4.4.dev1__cp313-cp313-win_amd64.whl → 0.4.5.dev0__cp313-cp313-win_amd64.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.
- fabricatio/capabilities/__init__.py +18 -3
- fabricatio/models/__init__.py +16 -11
- fabricatio/rust.cp313-win_amd64.pyd +0 -0
- fabricatio/workflows/__init__.py +1 -4
- fabricatio-0.4.5.dev0.data/scripts/tdown.exe +0 -0
- {fabricatio-0.4.4.dev1.dist-info → fabricatio-0.4.5.dev0.dist-info}/METADATA +28 -9
- fabricatio-0.4.5.dev0.dist-info/RECORD +15 -0
- fabricatio-0.4.4.dev1.data/scripts/tdown.exe +0 -0
- fabricatio-0.4.4.dev1.dist-info/RECORD +0 -15
- {fabricatio-0.4.4.dev1.dist-info → fabricatio-0.4.5.dev0.dist-info}/WHEEL +0 -0
- {fabricatio-0.4.4.dev1.dist-info → fabricatio-0.4.5.dev0.dist-info}/licenses/LICENSE +0 -0
@@ -33,9 +33,10 @@ if find_spec("fabricatio_improve"):
|
|
33
33
|
from fabricatio_improve.capabilities.correct import Correct
|
34
34
|
from fabricatio_improve.capabilities.review import Review
|
35
35
|
|
36
|
-
__all__ += [
|
37
|
-
|
38
|
-
|
36
|
+
__all__ += [
|
37
|
+
"Correct",
|
38
|
+
"Review",
|
39
|
+
]
|
39
40
|
|
40
41
|
if find_spec("fabricatio_judge"):
|
41
42
|
from fabricatio_judge.capabilities.advanced_judge import AdvancedJudge
|
@@ -46,3 +47,17 @@ if find_spec("fabricatio_digest"):
|
|
46
47
|
from fabricatio_digest.capabilities.digest import Digest
|
47
48
|
|
48
49
|
__all__ += ["Digest"]
|
50
|
+
|
51
|
+
if find_spec("fabricatio_anki"):
|
52
|
+
from fabricatio_anki.capabilities.generate_deck import GenerateDeck
|
53
|
+
|
54
|
+
__all__ += ["GenerateDeck"]
|
55
|
+
|
56
|
+
if find_spec("fabricatio_tagging"):
|
57
|
+
from fabricatio_tagging.capabilities.tagging import Tagging
|
58
|
+
|
59
|
+
__all__ += ["Tagging"]
|
60
|
+
if find_spec("fabricatio_question"):
|
61
|
+
from fabricatio_question.capabilities.questioning import Questioning
|
62
|
+
|
63
|
+
__all__ += ["Questioning"]
|
fabricatio/models/__init__.py
CHANGED
@@ -12,7 +12,8 @@ __all__ = [
|
|
12
12
|
|
13
13
|
if find_spec("fabricatio_typst"):
|
14
14
|
from fabricatio_typst.models.article_essence import ArticleEssence
|
15
|
-
from fabricatio_typst.models.article_main import Article
|
15
|
+
from fabricatio_typst.models.article_main import Article
|
16
|
+
from fabricatio_typst.models.article_outline import ArticleOutline
|
16
17
|
from fabricatio_typst.models.article_proposal import ArticleProposal
|
17
18
|
|
18
19
|
__all__ += [
|
@@ -25,22 +26,26 @@ if find_spec("fabricatio_typst"):
|
|
25
26
|
if find_spec("fabricatio_typst"):
|
26
27
|
from fabricatio_typst.models.aricle_rag import ArticleChunk
|
27
28
|
|
28
|
-
__all__ += [
|
29
|
-
"ArticleChunk"
|
30
|
-
|
31
|
-
]
|
29
|
+
__all__ += ["ArticleChunk"]
|
32
30
|
|
33
31
|
if find_spec("fabricatio_judge"):
|
34
32
|
from fabricatio_judge.models.advanced_judge import JudgeMent
|
35
33
|
|
36
|
-
__all__ += [
|
37
|
-
"JudgeMent"
|
38
|
-
]
|
34
|
+
__all__ += ["JudgeMent"]
|
39
35
|
|
40
36
|
if find_spec("fabricatio_digest"):
|
41
37
|
from fabricatio_digest.models.tasklist import TaskList
|
42
38
|
|
43
|
-
__all__ += [
|
44
|
-
|
45
|
-
|
39
|
+
__all__ += ["TaskList"]
|
40
|
+
|
41
|
+
|
42
|
+
if find_spec("fabricatio_anki"):
|
43
|
+
from fabricatio_anki.models.deck import Deck, Model
|
44
|
+
from fabricatio_anki.models.template import Template
|
45
|
+
|
46
|
+
__all__ += ["Deck", "Model", "Template"]
|
47
|
+
|
48
|
+
if find_spec("fabricatio_question"):
|
49
|
+
from fabricatio_question.models.questions import SelectionQuestion
|
46
50
|
|
51
|
+
__all__ += ["SelectionQuestion"]
|
Binary file
|
fabricatio/workflows/__init__.py
CHANGED
@@ -7,7 +7,4 @@ from importlib.util import find_spec
|
|
7
7
|
if find_spec("fabricatio_typst") and find_spec("fabricatio_actions"):
|
8
8
|
from fabricatio_typst.workflows.articles import WriteOutlineCorrectedWorkFlow
|
9
9
|
|
10
|
-
__all__ += [
|
11
|
-
|
12
|
-
"WriteOutlineCorrectedWorkFlow"
|
13
|
-
]
|
10
|
+
__all__ += ["WriteOutlineCorrectedWorkFlow"]
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fabricatio
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.5.dev0
|
4
4
|
Classifier: License :: OSI Approved :: MIT License
|
5
5
|
Classifier: Programming Language :: Rust
|
6
6
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -10,7 +10,7 @@ Classifier: Framework :: AsyncIO
|
|
10
10
|
Classifier: Framework :: Pydantic :: 2
|
11
11
|
Classifier: Typing :: Typed
|
12
12
|
Requires-Dist: fabricatio-core
|
13
|
-
Requires-Dist: fabricatio[rag,cli,typst,rule,judge,capabilities,actions,improve,digest,memory,anki,question,tagging] ; extra == 'full'
|
13
|
+
Requires-Dist: fabricatio[rag,cli,typst,rule,judge,capabilities,actions,improve,digest,memory,anki,question,tagging,improve,rag] ; extra == 'full'
|
14
14
|
Requires-Dist: fabricatio-anki ; extra == 'anki'
|
15
15
|
Requires-Dist: fabricatio-memory ; extra == 'memory'
|
16
16
|
Requires-Dist: fabricatio-digest ; extra == 'digest'
|
@@ -48,9 +48,32 @@ Project-URL: Homepage, https://github.com/Whth/fabricatio
|
|
48
48
|
Project-URL: Repository, https://github.com/Whth/fabricatio
|
49
49
|
Project-URL: Issues, https://github.com/Whth/fabricatio/issues
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
<p style="text-align: center;">
|
52
|
+
<picture>
|
53
|
+
<img src="./assets/band.png" width="80%" alt="Fabricatio Logo" loading="lazy">
|
54
|
+
</picture>
|
55
|
+
</p>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
[](LICENSE)
|
61
|
+
[](https://pypi.org/project/fabricatio/)
|
62
|
+
[](https://pypi.org/project/fabricatio/)
|
63
|
+
[](https://deepwiki.com/Whth/fabricatio)
|
64
|
+
[](https://pepy.tech/projects/fabricatio)
|
65
|
+
[](https://pepy.tech/projects/fabricatio)
|
66
|
+
[](https://github.com/PyO3/pyo3)
|
67
|
+
[](https://github.com/BerriAI/litellm)
|
68
|
+
[](https://github.com/astral-sh/uv)
|
69
|
+
[](https://fabricatio.readthedocs.io/en/latest/?badge=fabricatio)
|
70
|
+
[](https://github.com/Whth/fabricatio/actions/workflows/build-package.yaml)
|
71
|
+
[](https://github.com/Whth/fabricatio/actions/workflows/ruff.yaml)
|
72
|
+
[](https://github.com/Whth/fabricatio/actions/workflows/tests.yaml)
|
73
|
+

|
74
|
+

|
75
|
+

|
76
|
+
---
|
54
77
|
|
55
78
|
## Overview
|
56
79
|
|
@@ -173,10 +196,6 @@ max_tokens = 8192
|
|
173
196
|
make test
|
174
197
|
```
|
175
198
|
|
176
|
-
## TODO
|
177
|
-
|
178
|
-
- Add an element based format strategy
|
179
|
-
|
180
199
|
## Contributing
|
181
200
|
|
182
201
|
Contributions are welcome! Follow these steps:
|
@@ -0,0 +1,15 @@
|
|
1
|
+
fabricatio-0.4.5.dev0.data/scripts/tdown.exe,sha256=afIe2iyf0k8fHfOHPjrJLyHHoxS4I4VMggXIkoO2cXU,3799040
|
2
|
+
fabricatio-0.4.5.dev0.dist-info/METADATA,sha256=86-324aP0POxZ__pZSpEEilYPaNPMTsU1W-sDWoYsD4,7557
|
3
|
+
fabricatio-0.4.5.dev0.dist-info/WHEEL,sha256=Fk195VgSS-LCRRJAxz6O39eu2NdDhBCq3h9q4zoTguY,96
|
4
|
+
fabricatio-0.4.5.dev0.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
|
5
|
+
fabricatio/__init__.py,sha256=t2-WdrUOcaDZbGr9PxMvxrOUXpIyXHcNeD1Rzkm4ffY,722
|
6
|
+
fabricatio/actions/__init__.py,sha256=wdgHUFWQtWfvsxAcIFNxtLEw2HVyS0U4cw9x1q5NuhA,2059
|
7
|
+
fabricatio/capabilities/__init__.py,sha256=RY2TVzujQJcJCDJHJEMabVB1AVQBokKnCfdNM_ZnMwo,1929
|
8
|
+
fabricatio/models/__init__.py,sha256=Yx3ZLK8NdrdlLu335iE2QR8E9yIh-wNe_hhgElY7TxQ,1472
|
9
|
+
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
+
fabricatio/rust.cp313-win_amd64.pyd,sha256=ZKn9WqdeVWdt-MJ7kDU-HZ_tXIa471V2X4FYWiZ7cOQ,175616
|
11
|
+
fabricatio/toolboxes/__init__.py,sha256=fxi4KOg-nmX_cmJCA6tG1j1hav-O95KelO2gCVwdLSY,402
|
12
|
+
fabricatio/toolboxes/arithmetic.py,sha256=tcaHLzGQvnlbxG57IANpZ2vTRO5QpSt366RckBlBIOg,1374
|
13
|
+
fabricatio/toolboxes/fs.py,sha256=fpSfU6YkCVJzSXsbT9WT3m80tH8i6mhLWnu9u7yhV-w,746
|
14
|
+
fabricatio/workflows/__init__.py,sha256=Twr7FaI7scUhz0LOlPktB6lf_k3VdcHNabCjpTsw938,315
|
15
|
+
fabricatio-0.4.5.dev0.dist-info/RECORD,,
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
fabricatio-0.4.4.dev1.data/scripts/tdown.exe,sha256=7RJswC57TIb7AawdWEWeDpajWhraDXyJqAEBAhP9nC0,3812864
|
2
|
-
fabricatio-0.4.4.dev1.dist-info/METADATA,sha256=ZaQh-n9lbAsuEjcItSFwIx1VCdvgWtwisFoE2Qkp43M,5713
|
3
|
-
fabricatio-0.4.4.dev1.dist-info/WHEEL,sha256=Fk195VgSS-LCRRJAxz6O39eu2NdDhBCq3h9q4zoTguY,96
|
4
|
-
fabricatio-0.4.4.dev1.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
|
5
|
-
fabricatio/__init__.py,sha256=t2-WdrUOcaDZbGr9PxMvxrOUXpIyXHcNeD1Rzkm4ffY,722
|
6
|
-
fabricatio/actions/__init__.py,sha256=wdgHUFWQtWfvsxAcIFNxtLEw2HVyS0U4cw9x1q5NuhA,2059
|
7
|
-
fabricatio/capabilities/__init__.py,sha256=lIGhxzNeCj4EZ1uWxLyYd4ZPaBwxBOah0wG_8a2ovGo,1515
|
8
|
-
fabricatio/models/__init__.py,sha256=OlX_VAFQz7bwxDrVKq4QnjNqCOW_F575O15u9mApP4s,1123
|
9
|
-
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
fabricatio/rust.cp313-win_amd64.pyd,sha256=hhy1h72_UZMgTw-1lYwAPFp_JfqOCQ-OtfeIVfMYVo0,176640
|
11
|
-
fabricatio/toolboxes/__init__.py,sha256=fxi4KOg-nmX_cmJCA6tG1j1hav-O95KelO2gCVwdLSY,402
|
12
|
-
fabricatio/toolboxes/arithmetic.py,sha256=tcaHLzGQvnlbxG57IANpZ2vTRO5QpSt366RckBlBIOg,1374
|
13
|
-
fabricatio/toolboxes/fs.py,sha256=fpSfU6YkCVJzSXsbT9WT3m80tH8i6mhLWnu9u7yhV-w,746
|
14
|
-
fabricatio/workflows/__init__.py,sha256=s318vpCs898bOe5k68Qwa1hli2atzYDUU3gOQuXPFgc,333
|
15
|
-
fabricatio-0.4.4.dev1.dist-info/RECORD,,
|
File without changes
|
File without changes
|