fabricatio 0.4.1.dev3__cp313-cp313-win_amd64.whl → 0.4.4.dev1__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/__init__.py +2 -3
- fabricatio/actions/__init__.py +12 -16
- fabricatio/capabilities/__init__.py +6 -1
- fabricatio/models/__init__.py +15 -0
- fabricatio/rust.cp313-win_amd64.pyd +0 -0
- fabricatio/workflows/__init__.py +1 -1
- fabricatio-0.4.4.dev1.data/scripts/tdown.exe +0 -0
- {fabricatio-0.4.1.dev3.dist-info → fabricatio-0.4.4.dev1.dist-info}/METADATA +12 -6
- fabricatio-0.4.4.dev1.dist-info/RECORD +15 -0
- fabricatio-0.4.1.dev3.data/scripts/tdown.exe +0 -0
- fabricatio-0.4.1.dev3.dist-info/RECORD +0 -15
- {fabricatio-0.4.1.dev3.dist-info → fabricatio-0.4.4.dev1.dist-info}/WHEEL +0 -0
- {fabricatio-0.4.1.dev3.dist-info → fabricatio-0.4.4.dev1.dist-info}/licenses/LICENSE +0 -0
fabricatio/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"""Fabricatio is a Python library for building llm app using event-based agent structure."""
|
2
2
|
|
3
|
-
from fabricatio_core import fs,
|
3
|
+
from fabricatio_core import fs, parser, utils
|
4
4
|
from fabricatio_core.journal import logger
|
5
5
|
from fabricatio_core.models.action import Action, WorkFlow
|
6
6
|
from fabricatio_core.models.role import Role
|
@@ -8,8 +8,6 @@ from fabricatio_core.models.task import Task
|
|
8
8
|
from fabricatio_core.models.tool import ToolBox
|
9
9
|
from fabricatio_core.rust import CONFIG, TEMPLATE_MANAGER, Event
|
10
10
|
|
11
|
-
from fabricatio import toolboxes, workflows
|
12
|
-
|
13
11
|
__all__ = [
|
14
12
|
"CONFIG",
|
15
13
|
"TEMPLATE_MANAGER",
|
@@ -19,6 +17,7 @@ __all__ = [
|
|
19
17
|
"Task",
|
20
18
|
"ToolBox",
|
21
19
|
"WorkFlow",
|
20
|
+
"actions",
|
22
21
|
"fs",
|
23
22
|
"logger",
|
24
23
|
"models",
|
fabricatio/actions/__init__.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
"""This is the initialization file for the 'fabricatio.actions' package.
|
2
|
+
|
3
|
+
It imports various action classes from different modules based on the availability of certain packages.
|
4
|
+
The imported classes are then added to the '__all__' list, making them accessible when the package is imported.
|
5
|
+
"""
|
6
|
+
|
1
7
|
from importlib.util import find_spec
|
2
8
|
|
3
9
|
__all__ = []
|
@@ -22,8 +28,7 @@ if find_spec("fabricatio_typst"):
|
|
22
28
|
"GenerateArticleProposal",
|
23
29
|
"GenerateInitialOutline",
|
24
30
|
"WriteChapterSummary",
|
25
|
-
"WriteResearchContentSummary"
|
26
|
-
|
31
|
+
"WriteResearchContentSummary",
|
27
32
|
]
|
28
33
|
|
29
34
|
if find_spec("fabricatio_rag"):
|
@@ -34,23 +39,14 @@ if find_spec("fabricatio_typst"):
|
|
34
39
|
WriteArticleContentRAG,
|
35
40
|
)
|
36
41
|
|
37
|
-
__all__ += [
|
38
|
-
|
39
|
-
"ArticleConsultRAG",
|
40
|
-
"ChunkArticle",
|
41
|
-
"TweakArticleRAG",
|
42
|
-
"WriteArticleContentRAG"
|
43
|
-
|
44
|
-
]
|
42
|
+
__all__ += ["ArticleConsultRAG", "ChunkArticle", "TweakArticleRAG", "WriteArticleContentRAG"]
|
45
43
|
if find_spec("fabricatio_rag"):
|
46
44
|
from fabricatio_rag.actions.rag import InjectToDB, RAGTalk
|
47
45
|
|
48
|
-
__all__ += [
|
49
|
-
"InjectToDB",
|
50
|
-
"RAGTalk"
|
51
|
-
]
|
46
|
+
__all__ += ["InjectToDB", "RAGTalk"]
|
52
47
|
|
53
48
|
if find_spec("fabricatio_actions"):
|
49
|
+
from fabricatio_actions.actions.fs import ReadText
|
54
50
|
from fabricatio_actions.actions.output import (
|
55
51
|
DumpFinalizedOutput,
|
56
52
|
Forward,
|
@@ -62,12 +58,12 @@ if find_spec("fabricatio_actions"):
|
|
62
58
|
)
|
63
59
|
|
64
60
|
__all__ += [
|
65
|
-
|
66
61
|
"DumpFinalizedOutput",
|
67
62
|
"Forward",
|
68
63
|
"GatherAsList",
|
69
64
|
"PersistentAll",
|
65
|
+
"ReadText",
|
70
66
|
"RenderedDump",
|
71
67
|
"RetrieveFromLatest",
|
72
|
-
"RetrieveFromPersistent"
|
68
|
+
"RetrieveFromPersistent",
|
73
69
|
]
|
@@ -37,7 +37,12 @@ if find_spec("fabricatio_improve"):
|
|
37
37
|
"Review",
|
38
38
|
]
|
39
39
|
|
40
|
-
if find_spec():
|
40
|
+
if find_spec("fabricatio_judge"):
|
41
41
|
from fabricatio_judge.capabilities.advanced_judge import AdvancedJudge
|
42
42
|
|
43
43
|
__all__ += ["AdvancedJudge"]
|
44
|
+
|
45
|
+
if find_spec("fabricatio_digest"):
|
46
|
+
from fabricatio_digest.capabilities.digest import Digest
|
47
|
+
|
48
|
+
__all__ += ["Digest"]
|
fabricatio/models/__init__.py
CHANGED
@@ -29,3 +29,18 @@ if find_spec("fabricatio_typst"):
|
|
29
29
|
"ArticleChunk"
|
30
30
|
|
31
31
|
]
|
32
|
+
|
33
|
+
if find_spec("fabricatio_judge"):
|
34
|
+
from fabricatio_judge.models.advanced_judge import JudgeMent
|
35
|
+
|
36
|
+
__all__ += [
|
37
|
+
"JudgeMent"
|
38
|
+
]
|
39
|
+
|
40
|
+
if find_spec("fabricatio_digest"):
|
41
|
+
from fabricatio_digest.models.tasklist import TaskList
|
42
|
+
|
43
|
+
__all__ += [
|
44
|
+
"TaskList"
|
45
|
+
]
|
46
|
+
|
Binary file
|
fabricatio/workflows/__init__.py
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fabricatio
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.4.dev1
|
4
4
|
Classifier: License :: OSI Approved :: MIT License
|
5
5
|
Classifier: Programming Language :: Rust
|
6
6
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -10,28 +10,34 @@ Classifier: Framework :: AsyncIO
|
|
10
10
|
Classifier: Framework :: Pydantic :: 2
|
11
11
|
Classifier: Typing :: Typed
|
12
12
|
Requires-Dist: fabricatio-core
|
13
|
-
Requires-Dist: fabricatio[
|
13
|
+
Requires-Dist: fabricatio[rag,cli,typst,rule,judge,capabilities,actions,improve,digest,memory,anki,question,tagging] ; extra == 'full'
|
14
|
+
Requires-Dist: fabricatio-anki ; extra == 'anki'
|
15
|
+
Requires-Dist: fabricatio-memory ; extra == 'memory'
|
16
|
+
Requires-Dist: fabricatio-digest ; extra == 'digest'
|
14
17
|
Requires-Dist: fabricatio-rag ; extra == 'rag'
|
15
18
|
Requires-Dist: fabricatio-judge ; extra == 'judge'
|
16
19
|
Requires-Dist: fabricatio-rule ; extra == 'rule'
|
17
|
-
Requires-Dist: questionary>=2.1.0 ; extra == 'qa'
|
18
|
-
Requires-Dist: magika>=0.6.1 ; extra == 'ftd'
|
19
20
|
Requires-Dist: typer-slim[standard]>=0.15.2 ; extra == 'cli'
|
20
21
|
Requires-Dist: fabricatio-typst ; extra == 'typst'
|
21
22
|
Requires-Dist: fabricatio-improve ; extra == 'improve'
|
22
23
|
Requires-Dist: fabricatio-capabilities ; extra == 'capabilities'
|
23
24
|
Requires-Dist: fabricatio-actions ; extra == 'actions'
|
25
|
+
Requires-Dist: fabricatio-question ; extra == 'question'
|
26
|
+
Requires-Dist: fabricatio-tagging ; extra == 'tagging'
|
24
27
|
Provides-Extra: full
|
28
|
+
Provides-Extra: anki
|
29
|
+
Provides-Extra: memory
|
30
|
+
Provides-Extra: digest
|
25
31
|
Provides-Extra: rag
|
26
32
|
Provides-Extra: judge
|
27
33
|
Provides-Extra: rule
|
28
|
-
Provides-Extra: qa
|
29
|
-
Provides-Extra: ftd
|
30
34
|
Provides-Extra: cli
|
31
35
|
Provides-Extra: typst
|
32
36
|
Provides-Extra: improve
|
33
37
|
Provides-Extra: capabilities
|
34
38
|
Provides-Extra: actions
|
39
|
+
Provides-Extra: question
|
40
|
+
Provides-Extra: tagging
|
35
41
|
License-File: LICENSE
|
36
42
|
Summary: A LLM multi-agent framework.
|
37
43
|
Keywords: ai,agents,multi-agent,llm,pyo3
|
@@ -0,0 +1,15 @@
|
|
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,,
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
fabricatio-0.4.1.dev3.data/scripts/tdown.exe,sha256=CknuR-ux_D0TLfFPS5ciBdsheg4cbiJAV9BjoRm_w1s,3378176
|
2
|
-
fabricatio-0.4.1.dev3.dist-info/METADATA,sha256=yp2Zx6h1G6B1qeZdvZmZQ9hBUTdyD1UrXlEwCtzQ9c0,5428
|
3
|
-
fabricatio-0.4.1.dev3.dist-info/WHEEL,sha256=Fk195VgSS-LCRRJAxz6O39eu2NdDhBCq3h9q4zoTguY,96
|
4
|
-
fabricatio-0.4.1.dev3.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
|
5
|
-
fabricatio/__init__.py,sha256=Citu14Cr2ZWeV6M0TTW8e_ydu8XvH_-WH85sQ76KSA0,761
|
6
|
-
fabricatio/actions/__init__.py,sha256=pEC7ninvGytIKeIJLdYaGzwNwnG1tOPziR3H-oUkwTU,1775
|
7
|
-
fabricatio/capabilities/__init__.py,sha256=hB2rI6xBrQp4zZjdinWVDKpEN3MoIaOqd2Y4eSBdG_I,1368
|
8
|
-
fabricatio/models/__init__.py,sha256=NLWNitqYW67hDWsZhUwp3v3gQVP0w1ovCy6DnPOFG_Q,825
|
9
|
-
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
fabricatio/rust.cp313-win_amd64.pyd,sha256=pSWwReZHBusqh6sAg6afe04tYAeOytFb1zN2Txs08Vs,176128
|
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=cR2yioLXzA4_icwSfnE-D2xU4GFNQSXa51cHsXQZgo8,297
|
15
|
-
fabricatio-0.4.1.dev3.dist-info/RECORD,,
|
File without changes
|
File without changes
|