fabricatio 0.3.14.dev3__cp312-cp312-manylinux_2_34_x86_64.whl → 0.3.14.dev5__cp312-cp312-manylinux_2_34_x86_64.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/models/extra/article_base.py +4 -4
- fabricatio/models/extra/article_main.py +10 -11
- fabricatio/models/tool.py +3 -3
- fabricatio/rust.cpython-312-x86_64-linux-gnu.so +0 -0
- fabricatio/rust.pyi +65 -25
- fabricatio-0.3.14.dev5.data/scripts/tdown +0 -0
- fabricatio-0.3.14.dev5.data/scripts/ttm +0 -0
- {fabricatio-0.3.14.dev3.dist-info → fabricatio-0.3.14.dev5.dist-info}/METADATA +1 -1
- {fabricatio-0.3.14.dev3.dist-info → fabricatio-0.3.14.dev5.dist-info}/RECORD +52 -52
- fabricatio-0.3.14.dev3.data/scripts/tdown +0 -0
- fabricatio-0.3.14.dev3.data/scripts/ttm +0 -0
- {fabricatio-0.3.14.dev3.dist-info → fabricatio-0.3.14.dev5.dist-info}/WHEEL +0 -0
- {fabricatio-0.3.14.dev3.dist-info → fabricatio-0.3.14.dev5.dist-info}/licenses/LICENSE +0 -0
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
from abc import ABC
|
4
4
|
from enum import StrEnum
|
5
|
+
from fabricatio.rust import extract_body, replace_thesis_body, split_out_metadata, to_metadata, word_count
|
5
6
|
from pathlib import Path
|
7
|
+
from pydantic import Field
|
6
8
|
from typing import ClassVar, Generator, List, Optional, Self, Tuple, Type
|
7
9
|
|
8
10
|
from fabricatio.capabilities.persist import PersistentAble
|
@@ -21,9 +23,7 @@ from fabricatio.models.generic import (
|
|
21
23
|
Titled,
|
22
24
|
WordCount,
|
23
25
|
)
|
24
|
-
from fabricatio.rust import extract_body, inplace_update, split_out_metadata, to_metadata, word_count
|
25
26
|
from fabricatio.utils import fallback_kwargs, ok
|
26
|
-
from pydantic import Field
|
27
27
|
|
28
28
|
ARTICLE_WRAPPER = "// =-=-=-=-=-=-=-=-=-="
|
29
29
|
|
@@ -275,7 +275,7 @@ class ArticleBase[T: ChapterBase](FinalizedDumpAble, AsPrompt, FromTypstCode, To
|
|
275
275
|
)
|
276
276
|
|
277
277
|
def iter_dfs_rev(
|
278
|
-
|
278
|
+
self,
|
279
279
|
) -> Generator[ArticleOutlineBase, None, None]:
|
280
280
|
"""Performs a depth-first search (DFS) through the article structure in reverse order.
|
281
281
|
|
@@ -405,7 +405,7 @@ class ArticleBase[T: ChapterBase](FinalizedDumpAble, AsPrompt, FromTypstCode, To
|
|
405
405
|
"""Update the article file."""
|
406
406
|
file = Path(file)
|
407
407
|
string = safe_text_read(file)
|
408
|
-
if updated :=
|
408
|
+
if updated := replace_thesis_body(string, ARTICLE_WRAPPER, self.to_typst_code()):
|
409
409
|
dump_text(file, updated)
|
410
410
|
logger.success(f"Successfully updated {file.as_posix()}.")
|
411
411
|
else:
|
@@ -2,15 +2,6 @@
|
|
2
2
|
|
3
3
|
from typing import ClassVar, Dict, Generator, List, Self, Tuple, Type, override
|
4
4
|
|
5
|
-
from fabricatio.rust import (
|
6
|
-
convert_all_block_tex,
|
7
|
-
convert_all_inline_tex,
|
8
|
-
fix_misplaced_labels,
|
9
|
-
split_out_metadata,
|
10
|
-
word_count,
|
11
|
-
)
|
12
|
-
from pydantic import Field, NonNegativeInt
|
13
|
-
|
14
5
|
from fabricatio.capabilities.persist import PersistentAble
|
15
6
|
from fabricatio.decorators import precheck_package
|
16
7
|
from fabricatio.journal import logger
|
@@ -27,6 +18,14 @@ from fabricatio.models.extra.article_outline import (
|
|
27
18
|
ArticleSubsectionOutline,
|
28
19
|
)
|
29
20
|
from fabricatio.models.generic import Described, SequencePatch, SketchedAble, WithRef, WordCount
|
21
|
+
from fabricatio.rust import (
|
22
|
+
convert_all_block_tex,
|
23
|
+
convert_all_inline_tex,
|
24
|
+
fix_misplaced_labels,
|
25
|
+
split_out_metadata,
|
26
|
+
word_count,
|
27
|
+
)
|
28
|
+
from pydantic import Field, NonNegativeInt
|
30
29
|
|
31
30
|
PARAGRAPH_SEP = "// - - -"
|
32
31
|
|
@@ -83,8 +82,8 @@ class ArticleSubsection(SubSectionBase):
|
|
83
82
|
if len(self.paragraphs) == 0:
|
84
83
|
summary += f"`{self.__class__.__name__}` titled `{self.title}` have no paragraphs, You should add some!\n"
|
85
84
|
if (
|
86
|
-
|
87
|
-
|
85
|
+
abs((wc := self.word_count) - self.expected_word_count) / self.expected_word_count
|
86
|
+
> self._max_word_count_deviation
|
88
87
|
):
|
89
88
|
summary += f"`{self.__class__.__name__}` titled `{self.title}` have {wc} words, expected {self.expected_word_count} words!"
|
90
89
|
|
fabricatio/models/tool.py
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
This module provides classes for defining tools and toolboxes, which can be used to manage and execute callable functions
|
4
4
|
with additional functionalities such as logging, execution info, and briefing.
|
5
5
|
"""
|
6
|
+
|
6
7
|
from importlib.machinery import ModuleSpec
|
7
8
|
from importlib.util import module_from_spec
|
8
9
|
from inspect import iscoroutinefunction, signature
|
9
10
|
from types import CodeType, ModuleType
|
10
11
|
from typing import Any, Callable, Dict, List, Optional, Self, cast, overload
|
11
12
|
|
12
|
-
from fabricatio.rust import CONFIG
|
13
|
-
from pydantic import Field
|
14
|
-
|
15
13
|
from fabricatio.decorators import logging_execution_info, use_temp_module
|
16
14
|
from fabricatio.journal import logger
|
17
15
|
from fabricatio.models.generic import Base, WithBriefing
|
16
|
+
from fabricatio.rust import CONFIG
|
17
|
+
from pydantic import Field
|
18
18
|
|
19
19
|
|
20
20
|
class Tool[**P, R](WithBriefing):
|
Binary file
|
fabricatio/rust.pyi
CHANGED
@@ -12,9 +12,9 @@ Key Features:
|
|
12
12
|
"""
|
13
13
|
|
14
14
|
from enum import StrEnum
|
15
|
+
from pydantic import JsonValue
|
15
16
|
from typing import Any, Dict, List, Literal, Optional, Self, Tuple, Union, overload
|
16
17
|
|
17
|
-
from pydantic import JsonValue
|
18
18
|
|
19
19
|
class TemplateManager:
|
20
20
|
"""Template rendering engine using Handlebars templates.
|
@@ -47,8 +47,10 @@ class TemplateManager:
|
|
47
47
|
|
48
48
|
@overload
|
49
49
|
def render_template(self, name: str, data: Dict[str, Any]) -> str: ...
|
50
|
+
|
50
51
|
@overload
|
51
52
|
def render_template(self, name: str, data: List[Dict[str, Any]]) -> List[str]: ...
|
53
|
+
|
52
54
|
def render_template(self, name: str, data: Dict[str, Any] | List[Dict[str, Any]]) -> str | List[str]:
|
53
55
|
"""Render a template with context data.
|
54
56
|
|
@@ -65,8 +67,10 @@ class TemplateManager:
|
|
65
67
|
|
66
68
|
@overload
|
67
69
|
def render_template_raw(self, template: str, data: Dict[str, Any]) -> str: ...
|
70
|
+
|
68
71
|
@overload
|
69
72
|
def render_template_raw(self, template: str, data: List[Dict[str, Any]]) -> List[str]: ...
|
73
|
+
|
70
74
|
def render_template_raw(self, template: str, data: Dict[str, Any] | List[Dict[str, Any]]) -> str | List[str]:
|
71
75
|
"""Render a template with context data.
|
72
76
|
|
@@ -78,6 +82,7 @@ class TemplateManager:
|
|
78
82
|
Rendered template content as string or list of strings
|
79
83
|
"""
|
80
84
|
|
85
|
+
|
81
86
|
class BibManager:
|
82
87
|
"""BibTeX bibliography manager for parsing and querying citation data."""
|
83
88
|
|
@@ -186,6 +191,7 @@ class BibManager:
|
|
186
191
|
Field value if found, None otherwise
|
187
192
|
"""
|
188
193
|
|
194
|
+
|
189
195
|
def blake3_hash(content: bytes) -> str:
|
190
196
|
"""Calculate the BLAKE3 cryptographic hash of data.
|
191
197
|
|
@@ -196,9 +202,11 @@ def blake3_hash(content: bytes) -> str:
|
|
196
202
|
Hex-encoded BLAKE3 hash string
|
197
203
|
"""
|
198
204
|
|
205
|
+
|
199
206
|
def detect_language(string: str) -> str:
|
200
207
|
"""Detect the language of a given string."""
|
201
208
|
|
209
|
+
|
202
210
|
def split_word_bounds(string: str) -> List[str]:
|
203
211
|
"""Split the string into words based on word boundaries.
|
204
212
|
|
@@ -209,6 +217,7 @@ def split_word_bounds(string: str) -> List[str]:
|
|
209
217
|
A list of words extracted from the string.
|
210
218
|
"""
|
211
219
|
|
220
|
+
|
212
221
|
def split_sentence_bounds(string: str) -> List[str]:
|
213
222
|
"""Split the string into sentences based on sentence boundaries.
|
214
223
|
|
@@ -219,6 +228,7 @@ def split_sentence_bounds(string: str) -> List[str]:
|
|
219
228
|
A list of sentences extracted from the string.
|
220
229
|
"""
|
221
230
|
|
231
|
+
|
222
232
|
def split_into_chunks(string: str, max_chunk_size: int, max_overlapping_rate: float = 0.3) -> List[str]:
|
223
233
|
"""Split the string into chunks of a specified size.
|
224
234
|
|
@@ -231,6 +241,7 @@ def split_into_chunks(string: str, max_chunk_size: int, max_overlapping_rate: fl
|
|
231
241
|
A list of chunks extracted from the string.
|
232
242
|
"""
|
233
243
|
|
244
|
+
|
234
245
|
def word_count(string: str) -> int:
|
235
246
|
"""Count the number of words in the string.
|
236
247
|
|
@@ -241,51 +252,67 @@ def word_count(string: str) -> int:
|
|
241
252
|
The number of words in the string.
|
242
253
|
"""
|
243
254
|
|
255
|
+
|
244
256
|
def is_chinese(string: str) -> bool:
|
245
257
|
"""Check if the given string is in Chinese."""
|
246
258
|
|
259
|
+
|
247
260
|
def is_english(string: str) -> bool:
|
248
261
|
"""Check if the given string is in English."""
|
249
262
|
|
263
|
+
|
250
264
|
def is_japanese(string: str) -> bool:
|
251
265
|
"""Check if the given string is in Japanese."""
|
252
266
|
|
267
|
+
|
253
268
|
def is_korean(string: str) -> bool:
|
254
269
|
"""Check if the given string is in Korean."""
|
255
270
|
|
271
|
+
|
256
272
|
def is_arabic(string: str) -> bool:
|
257
273
|
"""Check if the given string is in Arabic."""
|
258
274
|
|
275
|
+
|
259
276
|
def is_russian(string: str) -> bool:
|
260
277
|
"""Check if the given string is in Russian."""
|
261
278
|
|
279
|
+
|
262
280
|
def is_german(string: str) -> bool:
|
263
281
|
"""Check if the given string is in German."""
|
264
282
|
|
283
|
+
|
265
284
|
def is_french(string: str) -> bool:
|
266
285
|
"""Check if the given string is in French."""
|
267
286
|
|
287
|
+
|
268
288
|
def is_hindi(string: str) -> bool:
|
269
289
|
"""Check if the given string is in Hindi."""
|
270
290
|
|
291
|
+
|
271
292
|
def is_italian(string: str) -> bool:
|
272
293
|
"""Check if the given string is in Italian."""
|
273
294
|
|
295
|
+
|
274
296
|
def is_dutch(string: str) -> bool:
|
275
297
|
"""Check if the given string is in Dutch."""
|
276
298
|
|
299
|
+
|
277
300
|
def is_portuguese(string: str) -> bool:
|
278
301
|
"""Check if the given string is in Portuguese."""
|
279
302
|
|
303
|
+
|
280
304
|
def is_swedish(string: str) -> bool:
|
281
305
|
"""Check if the given string is in Swedish."""
|
282
306
|
|
307
|
+
|
283
308
|
def is_turkish(string: str) -> bool:
|
284
309
|
"""Check if the given string is in Turkish."""
|
285
310
|
|
311
|
+
|
286
312
|
def is_vietnamese(string: str) -> bool:
|
287
313
|
"""Check if the given string is in Vietnamese."""
|
288
314
|
|
315
|
+
|
289
316
|
def tex_to_typst(string: str) -> str:
|
290
317
|
"""Convert TeX to Typst.
|
291
318
|
|
@@ -296,26 +323,19 @@ def tex_to_typst(string: str) -> str:
|
|
296
323
|
The converted Typst string.
|
297
324
|
"""
|
298
325
|
|
299
|
-
def convert_all_inline_tex(string: str) -> str:
|
300
|
-
"""Convert all inline TeX code in the string.
|
301
326
|
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
Returns:
|
306
|
-
The converted string with inline TeX code replaced.
|
307
|
-
"""
|
308
|
-
|
309
|
-
def convert_all_block_tex(string: str) -> str:
|
310
|
-
"""Convert all block TeX code in the string.
|
327
|
+
def convert_all_tex_math(string: str) -> str:
|
328
|
+
"""Unified function to convert all supported TeX math expressions in a string to Typst format.
|
311
329
|
|
330
|
+
Handles $...$, $$...$$, \\(...\\), and \\[...\\]
|
312
331
|
Args:
|
313
|
-
string: The input string containing
|
332
|
+
string: The input string containing TeX math expressions.
|
314
333
|
|
315
334
|
Returns:
|
316
|
-
The
|
335
|
+
The string with TeX math expressions converted to Typst format.
|
317
336
|
"""
|
318
337
|
|
338
|
+
|
319
339
|
def fix_misplaced_labels(string: str) -> str:
|
320
340
|
"""A func to fix labels in a string.
|
321
341
|
|
@@ -326,6 +346,7 @@ def fix_misplaced_labels(string: str) -> str:
|
|
326
346
|
The fixed string with labels properly placed.
|
327
347
|
"""
|
328
348
|
|
349
|
+
|
329
350
|
def comment(string: str) -> str:
|
330
351
|
"""Add comment to the string.
|
331
352
|
|
@@ -336,6 +357,7 @@ def comment(string: str) -> str:
|
|
336
357
|
The string with each line prefixed by '// '.
|
337
358
|
"""
|
338
359
|
|
360
|
+
|
339
361
|
def uncomment(string: str) -> str:
|
340
362
|
"""Remove comment from the string.
|
341
363
|
|
@@ -346,6 +368,7 @@ def uncomment(string: str) -> str:
|
|
346
368
|
The string with comments (lines starting with '// ' or '//') removed.
|
347
369
|
"""
|
348
370
|
|
371
|
+
|
349
372
|
def split_out_metadata(string: str) -> Tuple[Optional[JsonValue], str]:
|
350
373
|
"""Split out metadata from a string.
|
351
374
|
|
@@ -356,6 +379,7 @@ def split_out_metadata(string: str) -> Tuple[Optional[JsonValue], str]:
|
|
356
379
|
A tuple containing the metadata as a Python object (if parseable) and the remaining string.
|
357
380
|
"""
|
358
381
|
|
382
|
+
|
359
383
|
def to_metadata(data: JsonValue) -> str:
|
360
384
|
"""Convert a Python object to a YAML string.
|
361
385
|
|
@@ -366,13 +390,8 @@ def to_metadata(data: JsonValue) -> str:
|
|
366
390
|
The YAML string representation of the input data.
|
367
391
|
"""
|
368
392
|
|
369
|
-
def convert_to_inline_formula(string: str) -> str:
|
370
|
-
r"""Convert `$...$` to inline formula `\(...\)` and trim spaces."""
|
371
393
|
|
372
|
-
def
|
373
|
-
r"""Convert `$$...$$` to block formula `\[...\]` and trim spaces."""
|
374
|
-
|
375
|
-
def inplace_update(string: str, wrapper: str, new_body: str) -> Optional[str]:
|
394
|
+
def replace_thesis_body(string: str, wrapper: str, new_body: str) -> Optional[str]:
|
376
395
|
"""Replace content between wrapper strings.
|
377
396
|
|
378
397
|
Args:
|
@@ -385,6 +404,7 @@ def inplace_update(string: str, wrapper: str, new_body: str) -> Optional[str]:
|
|
385
404
|
|
386
405
|
"""
|
387
406
|
|
407
|
+
|
388
408
|
def extract_body(string: str, wrapper: str) -> Optional[str]:
|
389
409
|
"""Extract the content between two occurrences of a wrapper string.
|
390
410
|
|
@@ -396,6 +416,7 @@ def extract_body(string: str, wrapper: str) -> Optional[str]:
|
|
396
416
|
The content between the first two occurrences of the wrapper string if found, otherwise None.
|
397
417
|
"""
|
398
418
|
|
419
|
+
|
399
420
|
class LLMConfig:
|
400
421
|
"""LLM configuration structure.
|
401
422
|
|
@@ -447,6 +468,7 @@ class LLMConfig:
|
|
447
468
|
frequency_penalty: Optional[float]
|
448
469
|
"""Penalizes new tokens based on their frequency in text so far (-2.0-2.0)."""
|
449
470
|
|
471
|
+
|
450
472
|
class EmbeddingConfig:
|
451
473
|
"""Embedding configuration structure."""
|
452
474
|
|
@@ -471,6 +493,7 @@ class EmbeddingConfig:
|
|
471
493
|
api_key: Optional[SecretStr]
|
472
494
|
"""The API key."""
|
473
495
|
|
496
|
+
|
474
497
|
class RagConfig:
|
475
498
|
"""RAG (Retrieval Augmented Generation) configuration structure."""
|
476
499
|
|
@@ -486,12 +509,14 @@ class RagConfig:
|
|
486
509
|
milvus_dimensions: Optional[int]
|
487
510
|
"""The dimensions for Milvus vectors."""
|
488
511
|
|
512
|
+
|
489
513
|
class DebugConfig:
|
490
514
|
"""Debug configuration structure."""
|
491
515
|
|
492
516
|
log_level: Optional[str]
|
493
517
|
"""The logging level to use."""
|
494
518
|
|
519
|
+
|
495
520
|
class TemplateManagerConfig:
|
496
521
|
"""Template manager configuration structure."""
|
497
522
|
|
@@ -504,6 +529,7 @@ class TemplateManagerConfig:
|
|
504
529
|
template_suffix: Optional[str]
|
505
530
|
"""The suffix of the templates."""
|
506
531
|
|
532
|
+
|
507
533
|
class TemplateConfig:
|
508
534
|
"""Template configuration structure."""
|
509
535
|
|
@@ -588,6 +614,7 @@ class TemplateConfig:
|
|
588
614
|
chap_summary_template: str
|
589
615
|
"""The name of the chap summary template which will be used to generate a chapter summary."""
|
590
616
|
|
617
|
+
|
591
618
|
class RoutingConfig:
|
592
619
|
"""Routing configuration structure for controlling request dispatching behavior."""
|
593
620
|
|
@@ -603,6 +630,7 @@ class RoutingConfig:
|
|
603
630
|
cooldown_time: Optional[int]
|
604
631
|
"""Time to cooldown a deployment after failure in seconds."""
|
605
632
|
|
633
|
+
|
606
634
|
class GeneralConfig:
|
607
635
|
"""General configuration structure for application-wide settings."""
|
608
636
|
|
@@ -612,6 +640,7 @@ class GeneralConfig:
|
|
612
640
|
use_json_repair: bool
|
613
641
|
"""Whether to automatically repair malformed JSON."""
|
614
642
|
|
643
|
+
|
615
644
|
class ToolBoxConfig:
|
616
645
|
"""Configuration for toolbox functionality."""
|
617
646
|
|
@@ -621,6 +650,7 @@ class ToolBoxConfig:
|
|
621
650
|
data_module_name: str
|
622
651
|
"""The name of the module containing the data."""
|
623
652
|
|
653
|
+
|
624
654
|
class PymitterConfig:
|
625
655
|
"""Pymitter configuration structure for controlling event emission and listener behavior."""
|
626
656
|
|
@@ -633,6 +663,7 @@ class PymitterConfig:
|
|
633
663
|
max_listeners: int
|
634
664
|
"""The maximum number of listeners per event. -1 means unlimited."""
|
635
665
|
|
666
|
+
|
636
667
|
class Config:
|
637
668
|
"""Configuration structure containing all system components."""
|
638
669
|
|
@@ -666,17 +697,22 @@ class Config:
|
|
666
697
|
pymitter: PymitterConfig
|
667
698
|
"""Pymitter configuration."""
|
668
699
|
|
700
|
+
|
669
701
|
CONFIG: Config
|
670
702
|
|
703
|
+
|
671
704
|
class SecretStr:
|
672
705
|
"""A string that should not be exposed."""
|
673
706
|
|
674
707
|
def __init__(self, source: str) -> None: ...
|
708
|
+
|
675
709
|
def get_secret_value(self) -> str:
|
676
710
|
"""Expose the secret string."""
|
677
711
|
|
712
|
+
|
678
713
|
TEMPLATE_MANAGER: TemplateManager
|
679
714
|
|
715
|
+
|
680
716
|
class Event:
|
681
717
|
"""Event class that represents a hierarchical event with segments.
|
682
718
|
|
@@ -788,9 +824,12 @@ class Event:
|
|
788
824
|
"""
|
789
825
|
|
790
826
|
def __hash__(self) -> int: ...
|
827
|
+
|
791
828
|
def __eq__(self, other: object) -> bool: ...
|
829
|
+
|
792
830
|
def __ne__(self, other: object) -> bool: ...
|
793
831
|
|
832
|
+
|
794
833
|
class TaskStatus(StrEnum, str):
|
795
834
|
"""Enumeration of possible task statuses."""
|
796
835
|
|
@@ -809,6 +848,7 @@ class TaskStatus(StrEnum, str):
|
|
809
848
|
Cancelled: TaskStatus
|
810
849
|
"""Task has been cancelled."""
|
811
850
|
|
851
|
+
|
812
852
|
class TEIClient:
|
813
853
|
"""Client for TEI reranking service.
|
814
854
|
|
@@ -824,11 +864,11 @@ class TEIClient:
|
|
824
864
|
"""
|
825
865
|
|
826
866
|
async def arerank(
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
867
|
+
self,
|
868
|
+
query: str,
|
869
|
+
texts: List[str],
|
870
|
+
truncate: bool = False,
|
871
|
+
truncation_direction: Literal["Left", "Right"] = "Left",
|
832
872
|
) -> List[Tuple[int, float]]:
|
833
873
|
"""Rerank texts based on relevance to query.
|
834
874
|
|
Binary file
|
Binary file
|
@@ -1,64 +1,64 @@
|
|
1
|
-
fabricatio-0.3.14.
|
2
|
-
fabricatio-0.3.14.
|
3
|
-
fabricatio-0.3.14.
|
1
|
+
fabricatio-0.3.14.dev5.dist-info/METADATA,sha256=2LK_J4cxsA961zFKDG-gpZl8C7-TGenr1BFCFJJbHEs,4969
|
2
|
+
fabricatio-0.3.14.dev5.dist-info/WHEEL,sha256=7FgAcpQES0h1xhfN9Ugve9FTUilU6sRAr1WJ5ph2cuw,108
|
3
|
+
fabricatio-0.3.14.dev5.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
|
4
|
+
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
fabricatio/journal.py,sha256=qZoaPdv17fc_9l2xVZ-ve7dXKmMFJ8MzPa8_vNXMGyE,204
|
4
6
|
fabricatio/emitter.py,sha256=QpMvs8dTy1zs5iDORFKzA615S3Lb1tm6AQxYBemQGcc,6164
|
5
|
-
fabricatio/
|
6
|
-
fabricatio/
|
7
|
-
fabricatio/
|
7
|
+
fabricatio/__init__.py,sha256=pSLe6QL4zQGaZXfhF9KW4fa1D8chqCQm_7yInCP6Kt8,732
|
8
|
+
fabricatio/actions/article_rag.py,sha256=1CoL5Jdvur5Pyn9S4GilBfAAiPL2--fmkFLTOwtrT1I,17991
|
9
|
+
fabricatio/actions/__init__.py,sha256=ZMa1LeM5BNeqp-J-D32W-f5bD53-kdXGyt0zuueJofM,47
|
10
|
+
fabricatio/actions/output.py,sha256=3VRwDcvimBPrf4ypxbhJd_ScJ_JYiC0ucr6vGOqs9Fc,9687
|
11
|
+
fabricatio/actions/article.py,sha256=8ea9QZk7m21j5fw6_CO_znZtik9_o71JmX77Po5gyS4,12188
|
12
|
+
fabricatio/actions/rag.py,sha256=GuRU6VJzIxo3V8dvGWNQ0uQbu6nF0g_qgVuC8NPRx2Y,3487
|
13
|
+
fabricatio/actions/fs.py,sha256=nlTmk-tYDW158nz_fzlsNfuYJwj7j4BHn_MFY5hxdqs,934
|
14
|
+
fabricatio/actions/rules.py,sha256=07ILsiwR250AUcKLPHTUPpWD_mPhPCfWKSkEAKcPv3A,3557
|
8
15
|
fabricatio/capabilities/rating.py,sha256=FSIh3h0E7G1OkBKAkY83VA4w0G6OZ2bXq27b40WRsL8,17411
|
9
|
-
fabricatio/capabilities/censor.py,sha256=m90gGDAkEkkxkUKcZNkyhYsRwAxkcDut_-gZEBKrUCU,4640
|
10
|
-
fabricatio/capabilities/advanced_rag.py,sha256=2GYYUHFUP6O8rVOlLqxmPnU1Ve-JwxbUnLv3GRlOCCQ,2478
|
11
|
-
fabricatio/capabilities/persist.py,sha256=GAbj93lYLnGVPu74H_ImrINGWNAglIDH9aGSLJKMLkw,3318
|
12
|
-
fabricatio/capabilities/task.py,sha256=Ah14-xLUzXCMRydAemHoo85QDB-cLlXJslmaTCRsfms,4288
|
13
|
-
fabricatio/capabilities/rag.py,sha256=YF0RPPMutqGLdIVFvQsfUBCRJFeJZ95Bk5hrRzogf9k,10716
|
14
|
-
fabricatio/capabilities/extract.py,sha256=eLQagkRnHVLZ64yPBtLVcPELO7ubJlN3fbwoaNMWT70,2449
|
15
16
|
fabricatio/capabilities/advanced_judge.py,sha256=wTiTyBxkZfOXsmzULOW4nX-QAwFMz9wQqqAAM3aQ5XQ,662
|
16
|
-
fabricatio/capabilities/
|
17
|
+
fabricatio/capabilities/correct.py,sha256=z7KiMK1KykGXNdLVA0sB28x63LsQ6Hd4wbtYd0bkEKE,10175
|
18
|
+
fabricatio/capabilities/extract.py,sha256=eLQagkRnHVLZ64yPBtLVcPELO7ubJlN3fbwoaNMWT70,2449
|
19
|
+
fabricatio/capabilities/task.py,sha256=Ah14-xLUzXCMRydAemHoo85QDB-cLlXJslmaTCRsfms,4288
|
17
20
|
fabricatio/capabilities/__init__.py,sha256=skaJ43CqAQaZMH-mCRzF4Fps3x99P2SwJ8vSM9pInX8,56
|
18
|
-
fabricatio/
|
21
|
+
fabricatio/capabilities/review.py,sha256=rxA_qdnJc8ehytL5EnlKo9QJ99stnF-n6YaBFRYLe5I,4947
|
22
|
+
fabricatio/capabilities/persist.py,sha256=GAbj93lYLnGVPu74H_ImrINGWNAglIDH9aGSLJKMLkw,3318
|
23
|
+
fabricatio/capabilities/propose.py,sha256=KqeXaUURJ6O-Ve0ijZYg88rgQYCZEFbuWoqIepI-nQ8,1965
|
24
|
+
fabricatio/capabilities/rag.py,sha256=YF0RPPMutqGLdIVFvQsfUBCRJFeJZ95Bk5hrRzogf9k,10716
|
25
|
+
fabricatio/capabilities/advanced_rag.py,sha256=2GYYUHFUP6O8rVOlLqxmPnU1Ve-JwxbUnLv3GRlOCCQ,2478
|
26
|
+
fabricatio/capabilities/check.py,sha256=eiZZaiX78k-Zt7-Ik43Pn5visXHeOJLk8yLWgtqln40,8379
|
27
|
+
fabricatio/capabilities/censor.py,sha256=m90gGDAkEkkxkUKcZNkyhYsRwAxkcDut_-gZEBKrUCU,4640
|
28
|
+
fabricatio/fs/readers.py,sha256=hFHfGw1E58Da0ndBXXWcD2t-4HNdR1FimeDxuMI4-oE,1690
|
29
|
+
fabricatio/fs/__init__.py,sha256=NQ_BnAwJ0iScY34QpCBH1dCq8vO5Zi4fh6VyEzrBIb8,678
|
30
|
+
fabricatio/fs/curd.py,sha256=x7Je9V1ydv-BdZTjlLc3syZ6380gkOhpfrfnhXstisg,4624
|
31
|
+
fabricatio/utils.py,sha256=qvl4R8ThuNIIoBJuR1DGEuWYZ7jRFT_8SRx4I_FA8pU,5298
|
32
|
+
fabricatio/workflows/__init__.py,sha256=Lq9pFo2cudwFCrQUUNgSTr1CoU0J1Nw-HNEQN7cHLp8,50
|
33
|
+
fabricatio/workflows/articles.py,sha256=ZDV5nqUKRo1GOuuKWeSV7ZI32FYZU7WiTrD4YDuCeEo,945
|
34
|
+
fabricatio/workflows/rag.py,sha256=uOZXprD479fUhLA6sYvEM8RWcVcUZXXtP0xRbTMPdHE,509
|
35
|
+
fabricatio/models/usages.py,sha256=bpM-a9i-WpSOh-XL3LiYTa3AxQUd_ckn44lh-uuKM6M,32250
|
36
|
+
fabricatio/models/tool.py,sha256=jYdN6FWEz6pE-vEh3H78VHDPpSttUQE79nfXOD4FE6U,12091
|
37
|
+
fabricatio/models/role.py,sha256=tOwzILaTb8QUOddy9RrJRyhfB_pEVv_IiUBRuc6ylH8,3761
|
38
|
+
fabricatio/models/adv_kwargs_types.py,sha256=nmj1D0GVosZxKcdiw-B5vJB04Whr5zh30ZBJntSZUpY,2034
|
19
39
|
fabricatio/models/action.py,sha256=O8BLh8fRNqde_3PC7OFHBjLTdLRPvy5mtalMqQFaZXs,9789
|
20
|
-
fabricatio/models/
|
21
|
-
fabricatio/models/
|
22
|
-
fabricatio/models/
|
23
|
-
fabricatio/models/extra/article_proposal.py,sha256=7OgcsS9ujjSi_06Z1ln4SCDQgrS4xPGrtgc2dv8EzGo,1857
|
24
|
-
fabricatio/models/extra/article_base.py,sha256=2auA10qomj8UnT2tunUf0oQnvhrJBKNV7GF6UWA9tjg,16347
|
25
|
-
fabricatio/models/extra/rag.py,sha256=fwyEXOECQNe8LPUKGAxEcp9vp7o5356rna-TzGpkvnE,3869
|
26
|
-
fabricatio/models/extra/rule.py,sha256=TYtA_aSgunw8wRS3BfdNqBZbbdeS-VXLbVCJhz85Suk,2617
|
40
|
+
fabricatio/models/task.py,sha256=CdR1Zbf-lZN0jODj9iriTn1X2DxLxjXlvZgy3kEd6lI,10723
|
41
|
+
fabricatio/models/kwargs_types.py,sha256=VrzAJaOSlQ-xN5NIIi3k4KpIY0c9beuxcuUnF-mkEEk,3282
|
42
|
+
fabricatio/models/generic.py,sha256=dGap-ckYy7ZX_lXDNxv4d3yM45vdoLDYW4cl49BbCAY,27061
|
27
43
|
fabricatio/models/extra/problem.py,sha256=1Sd8hsThQK6pXMXhErRhP1ft58z4PvqeB8AV8VcXiaI,7051
|
28
|
-
fabricatio/models/extra/patches.py,sha256=_ghmnlvTZQq7UJyaH77mTZE9abjvxRJ2mgWHUbezUls,977
|
29
44
|
fabricatio/models/extra/advanced_judge.py,sha256=CKPP4Lseb_Ey8Y7i2V9HJfB-mZgCknFdqq7Zo41o6s4,1060
|
30
45
|
fabricatio/models/extra/aricle_rag.py,sha256=egUZPmHkzA48IU8s9f6WRhqVMI8B8Uz8Amx-WkLLWGE,11651
|
46
|
+
fabricatio/models/extra/article_base.py,sha256=0_WWal6Z6iAmEoy1g-o7JO9fNqOZ7cJX-1_AD1Rkuqg,16361
|
47
|
+
fabricatio/models/extra/patches.py,sha256=_ghmnlvTZQq7UJyaH77mTZE9abjvxRJ2mgWHUbezUls,977
|
48
|
+
fabricatio/models/extra/rule.py,sha256=TYtA_aSgunw8wRS3BfdNqBZbbdeS-VXLbVCJhz85Suk,2617
|
49
|
+
fabricatio/models/extra/article_outline.py,sha256=71mgx66KRiXBtdYId4WNkAYp9tJ7OhUqmQyOEe7IRxI,1627
|
31
50
|
fabricatio/models/extra/__init__.py,sha256=0R9eZsCNu6OV-Xtf15H7FrqhfHTFBFf3fBrcd7ChsJ0,53
|
32
|
-
fabricatio/models/
|
33
|
-
fabricatio/models/
|
34
|
-
fabricatio/models/
|
35
|
-
fabricatio/models/
|
36
|
-
fabricatio/
|
37
|
-
fabricatio/models/kwargs_types.py,sha256=VrzAJaOSlQ-xN5NIIi3k4KpIY0c9beuxcuUnF-mkEEk,3282
|
38
|
-
fabricatio/models/tool.py,sha256=_vL5aq5BFjclRxbcNkQCmsMtLUikysv-7Og5HRNc6-U,12091
|
39
|
-
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
40
|
-
fabricatio/rust.pyi,sha256=IzEpNSt3tgoR3L2xZNs7skdeGW73L72-eizXQCBWZFk,25410
|
41
|
-
fabricatio/actions/article.py,sha256=8ea9QZk7m21j5fw6_CO_znZtik9_o71JmX77Po5gyS4,12188
|
42
|
-
fabricatio/actions/rules.py,sha256=07ILsiwR250AUcKLPHTUPpWD_mPhPCfWKSkEAKcPv3A,3557
|
43
|
-
fabricatio/actions/output.py,sha256=3VRwDcvimBPrf4ypxbhJd_ScJ_JYiC0ucr6vGOqs9Fc,9687
|
44
|
-
fabricatio/actions/rag.py,sha256=GuRU6VJzIxo3V8dvGWNQ0uQbu6nF0g_qgVuC8NPRx2Y,3487
|
45
|
-
fabricatio/actions/article_rag.py,sha256=1CoL5Jdvur5Pyn9S4GilBfAAiPL2--fmkFLTOwtrT1I,17991
|
46
|
-
fabricatio/actions/fs.py,sha256=nlTmk-tYDW158nz_fzlsNfuYJwj7j4BHn_MFY5hxdqs,934
|
47
|
-
fabricatio/actions/__init__.py,sha256=ZMa1LeM5BNeqp-J-D32W-f5bD53-kdXGyt0zuueJofM,47
|
48
|
-
fabricatio/fs/curd.py,sha256=x7Je9V1ydv-BdZTjlLc3syZ6380gkOhpfrfnhXstisg,4624
|
49
|
-
fabricatio/fs/readers.py,sha256=hFHfGw1E58Da0ndBXXWcD2t-4HNdR1FimeDxuMI4-oE,1690
|
50
|
-
fabricatio/fs/__init__.py,sha256=NQ_BnAwJ0iScY34QpCBH1dCq8vO5Zi4fh6VyEzrBIb8,678
|
51
|
+
fabricatio/models/extra/article_essence.py,sha256=lAkfGj4Jqiy3dSmtloVVr2krej76TV1Ky-2Fr6pNE_Q,2692
|
52
|
+
fabricatio/models/extra/article_proposal.py,sha256=7OgcsS9ujjSi_06Z1ln4SCDQgrS4xPGrtgc2dv8EzGo,1857
|
53
|
+
fabricatio/models/extra/rag.py,sha256=fwyEXOECQNe8LPUKGAxEcp9vp7o5356rna-TzGpkvnE,3869
|
54
|
+
fabricatio/models/extra/article_main.py,sha256=9VUJ4gVp3V4EcakFfua2eEIPwX8X6kjnvOLXoRVX358,10984
|
55
|
+
fabricatio/parser.py,sha256=3vT5u5SGpzDH4WLJdMwK5CP8RqO4g1MyQUYpiDKDoEo,4528
|
51
56
|
fabricatio/decorators.py,sha256=7QU7FvTTZZ5cdVgw9VhG6wQBntGHbsfkBqifGm6wNjA,8711
|
52
|
-
fabricatio/
|
53
|
-
fabricatio/
|
54
|
-
fabricatio/workflows/__init__.py,sha256=Lq9pFo2cudwFCrQUUNgSTr1CoU0J1Nw-HNEQN7cHLp8,50
|
57
|
+
fabricatio/rust.pyi,sha256=Auus2CC9j714qrubsSMfNESa6G3KkACh2071Bbrp0g8,25072
|
58
|
+
fabricatio/toolboxes/__init__.py,sha256=dYm_Gd8XolSU_h4wnkA09dlaLDK146eeFz0CUgPZ8_c,380
|
55
59
|
fabricatio/toolboxes/arithmetic.py,sha256=sSTPkKI6-mb278DwQKFO9jKyzc9kCx45xNH7V6bGBpE,1307
|
56
60
|
fabricatio/toolboxes/fs.py,sha256=OQMdeokYxSNVrCZJAweJ0cYiK4k2QuEiNdIbS5IHIV8,705
|
57
|
-
fabricatio/
|
58
|
-
fabricatio/
|
59
|
-
fabricatio/
|
60
|
-
fabricatio/
|
61
|
-
fabricatio/rust.cpython-312-x86_64-linux-gnu.so,sha256=aDA9n89GtZxKC6FRPoQu6d3lF2j-cDo0P9ZEOa9MYvI,7908728
|
62
|
-
fabricatio-0.3.14.dev3.data/scripts/tdown,sha256=IC8p9rZ8AzIwf51yUpOFChs_-1SE3Qq_LB1ZK6O2I3s,4726096
|
63
|
-
fabricatio-0.3.14.dev3.data/scripts/ttm,sha256=O_3KVKRssOajmBy5mEmY02QHQHH4IDAs5wCvz4GjeME,3925048
|
64
|
-
fabricatio-0.3.14.dev3.dist-info/RECORD,,
|
61
|
+
fabricatio/rust.cpython-312-x86_64-linux-gnu.so,sha256=2oWeApG9HC6T2ghcOHPdhuwa_czLy2QxE3JwGAesAfE,7906784
|
62
|
+
fabricatio-0.3.14.dev5.data/scripts/tdown,sha256=ywBivzYLJ6pCFyMUqAbNkiVTv0d9MY8hbrSgFxYE3kE,4721664
|
63
|
+
fabricatio-0.3.14.dev5.data/scripts/ttm,sha256=_QlP2ddeLPomk-SdEy_DE94JIuOGlDLSw7rEFtwZEXw,3920552
|
64
|
+
fabricatio-0.3.14.dev5.dist-info/RECORD,,
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|