fabricatio 0.17.0__cp313-cp313-win_amd64.whl → 0.17.2__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fabricatio/rust.cp313-win_amd64.pyd +0 -0
- {fabricatio-0.17.0.data → fabricatio-0.17.2.data}/scripts/tdown.exe +0 -0
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.2.dist-info}/METADATA +21 -50
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.2.dist-info}/RECORD +6 -6
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.2.dist-info}/WHEEL +0 -0
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.2.dist-info}/licenses/LICENSE +0 -0
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fabricatio
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.2
|
4
4
|
Classifier: License :: OSI Approved :: MIT License
|
5
5
|
Classifier: Programming Language :: Rust
|
6
6
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -104,9 +104,7 @@ Project-URL: Issues, https://github.com/Whth/fabricatio/issues
|
|
104
104
|
|
105
105
|
<p align="center">
|
106
106
|
|
107
|
-
|
108
|
-
<img src="https://readthedocs.org/projects/fabricatio/badge/?version=latest" alt="Documentation Status">
|
109
|
-
</a>
|
107
|
+
|
110
108
|
<a href="https://github.com/Whth/fabricatio/actions/workflows/build-package.yaml">
|
111
109
|
<img src="https://github.com/Whth/fabricatio/actions/workflows/build-package.yaml/badge.svg" alt="Build Package">
|
112
110
|
</a>
|
@@ -119,6 +117,9 @@ Project-URL: Issues, https://github.com/Whth/fabricatio/issues
|
|
119
117
|
<a href="https://coveralls.io/github/Whth/fabricatio?branch=master">
|
120
118
|
<img src="https://coveralls.io/repos/github/Whth/fabricatio/badge.svg?branch=master" alt="Coverage Status">
|
121
119
|
</a>
|
120
|
+
<a href="https://fabricatio.readthedocs.io/en/latest/?badge=fabricatio">
|
121
|
+
<img src="https://readthedocs.org/projects/fabricatio/badge/?version=latest" alt="Documentation Status">
|
122
|
+
</a>
|
122
123
|
<a href="https://github.com/Whth/fabricatio/issues">
|
123
124
|
<img src="https://img.shields.io/github/issues/Whth/fabricatio" alt="GitHub Issues">
|
124
125
|
</a>
|
@@ -216,28 +217,26 @@ _(For full example details, please check our detailed documentation, see [Exampl
|
|
216
217
|
## Configuration
|
217
218
|
|
218
219
|
Fabricatio supports flexible configuration through multiple sources, with the following priority order:
|
219
|
-
`./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Defaults`.
|
220
|
+
`Call Arguments` > `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Builtin Defaults`.
|
220
221
|
|
221
222
|
Below is a unified view of the same configuration expressed in different formats:
|
222
223
|
|
223
|
-
###
|
224
|
-
|
225
|
-
#### Environment variables or dotenv file
|
224
|
+
### Environment variables or dotenv file
|
226
225
|
```dotenv
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
226
|
+
FABRICATIO_LLM__API_ENDPOINT=https://api.openai.com
|
227
|
+
FABRICATIO_LLM__API_KEY=your_openai_api_key
|
228
|
+
FABRICATIO_LLM__TIMEOUT=300
|
229
|
+
FABRICATIO_LLM__MAX_RETRIES=3
|
230
|
+
FABRICATIO_LLM__MODEL=openai/gpt-3.5-turbo
|
231
|
+
FABRICATIO_LLM__TEMPERATURE=1.0
|
232
|
+
FABRICATIO_LLM__TOP_P=0.35
|
233
|
+
FABRICATIO_LLM__GENERATION_COUNT=1
|
234
|
+
FABRICATIO_LLM__STREAM=false
|
235
|
+
FABRICATIO_LLM__MAX_TOKENS=8192
|
236
|
+
FABRICATIO_DEBUG__LOG_LEVEL=INFO
|
238
237
|
```
|
239
238
|
|
240
|
-
|
239
|
+
### `fabricatio.toml` file
|
241
240
|
```toml
|
242
241
|
[llm]
|
243
242
|
api_endpoint = "https://api.openai.com"
|
@@ -255,7 +254,7 @@ max_tokens = 8192
|
|
255
254
|
log_level = "INFO"
|
256
255
|
```
|
257
256
|
|
258
|
-
|
257
|
+
### `pyproject.toml` file
|
259
258
|
```toml
|
260
259
|
[tool.fabricatio.llm]
|
261
260
|
api_endpoint = "https://api.openai.com"
|
@@ -273,37 +272,9 @@ max_tokens = 8192
|
|
273
272
|
log_level = "INFO"
|
274
273
|
```
|
275
274
|
|
276
|
-
## Development Setup
|
277
|
-
|
278
|
-
1. **Clone the Repository**:
|
279
|
-
```bash
|
280
|
-
git clone https://github.com/Whth/fabricatio.git
|
281
|
-
cd fabricatio
|
282
|
-
```
|
283
|
-
2. **Install Dependencies**:
|
284
|
-
```bash
|
285
|
-
make init
|
286
|
-
```
|
287
|
-
|
288
|
-
3. **Build the Package**:
|
289
|
-
```bash
|
290
|
-
make dev
|
291
|
-
```
|
292
|
-
4. **Run Tests**:
|
293
|
-
```bash
|
294
|
-
make tests
|
295
|
-
```
|
296
|
-
|
297
275
|
## Contributing
|
298
276
|
|
299
|
-
|
300
|
-
|
301
|
-
1. Fork the repository.
|
302
|
-
2. Create your feature branch (`git checkout -b feat/new-feature`).
|
303
|
-
3. [Optional]Create a py/rs subpackage with `make rs` or `make py`
|
304
|
-
4. Commit your changes (`git commit -am 'Add new feature'`).
|
305
|
-
5. Push to the branch (`git push origin feat/new-feature`).
|
306
|
-
6. Create a new Pull Request.
|
277
|
+
We welcome contributions from everyone! Before contributing, please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
|
307
278
|
|
308
279
|
## License
|
309
280
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
fabricatio-0.17.
|
2
|
-
fabricatio-0.17.
|
3
|
-
fabricatio-0.17.
|
4
|
-
fabricatio-0.17.
|
1
|
+
fabricatio-0.17.2.data/scripts/tdown.exe,sha256=b11l1ukhv0HqzDuUNi68Klww3tP1a1WVBshReyE26vA,3828224
|
2
|
+
fabricatio-0.17.2.dist-info/METADATA,sha256=Vs-tLKWw0Y5Ia_OM5skwwMKGpOMM998hMMONtm5H5uU,9480
|
3
|
+
fabricatio-0.17.2.dist-info/WHEEL,sha256=oXe_QNnB5QbkkMcbfZh2d88Kje6edNs5JzpWke0-klE,96
|
4
|
+
fabricatio-0.17.2.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
|
5
5
|
fabricatio/__init__.py,sha256=E4CcZi8ry4WxcO-Ety0lzQtln9VaYM9c0g7s925gR9k,590
|
6
6
|
fabricatio/actions/__init__.py,sha256=LUG5gCijcn-QgAtjkLeQO3NAXW0wEiuTmm371avzQbQ,2322
|
7
7
|
fabricatio/capabilities/__init__.py,sha256=nG9h3kZ3_eCrYfPhccP0xhvig9-G4BRbZhg23KKjek8,3499
|
8
8
|
fabricatio/models/__init__.py,sha256=pCWFBF7DCbpo7Yw5vge9IL1coDStS7NCHfi2SqkY-Hg,1905
|
9
9
|
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
fabricatio/rust.cp313-win_amd64.pyd,sha256=
|
10
|
+
fabricatio/rust.cp313-win_amd64.pyd,sha256=aoEuXv8-ILgY8POQbnbxMlvWTW6yv0HvpSkVDzGw1Jk,279040
|
11
11
|
fabricatio/workflows/__init__.py,sha256=Twr7FaI7scUhz0LOlPktB6lf_k3VdcHNabCjpTsw938,315
|
12
|
-
fabricatio-0.17.
|
12
|
+
fabricatio-0.17.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|