aiforge-engine 0.0.1__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.
- aiforge_engine-0.0.1/.github/PULL_REQUEST_TEMPLATE.md +31 -0
- aiforge_engine-0.0.1/.gitignore +214 -0
- aiforge_engine-0.0.1/LICENSE +201 -0
- aiforge_engine-0.0.1/PKG-INFO +11 -0
- aiforge_engine-0.0.1/README.md +154 -0
- aiforge_engine-0.0.1/conftest.py +4 -0
- aiforge_engine-0.0.1/logo.jpg +0 -0
- aiforge_engine-0.0.1/pyproject.toml +26 -0
- aiforge_engine-0.0.1/src/aiforge/__init__.py +64 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/__init__.py +5 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/cli_input_adapter.py +45 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/gui_input_adapter.py +40 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/input_adapter.py +67 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/input_adapter_manager.py +101 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/input_processors.py +48 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/mobile_input_adapter.py +48 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/voice_input_adapter.py +44 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/input/web_input_adapter.py +48 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/__init__.py +5 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/ai_ui_adapter.py +120 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/enhanced_hybrid_adapter.py +82 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/learning_Interface.py +190 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/rule_based_adapter.py +464 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/task_type_detector.py +143 -0
- aiforge_engine-0.0.1/src/aiforge/adapters/output/ui_type_recommender.py +72 -0
- aiforge_engine-0.0.1/src/aiforge/api/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/middleware/auth.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/middleware/rate_limit.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/routes/execution.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/routes/llm.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/routes/tasks.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/api/server.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/cache/__init__.py +3 -0
- aiforge_engine-0.0.1/src/aiforge/cache/action_matcher.py +318 -0
- aiforge_engine-0.0.1/src/aiforge/cache/code_cache.py +369 -0
- aiforge_engine-0.0.1/src/aiforge/cache/dynamic_task_type_manager.py +143 -0
- aiforge_engine-0.0.1/src/aiforge/cache/semantic_cache.py +839 -0
- aiforge_engine-0.0.1/src/aiforge/cli/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/cli/cli.py +87 -0
- aiforge_engine-0.0.1/src/aiforge/cli/commands/manager.py +73 -0
- aiforge_engine-0.0.1/src/aiforge/cli/wizard.py +116 -0
- aiforge_engine-0.0.1/src/aiforge/config/__init__.py +3 -0
- aiforge_engine-0.0.1/src/aiforge/config/config.py +185 -0
- aiforge_engine-0.0.1/src/aiforge/config/config_sync.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/config/default.toml +97 -0
- aiforge_engine-0.0.1/src/aiforge/config/extension_config.py +46 -0
- aiforge_engine-0.0.1/src/aiforge/config/extensions.toml +45 -0
- aiforge_engine-0.0.1/src/aiforge/config/remote_config.py +20 -0
- aiforge_engine-0.0.1/src/aiforge/core/__init__.py +9 -0
- aiforge_engine-0.0.1/src/aiforge/core/engine.py +149 -0
- aiforge_engine-0.0.1/src/aiforge/core/helpers/__init__.py +3 -0
- aiforge_engine-0.0.1/src/aiforge/core/helpers/cache_helper.py +53 -0
- aiforge_engine-0.0.1/src/aiforge/core/managers/__init__.py +4 -0
- aiforge_engine-0.0.1/src/aiforge/core/managers/config_manager.py +75 -0
- aiforge_engine-0.0.1/src/aiforge/core/managers/execution_manager.py +530 -0
- aiforge_engine-0.0.1/src/aiforge/core/managers/search_manager.py +402 -0
- aiforge_engine-0.0.1/src/aiforge/core/orchestrator.py +301 -0
- aiforge_engine-0.0.1/src/aiforge/core/prompt.py +345 -0
- aiforge_engine-0.0.1/src/aiforge/core/runner.py +154 -0
- aiforge_engine-0.0.1/src/aiforge/core/task/__init__.py +5 -0
- aiforge_engine-0.0.1/src/aiforge/core/task/executor.py +271 -0
- aiforge_engine-0.0.1/src/aiforge/core/task/manager.py +62 -0
- aiforge_engine-0.0.1/src/aiforge/core/task/task.py +147 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/cloud/aws_deploy.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/cloud/azure_deploy.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/docker/Dockerfile +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/docker/docker-compose.yml +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/kubernetes/deployment.yaml +0 -0
- aiforge_engine-0.0.1/src/aiforge/deployment/kubernetes/service.yaml +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/audit/audit_logger.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/audit/compliance_checker.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/auth/permission_manager.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/auth/user_manager.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/monitoring/alert_manager.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/enterprise/monitoring/metrics_collector.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/execution/__init__.py +16 -0
- aiforge_engine-0.0.1/src/aiforge/execution/analyzer.py +297 -0
- aiforge_engine-0.0.1/src/aiforge/execution/code_blocks.py +88 -0
- aiforge_engine-0.0.1/src/aiforge/execution/engine.py +667 -0
- aiforge_engine-0.0.1/src/aiforge/execution/executor_interface.py +16 -0
- aiforge_engine-0.0.1/src/aiforge/execution/result_formatter.py +81 -0
- aiforge_engine-0.0.1/src/aiforge/execution/result_processor.py +289 -0
- aiforge_engine-0.0.1/src/aiforge/execution/runtimes/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/execution/runtimes/javascript_runtime.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/execution/runtimes/python_runtime.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/execution/runtimes/shell_runtime.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/execution/unified_executor.py +28 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/extension_manager.py +48 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/loader.py +115 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/marketplace.py +23 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/plugin_installer.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/extensions/template_extension.py +90 -0
- aiforge_engine-0.0.1/src/aiforge/instruction/__init__.py +11 -0
- aiforge_engine-0.0.1/src/aiforge/instruction/analyzer.py +539 -0
- aiforge_engine-0.0.1/src/aiforge/instruction/classifier.py +268 -0
- aiforge_engine-0.0.1/src/aiforge/instruction/extractor.py +253 -0
- aiforge_engine-0.0.1/src/aiforge/instruction/parser.py +47 -0
- aiforge_engine-0.0.1/src/aiforge/llm/__init__.py +8 -0
- aiforge_engine-0.0.1/src/aiforge/llm/conversation_manager.py +115 -0
- aiforge_engine-0.0.1/src/aiforge/llm/llm_client.py +240 -0
- aiforge_engine-0.0.1/src/aiforge/llm/llm_manager.py +150 -0
- aiforge_engine-0.0.1/src/aiforge/llm/providers/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/llm/providers/deepseek_client.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/llm/providers/ollama_client.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/llm/providers/openai_client.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/models/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/models/model_manager.py +141 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/audio/speech_to_text.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/audio/text_to_speech.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/document/pdf_parser.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/document/word_parser.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/vision/image_processor.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/multimodal/vision/video_processor.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/optimization/code_optimizer.py +163 -0
- aiforge_engine-0.0.1/src/aiforge/optimization/feedback_optimizer.py +42 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/builtin/data_analysis.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/builtin/file_processing.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/builtin/web_scraping.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/plugin_interface.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/plugins/plugin_manager.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/__init__.py +41 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/execution_strategy.py +106 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/execution_strategy_manager.py +44 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/parameter_mapping_service.py +895 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/search_template_strategy.py +108 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/semantic_field_strategy.py +257 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/class_instantiation.py +68 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/direct_result.py +33 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/file_operation.py +832 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/file_operation_safety.py +317 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/strategy/parameterized_function.py +168 -0
- aiforge_engine-0.0.1/src/aiforge/strategies/validation_strategy.py +125 -0
- aiforge_engine-0.0.1/src/aiforge/templates/__init__.py +9 -0
- aiforge_engine-0.0.1/src/aiforge/templates/builtin/automation.json +0 -0
- aiforge_engine-0.0.1/src/aiforge/templates/builtin/data_analysis.json +0 -0
- aiforge_engine-0.0.1/src/aiforge/templates/builtin/web_api.json +0 -0
- aiforge_engine-0.0.1/src/aiforge/templates/search_template.py +1311 -0
- aiforge_engine-0.0.1/src/aiforge/templates/template_manager.py +331 -0
- aiforge_engine-0.0.1/src/aiforge/utils/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/utils/helpers.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/utils/sentence_transformers_downloader.py +44 -0
- aiforge_engine-0.0.1/src/aiforge/utils/utils.py +290 -0
- aiforge_engine-0.0.1/src/aiforge/validation/code_validator.py +33 -0
- aiforge_engine-0.0.1/src/aiforge/validation/result_validator.py +260 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/nodes/data_node.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/nodes/execution_node.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/nodes/llm_node.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/workflow_designer.py +0 -0
- aiforge_engine-0.0.1/src/aiforge/workflow/workflow_engine.py +0 -0
- aiforge_engine-0.0.1/src/aiforge_gui/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge_gui/app.py +103 -0
- aiforge_engine-0.0.1/src/aiforge_gui/smart_display.py +104 -0
- aiforge_engine-0.0.1/src/aiforge_web/__init__.py +0 -0
- aiforge_engine-0.0.1/src/aiforge_web/api_adapter.py +18 -0
- aiforge_engine-0.0.1/src/aiforge_web/main.py +66 -0
- aiforge_engine-0.0.1/src/cli/__init__.py +0 -0
- aiforge_engine-0.0.1/src/cli/cli.py +27 -0
- aiforge_engine-0.0.1/tests/__init__.py +0 -0
- aiforge_engine-0.0.1/tests/test_AIForge_architecture.py +23 -0
- aiforge_engine-0.0.1/tests/test_action_clustering_matching.py +50 -0
- aiforge_engine-0.0.1/tests/test_aiforge.py +114 -0
- aiforge_engine-0.0.1/tests/test_aiforge_gui.py +0 -0
- aiforge_engine-0.0.1/tests/test_aiforge_web.py +0 -0
- aiforge_engine-0.0.1/tests/test_file_operations.py +454 -0
- aiforge_engine-0.0.1/tests/test_serach_template.py +25 -0
- aiforge_engine-0.0.1/tests/test_template_extension.py +52 -0
- aiforge_engine-0.0.1/tests/test_ui_adapter.py +25 -0
- aiforge_engine-0.0.1/tests/test_utils.py +0 -0
- aiforge_engine-0.0.1/uv.lock +399 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# 🛠️ Pull Request 提交须知
|
|
2
|
+
|
|
3
|
+
感谢你为 AIForge 项目做出贡献!请在提交 PR 之前确认以下事项:
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ✅ 提交前检查项
|
|
8
|
+
|
|
9
|
+
- [ ] 我已确认此 PR 的改动符合项目方向与结构设计
|
|
10
|
+
- [ ] 我已本地运行并测试了相关代码,功能正常
|
|
11
|
+
- [ ] 我已遵守 [Apache 2.0 License](../LICENSE),并未违反其条款
|
|
12
|
+
- [ ] 我在代码中未删除或修改原始 LICENSE 文件
|
|
13
|
+
- [ ] 我已尽可能编写/更新相关文档或注释说明
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 📋 PR 内容说明
|
|
18
|
+
|
|
19
|
+
请简要说明此次提交的内容、目的和改动要点:
|
|
20
|
+
|
|
21
|
+
> _例如:增加了 CSV 读取模块并支持输出 Markdown 表格,增强了 run 的灵活性_
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 🚦 补充信息(可选)
|
|
26
|
+
|
|
27
|
+
> _是否涉及 CLI 改动、是否影响已有功能、是否需要新增依赖等_
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
再次感谢你的贡献!我们会尽快审核你的提交 💪
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
#poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
#pdm.lock
|
|
116
|
+
#pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
#pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# SageMath parsed files
|
|
135
|
+
*.sage.py
|
|
136
|
+
|
|
137
|
+
# Environments
|
|
138
|
+
.env
|
|
139
|
+
.envrc
|
|
140
|
+
.venv
|
|
141
|
+
env/
|
|
142
|
+
venv/
|
|
143
|
+
ENV/
|
|
144
|
+
env.bak/
|
|
145
|
+
venv.bak/
|
|
146
|
+
|
|
147
|
+
# Spyder project settings
|
|
148
|
+
.spyderproject
|
|
149
|
+
.spyproject
|
|
150
|
+
|
|
151
|
+
# Rope project settings
|
|
152
|
+
.ropeproject
|
|
153
|
+
|
|
154
|
+
# mkdocs documentation
|
|
155
|
+
/site
|
|
156
|
+
|
|
157
|
+
# mypy
|
|
158
|
+
.mypy_cache/
|
|
159
|
+
.dmypy.json
|
|
160
|
+
dmypy.json
|
|
161
|
+
|
|
162
|
+
# Pyre type checker
|
|
163
|
+
.pyre/
|
|
164
|
+
|
|
165
|
+
# pytype static type analyzer
|
|
166
|
+
.pytype/
|
|
167
|
+
|
|
168
|
+
# Cython debug symbols
|
|
169
|
+
cython_debug/
|
|
170
|
+
|
|
171
|
+
# PyCharm
|
|
172
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
173
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
174
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
175
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
176
|
+
#.idea/
|
|
177
|
+
|
|
178
|
+
# Abstra
|
|
179
|
+
# Abstra is an AI-powered process automation framework.
|
|
180
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
181
|
+
# Learn more at https://abstra.io/docs
|
|
182
|
+
.abstra/
|
|
183
|
+
|
|
184
|
+
# Visual Studio Code
|
|
185
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
186
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
188
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
189
|
+
.vscode/
|
|
190
|
+
|
|
191
|
+
# Ruff stuff:
|
|
192
|
+
.ruff_cache/
|
|
193
|
+
|
|
194
|
+
# PyPI configuration file
|
|
195
|
+
.pypirc
|
|
196
|
+
|
|
197
|
+
# Cursor
|
|
198
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
199
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
200
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
201
|
+
.cursorignore
|
|
202
|
+
.cursorindexingignore
|
|
203
|
+
|
|
204
|
+
# Marimo
|
|
205
|
+
marimo/_static/
|
|
206
|
+
marimo/_lsp/
|
|
207
|
+
__marimo__/
|
|
208
|
+
|
|
209
|
+
.DS_Store
|
|
210
|
+
.git-backup/
|
|
211
|
+
aiforge_work/
|
|
212
|
+
|
|
213
|
+
#不再上传,因为model.safetensors太大了,不方便传上去,需要用户手动预下载
|
|
214
|
+
**/sentence_transformers/paraphrase-MiniLM-L6-v2/*
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 iniwap
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aiforge-engine
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: AIForge 核心 + 可选 GUI/Web 界面支持
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Provides-Extra: gui
|
|
8
|
+
Requires-Dist: textual; extra == 'gui'
|
|
9
|
+
Provides-Extra: web
|
|
10
|
+
Requires-Dist: fastapi; extra == 'web'
|
|
11
|
+
Requires-Dist: uvicorn; extra == 'web'
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# 🌟 AIForge - 智能意图自适应执行引擎
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
[](https://www.python.org/) [](https://textual.textualize.io/) [](https://fastapi.tiangolo.com/) [](https://www.SBERT.net/)
|
|
6
|
+
[](https://github.com/iniwap/AIForge) [](#) [](./LICENSE) [](https://github.com/iniwap/AIForge)
|
|
7
|
+
|
|
8
|
+
**重新定义人机交互边界,让思维直接转化为执行力**
|
|
9
|
+
|
|
10
|
+
[🚀 立即体验](#快速启动) • [🧠 核心能力](#核心能力) • [⚡ 快速集成](#安装使用) • [🌐 生态支持](#生态系统)
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 🎯 什么是 AIForge?
|
|
17
|
+

|
|
18
|
+
AIForge 是一个**突破性的认知计算引擎**,它消除了自然语言与代码执行之间的壁垒。通过先进的**意图理解算法**和**自适应执行架构**,AIForge 能够:
|
|
19
|
+
|
|
20
|
+
- 🧠 **深度理解** - 多维度解析复杂指令,精准捕获用户意图
|
|
21
|
+
- ⚡ **即时执行** - 快速代码生成,实时环境交互
|
|
22
|
+
- 🔮 **智能预测** - 基于语义模式的预测性缓存机制
|
|
23
|
+
- 🌊 **自我进化** - 持续学习优化,错误自愈能力
|
|
24
|
+
- 🎭 **多重人格** - 支持多种AI模型的无缝切换
|
|
25
|
+
|
|
26
|
+
> **核心哲学**: *Thought → Code → Reality* - 让思维直接驱动现实世界
|
|
27
|
+
|
|
28
|
+
## ✨ 核心能力
|
|
29
|
+
|
|
30
|
+
### 🧬 认知引擎
|
|
31
|
+
- **量子级指令解析** - 超越传统NLP的深度语义理解
|
|
32
|
+
- **自适应学习机制** - 从每次交互中汲取智慧
|
|
33
|
+
- **多模态融合** - 文本、数据、逻辑的统一处理
|
|
34
|
+
|
|
35
|
+
### ⚡ 执行矩阵
|
|
36
|
+
- **零延迟响应** - 毫秒级的思维到执行转换
|
|
37
|
+
- **沙盒隔离** - 军用级安全的执行环境
|
|
38
|
+
- **弹性架构** - 自动扩展的计算资源管理
|
|
39
|
+
|
|
40
|
+
### 🔮 预知系统
|
|
41
|
+
- **语义缓存** - 基于意图相似性的智能复用
|
|
42
|
+
- **模式识别** - 自动发现和优化执行模式
|
|
43
|
+
- **质量守护** - 多层验证确保输出完美
|
|
44
|
+
|
|
45
|
+
### 🌐 生态矩阵
|
|
46
|
+
- **全模型兼容** - 无缝对接主流AI服务
|
|
47
|
+
- **插件化架构** - 无限扩展的能力边界
|
|
48
|
+
- **云边协同** - 本地与云端的智能调度
|
|
49
|
+
|
|
50
|
+
## 🚀 快速启动
|
|
51
|
+
|
|
52
|
+
### 安装
|
|
53
|
+
```bash
|
|
54
|
+
pip install aiforge
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 一行代码,释放无限可能
|
|
58
|
+
```python
|
|
59
|
+
from aiforge import AIForgeEngine
|
|
60
|
+
|
|
61
|
+
# 唤醒AI引擎
|
|
62
|
+
forge = AIForgeEngine(api_key="your-key")
|
|
63
|
+
|
|
64
|
+
# 思维即执行
|
|
65
|
+
result = forge("分析全球股市趋势并生成投资建议")
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 高级配置
|
|
69
|
+
```python
|
|
70
|
+
# 多重AI人格切换
|
|
71
|
+
forge = AIForgeEngine(
|
|
72
|
+
provider="deepseek", # 或 "openai", "ollama"
|
|
73
|
+
max_rounds=5, # 自我优化轮数
|
|
74
|
+
cache_enabled=True # 启用预知缓存
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
# 复杂任务分解执行
|
|
78
|
+
result = forge.run(
|
|
79
|
+
"构建实时数据监控系统",
|
|
80
|
+
system_prompt="你是顶级架构师"
|
|
81
|
+
)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## 🎭 应用场景
|
|
85
|
+
|
|
86
|
+
### 💼 商业智能
|
|
87
|
+
- **市场分析** - 实时数据挖掘与趋势预测
|
|
88
|
+
- **风险评估** - 多维度风险模型构建
|
|
89
|
+
- **决策支持** - 基于数据的智能决策引擎
|
|
90
|
+
|
|
91
|
+
### 🔬 科研创新
|
|
92
|
+
- **数据科学** - 自动化实验设计与分析
|
|
93
|
+
- **模型训练** - 智能超参数优化
|
|
94
|
+
- **论文辅助** - 研究数据的可视化呈现
|
|
95
|
+
|
|
96
|
+
### 🛠️ 开发加速
|
|
97
|
+
- **原型验证** - 快速MVP构建
|
|
98
|
+
- **API集成** - 智能接口适配
|
|
99
|
+
- **自动化运维** - 系统监控与维护
|
|
100
|
+
|
|
101
|
+
### 🎨 创意实现
|
|
102
|
+
- **内容生成** - 多媒体内容智能创作
|
|
103
|
+
- **数据艺术** - 将数据转化为视觉艺术
|
|
104
|
+
- **交互设计** - 智能UI/UX原型生成
|
|
105
|
+
|
|
106
|
+
## 🌟 为什么选择 AIForge?
|
|
107
|
+
|
|
108
|
+
| 特性 | 传统方案 | AIForge |
|
|
109
|
+
|------|----------|---------|
|
|
110
|
+
| 学习成本 | 数周到数月 | 几分钟上手 |
|
|
111
|
+
| 开发效率 | 线性增长 | 指数级提升 |
|
|
112
|
+
| 错误处理 | 手动调试 | 自动修复 |
|
|
113
|
+
| 扩展性 | 有限 | 无限可能 |
|
|
114
|
+
| 智能程度 | 静态规则 | 动态学习 |
|
|
115
|
+
|
|
116
|
+
## 🔮 技术前瞻
|
|
117
|
+
|
|
118
|
+
AIForge 不仅是工具,更是通往**认知计算时代**的桥梁:
|
|
119
|
+
|
|
120
|
+
- 🧠 **神经符号融合** - 结合符号推理与神经网络
|
|
121
|
+
- 🌊 **流式思维** - 实时思维流的捕获与执行
|
|
122
|
+
- 🎯 **意图预测** - 基于上下文的需求预判
|
|
123
|
+
- 🔄 **自我进化** - 持续学习的智能体系统
|
|
124
|
+
|
|
125
|
+
## 🤝 加入生态
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# 开发者模式
|
|
129
|
+
git clone https://github.com/iniwap/AIForge.git
|
|
130
|
+
cd AIForge
|
|
131
|
+
pip install -e ".[dev]"
|
|
132
|
+
|
|
133
|
+
# 开始贡献
|
|
134
|
+
pytest tests/
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## 📞 连接未来
|
|
138
|
+
|
|
139
|
+
- 🌐 **官网**: [aiforge.dev](https://iniwap.github.io/AIForge)
|
|
140
|
+
- 💬 **社区**: [Discord](https://discord.gg/ksPhVyWz)
|
|
141
|
+
- 📧 **联系**: iniwaper@gmail.com
|
|
142
|
+
- 🐦 **动态**: [@AIForge](https://twitter.com/iafun_tipixel)
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
<div align="center">
|
|
147
|
+
|
|
148
|
+
**🌟 重新定义可能性的边界 🌟**
|
|
149
|
+
|
|
150
|
+
*AIForge - Where Intelligence Meets Execution*
|
|
151
|
+
|
|
152
|
+
[立即开始](https://github.com/iniwap/AIForge) | [查看文档](https://iniwap.github.io/AIForge) | [加入社区](https://discord.gg/ksPhVyWz)
|
|
153
|
+
|
|
154
|
+
</div>
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "aiforge-engine"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
requires-python = ">=3.10"
|
|
5
|
+
description = "AIForge 核心 + 可选 GUI/Web 界面支持"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
[project.optional-dependencies]
|
|
9
|
+
gui = ["textual"]
|
|
10
|
+
web = ["fastapi", "uvicorn"]
|
|
11
|
+
|
|
12
|
+
[build-system]
|
|
13
|
+
requires = ["hatchling"]
|
|
14
|
+
build-backend = "hatchling.build"
|
|
15
|
+
|
|
16
|
+
[tool.setuptools.package-data]
|
|
17
|
+
"aiforge.models" = ["sentence_transformers/paraphrase-MiniLM-L6-v2/*"]
|
|
18
|
+
|
|
19
|
+
[dependency-groups]
|
|
20
|
+
dev = ["python-dotenv>=1.1.1"]
|
|
21
|
+
|
|
22
|
+
[tool.pytest.ini_options]
|
|
23
|
+
pythonpath = ["src"]
|
|
24
|
+
|
|
25
|
+
[tool.hatch.build.targets.wheel]
|
|
26
|
+
packages = ["src/aiforge"]
|