fabricatio 0.3.13__cp312-cp312-win_amd64.whl → 0.3.14__cp312-cp312-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.
Files changed (48) hide show
  1. fabricatio/__init__.py +6 -13
  2. fabricatio/actions/article.py +87 -50
  3. fabricatio/actions/article_rag.py +59 -68
  4. fabricatio/actions/output.py +58 -24
  5. fabricatio/actions/rag.py +2 -3
  6. fabricatio/capabilities/advanced_judge.py +4 -7
  7. fabricatio/capabilities/advanced_rag.py +2 -1
  8. fabricatio/capabilities/censor.py +5 -4
  9. fabricatio/capabilities/check.py +27 -27
  10. fabricatio/capabilities/correct.py +22 -22
  11. fabricatio/capabilities/extract.py +33 -33
  12. fabricatio/capabilities/persist.py +103 -0
  13. fabricatio/capabilities/propose.py +2 -2
  14. fabricatio/capabilities/rag.py +11 -10
  15. fabricatio/capabilities/rating.py +66 -70
  16. fabricatio/capabilities/review.py +12 -11
  17. fabricatio/capabilities/task.py +19 -18
  18. fabricatio/decorators.py +11 -9
  19. fabricatio/{core.py → emitter.py} +17 -19
  20. fabricatio/journal.py +2 -4
  21. fabricatio/models/action.py +15 -32
  22. fabricatio/models/extra/aricle_rag.py +13 -8
  23. fabricatio/models/extra/article_base.py +57 -25
  24. fabricatio/models/extra/article_essence.py +2 -1
  25. fabricatio/models/extra/article_main.py +24 -22
  26. fabricatio/models/extra/article_outline.py +2 -1
  27. fabricatio/models/extra/article_proposal.py +1 -1
  28. fabricatio/models/extra/rag.py +2 -2
  29. fabricatio/models/extra/rule.py +2 -1
  30. fabricatio/models/generic.py +55 -137
  31. fabricatio/models/kwargs_types.py +1 -54
  32. fabricatio/models/role.py +49 -28
  33. fabricatio/models/task.py +3 -4
  34. fabricatio/models/tool.py +6 -7
  35. fabricatio/models/usages.py +146 -149
  36. fabricatio/parser.py +59 -99
  37. fabricatio/rust.cp312-win_amd64.pyd +0 -0
  38. fabricatio/rust.pyi +58 -81
  39. fabricatio/utils.py +63 -162
  40. fabricatio-0.3.14.data/scripts/tdown.exe +0 -0
  41. fabricatio-0.3.14.data/scripts/ttm.exe +0 -0
  42. {fabricatio-0.3.13.dist-info → fabricatio-0.3.14.dist-info}/METADATA +10 -13
  43. fabricatio-0.3.14.dist-info/RECORD +64 -0
  44. {fabricatio-0.3.13.dist-info → fabricatio-0.3.14.dist-info}/WHEEL +1 -1
  45. fabricatio-0.3.13.data/scripts/tdown.exe +0 -0
  46. fabricatio-0.3.13.data/scripts/ttm.exe +0 -0
  47. fabricatio-0.3.13.dist-info/RECORD +0 -63
  48. {fabricatio-0.3.13.dist-info → fabricatio-0.3.14.dist-info}/licenses/LICENSE +0 -0
fabricatio/utils.py CHANGED
@@ -1,13 +1,39 @@
1
1
  """A collection of utility functions for the fabricatio package."""
2
2
 
3
- from typing import Any, Dict, List, Mapping, Optional, TypedDict, Unpack, overload
4
-
5
- import aiohttp
6
- import requests
3
+ from typing import Any, Dict, Iterable, List, Mapping, Optional, Tuple, Type, overload
7
4
 
8
5
  from fabricatio.decorators import precheck_package
9
- from fabricatio.journal import logger
10
- from fabricatio.models.kwargs_types import RerankOptions
6
+
7
+
8
+ def is_subclass_of_base(cls: Type, base_module: str, base_name: str) -> bool:
9
+ """Determines if the given class is a subclass of an unimported base class.
10
+
11
+ Args:
12
+ cls: The class to check
13
+ base_module: The module name of the base class
14
+ base_name: The class name of the base class
15
+
16
+ Returns:
17
+ bool: True if cls is a subclass of the specified base class, False otherwise
18
+ """
19
+ return any(ancestor.__module__ == base_module and ancestor.__name__ == base_name for ancestor in cls.__mro__)
20
+
21
+
22
+ def is_subclass_of_any_base(cls: Type, bases: List[Tuple[str, str]]) -> bool:
23
+ """Determines if the given class is a subclass of the candidate base classes.
24
+
25
+ Args:
26
+ cls: The class to check
27
+ bases: A list of tuples where each tuple contains (module_name, class_name)
28
+
29
+ Returns:
30
+ bool: True if cls is a subclass of the specified base classes, False otherwise
31
+ """
32
+ for ancestor in cls.__mro__:
33
+ for base_module, base_name in bases:
34
+ if ancestor.__module__ == base_module and ancestor.__name__ == base_name:
35
+ return True
36
+ return False
11
37
 
