fabricatio 0.6.4__tar.gz → 0.6.5.dev1__tar.gz
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-0.6.4 → fabricatio-0.6.5.dev1}/Makefile +4 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/PKG-INFO +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/extra/scripts/tdown +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/pyproject.toml +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/actions/compose.py +2 -2
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/cli.py +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/config.py +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/models/segment.py +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/pyproject.toml +1 -1
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/subpackages.py +46 -30
- fabricatio-0.6.5.dev1/templates/built-in/draft_tool_usage_code.hbs +37 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/uv.lock +6 -6
- fabricatio-0.6.4/templates/built-in/draft_tool_usage_code.hbs +0 -76
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.coveragerc +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.github/workflows/build-package.yaml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.github/workflows/ruff.yaml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.github/workflows/tests.yaml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/.readthedocs.yaml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/Cargo.lock +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/Cargo.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/assets/band.png +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/assets/logo/16.svg +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/assets/logo/400.svg +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/assets/logo/64.svg +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/Makefile +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/conf.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/configuration.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/contributing.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/development.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/index.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/installation.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/docs/source/usage.rst +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/anki_deck/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/anki_deck/deck_gen.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/correct/correct.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/correct/correct_loop.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/article_rag.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/ask.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/chunk_article.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/extract_and_inject.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_article/extract.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/llm_usages/llm_usage.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/make_a_rating/rating.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/make_diary/commits.json +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/make_diary/diary.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/minor/hello_fabricatio.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/minor/write_a_poem.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/propose_task/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/propose_task/propose.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/reviewer/censor.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/reviewer/review.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/rules/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/rules/draft_ruleset.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/search_bibtex/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/search_bibtex/search.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/simple_chat/chat.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/simple_rag/simple_rag.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/task_handle/handle_task.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_article/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_article/article_rag.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_article/post_process.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_article/write_article.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_outline/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_outline/write_outline.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_outline/write_outline_corrected.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/yue/compose.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/actions/fs.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/actions/output.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/models/generic.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/fabricatio_actions/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/tests/test_actions.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/capabilities/digest.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/config.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/models/tasklist.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/fabricatio_digest/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-digest/python/tests/tests.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/correct.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/review.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/config.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/models/improve.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/models/kwargs_types.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/models/problem.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-improve/python/fabricatio_improve/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/capabilities/advanced_judge.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/models/advanced_judge.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-judge/python/fabricatio_judge/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/capabilities/questioning.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/config.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/models/questions.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/fabricatio_question/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-question/python/tests/tests.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/actions/rules.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/censor.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/check.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/config.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/models/kwargs_types.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/models/patch.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/models/rule.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-rule/python/fabricatio_rule/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/pyproject.toml +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/capabilities/tagging.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/config.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/fabricatio_tagging/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-tagging/python/tests/tests.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/.gitignore +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/LICENSE +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/README.md +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/genre.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/lyricize.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/top_200_tags.json +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/tests/tests.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/actions/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/capabilities/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/models/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/py.typed +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/toolboxes/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/toolboxes/arithmetic.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/toolboxes/fs.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/fabricatio/workflows/__init__.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/python/tests/test_minor_integration.py +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/src/bin/tdown.rs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/src/lib.rs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/as_prompt.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/binary-exploitation-ctf-solver.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/chap_summary.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/check_string.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/claude-xml.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/clean-up-code.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/co_validation.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/code_string.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/create_json_obj.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/cryptography-ctf-solver.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/dependencies.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/digest.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/dispatch_task.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/document-the-code.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/draft_rating_criteria.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/draft_rating_manual.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/draft_rating_weights_klee.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/extract.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/extract_criteria_from_reasons.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/extract_reasons_from_examples.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/find-security-vulnerabilities.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/fix-bugs.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/fix_troubled_obj.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/fix_troubled_string.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_card_back_side.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_card_front_side.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_card_template.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_card_template_generation_requirements.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_deck_metadata.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_model_generation_requirements.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generate_anki_model_name.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/generic_string.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/improve-performance.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/liststr.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/lyricize.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/make_choice.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/make_judgment.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/mapping.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/memory_recall.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/memory_record.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/pathstr.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/rate_fine_grind.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/refactor.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/refined_query.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/research_content_summary.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/retrieved_display.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/reverse-engineering-ctf-solver.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/review_string.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/rule_requirement.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/ruleset_requirement_breakdown.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/select_genre.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/selection.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/tagging.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/task_briefing.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/web-ctf-solver.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/write-git-commit.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/write-github-pull-request.hbs +0 -0
- {fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/templates/built-in/write-github-readme.hbs +0 -0
@@ -21,6 +21,10 @@ dev: dirs bins
|
|
21
21
|
|
22
22
|
bdist: dirs bins
|
23
23
|
|
24
|
+
rm -f ./packages/*/python/*/*.so
|
25
|
+
rm -f ./packages/*/python/*/*.pyd
|
26
|
+
rm -f ./python/*/*.so
|
27
|
+
rm -f ./python/*/*.pyd
|
24
28
|
uvx -p $(PY) --project . maturin build --sdist -r -o $(DIST)
|
25
29
|
uv run subpackages.py --no-publish --pyversion $(PY)
|
26
30
|
|
Binary file
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
from pathlib import Path
|
4
4
|
|
5
|
-
from
|
6
|
-
from fabricatio.capabilities import Lyricize
|
5
|
+
from fabricatio_core.models.action import Action
|
7
6
|
from fabricatio_core.utils import ok
|
8
7
|
|
8
|
+
from fabricatio_yue.capabilities.lyricize import Lyricize
|
9
9
|
from fabricatio_yue.models.segment import Song
|
10
10
|
|
11
11
|
|
{fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/cli.py
RENAMED
@@ -31,7 +31,7 @@ def compose(
|
|
31
31
|
output: Path = Option(Path("song"), "-o", "--output", help="Output file folder"),
|
32
32
|
) -> None:
|
33
33
|
"""Compose a song based on your requirements."""
|
34
|
-
from
|
34
|
+
from fabricatio_core import Event, Role, Task, WorkFlow
|
35
35
|
from fabricatio_core.utils import ok
|
36
36
|
from questionary import text
|
37
37
|
|
{fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-yue/python/fabricatio_yue/config.py
RENAMED
@@ -21,7 +21,7 @@ class YueConfig(BaseModel):
|
|
21
21
|
)
|
22
22
|
"""List of valid segment types for music composition."""
|
23
23
|
|
24
|
-
genre: Dict[str, List[str]] = Field(default_factory=once(lambda: load(genres_path.open())))
|
24
|
+
genre: Dict[str, List[str]] = Field(default_factory=once(lambda: load(genres_path.open(encoding="utf-8"))))
|
25
25
|
"""Dictionary mapping genre categories to lists of specific genres."""
|
26
26
|
|
27
27
|
lyricize_template: str = "lyricize"
|
@@ -104,7 +104,7 @@ class Song(SketchedAble, WithBriefing):
|
|
104
104
|
logger.info(f"Saving song to {file_path.as_posix()}")
|
105
105
|
|
106
106
|
out = f"{self.briefing}\n" + "\n".join(
|
107
|
-
f"## Section {i}. {seg.section_type.capitalize()}\n\n{self._wrapp(seg)}"
|
107
|
+
f"## Section {i}. {seg.section_type.capitalize()}\n\n> Duration: {seg.duration} s.\n\n{self._wrapp(seg)}"
|
108
108
|
for i, seg in enumerate(self.segments)
|
109
109
|
)
|
110
110
|
|
@@ -9,7 +9,7 @@ import argparse
|
|
9
9
|
import logging
|
10
10
|
import subprocess
|
11
11
|
import tomllib # Use tomllib for TOML parsing (Python 3.11+)
|
12
|
-
from concurrent.futures import
|
12
|
+
from concurrent.futures import Future, ThreadPoolExecutor, as_completed
|
13
13
|
from pathlib import Path
|
14
14
|
from typing import Any, Dict, List, Optional
|
15
15
|
|
@@ -130,7 +130,14 @@ class Project:
|
|
130
130
|
logger.info(f"Running {operation_description} for '{self.name}': {' '.join(command)}")
|
131
131
|
try:
|
132
132
|
# Run the command from the project's directory
|
133
|
-
process = subprocess.run(
|
133
|
+
process = subprocess.run(
|
134
|
+
command,
|
135
|
+
check=True,
|
136
|
+
cwd=self.entry_path,
|
137
|
+
capture_output=True,
|
138
|
+
text=True,
|
139
|
+
encoding="utf-8",
|
140
|
+
)
|
134
141
|
if process.stdout:
|
135
142
|
logger.debug(f"Stdout for '{self.name}' ({operation_description}):\n{process.stdout}")
|
136
143
|
if process.stderr:
|
@@ -174,25 +181,35 @@ class Project:
|
|
174
181
|
logger.error(f"Python version (--pyversion) is required for Maturin project '{self.name}'.")
|
175
182
|
return []
|
176
183
|
develop_command = [
|
177
|
-
"uvx",
|
184
|
+
"uvx",
|
185
|
+
"-p",
|
186
|
+
self.pyversion,
|
187
|
+
"--project",
|
188
|
+
self.entry_path.as_posix(),
|
189
|
+
"maturin",
|
190
|
+
"develop",
|
191
|
+
"--uv",
|
178
192
|
"-r",
|
179
|
-
|
180
193
|
]
|
181
194
|
|
182
195
|
# cargo build --workspace --bins -r -Z unstable-options --artifact-dir
|
183
196
|
scripts_dir = self.entry_path / DEFAULT_DATA_DIR / "scripts"
|
184
197
|
cargo_bins = [
|
185
|
-
"cargo",
|
186
|
-
|
187
|
-
|
198
|
+
"cargo",
|
199
|
+
"build",
|
200
|
+
"-p",
|
201
|
+
self.name,
|
202
|
+
"--bins",
|
203
|
+
"-r",
|
204
|
+
"-Z",
|
205
|
+
"unstable-options",
|
206
|
+
"--artifact-dir",
|
207
|
+
scripts_dir.as_posix(),
|
188
208
|
]
|
189
209
|
|
190
|
-
clean = [
|
191
|
-
"rm", (scripts_dir / "*.pdb").as_posix(), "-f"
|
192
|
-
|
193
|
-
"rm", (scripts_dir / "*.dwarf").as_posix(), "-f"
|
194
|
-
],
|
195
|
-
["rm", r".\packages\*\python\*\*.pyd", "-f"]
|
210
|
+
clean = [
|
211
|
+
["rm", (scripts_dir / "*.pdb").as_posix(), "-f"],
|
212
|
+
["rm", (scripts_dir / "*.dwarf").as_posix(), "-f"],
|
196
213
|
]
|
197
214
|
|
198
215
|
if self.dev_mode:
|
@@ -216,7 +233,8 @@ class Project:
|
|
216
233
|
# This covers standard Python packages (setuptools, hatchling, etc.)
|
217
234
|
if self.dev_mode:
|
218
235
|
logger.info(
|
219
|
-
f"Dev mode enabled for non-Maturin project '{self.name}'. Build step will be skipped if publish is not enabled."
|
236
|
+
f"Dev mode enabled for non-Maturin project '{self.name}'. Build step will be skipped if publish is not enabled."
|
237
|
+
)
|
220
238
|
# For non-Maturin projects in dev mode, we might not want to build sdist/wheel
|
221
239
|
# unless publishing is also intended. If only `build()` is called without `publish()`,
|
222
240
|
# this could be an empty list or a specific dev install command if applicable.
|
@@ -244,7 +262,8 @@ class Project:
|
|
244
262
|
if not build_commands:
|
245
263
|
if self.dev_mode and self.build_backend != "maturin":
|
246
264
|
logger.info(
|
247
|
-
f"Dev mode enabled for '{self.name}', and no explicit build commands for this mode (e.g. not publishing). Skipping build."
|
265
|
+
f"Dev mode enabled for '{self.name}', and no explicit build commands for this mode (e.g. not publishing). Skipping build."
|
266
|
+
)
|
248
267
|
return True # Considered success in dev mode if no build commands are needed
|
249
268
|
logger.error(f"No build commands generated for '{self.name}'. Build cannot proceed.")
|
250
269
|
return False
|
@@ -281,7 +300,8 @@ class Project:
|
|
281
300
|
# Ensure dist_dir exists before globbing
|
282
301
|
if not self.dist_dir.exists():
|
283
302
|
logger.warning(
|
284
|
-
f"Distribution directory '{self.dist_dir}' does not exist. Cannot find artifacts for '{self.name}'."
|
303
|
+
f"Distribution directory '{self.dist_dir}' does not exist. Cannot find artifacts for '{self.name}'."
|
304
|
+
)
|
285
305
|
return True # No artifacts to publish because dist_dir doesn't exist.
|
286
306
|
|
287
307
|
for package_file in self.dist_dir.glob(f"{normalized_name}*"):
|
@@ -329,8 +349,9 @@ class PackageManager:
|
|
329
349
|
projects (List[Project]): A list of discovered and valid `Project` instances.
|
330
350
|
"""
|
331
351
|
|
332
|
-
def __init__(
|
333
|
-
|
352
|
+
def __init__(
|
353
|
+
self, root_dir: Path, dist_dir: Path, pyversion: Optional[str], publish_enabled: bool, dev_mode: bool
|
354
|
+
) -> None:
|
334
355
|
"""Initializes the PackageManager."""
|
335
356
|
self.root_dir: Path = root_dir
|
336
357
|
self.dist_dir: Path = dist_dir
|
@@ -400,19 +421,14 @@ class PackageManager:
|
|
400
421
|
# We need to explicitly build sdist/wheel here before publishing.
|
401
422
|
if self.dev_mode and project.build_backend != "maturin":
|
402
423
|
logger.info(f"Dev mode: Explicitly building '{project_identifier}' for publishing.")
|
403
|
-
standard_build_cmd = [
|
404
|
-
"uvx", "uv", "build", "-o", self.dist_dir.resolve().as_posix(),
|
405
|
-
"--sdist", "--wheel"
|
406
|
-
]
|
424
|
+
standard_build_cmd = ["uvx", "uv", "build", "-o", self.dist_dir.resolve().as_posix(), "--sdist", "--wheel"]
|
407
425
|
# project._execute_subprocess is a method of the Project class, not one defined here.
|
408
426
|
if not project._execute_subprocess(standard_build_cmd, "dev mode publish build"):
|
409
427
|
logger.error(f"Failed to build '{project_identifier}' for publishing in dev mode.")
|
410
428
|
return False
|
411
429
|
|
412
430
|
if not project.name: # Ensure project name is available for publishing
|
413
|
-
logger.error(
|
414
|
-
f"Cannot publish project from '{project.entry_path.name}' due to missing project name."
|
415
|
-
)
|
431
|
+
logger.error(f"Cannot publish project from '{project.entry_path.name}' due to missing project name.")
|
416
432
|
return False
|
417
433
|
|
418
434
|
logger.info(f"Publishing is enabled for '{project.name}'.")
|
@@ -479,14 +495,14 @@ class PackageManager:
|
|
479
495
|
except Exception as e:
|
480
496
|
# This case should ideally not be reached if process_one_project is robust.
|
481
497
|
logger.error(
|
482
|
-
f"Unexpected error while processing project '{project_id_for_log}': {e}",
|
483
|
-
exc_info=True
|
498
|
+
f"Unexpected error while processing project '{project_id_for_log}': {e}", exc_info=True
|
484
499
|
)
|
485
500
|
failure_count += 1
|
486
501
|
finally:
|
487
502
|
processed_count += 1
|
488
503
|
logger.info(
|
489
|
-
f"Finished processing for: {project_id_for_log}. ({processed_count}/{total_projects} completed)"
|
504
|
+
f"Finished processing for: {project_id_for_log}. ({processed_count}/{total_projects} completed)"
|
505
|
+
)
|
490
506
|
|
491
507
|
self.log_processing_summary(total_projects, success_count, failure_count)
|
492
508
|
|
@@ -525,13 +541,13 @@ def main() -> None:
|
|
525
541
|
type=str,
|
526
542
|
default=None,
|
527
543
|
help="Specify Python version (e.g., '3.12') for builders like Maturin that require it. "
|
528
|
-
|
544
|
+
"If not provided, Maturin projects may fail to build.",
|
529
545
|
)
|
530
546
|
parser.add_argument(
|
531
547
|
"--dev",
|
532
548
|
action="store_true",
|
533
549
|
help="Enable development mode. For Maturin projects, this will only run 'maturin develop'. "
|
534
|
-
|
550
|
+
"For other projects, build steps might be altered or skipped if not publishing.",
|
535
551
|
)
|
536
552
|
|
537
553
|
args = parser.parse_args()
|
@@ -0,0 +1,37 @@
|
|
1
|
+
## Available Resources
|
2
|
+
|
3
|
+
**Dependencies:**
|
4
|
+
{{deps}}
|
5
|
+
|
6
|
+
**Available Data:**
|
7
|
+
{{#each data }}
|
8
|
+
{{ block this @key }}
|
9
|
+
{{/each }}
|
10
|
+
|
11
|
+
**Available Tools:**
|
12
|
+
{{ls tools}}
|
13
|
+
|
14
|
+
**Task Briefing:**
|
15
|
+
{{ task }}
|
16
|
+
|
17
|
+
|
18
|
+
**ResultCollector:**
|
19
|
+
{{collector_help}}
|
20
|
+
|
21
|
+
|
22
|
+
## Constrain
|
23
|
+
|
24
|
+
```python
|
25
|
+
{{fn_header}}
|
26
|
+
|
27
|
+
# -----
|
28
|
+
|
29
|
+
#TODO: fill in the function body that can finish the task, submit all required result to the collector.
|
30
|
+
|
31
|
+
# -----
|
32
|
+
|
33
|
+
return None
|
34
|
+
|
35
|
+
```
|
36
|
+
Your response SHALL only contain the body of the function, no signature or return statement.
|
37
|
+
Your code will be placed between `# -----`
|
@@ -333,7 +333,7 @@ wheels = [
|
|
333
333
|
|
334
334
|
[[package]]
|
335
335
|
name = "fabricatio"
|
336
|
-
version = "0.6.
|
336
|
+
version = "0.6.5.dev1"
|
337
337
|
source = { editable = "." }
|
338
338
|
dependencies = [
|
339
339
|
{ name = "fabricatio-core" },
|
@@ -524,7 +524,7 @@ dev = [{ name = "pytest" }]
|
|
524
524
|
|
525
525
|
[[package]]
|
526
526
|
name = "fabricatio-capabilities"
|
527
|
-
version = "0.1.
|
527
|
+
version = "0.1.8.dev4"
|
528
528
|
source = { editable = "packages/fabricatio-capabilities" }
|
529
529
|
dependencies = [
|
530
530
|
{ name = "fabricatio-core" },
|
@@ -543,7 +543,7 @@ dev = [{ name = "pytest" }]
|
|
543
543
|
|
544
544
|
[[package]]
|
545
545
|
name = "fabricatio-core"
|
546
|
-
version = "0.1.
|
546
|
+
version = "0.1.9.dev2"
|
547
547
|
source = { editable = "packages/fabricatio-core" }
|
548
548
|
dependencies = [
|
549
549
|
{ name = "asyncio" },
|
@@ -663,7 +663,7 @@ dev = [{ name = "pytest" }]
|
|
663
663
|
|
664
664
|
[[package]]
|
665
665
|
name = "fabricatio-memory"
|
666
|
-
version = "0.1.1"
|
666
|
+
version = "0.1.1.dev0"
|
667
667
|
source = { editable = "packages/fabricatio-memory" }
|
668
668
|
dependencies = [
|
669
669
|
{ name = "fabricatio-core" },
|
@@ -705,7 +705,7 @@ dev = [{ name = "pytest" }]
|
|
705
705
|
|
706
706
|
[[package]]
|
707
707
|
name = "fabricatio-rag"
|
708
|
-
version = "0.1.
|
708
|
+
version = "0.1.5.dev0"
|
709
709
|
source = { editable = "packages/fabricatio-rag" }
|
710
710
|
dependencies = [
|
711
711
|
{ name = "fabricatio-core" },
|
@@ -804,7 +804,7 @@ provides-extras = ["full", "rag", "qa", "workflows"]
|
|
804
804
|
|
805
805
|
[[package]]
|
806
806
|
name = "fabricatio-yue"
|
807
|
-
version = "0.2.
|
807
|
+
version = "0.2.2.dev0"
|
808
808
|
source = { editable = "packages/fabricatio-yue" }
|
809
809
|
dependencies = [
|
810
810
|
{ name = "fabricatio-core" },
|
@@ -1,76 +0,0 @@
|
|
1
|
-
# Task: Draft Python Code for Tool Integration
|
2
|
-
|
3
|
-
You are tasked with writing Python code that effectively utilizes specific tools to accomplish a defined task. This template will guide you to produce high-quality, executable code.
|
4
|
-
|
5
|
-
## CFER Framework
|
6
|
-
Your code solution should follow these principles:
|
7
|
-
- **Comprehensive**: Utilize all relevant tools necessary to fully accomplish the task
|
8
|
-
- **Functional**: Ensure the code executes without errors and handles edge cases appropriately
|
9
|
-
- **Efficient**: Optimize for performance and resource utilization where appropriate
|
10
|
-
- **Reliable**: Include proper error handling and validation for robust execution
|
11
|
-
|
12
|
-
## Available Resources
|
13
|
-
|
14
|
-
**Dependencies:**
|
15
|
-
{{deps}}
|
16
|
-
|
17
|
-
**Available Data:**
|
18
|
-
{{#each data }}
|
19
|
-
-------- Start of `{{ @key }}` --------
|
20
|
-
{{ this }}
|
21
|
-
-------- End of `{{ @key }}` --------
|
22
|
-
{{/each }}
|
23
|
-
|
24
|
-
**Task Briefing:**
|
25
|
-
{{ task }}
|
26
|
-
|
27
|
-
**Available Tools:**
|
28
|
-
{{#each tools }}
|
29
|
-
- `{{ name }}`
|
30
|
-
{{/each }}
|
31
|
-
|
32
|
-
## Implementation Guidelines
|
33
|
-
When developing your solution:
|
34
|
-
- Begin with proper tool imports and initialization
|
35
|
-
- Structure your code with logical function organization
|
36
|
-
- Implement appropriate error handling
|
37
|
-
- Document key sections with clear comments
|
38
|
-
- Define output variables to capture results
|
39
|
-
- Follow Python best practices for code style
|
40
|
-
|
41
|
-
## Response Format
|
42
|
-
Provide your solution in the following format:
|
43
|
-
|
44
|
-
1. Python code implementation in a code block
|
45
|
-
2. JSON array of output variable names that contain your solution results
|
46
|
-
|
47
|
-
## Example Response:
|
48
|
-
|
49
|
-
---- Start of Response Example ----
|
50
|
-
|
51
|
-
```python
|
52
|
-
{{#if data}}# Import available data
|
53
|
-
from {{data_module_name}} import ({{#each data }}{{@key}},{{/each }}){{/if}}
|
54
|
-
# Import available tools
|
55
|
-
from {{tool_module_name}} import ({{#each tools }}{{name}},{{/each }})
|
56
|
-
|
57
|
-
output1 = # Create your output no.1 with `{{tool_module_name}}`{{#if data}} and `{{data_module_name}}`{{/if}} here, if needed
|
58
|
-
another_output = # Create your output no.2 with `{{tool_module_name}}`{{#if data}} and `{{data_module_name}}`{{/if}} here, if needed
|
59
|
-
yet_another_output = # Create your output no.3 with `{{tool_module_name}}`{{#if data}} and `{{data_module_name}}`{{/if}} ,here, if needed
|
60
|
-
|
61
|
-
```
|
62
|
-
|
63
|
-
```json
|
64
|
-
[
|
65
|
-
"output1",
|
66
|
-
"another_output"
|
67
|
-
"yet_another_output"
|
68
|
-
]
|
69
|
-
```
|
70
|
-
---- End of Response Example ----
|
71
|
-
|
72
|
-
## Constraints
|
73
|
-
- Your solution must use ONLY the provided tools and data
|
74
|
-
- Do not import any third-party libraries not specified in the dependencies
|
75
|
-
- Ensure all output variables contain JSON-serializable values
|
76
|
-
- Your response must include both the Python code block and the JSON output array code block
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/extract_and_inject/extract_and_inject.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/examples/write_outline/write_outline_corrected.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.6.4 → fabricatio-0.6.5.dev1}/packages/fabricatio-actions/python/tests/test_actions.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|