12
38
 
13
39
  @precheck_package(
@@ -85,6 +111,37 @@ def ok[T](val: Optional[T], msg: str = "Value is None") -> T:
85
111
  return val
86
112
 
87
113
 
114
+ def first_available[T](iterable: Iterable[T], msg: str = "No available item found in the iterable.") -> T:
115
+ """Return the first available item in the iterable that's not None.
116
+
117
+ This function searches through the provided iterable and returns the first
118
+ item that is not None. If all items are None or the iterable is empty,
119
+ it raises a ValueError.
120
+
121
+ Args:
122
+ iterable: The iterable collection to search through.
123
+ msg: The message to include in the ValueError if no non-None item is found.
124
+
125
+ Returns:
126
+ T: The first non-None item found in the iterable.
127
+ If no non-None item is found, it raises a ValueError.
128
+
129
+ Raises:
130
+ ValueError: If no non-None item is found in the iterable.
131
+
132
+ Examples:
133
+ >>> first_available([None, None, "value", "another"])
134
+ 'value'
135
+ >>> first_available([1, 2, 3])
136
+ 1
137
+ >>> assert (first_available([None, None]))
138
+ ValueError: No available item found in the iterable.
139
+ """
140
+ if (first := next((item for item in iterable if item is not None), None)) is not None:
141
+ return first
142
+ raise ValueError(msg)
143
+
144
+
88
145
  def wrapp_in_block(string: str, title: str, style: str = "-") -> str:
89
146
  """Wraps a string in a block with a title.
90
147
 
@@ -97,159 +154,3 @@ def wrapp_in_block(string: str, title: str, style: str = "-") -> str:
97
154
  str: The wrapped string.
98
155
  """
99
156
  return f"--- Start of {title} ---\n{string}\n--- End of {title} ---".replace("-", style)
100
-
101
-
102
- class RerankResult(TypedDict):
103
- """The rerank result."""
104
-
105
- index: int
106
- score: float
107
-
108
-
109
- class RerankerAPI:
110
- """A class to interact with the /rerank API for text reranking."""
111
-
112
- def __init__(self, base_url: str) -> None:
113
- """Initialize the RerankerAPI instance.
114
-
115
- Args:
116
- base_url (str): The base URL of the TEI-deployed reranker model API.
117
- Example: "http://localhost:8000".
118
- """
119
- self.base_url = base_url.rstrip("/") # Ensure no trailing slashes
120
-
121
- @staticmethod
122
- def _map_error_code(status_code: int, error_data: Dict[str, str]) -> Exception:
123
- """Map HTTP status codes and error data to specific exceptions.
124
-
125
- Args:
126
- status_code (int): The HTTP status code returned by the API.
127
- error_data (Dict[str, str]): The error details returned by the API.
128
-
129
- Returns:
130
- Exception: A specific exception based on the error code and message.
131
- """
132
- error_message = error_data.get("error", "Unknown error")
133
-
134
- if status_code == 400:
135
- return ValueError(f"Bad request: {error_message}")
136
- if status_code == 413:
137
- return ValueError(f"Batch size error: {error_message}")
138
- if status_code == 422:
139
- return RuntimeError(f"Tokenization error: {error_message}")
140
- if status_code == 424:
141
- return RuntimeError(f"Rerank error: {error_message}")
142
- if status_code == 429:
143
- return RuntimeError(f"Model overloaded: {error_message}")
144
- return RuntimeError(f"Unexpected error ({status_code}): {error_message}")
145
-
146
- def rerank(self, query: str, texts: List[str], **kwargs: Unpack[RerankOptions]) -> List[RerankResult]:
147
- """Call the /rerank API to rerank a list of texts based on a query (synchronous).
148
-
149
- Args:
150
- query (str): The query string used for matching with the texts.
151
- texts (List[str]): A list of texts to be reranked.
152
- **kwargs (Unpack[RerankOptions]): Optional keyword arguments:
153
- - raw_scores (bool, optional): Whether to return raw scores. Defaults to False.
154
- - truncate (bool, optional): Whether to truncate the texts. Defaults to False.
155
- - truncation_direction (Literal["left", "right"], optional): Direction of truncation. Defaults to "right".
156
-
157
- Returns:
158
- List[RerankResult]: A list of dictionaries containing the reranked results.
159
- Each dictionary includes:
160
- - "index" (int): The original index of the text.
161
- - "score" (float): The relevance score.
162
-
163
- Raises:
164
- ValueError: If input parameters are invalid or the API returns a client-side error.
165
- RuntimeError: If the API call fails or returns a server-side error.
166
- """
167
- # Validate inputs
168
- if not isinstance(query, str) or not query.strip():
169
- raise ValueError("Query must be a non-empty string.")
170
- if not isinstance(texts, list) or not all(isinstance(text, str) for text in texts):
171
- raise ValueError("Texts must be a list of strings.")
172
-
173
- # Construct the request payload
174
- payload = {
175
- "query": query,
176
- "texts": texts,
177
- **kwargs,
178
- }
179
-
180
- try:
181
- # Send POST request to the API
182
- response = requests.post(f"{self.base_url}/rerank", json=payload)
183
-
184
- # Handle non-200 status codes
185
- if not response.ok:
186
- error_data = None
187
- if "application/json" in response.headers.get("Content-Type", ""):
188
- error_data = response.json()
189
- else:
190
- error_data = {"error": response.text, "error_type": "unexpected_mimetype"}
191
- raise self._map_error_code(response.status_code, error_data)
192
-
193
- # Parse the JSON response
194
- data: List[RerankResult] = response.json()
195
- logger.debug(f"Rerank for `{query}` get {[s['score'] for s in data]}")
196
- return data
197
-
198
- except requests.exceptions.RequestException as e:
199
- raise RuntimeError(f"Failed to connect to the API: {e}") from e
200
-
201
- async def arerank(self, query: str, texts: List[str], **kwargs: Unpack[RerankOptions]) -> List[RerankResult]:
202
- """Call the /rerank API to rerank a list of texts based on a query (asynchronous).
203
-
204
- Args:
205
- query (str): The query string used for matching with the texts.
206
- texts (List[str]): A list of texts to be reranked.
207
- **kwargs (Unpack[RerankOptions]): Optional keyword arguments:
208
- - raw_scores (bool, optional): Whether to return raw scores. Defaults to False.
209
- - truncate (bool, optional): Whether to truncate the texts. Defaults to False.
210
- - truncation_direction (Literal["left", "right"], optional): Direction of truncation. Defaults to "right".
211
-
212
- Returns:
213
- List[RerankResult]: A list of dictionaries containing the reranked results.
214
- Each dictionary includes:
215
- - "index" (int): The original index of the text.
216
- - "score" (float): The relevance score.
217
-
218
- Raises:
219
- ValueError: If input parameters are invalid or the API returns a client-side error.
220
- RuntimeError: If the API call fails or returns a server-side error.
221
- """
222
- # Validate inputs
223
- if not isinstance(query, str) or not query.strip():
224
- raise ValueError("Query must be a non-empty string.")
225
- if not isinstance(texts, list) or not all(isinstance(text, str) for text in texts):
226
- raise ValueError("Texts must be a list of strings.")
227
-
228
- # Construct the request payload
229
- payload = {
230
- "query": query,
231
- "texts": texts,
232
- **kwargs,
233
- }
234
-
235
- try:
236
- # Send POST request to the API using aiohttp
237
- async with (
238
- aiohttp.ClientSession() as session,
239
- session.post(f"{self.base_url}/rerank", json=payload) as response,
240
- ):
241
- # Handle non-200 status codes
242
- if not response.ok:
243
- if "application/json" in response.headers.get("Content-Type", ""):
244
- error_data = await response.json()
245
- else:
246
- error_data = {"error": await response.text(), "error_type": "unexpected_mimetype"}
247
- raise self._map_error_code(response.status, error_data)
248
-
249
- # Parse the JSON response
250
- data: List[RerankResult] = await response.json()
251
- logger.debug(f"Rerank for `{query}` get {[s['score'] for s in data]}")
252
- return data
253
-
254
- except aiohttp.ClientError as e:
255
- raise RuntimeError(f"Failed to connect to the API: {e}") from e
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricatio
3
- Version: 0.3.13
3
+ Version: 0.3.14
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -18,17 +18,13 @@ Requires-Dist: pydantic>=2.10.6
18
18
  Requires-Dist: pymitter>=1.0.0
19
19
  Requires-Dist: rich>=13.9.4
20
20
  Requires-Dist: ujson>=5.10.0
21
- Requires-Dist: fabricatio[calc,ftd,plot,qa,rag,cli] ; extra == 'full'
21
+ Requires-Dist: fabricatio[ftd,qa,rag,cli] ; extra == 'full'
22
22
  Requires-Dist: pymilvus>=2.5.4 ; extra == 'rag'
23
- Requires-Dist: sympy>=1.13.3 ; extra == 'calc'
24
- Requires-Dist: matplotlib>=3.10.1 ; extra == 'plot'
25
23
  Requires-Dist: questionary>=2.1.0 ; extra == 'qa'
26
24
  Requires-Dist: magika>=0.6.1 ; extra == 'ftd'
27
25
  Requires-Dist: typer-slim[standard]>=0.15.2 ; extra == 'cli'
28
26
  Provides-Extra: full
29
27
  Provides-Extra: rag
30
- Provides-Extra: calc
31
- Provides-Extra: plot
32
28
  Provides-Extra: qa
33
29
  Provides-Extra: ftd
34
30
  Provides-Extra: cli
@@ -36,7 +32,7 @@ License-File: LICENSE
36
32
  Summary: A LLM multi-agent framework.
37
33
  Keywords: ai,agents,multi-agent,llm,pyo3
38
34
  Author-email: Whth <zettainspector@foxmail.com>
39
- Requires-Python: >=3.12, <3.13
35
+ Requires-Python: >=3.12, <3.14
40
36
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
41
37
  Project-URL: Homepage, https://github.com/Whth/fabricatio
42
38
  Project-URL: Repository, https://github.com/Whth/fabricatio
@@ -86,7 +82,7 @@ make bdist
86
82
 
87
83
  ```python
88
84
  import asyncio
89
- from fabricatio import Action, Role, Task, logger, WorkFlow
85
+ from fabricatio import Action, Role, Task, logger, WorkFlow, Event
90
86
  from typing import Any
91
87
 
92
88
 
@@ -101,14 +97,14 @@ class Hello(Action):
101
97
 
102
98
 
103
99
  async def main() -> None:
104
- role = Role(
100
+ Role(
105
101
  name="talker",
106
102
  description="talker role",
107
- registry={Task.pending_label: WorkFlow(name="talk", steps=(Hello,))}
103
+ registry={Event.quick_instantiate("talk"): WorkFlow(name="talk", steps=(Hello,))}
108
104
  )
109
105
 
110
- task = Task(name="say hello", goals="say hello", description="say hello to the world")
111
- result = await task.delegate()
106
+ task = Task(name="say hello", goals=["say hello"], description="say hello to the world")
107
+ result = await task.delegate("talk")
112
108
  logger.success(f"Result: {result}")
113
109
 
114
110
 
@@ -163,11 +159,11 @@ max_tokens = 8192
163
159
  ```bash
164
160
  make test
165
161
  ```
162
+
166
163
  ## TODO
167
164
 
168
165
  - Add an element based format strategy
169
166
 
170
-
171
167
  ## Contributing
172
168
 
173
169
  Contributions are welcome! Follow these steps:
@@ -189,4 +185,5 @@ Special thanks to the contributors and maintainers of:
189
185
  - [PyO3](https://github.com/PyO3/pyo3)
190
186
  - [Maturin](https://github.com/PyO3/maturin)
191
187
  - [Handlebars.rs](https://github.com/sunng87/handlebars-rust)
188
+ - [LiteLLM](https://github.com/BerriAI/litellm)
192
189
 
@@ -0,0 +1,64 @@
1
+ fabricatio-0.3.14.data/scripts/tdown.exe,sha256=tcwy8uOlTTSW7vbDwiRkEWIbWNGDCtt7x30sEec54vs,3450880
2
+ fabricatio-0.3.14.data/scripts/ttm.exe,sha256=hR8wJEEp6UfrGVmrIOwrBhozKEpA-PE-ZcmfDAk8qjA,2559488
3
+ fabricatio-0.3.14.dist-info/METADATA,sha256=mYmZNSNR5-e2R-LgjvRgAsQvnPtpFzJFuFLZiEEkP14,5160
4
+ fabricatio-0.3.14.dist-info/WHEEL,sha256=YpU2aDuTyBIvwRZn8idqScP-vkQ8DUGkCILtYmMfnFY,96
5
+ fabricatio-0.3.14.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
6
+ fabricatio/__init__.py,sha256=w7ObFg6ud4pQuC1DhVyQI9x9dtp05QrcJAEk643iJmc,761
7
+ fabricatio/actions/__init__.py,sha256=wVENCFtpVb1rLFxoOFJt9-8smLWXuJV7IwA8P3EfFz4,48
8
+ fabricatio/actions/article.py,sha256=gRAkE2eSzSNQh0eCk9P1FGF8xLPvHEVfxOLNDxrCI3U,14470
9
+ fabricatio/actions/article_rag.py,sha256=ohS1CRtYuv2rJNgoIsBl2yv-PuuoypA3y223rUUyDBg,17989
10
+ fabricatio/actions/fs.py,sha256=gJR14U4ln35nt8Z7OWLVAZpqGaLnED-r1Yi-lX22tkI,959
11
+ fabricatio/actions/output.py,sha256=jZL72D5uFobKNiVFapnVxBcjSNqGEThYNlCUKQvZwz8,9935
12
+ fabricatio/actions/rag.py,sha256=vgCzIfbSd3_vL3QxB12PY4h12V9Pe3sZRsWme0KC6X8,3583
13
+ fabricatio/actions/rules.py,sha256=dkvCgNDjt2KSO1VgPRsxT4YBmIIMeetZb5tiz-slYkU,3640
14
+ fabricatio/capabilities/__init__.py,sha256=v1cHRHIJ2gxyqMLNCs6ERVcCakSasZNYzmMI4lqAcls,57
15
+ fabricatio/capabilities/advanced_judge.py,sha256=jQ_Gsn6L8EKb6KQi3j0G0GSUz2j8D2220C1hIhrAeU8,682
16
+ fabricatio/capabilities/advanced_rag.py,sha256=DYh-imLQkjVOgKd__OEbwGzqwNeTtX_6NBGx_bCiFs8,2539
17
+ fabricatio/capabilities/censor.py,sha256=e0tHll4J_-TT8-Vn1OZ1innVZbJfx55oyGtDoEI99r8,4745
18
+ fabricatio/capabilities/check.py,sha256=6IC6F0IhYVpSf9pJ8r9lq40l_FF3qf-iJcTRWwpnkdg,8591
19
+ fabricatio/capabilities/correct.py,sha256=-JR8ZUAtagmNXepVyY679MBUyFCZwtKPjv8dANJMZiE,10403
20
+ fabricatio/capabilities/extract.py,sha256=E7CLZflWzJ6C6DVLEWysYZ_48g_-F93gZJVU56k2-XA,2523
21
+ fabricatio/capabilities/persist.py,sha256=9XnKoeZ62YjXVDpYnkbDFf62B_Mz46WVsq1dTr2Wvvc,3421
22
+ fabricatio/capabilities/propose.py,sha256=v8OiUHc8GU7Jg1zAUghYhrI-AKgmBeUvQMo22ZAOddw,2030
23
+ fabricatio/capabilities/rag.py,sha256=lwFrC96tL3uJ4keJ6n46vrvrdF6bARg1Yn6y6pQn7VQ,11194
24
+ fabricatio/capabilities/rating.py,sha256=cm-s2YJMYcS36mR9b7XNwRQ1x0h0uWxLHCapoAORv8I,17815
25
+ fabricatio/capabilities/review.py,sha256=l06BYcQzPi7VKmWdplj9L6WvZEscZqW1Wx9OhR-UnNw,5061
26
+ fabricatio/capabilities/task.py,sha256=-b92cGi7b3B30kOSS-90_H6BjA0VF_cjc1BzPbO5MkI,4401
27
+ fabricatio/decorators.py,sha256=FmUDSr6RFtRnIXZ2OWYmbxCgTM1lsHKuyw4jTFgJbDo,9094
28
+ fabricatio/emitter.py,sha256=n4vH6E7lcT57qVve_3hUAdfvj0mQUDkWu6iU5aNztB8,6341
29
+ fabricatio/fs/__init__.py,sha256=USoMI_HcIr3Yc77_JQYYsXrsplYPXtFTaNB9YgFfC4s,713
30
+ fabricatio/fs/curd.py,sha256=652nHulbJ3gwt0Z3nywtPMmjhEyglDvEfc3p7ieJNNA,4777
31
+ fabricatio/fs/readers.py,sha256=UXvcJO3UCsxHu9PPkg34Yh55Zi-miv61jD_wZQJgKRs,1751
32
+ fabricatio/journal.py,sha256=mnbdB1Dw-mhEKIgWlPKn7W07ssg-6dmxMXilIGQMFV8,216
33
+ fabricatio/models/action.py,sha256=RhjHaEJILiCZux5hzxSZVt_7Evcu3TnFHNuJN8rzgq8,10052
34
+ fabricatio/models/adv_kwargs_types.py,sha256=IBV3ZcsNLvvEjO_2hBpYg_wLSpNKaMx6Ndam3qXJCw8,2097
35
+ fabricatio/models/extra/__init__.py,sha256=XlYnS_2B9nhLhtQkjE7rvvfPmAAtXVdNi9bSDAR-Ge8,54
36
+ fabricatio/models/extra/advanced_judge.py,sha256=INUl_41C8jkausDekkjnEmTwNfLCJ23TwFjq2cM23Cw,1092
37
+ fabricatio/models/extra/aricle_rag.py,sha256=wg7EaxDW3ScOoYHPc-e9HXzllNgaJemNFmrAuF_mgzI,12009
38
+ fabricatio/models/extra/article_base.py,sha256=b70frbOUmPywCcWGxQhOzvKcqhqx5bRB5aTGfROHlFE,18009
39
+ fabricatio/models/extra/article_essence.py,sha256=z3Qz6xVsB9k-K-c4Y2CoKzxZrXaUd4oyt2Mb6hGDYdg,2793
40
+ fabricatio/models/extra/article_main.py,sha256=kBLqKMeBPy2fxioOZa9oqFjGPPjHvXHWDF_Fpx16aLU,11307
41
+ fabricatio/models/extra/article_outline.py,sha256=P0T-1DGCzoNmQ3iQVwSmOul0nwS6qLgr0FF8jDdD7F0,1673
42
+ fabricatio/models/extra/article_proposal.py,sha256=OQIKoJkmJv0ogYVk7eGK_TOtANVYcBPA_HeV1nuG0Vo,1909
43
+ fabricatio/models/extra/patches.py,sha256=_WNCxtYzzsVfUxI16vu4IqsLahLYRHdbQN9er9tqhC0,997
44
+ fabricatio/models/extra/problem.py,sha256=8tTU-3giFHOi5j7NJsvH__JJyYcaGrcfsRnkzQNm0Ew,7216
45
+ fabricatio/models/extra/rag.py,sha256=C7ptZCuGJmT8WikjpF9KhZ0Bw-VicdB-s8EqEAgMLKE,3967
46
+ fabricatio/models/extra/rule.py,sha256=WKahNiaIp8s_l2r_FG21F_PP3_hgNm4hfSVCSFyfoBE,2669
47
+ fabricatio/models/generic.py,sha256=NQW2hfZ-_OTuok_gvIYepq49VThrl9guFPfN-68LbPw,27870
48
+ fabricatio/models/kwargs_types.py,sha256=Ik8-Oi_NmwfkvC9B8K4NsoZc_vSWV85xKCSthA1Xv_k,3403
49
+ fabricatio/models/role.py,sha256=PrVwmGUi3xh2uyxEDw0fygXDhllFOB65dKOuQnepoUc,4253
50
+ fabricatio/models/task.py,sha256=XZ1l1P-iS02ZF9P8cXv8gEfJKBa17PFPNJ1SbhyhT4Q,11033
51
+ fabricatio/models/tool.py,sha256=q2wDtZAebWMZlsFifgmJq8N3XvAhVNMb0aUIKkdruGc,12419
52
+ fabricatio/models/usages.py,sha256=q2jLqa0vJ7ho9ZUkC-2uPuFpK8uClBLIS6TEEYHUotY,33041
53
+ fabricatio/parser.py,sha256=dYFri9pDlsiwVpEJ-a5jmVU2nFuKN3uBHC8VsVpdEm8,4642
54
+ fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
+ fabricatio/rust.cp312-win_amd64.pyd,sha256=Xzt_eDhOHiObHe5KVXonpySrstNCFLeSHbcQRZopujU,7819776
56
+ fabricatio/rust.pyi,sha256=P_Tb54nW3Pepw--fgs3Tj8GhC1ufUCJXhcnFNElVtn8,26168
57
+ fabricatio/toolboxes/__init__.py,sha256=KBJi5OG_pExscdlM7Bnt_UF43j4I3Lv6G71kPVu4KQU,395
58
+ fabricatio/toolboxes/arithmetic.py,sha256=WLqhY-Pikv11Y_0SGajwZx3WhsLNpHKf9drzAqOf_nY,1369
59
+ fabricatio/toolboxes/fs.py,sha256=l4L1CVxJmjw9Ld2XUpIlWfV0_Fu_2Og6d3E13I-S4aE,736
60
+ fabricatio/utils.py,sha256=WYhFB4tHk6jKmjZgAsYhRmg1ZvBjn4X2y4n7yz25HjE,5454
61
+ fabricatio/workflows/__init__.py,sha256=5ScFSTA-bvhCesj3U9Mnmi6Law6N1fmh5UKyh58L3u8,51
62
+ fabricatio/workflows/articles.py,sha256=ObYTFUqLUk_CzdmmnX6S7APfxcGmPFqnFr9pdjU7Z4Y,969
63
+ fabricatio/workflows/rag.py,sha256=-YYp2tlE9Vtfgpg6ROpu6QVO8j8yVSPa6yDzlN3qVxs,520
64
+ fabricatio-0.3.14.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.3)
2
+ Generator: maturin (1.8.6)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-win_amd64
Binary file
Binary file
@@ -1,63 +0,0 @@
1
- fabricatio-0.3.13.dist-info/METADATA,sha256=x8-6ILA6zUw7fVZQ9ENH_KSspPWqd6R90e2fflasNBg,5241
2
- fabricatio-0.3.13.dist-info/WHEEL,sha256=jABKVkLC9kJr8mi_er5jOqpiQUjARSLXDUIIxDqsS50,96
3
- fabricatio-0.3.13.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
4
- fabricatio/actions/article.py,sha256=vkYbzRy4SSJL73SFdgdsMfUy3nbjNFc44mu1-uPjqBo,12627
5
- fabricatio/actions/article_rag.py,sha256=Ahij8TSNvE5T1rHhJM5zNj57SaORldNj1YEHFTj0xm8,18631
6
- fabricatio/actions/fs.py,sha256=gJR14U4ln35nt8Z7OWLVAZpqGaLnED-r1Yi-lX22tkI,959
7
- fabricatio/actions/output.py,sha256=w_7xVFs7OZ8uXqFQKmuXw7Y0vWugSuN6phcVW_VnCqI,8389
8
- fabricatio/actions/rag.py,sha256=UifqC4jPpmhTrfToXkqi6ElbNxUoc2wqSMJQEubkhNU,3589
9
- fabricatio/actions/rules.py,sha256=dkvCgNDjt2KSO1VgPRsxT4YBmIIMeetZb5tiz-slYkU,3640
10
- fabricatio/actions/__init__.py,sha256=wVENCFtpVb1rLFxoOFJt9-8smLWXuJV7IwA8P3EfFz4,48
11
- fabricatio/capabilities/advanced_judge.py,sha256=selB0Gwf1F4gGJlwBiRo6gI4KOUROgh3WnzO3mZFEls,706
12
- fabricatio/capabilities/advanced_rag.py,sha256=FaXHGOqS4VleGSLsnC5qm4S4EBcHZLZbj8TjXRieKBs,2513
13
- fabricatio/capabilities/censor.py,sha256=bBT5qy-kp7fh8g4Lz3labSwxwJ60gGd_vrkc6k1cZ1U,4719
14
- fabricatio/capabilities/check.py,sha256=3Y7M9DLYWJefCMDg4aSYuU7XgVdWGR4ElQVeHFVYt4U,8663
15
- fabricatio/capabilities/correct.py,sha256=K-m8OZK25AjboGQXFltNk_A3WPBByi1sG_fuEHWDGFw,10445
16
- fabricatio/capabilities/extract.py,sha256=005FFcLAC_A6FNmuGK679yJtTL8ai__Zg5bjG9eiSts,2619
17
- fabricatio/capabilities/propose.py,sha256=hkBeSlmcTdfYWT-ph6nlbtHXBozi_JXqXlWcnBy3W78,2007
18
- fabricatio/capabilities/rag.py,sha256=LHSpBW6FTEgUvsIbE5HGhlRba_bRV5-kM1s8fZUc_IM,11143
19
- fabricatio/capabilities/rating.py,sha256=JdxNzjg7hQO6Cbe4Muf20r6f1Cb9dQnUBQq1VRS_bRU,18089
20
- fabricatio/capabilities/review.py,sha256=qimV-r51nqLtAcKBO0SKS_J06DYLUL-FsbZNA9JxQ9k,5060
21
- fabricatio/capabilities/task.py,sha256=mqRzrNBJEYTYbNfDPhTNy9bpDFyUpygff6FKBiNumbA,4431
22
- fabricatio/capabilities/__init__.py,sha256=v1cHRHIJ2gxyqMLNCs6ERVcCakSasZNYzmMI4lqAcls,57
23
- fabricatio/core.py,sha256=KN2Rx-j46xzCh9s2ckfXruz3lui6Q2JPV6LKwjHhkJQ,6485
24
- fabricatio/decorators.py,sha256=TGUTUuIfSV2u6Thv1kmAVXAPN_8ynP5T28R8MQw8eg0,8990
25
- fabricatio/fs/curd.py,sha256=652nHulbJ3gwt0Z3nywtPMmjhEyglDvEfc3p7ieJNNA,4777
26
- fabricatio/fs/readers.py,sha256=UXvcJO3UCsxHu9PPkg34Yh55Zi-miv61jD_wZQJgKRs,1751
27
- fabricatio/fs/__init__.py,sha256=USoMI_HcIr3Yc77_JQYYsXrsplYPXtFTaNB9YgFfC4s,713
28
- fabricatio/journal.py,sha256=I02_ntN7_WyI_m1RsHB1gEv8LfWtcVGmOqppEV8XjKI,289
29
- fabricatio/models/action.py,sha256=X29OWzMTLUkcRmFWFgcMG3SDj7l7OlRSObviMYeXUIM,10611
30
- fabricatio/models/adv_kwargs_types.py,sha256=IBV3ZcsNLvvEjO_2hBpYg_wLSpNKaMx6Ndam3qXJCw8,2097
31
- fabricatio/models/extra/advanced_judge.py,sha256=INUl_41C8jkausDekkjnEmTwNfLCJ23TwFjq2cM23Cw,1092
32
- fabricatio/models/extra/aricle_rag.py,sha256=2dHQOz7Br8xpf3PTtdZmrIw49kC4_YGa89evta67LYg,11707
33
- fabricatio/models/extra/article_base.py,sha256=4veM9DNd7T54iocoLS1mP-jOPImrxACAzfsdd6A3LIU,16736
34
- fabricatio/models/extra/article_essence.py,sha256=mlIkkRMR3I1RtqiiOnmIE3Vy623L4eECumkRzryE1pw,2749
35
- fabricatio/models/extra/article_main.py,sha256=jOHJt6slBakOAdY8IDq4JPiPGXX0_g1n3ROm802UYqc,11221
36
- fabricatio/models/extra/article_outline.py,sha256=mw7eOuKMJgns4bihjcjOEIpAy38i0g-x6T6Vx3J0T5A,1629
37
- fabricatio/models/extra/article_proposal.py,sha256=NbyjW-7UiFPtnVD9nte75re4xL2pD4qL29PpNV4Cg_M,1870
38
- fabricatio/models/extra/patches.py,sha256=_WNCxtYzzsVfUxI16vu4IqsLahLYRHdbQN9er9tqhC0,997
39
- fabricatio/models/extra/problem.py,sha256=8tTU-3giFHOi5j7NJsvH__JJyYcaGrcfsRnkzQNm0Ew,7216
40
- fabricatio/models/extra/rag.py,sha256=RMi8vhEPB0I5mVmjRLRLxYHUnm9pFhvVwysaIwmW2s0,3955
41
- fabricatio/models/extra/rule.py,sha256=KQQELVhCLUXhEZ35jU3WGYqKHuCYEAkn0p6pxAE-hOU,2625
42
- fabricatio/models/extra/__init__.py,sha256=XlYnS_2B9nhLhtQkjE7rvvfPmAAtXVdNi9bSDAR-Ge8,54
43
- fabricatio/models/generic.py,sha256=qqMJBckUdWqGv5iegLtYamfIATePoTlywadNa3JEZy8,30414
44
- fabricatio/models/kwargs_types.py,sha256=gIvLSof3XE-B0cGE5d1BrOQB1HO8Pd666_scd-9JaF4,5000
45
- fabricatio/models/role.py,sha256=UlEtpeBBqF4_uXhloqeevLS17aOtAeg2Q0vmd45vQpk,3072
46
- fabricatio/models/task.py,sha256=vOL8mzwBRMWC8R_59zh4SDXkjWuAL6WTtsAGfcxp_eE,11032
47
- fabricatio/models/tool.py,sha256=uNYVCNr9KUBWQ_KAtekGECdNPZREGJ9Aioyk4lrvtTE,12503
48
- fabricatio/models/usages.py,sha256=FyWdKAce2Am10zByISBuf_Tdd4hRnhkAxcXIzyV77LU,33474
49
- fabricatio/parser.py,sha256=QXHoJf0i9lAuaUjPBltXXvDZqyeuPwDLdQgr1uMU95w,6633
50
- fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- fabricatio/rust.pyi,sha256=fWK5q3b-TEDfSYQh9vlZq-kTpA9NBXttGszPMVEnODs,25221
52
- fabricatio/toolboxes/arithmetic.py,sha256=WLqhY-Pikv11Y_0SGajwZx3WhsLNpHKf9drzAqOf_nY,1369
53
- fabricatio/toolboxes/fs.py,sha256=l4L1CVxJmjw9Ld2XUpIlWfV0_Fu_2Og6d3E13I-S4aE,736
54
- fabricatio/toolboxes/__init__.py,sha256=KBJi5OG_pExscdlM7Bnt_UF43j4I3Lv6G71kPVu4KQU,395
55
- fabricatio/utils.py,sha256=IBKfs2Rg3bJnazzvj1-Fz1rMWNKhiuQG5_rZ1nxQeMI,10299
56
- fabricatio/workflows/articles.py,sha256=ObYTFUqLUk_CzdmmnX6S7APfxcGmPFqnFr9pdjU7Z4Y,969
57
- fabricatio/workflows/rag.py,sha256=-YYp2tlE9Vtfgpg6ROpu6QVO8j8yVSPa6yDzlN3qVxs,520
58
- fabricatio/workflows/__init__.py,sha256=5ScFSTA-bvhCesj3U9Mnmi6Law6N1fmh5UKyh58L3u8,51
59
- fabricatio/__init__.py,sha256=pNEikVxeJF3KD1z8U4Z9U7NVL8-2RE6WNOKIH9c83mY,972
60
- fabricatio/rust.cp312-win_amd64.pyd,sha256=5x-26VvrnKgGHbYpirikKS5ZqA7bDc8xGNODnPru1aQ,6016512
61
- fabricatio-0.3.13.data/scripts/tdown.exe,sha256=9maLvPkwy5oQsA7fvEcJy_7U1l43wSubMB-MudebYus,3357184
62
- fabricatio-0.3.13.data/scripts/ttm.exe,sha256=_cFlVm0Xz6eo1v_rz7swwZ6ghOZ4BGj9pg9Hvn0Hig8,2553856
63
- fabricatio-0.3.13.dist-info/RECORD,,